20087 Commits

Author SHA1 Message Date
Chinmay Garde
13453d73dc Merge pull request #628 from chinmaygarde/master
Keyboard service implementation for iOS
2015-08-14 17:36:21 -07:00
Chinmay Garde
4a6bd4a796 Keyboard service implementation for iOS 2015-08-14 17:35:45 -07:00
Adam Barth
23ca019180 Merge pull request #625 from abarth/less_grey
Don't grey out Sky code in Atom
2015-08-14 15:40:35 -07:00
Adam Barth
8a1e5169a2 Don't grey out Sky code in Atom
For some reason having |packages| in this .gitignore file is causing Atom to
grey out all the files in the Sky package. Moving the entry up to the root of
the git repo fixes the issue.
2015-08-14 15:39:09 -07:00
Chinmay Garde
ab07e73afd Merge pull request #624 from chinmaygarde/master
Add iOS sky_app target for the fitness app example
2015-08-14 15:34:48 -07:00
Chinmay Garde
5e41be4bc9 Add iOS sky_app target for the fitness app example 2015-08-14 15:07:20 -07:00
Hans Muller
33b904214f Merge pull request #623 from HansMuller/dismissable-bug
Reset the Dimissable fade animation on slow flings
2015-08-14 14:18:31 -07:00
Adam Barth
213eca25ea Rev pub package 2015-08-14 14:14:46 -07:00
Hans Muller
ae36f71b48 Reset the Dimissable fade animation on slow flings 2015-08-14 14:14:44 -07:00
Collin Jackson
ce2704b100 Merge pull request #621 from collinjackson/more_text_refactor
Refactor RenderParagraph to do more work at the painting layer
2015-08-14 14:03:12 -07:00
Adam Barth
59719a419f Rev pub package 2015-08-14 14:02:01 -07:00
Adam Barth
cf825300b0 Merge pull request #622 from abarth/haptic_feedback
Add haptic and aural feedback service
2015-08-14 13:47:59 -07:00
Collin Jackson
9f4b2fe78f Refactor of text rendering into painting layer 2015-08-14 13:30:56 -07:00
Adam Barth
2419fcf86b Add haptic and aural feedback service
And use the service in mine_digger to notify the user when they flag a bomb.
2015-08-14 12:46:04 -07:00
Adam Barth
f338ec9779 Merge pull request #620 from abarth/compositing_update
Add a compositing update phase
2015-08-14 11:09:28 -07:00
Adam Barth
acb27118e6 Merge pull request #619 from abarth/debug_layer_borders
Add debug painting for layer borders
2015-08-14 11:07:05 -07:00
Adam Barth
810c2a6025 Merge pull request #618 from abarth/clear_black
Clear the frame to black before drawing
2015-08-14 11:06:21 -07:00
Adam Barth
386c72c050 Add a compositing update phase
We need to compute whether a RenderObject has a composited descendant so that
we can decide whether to use canvas.saveLayer or to create a new composited
layer while walking down the tree during painting.

The compositing update walks the tree from the root only to places where the
tree's structure has been mutated. In the common case during an animation loop,
we won't need to visit any render object beyond the root.
2015-08-14 10:47:39 -07:00
Adam Barth
c95724cbe0 Add debug painting for layer borders
This patch makes it easier to debug layerization issues.
2015-08-14 10:46:53 -07:00
Adam Barth
011ce5d8e7 Clear the frame to black before drawing
We used to do this in the SkPicture, but it's simpler to do it in the
rasterizer now that we're using multiple SkPictures in Dart.
2015-08-14 10:45:14 -07:00
Adam Barth
33ec74a4ec Merge pull request #617 from abarth/separate_offset_and_size
Separate the notions of offset and size in compositing
2015-08-14 10:14:52 -07:00
Adam Barth
321d06931d Separate the notions of offset and size in compositing
Separating these notions makes them easier to work with because offset is
relative to the parent layer whereas size is intrinsic to the layer itself.
This patch fixes the underpainting bugs when compositing the stocks example.
2015-08-14 09:49:38 -07:00
Adam Barth
998d9a1306 Merge pull request #616 from abarth/visit_children
Generalize _cleanRelayoutSubtreeRootChildren into visitChildren
2015-08-14 09:44:40 -07:00
Adam Barth
afddd5c553 Generalize _cleanRelayoutSubtreeRootChildren into visitChildren
This generalization will let us implement other alogorithims that need to walk
the RenderObject tree.
2015-08-14 09:37:19 -07:00
Adam Barth
7e9ccc1cd5 Merge pull request #615 from abarth/master
Remove stray reference to Typeface
2015-08-14 09:21:09 -07:00
mpcomplete
5bad6148ce Merge pull request #597 from mpcomplete/value.animation
Add a ValueAnimation helper class for AnimationPerfomance.
2015-08-14 12:03:27 -04:00
Adam Barth
ed7b8d3c32 Merge pull request #614 from abarth/fix_analyzer
Fix analyzer warnings
2015-08-14 09:01:07 -07:00
Adam Barth
705faa0ab6 Fix analyzer warnings 2015-08-14 09:00:42 -07:00
Adam Barth
94088d8626 Remove stray reference to Typeface 2015-08-14 08:58:10 -07:00
Collin Jackson
28813a9b7d Merge pull request #590 from collinjackson/rollback
Roll back drawText Canvas support; we are instead going to refactor RenderParagraph into ParagraphPainter
2015-08-13 17:05:55 -07:00
Viktor Lidholt
f54c848791 Merge pull request #607 from vlidholt/master
Updates to game sound API
2015-08-13 16:35:58 -07:00
Adam Barth
0236862429 Merge pull request #608 from abarth/composite_frame
Add a compositing step to the lifecycle
2015-08-13 16:32:18 -07:00
Adam Barth
1a062aab4e Add a compositing step to the lifecycle
Now we have the ability to draw multiple PictureLayers. We still squash all the
pictures together into a single SkPicture for simplicity. In the future, we'll
submit them to C++ separately and composite them on the GPU thread.
2015-08-13 16:31:45 -07:00
Hans Muller
acdc6bbcd3 Merge pull request #606 from HansMuller/progress-indicator
Adds CicularProgressIndicator and LinearProgressIndicator

