5944 Commits

Author SHA1 Message Date
Adam Barth
75da2a9f98 RenderViewport should use integer device pixels
When painting a scroll offset, RenderViewport should use integer device pixels
to prevent "shimmering" effects on images.

Fixes #486
2015-08-06 22:09:51 -07:00
Adam Barth
89268a4a44 Update README.md 2015-08-06 21:55:25 -07:00
Devon Carew
66657a81ee fix typo in tool/travis.sh 2015-08-06 18:58:33 -07:00
Devon Carew
4aa0fae54d make tool/travis.sh executable 2015-08-06 18:53:14 -07:00
Devon Carew
990b362849 Update README.md
Add a travis badge.
2015-08-06 18:50:52 -07:00
Viktor Lidholt
bd5b956641 Merge pull request #492 from vlidholt/master
Improvements to game performance tests
2015-08-06 17:26:08 -07:00
Viktor Lidholt
e691a63e14 Improvements to game performance tests (adds 2 new tests to check sprite curl performance) 2015-08-06 17:16:41 -07:00
Eric Seidel
a0c9ebc0b2 Teach the fitness app how to request a numeric keyboard
Unforutnately since Input won't show text if it doesn't start
with a letter, this actually makes the experiance slightly
worse, but this is definitely the right direction.

@abarth
2015-08-06 17:09:06 -07:00
Adam Barth
be75ee726d Merge pull request #485 from abarth/mimic
Add widgets for reparenting widgets
2015-08-06 16:23:58 -07:00
Adam Barth
9bed37b52c Add widgets for reparenting widgets
Wrap widgets you want to reparent in a Mimicable widget and assign the
Mimicable widget a global key. Then, given the same global key to a Mimic
widget to make it appear elsewhere in the view hierarchy.
2015-08-06 16:22:37 -07:00
Eric Seidel
93cfdf2553 Merge pull request #489 from eseidelGoogle/roll_mojo
Roll mojo to 35de44e361
2015-08-06 16:22:15 -07:00
Eric Seidel
e913580832 Fix the build after the mojo roll
@abarth
2015-08-06 16:18:16 -07:00
Chinmay Garde
3fecfa75f4 Fix iOS device code signing issues 2015-08-06 16:14:11 -07:00
Devon Carew
0257cbd12b build sky_tools using travis 2015-08-06 14:25:55 -07:00
Viktor Lidholt
8722e76d59 Merge branch 'master' of github.com:domokit/sky_engine 2015-08-06 13:47:03 -07:00
Viktor Lidholt
b5e3093f0f Increases number of frames in Dart game performance test 2015-08-06 13:46:31 -07:00
Viktor Lidholt
a0b0e139db Adds test for measuring computation speed in game like conditions 2015-08-06 13:24:29 -07:00
Matt Perry
211426601d Adjust the SpringForce tolerance, used by Drawer and Dismissable.
They settle much faster after you fling them now.
2015-08-06 15:40:15 -04:00
Matt Perry
a7b9656484 Change several onStatusChanged callbacks to onDismissed.
We only use them for the transition to dismissed.
2015-08-06 14:15:03 -04:00
mpcomplete
2051703c54 Merge pull request #463 from mpcomplete/popup.menu
Push PopupMenu's animation code into its build function and use trans…
2015-08-06 13:43:23 -04:00
Matt Perry
d89fb14628 Push PopupMenu's animation code into its build function and use transitions.
Also add intervals and curves to AnimationPerformance, which affect all
variables used by the performance.
2015-08-06 13:42:50 -04:00
Adam Barth
fd68741fb3 Add operator+ and operator- to EdgeDims
... and use them to improve the horizontal_scrolling example.
2015-08-06 09:41:22 -07:00
Adam Barth
870376dab1 Teach ScrollableBlock how to scroll horizontally
Now ScrollableBlock can combine a horizontally scrolling viewport with a
horizontal block.

Also rename ViewportScrollDirection to just ScrollDirection for less verbosity.
2015-08-05 18:10:03 -07:00
Adam Barth
6f2a3e406d Merge pull request #476 from abarth/horizontal_block
Teach Block how to layout horizontally
2015-08-05 17:36:31 -07:00
Adam Barth
f6c9ab8050 Teach Block how to layout horizontally
We'll need this for horizontally scrolling lists.
2015-08-05 17:20:13 -07:00
Adam Barth
2a4209553f Support horizontal scrolling in ScrollableViewport 2015-08-05 16:18:15 -07:00
Eric Seidel
5923d03cca Merge pull request #473 from eseidelGoogle/fitness
Add Fitness.apk with icon
2015-08-05 14:08:40 -07:00
Eric Seidel
46060fcf21 Add Fitness.apk with icon
This is just one of many steps in preparation for turning
fitness into a play-store ready app.

