- 14 3月, 2015 7 次提交
-
-
由 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
-
由 Adam Barth 提交于
This CL uses a simple physics simulation to drive overscroll animations. We model settling the overscroll as a particle climbing a hill, which gives us a pleasing parabolic trajectory. This CL also includes machinery for spring-based simulations. We'll use these to drive the drawer animation. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/999423004
-
- 13 3月, 2015 9 次提交
-
-
由 Rafael Weinstein 提交于
-
由 Rafael Weinstein 提交于
-
由 Rafael Weinstein 提交于
-
https://crrev.com/320343由 Nick Bray 提交于
This required some manual patching to ui/event and ui/gfx. Sky tests were suppressed. https://github.com/domokit/mojo/issues/64 BUG=401761 R=jamesr@chromium.org Review URL: https://codereview.chromium.org/1001833005
-
由 Adam Barth 提交于
This CL teaches Scrollable how to settle back to a scroll offset of 0.0 after a fling or a scroll. There's still some room for improvement: 1) Some of this logic should be factored out into the scroll curve object. 2) We don't produce the correct animation curves when we fling into the overscroll region because we wait for the fling velocity to reach zero before we start the settling animation. R=ojan@chromium.org, eseidel@chromium.org Review URL: https://codereview.chromium.org/1005753002
-
由 Adam Barth 提交于
When using OverscrollCurve, we continue to scroll beyond the top of the scrollable area but the scroll delta is reduced by 2x. A future CL will add an animation at gesturescrollend to relax back to scroll position 0.0. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1002953003
-
由 Adam Barth 提交于
Intead of hard-coding the notion of bounded scrolling into Scrollable, this CL factors out a ScrollCurve class that applies the bounds. In the future, we'll refine this mechanism to implement overflow scrolling. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1005633002
-
由 Adam Barth 提交于
This class encapsulates the scrolling behavior but not the mechanism for building the visual components. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1006533002
-
由 Adam Barth 提交于
We're using underscores as word separators per Dart style. TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/998373002
-
- 12 3月, 2015 13 次提交
-
-
由 Adam Barth 提交于
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1000863002
-
由 Viet-Trung Luu 提交于
Also: * Fix consecutive spaces (don't collapse them). * Add support for ^L. Still doesn't work: * Totally blank lines. (I know why, but I don't know why I can't seem to fix it.) R=erg@chromium.org Review URL: https://codereview.chromium.org/997873004
-
由 Zachary Anderson 提交于
This is to better support integration with Dart SDK tools. BUG= R=erg@chromium.org Review URL: https://codereview.chromium.org/998933005
-
由 Viet-Trung Luu 提交于
TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/1004533002
-
由 Viet-Trung Luu 提交于
D'oh. TBR=erg@chromium.org Review URL: https://codereview.chromium.org/998103002
-
由 Viet-Trung Luu 提交于
(Together with an app that echoes stuff from the terminal.) R=erg@chromium.org Review URL: https://codereview.chromium.org/999193002
-
由 Adam Barth 提交于
To accomplish this, I made the following changes: 1) Material is now in charge of drawing the material shadows. 2) In order to mix in the style for the shadow, Element now takes a list of Styles instead of a single style. 3) Update all clients of Element#style to understand that we now have a list. 4) Update components that drawer shadows to have Material do that work instead. a) One exception: FloatingActionButton draws its own shadow because of its crazy clip requirements. We'll probably want to find a better way for FloatingActionButton to clip in the future. I've also added a widgets-fn example to demo the fn material widgets. This CL introduces a bug into Drawer whereby you can get ink splashes everywhere in the drawer. In the future, we'll need to separate out the different material aspects to get non-splashable materials. R=rafaelw@chromium.org Review URL: https://codereview.chromium.org/1003553002
-
由 Eric Seidel 提交于
We're not actively developing these at the moment. I could also just delete them, not sure if we're ready for that yet. TBR=abarth@chromium.org Review URL: https://codereview.chromium.org/999873002
-
由 Adam Barth 提交于
R=rafaelw@chromium.org Review URL: https://codereview.chromium.org/997073003
-
由 Adam Barth 提交于
We don't yet reset the scroll offset, so sometimes you can't see your search results properly. R=rafaelw@chromium.org Review URL: https://codereview.chromium.org/1002453003
-
由 Adam Barth 提交于
R=rafaelw@chromium.org Review URL: https://codereview.chromium.org/996213004
-
由 Adam Barth 提交于
Instead of MaterialComponent being a base class, components that want material behavior simply create a MaterialComponent during their render function. This approach gives the component more flexibility as to its structure and gives MaterialComponent more flexibility has to how the components it generates are related to the existing children. Also, I've improved some of the event delegation code. There's no reason to attach event handlers to the root component you emit during |render| because the framework already delegates events from your root component to you. R=rafaelw@chromium.org Review URL: https://codereview.chromium.org/983903003
-
由 Eric Seidel 提交于
Unclear what if any of this we will want in the Dart world. R=abarth@chromium.org Review URL: https://codereview.chromium.org/993203002
-
- 11 3月, 2015 10 次提交
-
-
由 Adam Barth 提交于
The search field doesn't do anything, but it's there. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/998803002
-
由 Adam Barth 提交于
Moving these files into sky/framework will make them easier to use from the SDK. Also, this CL also splits up the giant "widgets" library into smaller libraries, one per component. TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/993033003
-
由 Hixie 提交于
Review URL: https://codereview.chromium.org/987403003
-
https://crrev.com/319330由 Dave Moore 提交于
- New chromium clang rules require explicit external destructors so system/lib added for MessagePipe, DataPipe and SharedBuffer - New chromium clang rules require override and no virtual in declarations, so many files updated. - cc_strip_video patch updated. BUG= R=jamesr@chromium.org Review URL: https://codereview.chromium.org/988693005
-
由 Adam Barth 提交于
The implementation details are in sky/framework/editing. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/983213005
-
由 Adam Barth 提交于
We don't yet have a focus controller, which means once this control becomes focused there's no way for it to lose focus. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/999553002
-
由 Eric Seidel 提交于
http://www.google.com/design/spec/components/lists.html#lists-behavior R=abarth@chromium.org Review URL: https://codereview.chromium.org/993093004
-
由 Eric Seidel 提交于
54px on small screens: http://www.google.com/design/spec/layout/metrics-keylines.html#metrics-keylines-keylines-spacing TBR=abarth@chromium.org Review URL: https://codereview.chromium.org/995133002
-
由 Adam Barth 提交于
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 提交于
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
-
- 10 3月, 2015 1 次提交
-
-
由 Adam Barth 提交于
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
-