1. 19 5月, 2015 1 次提交
    • J
      Rationalize Dart mojo and sky package structure. · b017dfd9
      John McCutchan 提交于
      NOTE: This CL appears far larger than it actually is for two reasons:
      
      1) Many files were moved around to use the Dart package directory structure.
      2) Many .dart files had to have import paths updated.
      
      - Organize mojo/public/dart so that it uses standard Dart package layout
      - Organize mojo/dart/apptest so that it uses a standard Dart package layout
      - Organize sky/sdk so that it uses a standard Dart package layout
      - Create a mojo/testing package (used by unittests)
      - Introduce the 'dart_pkg' gn rule which populates gen/Config/dart-pkg
      - All internally vended Dart packages must have a corresponding dart_pkg rule
      - It is now possible to use dependency_overrides: in pubspec.yaml to mix internal and external package dependencies (enables analyzer, editor, webstorm usage for internal developers).
      - Package root for dart content handler ends with "packages/"
      - Imports of mojo package uris no longer need the "public/dart"
      - mojo/public/tools/dart_package.py is a clone of mojo/public/tools/gn/zip.py
      - Sky tests no longer run 'deploy_sdk' script.
      
      R=eseidel@chromium.org
      
      Review URL: https://codereview.chromium.org/1132063007
      b017dfd9
  2. 09 5月, 2015 1 次提交
  3. 05 5月, 2015 1 次提交
  4. 28 4月, 2015 1 次提交
  5. 21 4月, 2015 3 次提交
  6. 02 4月, 2015 1 次提交
  7. 20 3月, 2015 1 次提交
    • A
      Improve Material ink effects · 97abc0da
      Adam Barth 提交于
      1) Factors InkWell out of Material so that components can use an ink well
         without needing the shadow/level machinery.
      
      2) Makes the ink effect move at a different velocity once the tap has actually
         occurred, converging with the spec. We don't have the right speeds yet, but
         at least we're approaching the right shape.
      
      3) To support (2), added a primaryPointer attribute to GestureEvents to let
         authors coorelate gesturetapdown events with later gesturetap events.
      
      4) To support (2), modernized SplashAnimation to used AnimatedValue and friends.
      
      5) Added more constants to view-configuration.dart that match Android.
      
      I've also removed the cancelling of the ink effect on scroll. The proper way to
      do that is to notice that someone in the event chain is listening for
      scrollstart and delay the beginning of the ink effect for some period of time.
      
      R=eseidel@chromium.org
      
      Review URL: https://codereview.chromium.org/1019023003
      97abc0da
  8. 17 3月, 2015 1 次提交
    • A
      Cleanup events related to material splashes · 28d09890
      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
      28d09890
  9. 14 3月, 2015 2 次提交
    • R
      Allow Effen Styles to be extendable · 0765e85b
      Rafael Weinstein 提交于
      R=abarth@chromium.org
      
      Review URL: https://codereview.chromium.org/1006053002
      0765e85b
    • A
      Organize sky/framework/animation · 1eb13d01
      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
      1eb13d01
  10. 13 3月, 2015 1 次提交
    • A
      Scrollable should settle back to 0.0 · 70aa7795
      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
      70aa7795
  11. 12 3月, 2015 1 次提交
    • A
      Update Button to be made of Material · 24a53815
      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
      24a53815
  12. 11 3月, 2015 1 次提交
  13. 10 3月, 2015 1 次提交
  14. 03 3月, 2015 1 次提交