Setting a ProgressIndicator's value to null (the default) makes it an "indeterminate progress" or activity indicator.

The indeterminate animations for both kinds of progress bars are essentially the same and wrong vis the Material Design spec, http://www.google.com/design/spec/components/progress-activity.html. I'll improve conformity with the visual design in a future CL.
2015-08-13 16:17:27 -07:00
Hans Muller
1b56e5baa4 Adds CicularProgressIndicator and LinearProgressIndicator
Setting a ProgressIndicator's value to null (the default) makes it an "indeterminate progress" or activity indicator.

The indeterminate animations for both kinds of progress bars are essentially the same and wrong vis the Material Design spec, http://www.google.com/design/spec/components/progress-activity.html. I'll improve conformity with the visual design in a future CL.
2015-08-13 16:15:21 -07:00
Adam Barth
24c9108577 Merge pull request #605 from abarth/long_press
Expose longpress and showpress in Listener
2015-08-13 16:04:17 -07:00
Viktor Lidholt
9d092ad454 Adds background music for demo game 2015-08-13 16:00:29 -07:00
Viktor Lidholt
be9d8d2dbc Unifies interfaces for SoundTrackPlayer and SoundEffectPlayer 2015-08-13 16:00:29 -07:00
Viktor Lidholt
788565248e Adds a SoundTrackPlayer class 2015-08-13 16:00:29 -07:00
Viktor Lidholt
f2cb9637ec Rename SoundCompleteCallback to SoundEffectStreamCallback 2015-08-13 16:00:29 -07:00
Viktor Lidholt
523bea099d Refactors names of sound effect classes 2015-08-13 16:00:29 -07:00
Viktor Lidholt
bad255ba3e Removes the ability to jump to different positions in sound effects (this isn't supported on Android) 2015-08-13 16:00:29 -07:00
Adam Barth
aadfeb4cb4 Expose longpress and showpress in Listener 2015-08-13 15:48:07 -07:00
Adam Barth
add08fab80 Merge pull request #604 from domokit/pylaligand-patch-1
Fixed a typo in the widget tutorial.
2015-08-13 15:19:50 -07:00
P.Y. Laligand
7c05a6d3c5 Fixed a typo in the widget tutorial. 2015-08-13 14:41:55 -07:00
Adam Barth
128ab6c0a6 Merge pull request #603 from abarth/paint_with_layers
Switch painting over to using PictureLayer
2015-08-13 14:34:12 -07:00
Matt Perry
e58a2bddc6 Add a ValueAnimation helper class for AnimationPerfomance.
Used for AnimationPerformance with a single AnimatedValue<T> variable.
2015-08-13 17:29:32 -04:00
Adam Barth
1ea911f088 Switch painting over to using PictureLayer
Currently we have a single PictureLayer that everyone draws into. A future
patch will teach the system to use multiple PictureLayers.
2015-08-13 14:24:29 -07:00
Adam Barth
9d3894715d Roll Dart 2015-08-13 14:08:27 -07:00
Chinmay Garde
281dc80f17 Merge pull request #578 from chinmaygarde/master
Make |TracingController| platform agnostic and enable collecting traces from base and the shell view dart isolate simultaneously
2015-08-13 12:58:54 -07:00