Commit Graph

3326 Commits

Author SHA1 Message Date
Chinmay Garde 4a6bd4a796 Keyboard service implementation for iOS 2015-08-14 17:35:45 -07:00
Chinmay Garde 5e41be4bc9 Add iOS sky_app target for the fitness app example 2015-08-14 15:07:20 -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