@abarth @collinjackson
2015-08-05 13:45:43 -07:00
Hans Muller
e4d9e320b0 Prevent double-dismissing of Dismissables, center card_collection under-text 2015-08-05 13:40:28 -07:00
Eric Seidel
9c4ed3f82d Merge pull request #457 from eseidelGoogle/docs
Add a few bits of documentation to package:sky
2015-08-05 13:32:44 -07:00
Ian Fischer
50e2713ef3 Add a —poke flag to the sky_tool start command so that it is possible to
restart Sky apps on Android without having to restart SkyShell.
2015-08-05 10:27:47 -07:00
Adam Barth
93d6f24f7e Merge pull request #456 from abarth/radial_reaction
Add a basic radial reaction to the switch
2015-08-05 09:51:06 -07:00
Adam Barth
07afda506a Add a basic radial reaction to the switch
We still need to tune the various parameters, but this patch is a start.
2015-08-05 09:50:33 -07:00
Hans Muller
7a4557c99d Merge pull request #460 from HansMuller/fitness-demo-dialog
workaround for Fitness demo dialog cancel bug
2015-08-05 09:01:10 -07:00
Viktor Lidholt
8e45c37500 Merge pull request #461 from vlidholt/master
Adds cull rect to sprite performance test
2015-08-05 08:53:49 -07:00
Viktor Lidholt
f3007e112d Adds cull rect to sprite performance test 2015-08-05 08:52:45 -07:00
Hans Muller
d55425a3fe workaround for Fitness demo dialog cancel bug 2015-08-05 08:50:08 -07:00
Eric Seidel
7be732fe87 Add a few bits of documentation to package:sky
I can't really make further progress until at least:
https://github.com/dart-lang/dartdoc/issues/766
is resolved, ideally also:
https://github.com/dart-lang/dartdoc/issues/763

@abarth
2015-08-04 17:38:46 -07:00
Viktor Lidholt
16be262a26 Merge pull request #449 from vlidholt/master
Initial version of game performance tests
2015-08-04 16:04:25 -07:00
Adam Barth
8bb1bb9e6c Merge pull request #451 from abarth/fix_hit_testing
Fix RenderViewport's hit testing
2015-08-04 16:03:49 -07:00
Adam Barth
325bfcc739 Fix RenderViewport's hit testing
We were subtracting the scrollOffset when we were supposed to add it.
2015-08-04 15:54:51 -07:00
Hans Muller
bce1660988 complete 2015-08-04 15:31:56 -07:00
Viktor Lidholt
9b29b5fa8d Initial version of game performance tests 2015-08-04 15:31:48 -07:00
Matt Perry
78e18a5d18 When animating, use the same curve until it completes.
This ensures we don't run into discontinuities when reversing an
animation halfway through. I refactored AnimationValue to have knowledge
of the reverse curves and intervals.
2015-08-04 16:34:46 -04:00
Adam Barth
054ebbf3cf Rename widgets/widget.dart to widgets/framework.dart
It was confusing to have both widget.dart and widgets.dart
2015-08-04 11:13:33 -07:00
Jim Beveridge
2785db4991 Merge pull request #432 from jimbeveridge/sky_tool
Make sky_tool much more user-friendly.
2015-08-04 11:07:25 -07:00
James Robinson
56a4a8ad81 Add RenderToggleable base and use in Switch and Checkbox
This refactors Checkbox to own a RenderObject similar to how Switch was
refactored in https://github.com/domokit/sky_engine/pull/376 and
extracts common functionality for toggleable renderers into a base
class.  Switch and Checkbox's render objects derive from this base
class to add their own custom painting and theming logic.
2015-08-04 10:45:30 -07:00
Jim Beveridge
b4a597e58b Fixed adb version checking per code review 2015-08-04 10:42:19 -07:00
Jim Beveridge
dd59d6dca8 Make sky_tool much more user-friendly.
B=Fixes #187
2015-08-04 10:42:19 -07:00
Eric Seidel
2384ff70e9 Roll SkyDemo.apk version in preparation for release 2015-08-04 10:38:27 -07:00