- 20 3月, 2015 1 次提交
-
-
由 Adam Barth 提交于
This CL is a first step towards custom paint. It introduces a class that can draw a circle into an SkPicture. Future CLs will wire the SkPicture into the render tree and expose this object to script. R=ojan@chromium.org Review URL: https://codereview.chromium.org/1017373003
-
- 16 3月, 2015 1 次提交
-
-
由 Rafael Weinstein 提交于
TBR=abarth BUG= Review URL: https://codereview.chromium.org/1023673004
-
- 19 3月, 2015 1 次提交
-
-
由 Hans Muller 提交于
To define a Component subclass with mixins, a constructor without optional parameters is needed. Added Component.fromArgs() which just delegates to the main constructor. R=rafaelw@chromium.org Review URL: https://codereview.chromium.org/1017353002
-
- 16 3月, 2015 1 次提交
-
-
由 Rafael Weinstein 提交于
This patch removes the mutable API to event handling (Nodes no longer have a events object with which to add listeners). Instead, a new (non-Render) Node is introduced: EventTarget. This node represents a location in the Effen tree which can handle events as they bubble. Note that this also changes the implementation to use event delegation (one set of listeners at the sky.document level) rather than direct listeners on leaf nodes. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1019633004
-
- 19 3月, 2015 6 次提交
-
-
由 Ojan Vafai 提交于
We were not passing the transformed HitTestLocation when we recursed into child layers, which meant that we wouldn't take transforms correctly into account when hit testing. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1019723002
-
由 Adam Barth 提交于
We're now doing all of the elements of the popup menu entrance animation from the material design spec, but our timing and curves might not be exactly right yet. I haven't started on the exit animation. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1017193004
-
由 Eric Seidel 提交于
This version updates the url it loads from /home to /sky_home and also adds a bit of logging on 404s. TBR=abarth@chromium.org BUG= Review URL: https://codereview.chromium.org/1015243002
-
由 Eric Seidel 提交于
This makes it much easier to debug (otherwise silent) 404s of images, etc. R=abarth@chromium.org BUG= Review URL: https://codereview.chromium.org/1019103002
-
由 Eric Seidel 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1022613002
-
由 Eric Seidel 提交于
Before this change Sky would hit 404s when trying to load examples from domokit.github.io. I also added a separate sky_home and updated the default url to point to sky_home instead of home. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1016143002
-
- 15 3月, 2015 1 次提交
-
-
由 Rafael Weinstein 提交于
All Effen which can directly create a sky.Node are now derived from RenderNode. In contrast, Component now derives from the (now) base Node class which simply represents a position in the Effen hierarchy. A fair amount of clean-up & refactoring went into this change, simplifying & unifying the "sync" logic between Element & Component as well as making the Component.didMount/didUnmount signals async WRT component building. BUG= R=abarth@chromium.org Review URL: https://codereview.chromium.org/1009543008
-
- 19 3月, 2015 1 次提交
-
-
由 Adam Barth 提交于
This CL also refactors how animations work, particularly for the Drawer. I've renamed DrawerAnimation to DrawerController and switched it from being an Animation to having an Animation. I've also renamed Animation to AnimatedValue to capture the idea that the class actually presents the value being animated. Finally, I've factored AnimatedValueListener out of Drawer so that it can be used by PopupMenuItem as well. Finally, I've added a scheduleBuild convienence function to Component instead of having to call setState(() {}), which has come up a couple times. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1016093002
-
- 18 3月, 2015 10 次提交
-
-
由 Benjamin Lerman 提交于
R=abarth@chromium.org, eseidel@chromium.org Review URL: https://codereview.chromium.org/1018033002
-
由 Adam Barth 提交于
TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/1010213004
-
由 Adam Barth 提交于
We should probably move this menu into a view for an individual stock, but for now add it to the main stock screen. R=ojan@chromium.org, eseidel@chromium.org Review URL: https://codereview.chromium.org/1008003007
-
由 Adam Barth 提交于
1) Add a pubspec.yaml. 2) Move all the code into a 'lib' directory. 3) Move the stock widgets out of the app's library. TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/1011023003
-
由 Eric Seidel 提交于
This doesn't actually wire the icon into the apk building. I will do that in a separate step from my linux machine. It will require a couple lines edit in BUILD.gn R=abarth@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/d782adeb185a93c3b11168d358342b243bf87f3e Review URL: https://codereview.chromium.org/1013323002
-
由 Viet-Trung Luu 提交于
Ditto for terminal_client.mojom, previously in examples/echo_terminal. Fix the sky terminal example. R=erg@chromium.org Review URL: https://codereview.chromium.org/1013313002
-
由 Adam Barth 提交于
Currently this widget is demoed in widgets-fn, but I'll move it into stocks-fn soon. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1017873002
-
https://crrev.com/320931由 Dave Moore 提交于
- Add IsFlat() definition to ui/gfx/transform - Change sky's uses of skia's FilterLevel to FilterQuality - Update cc_strip_video.patch R=jamesr@chromium.org Review URL: https://codereview.chromium.org/1013463003
-
由 Eric Seidel 提交于
The packages produced from this CL were deployed as v0.0.1: https://pub.dartlang.org/packages/sky https://pub.dartlang.org/packages/mojo There is still no tool included with the sky package due to pub's inability to run anything other than Dart: https://code.google.com/p/dart/issues/detail?id=22877 I'm likely just going to write a dart version of my "sky" script. :( R=ojan@chromium.org, abarth@chromium.org Review URL: https://codereview.chromium.org/1015833002
-
由 Adam Barth 提交于
This CL updates our use of Skia's API for loading fonts to load exactly the font the developer asked for instead of rounding. R=eseidel@chromium.org BUG=https://github.com/domokit/mojo/issues/65 Review URL: https://codereview.chromium.org/1017563002
-
- 17 3月, 2015 2 次提交
-
-
由 Adam Barth 提交于
This CL is a warmup for using a more sophisticated gesture disambiguation. 1) Use gesturetap instead of click. We should probably remove click events because folks should use gesturetap to integrate with the gesture system. 2) Handle the case where you swipe the drawer during an animation. Previously we had an assert which triggered in some multitouch scenarios. We'll eventually move this over to gestureswipe. 3) Remove an extra container for ink splashes. There's no need to group all the ink splashes in a container. They can all just be children of the Material component itself. This structure is left over from when Material was a base class. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1013713005
-
由 Adam Barth 提交于
This CL adds typography information to the Sky theme. The values are from the Material Design spec. I've also applied these values to the stocks app and the various components. We're not geting precisely the right typography in some cases because of https://github.com/domokit/mojo/issues/65. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1006363004
-
- 13 3月, 2015 1 次提交
-
-
由 Rafael Weinstein 提交于
This patch refactors Effen in advance of allowing a final transform step from Effen nodes to sky nodes. The central changes here are: 1) Effen nodes get a _parentNode pointer 2) The lifetime of effen nodes is ->_sync (0 to N times) -> the first _sync() causes a _mount() ->_unmount 3) Node should expect to sync even when they are first inserted (in which case they sync against a prototypical empty node which their class must provide). 4) Subclasses now override _syncNode() no longer takes host & insertBefore (_mount does). In the one case that a node must be replaced without being unmounted (inside _syncInternal), the old node is inspected for it's sky position. TBR=abarth Review URL: https://codereview.chromium.org/996103008
-
- 17 3月, 2015 8 次提交
-
-
由 Dave Moore 提交于
R=jamesr@chromium.org Review URL: https://codereview.chromium.org/1012773008
-
由 Adam Barth 提交于
The left edge of the title should be on the 72px vertical keyline according to the Material Design spec. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1010443005
-
由 Adam Barth 提交于
This naming matches the naming in Material Design. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1010913002
-
由 Adam Barth 提交于
We need to use the more generic type Curve. Also, added an assert to catch this earlier. TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/1017463002
-
由 Adam Barth 提交于
This CL lets Sky apps draw behind the Android status bar, better matching the material design spec. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1010493007
-
由 Adam Barth 提交于
This CL makes the drawer the correct size and use the correct animation curve. Also, remove the hard-coded z-index values now that hit testing works again. This CL adjusts the mask's opacity to match the drawer in Gmail. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1012463003
-
由 Adam Barth 提交于
Previously, we had a problem with this physics simulation not actually hitting the edge of the box and causing the scrollable contents to fall back down. To avoid that problem, we enforced a minimum velocity for the particle to ensure that it always hit the edge of the box. However, when that min velocity kicked in, the results were visually unappealing. This CL fixes the underlying problem. The fix is to apply the impluse from gravity after updating the particle's position. In that way, we slightly over estimate the particle's position in every step of the simulation, ensuring that we don't miss the edge of the box due to errors in our simulation. With this change, we no longer need the min velocity hack. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1008423002
-
由 Adam Barth 提交于
We need to teach shelldb to deploy the Sky SDK and run SkyServer with the right package root. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1007393002
-
- 16 3月, 2015 1 次提交
-
-
由 Tony Gentilcore 提交于
BUG=#62 TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/1006353002
-
- 14 3月, 2015 6 次提交
-
-
由 Eric Seidel 提交于
Dart actually expects package: to work. This CL makes package:foo map to /packages/foo, similar to how Dartium or bin/dart would expect. This also means overlaying the /gen directory over the actual package outputs (as consumers of an SDK would expect) as well as adding an additional /lib indirection for the actual package source as the Dart pub tool will expect. This is far from perfect, but it unlocks us actually producing a sky SDK. I expect there may be some fallout from this change as I'm sure I missed some package: uses. We also don't have a general solution for all /foo/bar/baz includes which randomly included parts of mojo's source directory. Those will need to be updated to use a package: and deploy_sdk.py taught how to build a package for them. R=abarth@chromium.org Review URL: https://codereview.chromium.org/990493002
-
由 Adam Barth 提交于
We now use a physics simulationt to drive the scroll fling. We're also closer to integrating fling into overscroll. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1004363002
-
由 Rafael Weinstein 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1006053002
-
由 Adam Barth 提交于
We need to update how we initialize JNI to make sure we get an AtExitManager. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1003813004
-
由 Adam Barth 提交于
-
由 Adam Barth 提交于
This CL cleans up the sky/framework/animation as follows: 1) I've moved code that's used only by the custom elements framework into sky/framework/elements/animation. This code is based on AnimationDelegates rather than Streams. 2) Rename ScrollCurve to ScrollBehavior because it encapsulates more behavior than just a curve. 3) Make the Generator interface explicit and mark subclasses as actual subclasses. 4) Move Simulation into generators.dart because it implements the Generator interface. 5) Move Animation out of generators.dart because it does not implement the Generator interface. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1001373002
-