- 10 Mar, 2015 2 commits
-
-
Adam Barth authored
This CL factors EditableString out of EditableText and implements more of the InputConnection functions. As a result, EditableText now basically works. This CL also paves the way to make EditableText stateless by using EditableString as its state object. However, there's still a bit more work to do to make that a reality (e.g., factoring out the cursor blink timer and the connection to the keyboard). R=eseidel@chromium.org Review URL: https://codereview.chromium.org/995073002
-
Rafael Weinstein authored
This patch allows for an initial delay before an animation begins and also adds an Animation class which encapsulates a value which is long-lived, can be explicitly set and also animated from its current value to another value. BUG= R=abarth@chromium.org Review URL: https://codereview.chromium.org/994143002
-
- 09 Mar, 2015 3 commits
-
-
Adam Barth authored
This CL introduces a new keyboard service that understands Android IME and starts work on a Input component that interacts with this service to provide an editing control. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/995613002
-
Rafael Weinstein authored
"Render" is misleading. "Build" may not be the best word either, it's closer to what's actually happening. R=ojan@chromium.org TBR=abarth BUG= Review URL: https://codereview.chromium.org/992033002
-
Rafael Weinstein authored
Ensure that sky Nodes are in the document when didMount() is fired. Refactor FixedHeightScrollable to inspect heights rather than having the passed in BUG= R=abarth@chromium.org Review URL: https://codereview.chromium.org/994553003
-
- 06 Mar, 2015 5 commits
-
-
Rafael Weinstein authored
TBR=eseidel BUG= Review URL: https://codereview.chromium.org/987833002
-
Rafael Weinstein authored
This patch changes the timing of the unmount call until after the component is removed (and marked as such) and allows setState to be called after this point. If this happens, setState will still invoke the closer to do any neccesary cleanup, but doesn't schedule the component for render R=eseidel@chromium.org, eseidel BUG= Review URL: https://codereview.chromium.org/985853002
-
Rafael Weinstein authored
TBR=eseidel BUG= Review URL: https://codereview.chromium.org/983173003
-
Adam Barth authored
This provokes a rendering bug in MojoShell but not in SkyShell. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/984793002
-
Eric Seidel authored
To test: sky/tools/shelldb analyze sky/examples/stocks-fn/stocksapp.dart It prints 600+ warnings about the "native" keyword, and after this change only a couple warnings about missing library names which I don't fully understand. R=abarth@chromium.org Review URL: https://codereview.chromium.org/987613002
-
- 05 Mar, 2015 12 commits
-
-
Hixie authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/980043005
-
Adam Barth authored
That's where it belongs. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/979283002
-
Adam Barth authored
It's awkward to work on fn.dart in the examples directory so this CL moves it to /sky/framework. Also, I've merged the whole library into one file instead of using the |part| mechanism. The whole thing isn't that big. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/987463002
-
Adam Barth authored
These examples don't work anymore and have been replaced with color-chooser.sky. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/987443002
-
Adam Barth authored
This CL changes the duration of the drawer animation to match the values used by the Android framework. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/976193002
-
Adam Barth authored
- Removed out-of-date README.md - Moved fling-curve into the animation directory because it's part of the animation behavior of the system. - Moved view-configuration into the theme directory because it's a collection of constants similar in flavor to the colors and the shadows. Eventually we'll want to make the theme configurable and have these all together will hopefully make that easier. - Moved dom-serializer into tests/resources because it is used only by tests. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/980423002
-
Adam Barth authored
Instead, we can just use the existing animation/curves.dart file in the framework. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/976373003
-
Adam Barth authored
This CL removes the hard-coded colors and shadows from the fn widgets and replaces them with compile-time constants. The color values are from the material spec: http://www.google.com/design/spec/style/color.html#color-color-palette R=eseidel@chromium.org Review URL: https://codereview.chromium.org/983733003
-
Adam Barth authored
Instead of duplicating fling-curve.dart in fn, we now share the existing copy in sky/framework. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/976363003
-
Adam Barth authored
Previously, the two versions of this sample app had separate copies of the stock data. This CL moves the common data to the common data directory so that they can share. Also, I've switched the data files to be |dart| files rather than |sky| files to make them easier to use from fn examples. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/980953002
-
Adam Barth authored
This CL removes a bunch of examples that don't actually work in the current engine. I've also renamed example-element to custom-element and example-scrollable to scrolling because the word "example" in the name is redundant with the name of the directory. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/980323003
-
Adam Barth authored
This CL changes how events work in fn. Previously, event listeners were passed in as constructor arguments. Now Nodes hold an |events| object, which contains all the event registrations. When a Component renders, all its |events| are copied onto the Node it produces. When an Element syncs, it walks its |events| and adds them as event listeners on the underlying sky.Element. The net result of this change is increased flexibility in how events are registered. Now components don't need to enumerate all the possible events that they support. Instead, the parent component can listen for whatever events it likes. Also, I've cleaned up the association between DrawerAnimation and Drawer. Now the constructor for Drawer accepts an |animation| object and wires up its internal event handlers itself instead of requiring the constructor to do all the wiring. R=rafaelw@chromium.org Review URL: https://codereview.chromium.org/975863003
-
- 04 Mar, 2015 3 commits
-
-
Adam Barth authored
This CL adds license blocks and cleans up a number of Dart idioms in fn. Specifically, I've marked several fields as |final| and used Map#putIfAbsent in some appropriate places. R=rafaelw@chromium.org Review URL: https://codereview.chromium.org/973613004
-
Rafael Weinstein authored
-
Adam Barth authored
R=rafaelw@chromium.org Review URL: https://codereview.chromium.org/970393002
-
- 03 Mar, 2015 6 commits
-
-
Adam Barth authored
If there is jank, we might not get a frame time that's just after the last frame, which means we'll stop generating animation frames before hitting 1.0 exactly. In this CL, we introduce state to takeWhile to cancel the stream after emitting the 1.0. R=rafaelw@chromium.org Review URL: https://codereview.chromium.org/975153002
-
Rafael Weinstein authored
TBR=abarth Review URL: https://codereview.chromium.org/975203002
-
Hixie authored
TBR=raf Review URL: https://codereview.chromium.org/974903005
-
Adam Barth authored
R=rafaelw@chromium.org Review URL: https://codereview.chromium.org/975913002
-
Eric Seidel authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/973133002
-
Rafael Weinstein authored
This is just a proof of concept. If we like this direction, it will move out of the examples directory (likely re-written) and be committed in smaller pieces with unit tests and formal reviews. TBR=abarth BUG= Review URL: https://codereview.chromium.org/971183002
-
- 02 Mar, 2015 2 commits
-
-
Adam Barth authored
double is a built-in type in Dart. float isn't... TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/968293003
-
Eric Seidel authored
The touch demo needs some basic smoothing, right now it looks rather jittery after this change. But the pressure code is definitely working! R=abarth@chromium.org BUG= Review URL: https://codereview.chromium.org/970493003
-
- 28 Feb, 2015 1 commit
-
-
Adam Barth authored
We need to create a new service provider when we navigate to a new page otherwise the new page is sad that the old page took its service provider. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/962383003
-
- 27 Feb, 2015 2 commits
-
-
Adam Barth authored
Apps can import this library if they wish to reload on shake. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/963303004
-
Adam Barth authored
This CL adds a sensor_service to sky/services and wires it into SkyShell The plan is to eventually use this data to implement shake-to-refresh. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/962043002
-
- 26 Feb, 2015 1 commit
-
-
Eric Seidel authored
Before this patch it crashed. Also updated the touch-demo to support multi-touch. R=abarth@chromium.org BUG= Review URL: https://codereview.chromium.org/961483004
-
- 25 Feb, 2015 1 commit
-
-
Zachary Anderson authored
This improves consistency with the convention that the dart: scheme is only for things from the Dart standard library. BUG= R=erg@chromium.org Review URL: https://codereview.chromium.org/951783004
-
- 24 Feb, 2015 2 commits
-
-
Adam Barth authored
These aren't 100% correct, but they look somewhat reasonable. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/954023002
-
Adam Barth authored
This CL makes the list view in the stocks app more consistent with the material spec by using a colored circle instead of color-coding the percentage change. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/932103004
-