Matt Perry
e92dfcfbbc
Fix common asserts in animation API.
...
1. We would assert if you tried to start an animation from within an
animation status callback. This is a common pattern, so I fixed this
assert (in Ticker._tick).
2. We would assert for animations with duration under a millisecond.
Fixed.
Also removed the workarounds assocated with #1 .
2015-08-13 13:18:25 -04:00
Eric Seidel
8af8d68bad
Merge pull request #586 from eseidelGoogle/sdk_version
...
Add a minimum sdk version for sky_engine
2015-08-12 17:59:18 -07:00
Adam Barth
1e3d95a889
Merge pull request #585 from jamesr/flush_after_produce
...
glFlush after inserting sync point
2015-08-12 17:49:45 -07:00
Eric Seidel
c668221644
Add a minimum sdk version for sky_engine
...
We could update all our other versions as well if we wanted
but this the only package in sky which uses sdk_ext
@abarth
2015-08-12 17:48:37 -07:00
Adam Barth
c5e698c7b8
Merge pull request #583 from abarth/fix_hit_test
...
RenderBox.hitTest should do the bounds check
2015-08-12 17:47:47 -07:00
Adam Barth
7d52672a31
RenderBox.hitTest should do the bounds check
...
Previously we were doing the bounds testing for hit tests in the parent, but
that doesn't work if the child paints at a location other than 0.0, 0.0. Now we
do the bounds check in the child. This also simplifies Scaffold's hit testing.
Fixes #558
2015-08-12 17:46:10 -07:00
James Robinson
609d3f6c28
glFlush after inserting sync point
2015-08-12 17:45:31 -07:00
Eric Seidel
592a3216cb
Merge pull request #584 from eseidelGoogle/workbench
...
Stop using workbench/packages for sky_snapshot
2015-08-12 17:44:19 -07:00
Eric Seidel
6b029ce9df
Stop using workbench/packages for sky_snapshot
...
Instead we use the packages directory which is at the same
level as the BUILD.gn file. That's a bit of a broken assumption
but it happens to work for all our skyx uses for now.
@abarth
2015-08-12 17:39:59 -07:00
Eric Seidel
a7ed37e3aa
Emergency build fix until I can unravel how sky_snapshot runs
...
@abarth @collinjackson
2015-08-12 15:52:38 -07:00
Adam Barth
ca886cdbb6
Add a missing gitignore
2015-08-12 15:29:49 -07:00
Collin Jackson
480ea65989
Merge pull request #568 from collinjackson/playfair
...
Add support for charts to fitness app
2015-08-12 14:51:38 -07:00
Collin Jackson
d4e68ab589
Add weight chart to fitness app
2015-08-12 14:50:50 -07:00
Adam Barth
5099c655b6
Rev pub package
2015-08-12 14:46:59 -07:00
Adam Barth
bc30e0e5f6
Rev pub packages
2015-08-12 14:32:13 -07:00
Adam Barth
46199806cb
Update README.md
2015-08-12 09:18:32 -07:00
Adam Barth
2425571ad9
Require a new version of sky_tools
2015-08-12 09:12:32 -07:00
Hans Muller
eb8e814279
Merge pull request #572 from HansMuller/ensure-visible
...
Adds ensureWidgetIsVisible() function to scrollable.dart
2015-08-11 16:51:24 -07:00
Andrew Wilson
cb53ec2c23
Merge pull request #576 from apwilson/mimic_overlay
...
Maximum bounds for the mimic in the overlay can now be specified.
2015-08-11 16:51:08 -07:00
Andrew Wilson
afd599dfe3
Maximum bounds for the mimic in the overlay can now be specified.
2015-08-11 16:50:19 -07:00
Viktor Lidholt
545f8b4b9e
Merge pull request #575 from vlidholt/master
...
Adds API docs to particle systems and removes redundant property
2015-08-11 16:50:04 -07:00
Hans Muller
8d19cd21b6
Adds ensureWidgetIsVisible() function to scrollable.dart
...
Set the scrollOffset of a widget's Scrollable ancestor so that the
widget is centered within the scrollable. A future CL will add
support for specifying exactly where the widget appears. The scroll
can be animated by specifying the animation: parameter.
Changed the duration Scrollable.scrollTo() parameter from a Duration
to an AnimationPerformance so that one can configure all aspects of
the animation. The caller may also listen to the animation to schedule
other work while it updates or when its status changes.
complete
2015-08-11 16:49:48 -07:00
Viktor Lidholt
4d3a7d0465
Adds API docs to particle systems and removes redundant property
2015-08-11 16:25:58 -07:00
Eric Seidel
8e99a3a0d9
Add missing icons to fitness/sky.yaml
...
This is just fallout from not having
https://github.com/domokit/sky_engine/issues/565
@abarth
fitness_apk_2
2015-08-11 15:56:37 -07:00
Eric Seidel
859ef2eb6a
Merge pull request #573 from domokit/revert-563-roll_dart
...
Revert "Roll Dart forward"
2015-08-11 15:47:56 -07:00
Eric Seidel
772031106e
Revert "Roll Dart forward"
2015-08-11 15:47:12 -07:00
Eric Seidel
d6fe20ad2f
Add Release notes for fitness 0.0.2
...
@abarth
2015-08-11 15:33:14 -07:00
Eric Seidel
0906ab39d3
Roll fitness version in preparation for release
...
@abarth
2015-08-11 15:30:46 -07:00
Eric Seidel
ea8c9b6a06
Merge pull request #571 from eseidelGoogle/splash
...
Attempt to make our splashes closer to other Android apps
2015-08-11 15:06:51 -07:00
Eric Seidel
3baba15009
Attempt to make our splashes closer to other Android apps
...
And also Material Design of course.
@abarth
2015-08-11 14:56:36 -07:00
Adam Barth
0bfd824f11
Merge pull request #570 from abarth/paint_once
...
Don't paint twice
2015-08-11 14:54:48 -07:00
Adam Barth
2e6c78cdb7
Don't paint twice
...
In refactoring the way we generate the SkPicture, I accidentially made us
generate the SkPicture twice. This CL causes us to generate it only once.
2015-08-11 14:38:49 -07:00
Viktor Lidholt
84ea083293
Merge pull request #569 from vlidholt/master
...
Adds API docs to sprite Node and Node3D
2015-08-11 14:35:17 -07:00
Viktor Lidholt
cdc0755f19
Adds API docs to sprite Node and Node3D
2015-08-11 14:33:45 -07:00
mpcomplete
dee68441e9
Merge pull request #564 from mpcomplete/anchor
...
Scaffold: animate the FloatingActionButton with the SnackBar.
2015-08-11 17:21:56 -04:00
Matt Perry
cea3418b68
Scaffold: animate the FloatingActionButton with the SnackBar.
...
This introduces the concept of an Anchor, which you can use to link
transitions together. I've used this in the Fitness and Stocks apps to
link the FAB and SnackBar to animate together by sharing the
SlideTransition.
I also fixed the Scaffold hit testing code to apply sub-widget
transforms, so it works with Transformed nodes.
2015-08-11 17:21:20 -04:00
Viktor Lidholt
3035e07620
Merge pull request #567 from vlidholt/master
...
Adds API docs to sprite ColorSequence and Layer
2015-08-11 14:17:43 -07:00
Eric Seidel
7d393d4124
Merge pull request #566 from eseidelGoogle/fitness
...
Make Fitness tiles nicer
2015-08-11 14:15:59 -07:00
Viktor Lidholt
5054ec3d06
Adds API docs to sprite ColorSequence and Layer
2015-08-11 14:13:57 -07:00
Viktor Lidholt
4b48c8cfbf
Merge pull request #561 from vlidholt/master
...
Adds documentation for sprite actions
2015-08-11 14:04:22 -07:00
Eric Seidel
2c1be2f255
Make Fitness tiles nicer
...
Moved from Cards to Tiles and made the printing
of the dates nicer by using some code from a Dart SDK example:
https://github.com/dart-lang/sdk/blob/master/samples-dev/swarm/swarm_ui_lib/util/DateUtils.dart
I also built a UserData class to help keep saving/sorting
consistent as well as fixed the sort order to have most
recent at the top.
@abarth
2015-08-11 14:02:12 -07:00
Adam Barth
5440e26621
Merge pull request #560 from afandria/patch-1
...
Update README.md
2015-08-11 13:59:00 -07:00
John McCutchan
db3586f19f
Merge pull request #563 from johnmccutchan/roll_dart
...
Roll Dart forward
2015-08-11 12:42:14 -07:00
John McCutchan
0f4f5648d2
Roll Dart forward
2015-08-11 12:40:38 -07:00
Eric Seidel
91f2cc0035
Merge pull request #562 from eseidelGoogle/fitness
...
Fix crash when hitting "enter" key on keyboard during entry
2015-08-11 12:36:50 -07:00
Eric Seidel
e184530630
Fix crash when hitting "enter" key on keyboard during entry
...
Now it wont crash on save, but it still doesn't display
the error message in a snackbar and this also doesn't
wire up the enter/go key to actually do anything.
We'll need to implement performEditorAction on our
InputConnection implementation to catch this key and
pass it along to dart.
Our Input control needs to get more powerful to handle things
like this, including filtering of input.
The code was crashing by triggering a bug in the SnackBar
which didn't assert for actions, but crashed when they
were not null.
Partial fix for https://github.com/domokit/sky_engine/issues/543
@abarth
2015-08-11 12:27:54 -07:00
Viktor Lidholt
21e0996bf6
Adds documentation for actions.
2015-08-11 12:19:07 -07:00
Alex Fandrianto
a6d6c03cf7
Update README.md
...
Added missing :
2015-08-11 11:59:25 -07:00
Ian Fischer
e338ea9483
Merge pull request #556 from domokit/add_examples_instructions
...
Adding instructions for running examples.
2015-08-11 11:57:53 -07:00
Ian Fischer
e3a669da29
Adding instructions for running examples.
2015-08-11 11:14:01 -07:00