- 02 7月, 2015 1 次提交
-
-
由 Matt Perry 提交于
This introduces an AnimationPerformance class, which is intended to manage an animation (or its reverse), with the ability to manually control the timeline or to apply a force to advance the animation with a diminishing speed. I'm having trouble fitting the odeon model to Sky. Odeon has a lot of nice properties, but fundamentally operates on UINodes, which contain all the properties to be animated. Sky, on the other hand, has no such universal properties. Instead, each Widget assembles itself how it sees fit. So my current plan is to let AnimationPerformance own a generic set of AnimatedVariables. You pass it a bag of things, say position and opacity, as AnimatedVariables. It updates them based on the animation, and they each have a way to build a widget based on their current state. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1211603003.
-
- 01 7月, 2015 2 次提交
-
-
由 Adam Barth 提交于
Please use package:sky/widgets instead. R=ianh@google.com, eseidel@google.com Review URL: https://codereview.chromium.org/1221883002.
-
由 Adam Barth 提交于
We need the material design icons at build time in order to build Sky application bundles that include the icons. Therefore, we need can't wait until runtime to download the icons. Also, rather than copying all the icons into each out directory, we just symlink to the copy in the source tree. R=eseidel@chromium.org, eseidel@google.com Review URL: https://codereview.chromium.org/1217283002.
-
- 30 6月, 2015 2 次提交
-
-
由 Collin Jackson 提交于
R=ianh@google.com, abarth, hixie Review URL: https://codereview.chromium.org/1217623002.
-
由 Adam Barth 提交于
This CL makes it possible to run sky/tests/raw/bogus_import.dart in sky_shell on Linux. We'd eventually like to scale this up to running all the tests. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1218633003.
-
- 27 6月, 2015 1 次提交
-
-
由 Adam Barth 提交于
This CL builds an APK for MineDigger that works offline. We use |sky_packager| to snapshot the Dart code, which we then extract from the APK during startup. If we succeed in extracting a snapshot, we load it by default. TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/1211253004.
-
- 26 6月, 2015 1 次提交
-
-
由 Hans Muller 提交于
There's is no support for animating the selected tab indicator, there isn't a TabNavigator container yet, overflow layout (tabs don't fit) isn't supported yet, etc. R=abarth@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1205953002.
-
- 23 6月, 2015 3 次提交
-
-
由 Adam Barth 提交于
This file doesn't belong in the SDK because it is an implementation detail of the Sky engine. Instead, this CL moves the code for dart:sky.internals into the snapshot. This CL is a step towards merging dart:sky.internals with dart:sky, which also resides in the snapshot. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1200953007.
-
由 Collin Jackson 提交于
R=ianh@google.com, hixie Review URL: https://codereview.chromium.org/1204523002.
-
由 Collin Jackson 提交于
R=abarth@chromium.org, abarth, hixie Review URL: https://codereview.chromium.org/1194743003.
-
- 20 6月, 2015 1 次提交
-
-
由 Adam Barth 提交于
This Dart library exposes a more idiomatic interface to the asset_bundle service and provides integration with dart:sky. R=viktorl@google.com Review URL: https://codereview.chromium.org/1200463002.
-
- 19 6月, 2015 2 次提交
-
-
由 Hixie 提交于
Flesh out a README.md file for the SDK. Make the stocks app test wait for the app to be mounted, to catch some more errors, like typos in the mount callback. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1182053012.
-
由 Adam Barth 提交于
We can't have two copies of |embedder.dart| or |shell.dart| because they take ownership of some underlying Mojo handles. Instead of duplicating the code, this CL makes the old locations just export all the symbols from the new location. I've also done the same with fetch.dart to avoid code duplication. Finally, I've removed image_cache.dart in the old location because the only clients already live in the new world and ought to use the new location. TBR=ianh@google.com Review URL: https://codereview.chromium.org/1179923004.
-
- 18 6月, 2015 5 次提交
-
-
由 Hixie 提交于
Some files are moved by this: Copy framework/node.dart into types/ - preparing for framework/'s decomissioning. Move app/scheduler.dart into sky/scheduler.dart - "app" doesn't really make sense. As part of the SkyBinding cleanup, I made the hit-testing less RenderBox-specific, by having the HitTestEntry.target member be a HitTestTarget, which is an interface with the handleEvent() function, which is then implemented by RenderBox. In theory, someone could now extend hit testing from the RenderBox world into their own tree of nodes, and take part in all the same dispatch logic automatically. This involved moving all the hit testing type definitions into a new sky/hittest.dart file. Renamed SkyBinding._app to SkyBinding._instance for clarity. Moved code around in SkyBinding so that related things are together. Made WidgetSkyBinding use the existing SkyBinding.instance singleton logic rather than having its own copy. I also added some stub README.md files that describe dependencies. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1187393002.
-
由 Hixie 提交于
Summary: framework/animation/* -> animation/* framework/debug/utils.dart -> debug/utils.dart framework/shell.dart -> mojo/shell.dart framework/embedder.dart -> mojo/embedder.dart framework/net/* -> mojo/net/* This should have no code changes except fixing and reordering imports. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1189943004.
-
由 Hixie 提交于
Move app/view.dart to rendering/sky_binding.dart since it's part of the RenderObject API, really (it knows about RenderView intimately). The tests pass. I didn't check every last example. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1183913006.
-
由 Hans Muller 提交于
Defined constants for all 9 CSS font-weight values with conventional names from the "Common weight name mapping" section of https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight. The FontWeight enum now just enumerates the actual CSS weight values. I've moved the TextStyle class into its own file. R=ianh@google.com Review URL: https://codereview.chromium.org/1173323004.
-
由 Adam Barth 提交于
They no longer exist but I forgot to remove them in my previous CL. TBR=ianh@google.com Review URL: https://codereview.chromium.org/1192603003.
-
- 17 6月, 2015 4 次提交
-
-
由 Adam Barth 提交于
The dialog will need many more features to be complete, but this class is a basic skeleton of what we'll need. R=jackson@google.com, jackson@chromium.org Review URL: https://codereview.chromium.org/1189893002.
-
由 Adam Barth 提交于
I've factored the common code for FlatButton and RaisedButton into MaterialButton. Also, tweak some of the constants in MaterialButton to better match the spec. R=ianh@google.com Review URL: https://codereview.chromium.org/1187773008.
-
由 Hixie 提交于
TBR=abarth Review URL: https://codereview.chromium.org/1175193005.
-
由 Collin Jackson 提交于
R=abarth@chromium.org, abarth, hixie Review URL: https://codereview.chromium.org/1186273002.
-
- 16 6月, 2015 1 次提交
-
-
由 Collin Jackson 提交于
R=abarth@chromium.org, abarth Review URL: https://codereview.chromium.org/1185173002.
-
- 15 6月, 2015 1 次提交
-
-
由 Adam Barth 提交于
1) BUILD.gn was missing internals.dart. 2) generators.dart was importing scheduler.dart from the wrong directory. TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/1189523003.
-
- 14 6月, 2015 1 次提交
-
-
由 Adam Barth 提交于
This CL moves the bulk of the SkyView code out of the |framework| directory because the |framework| directory was redundant in Dart package import declarations. TBR=ianh@google.com Review URL: https://codereview.chromium.org/1177383006.
-
- 13 6月, 2015 3 次提交
-
-
由 Adam Barth 提交于
Although the basic widgets are wrappers, that's an implementation detail and shouldn't be encoded in the name of the library. TBR=ianh@google.com Review URL: https://codereview.chromium.org/1182983002.
-
由 Hixie 提交于
Verify that callers correctly set parentUsesSize if they use the child's size (and fix a few cases that didn't). This introduces a bunch of code that should only run in debug builds, but we don't have #ifdefs yet. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1182933003.
-
由 Hixie 提交于
Make Material actually create material, with opinions about what that means. Make FloatingActionButton use this. Make Scrollable use this. Make BoxDecoration support drawing a circle instead of a rectangle, so that floating action button doesn't need a custom painter. Implement RaisedButton (and remove button.dart, since there's no "button" in Material Design). Make InkWell have a "child" argument instead of "children", and not have it introduce a Flex into the hierarchy. Update container.dart example. Clean up some imports. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1179713004.
-
- 12 6月, 2015 2 次提交
-
-
由 Hixie 提交于
This moves input.dart to editing2/, since that way we can define the layering as strictly unidirectional. It also reorders a bunch of imports to fit the style guide. I removed the old remnants of the widgets example, and put the fn2 examples into the examples/widgets/ directory, to parallel the framework directory names. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1177243002.
-
由 Adam Barth 提交于
This factoring will more code use BoxPainter in the future (in particular, PopupMenu). R=ianh@google.com Review URL: https://codereview.chromium.org/1180633004.
-
- 11 6月, 2015 1 次提交
-
-
由 Adam Barth 提交于
This CL replaces the (non-working) components2 InkWell with some code based on the ink_well example. There are at least two issues with the implementation: 1) The ink splash always starts at the center of the well because we don't have a facility for converting from global to local coordinates, which means we can't tell where the tap occurred in the local coordinates we need to use for painting. 2) When used inside a MenuItem, the in splash disappears shortly after starting, presumably because the button starts highlighting, which causes a component rebuild and somehow we lose the RenderInkWell instance. I plan to address these issues in subsequent CLs. R=ianh@google.com Review URL: https://codereview.chromium.org/1172033003.
-
- 10 6月, 2015 1 次提交
-
-
由 Matt Perry 提交于
Also added a helper class to Sky framework for building shadow DrawLoopers. R=abarth@chromium.org, eseidel@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1175683002.
-
- 09 6月, 2015 2 次提交
-
-
由 John McCutchan 提交于
Review URL: https://codereview.chromium.org/1165243002
-
由 John McCutchan 提交于
This populates each package's lib/mojom directory with the generated .mojom.dart files. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1164323002
-
- 05 6月, 2015 2 次提交
-
-
由 Eric Seidel 提交于
Does not work yet. R=ianh@google.com Review URL: https://codereview.chromium.org/1163973005
-
由 Hixie 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1165013003
-
- 04 6月, 2015 2 次提交
-
-
由 Eric Seidel 提交于
This also works around an Android-only crasher for the Dart VM: https://github.com/domokit/mojo/issues/192 R=ianh@google.com Review URL: https://codereview.chromium.org/1157243012
-
由 Adam Barth 提交于
This CL introduces RenderStack and fixes a number of bugs to make the Drawer in components2 work. R=ianh@google.com, eseidel@chromium.org Review URL: https://codereview.chromium.org/1147143005
-
- 03 6月, 2015 2 次提交
-
-
由 Hixie 提交于
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1166773003
-
由 Collin Jackson 提交于
R=abarth@chromium.org, abarth Review URL: https://codereview.chromium.org/1165753004
-