1. 09 Mar, 2016 1 commit
  2. 25 Feb, 2016 1 commit
  3. 11 Feb, 2016 1 commit
    • Ian Hickson's avatar
      Clean up imports and exports. · a94999ba
      Ian Hickson authored
      Each layer is supposed to reexport the parts of the previous layer
      that are part of its API.
      
      - In painting.dart, export from dart:ui all the Canvas-related APIs
        that make sense to be used at higher levels, e.g. PaintingStyle.
      
      - Delete painting/shadows.dart. It was dead code.
      
      - In rendering/object.dart, export all of painting.dart.
      
      - In widgets/basic.dart, export all of painting.dart and
        animation.dart. Some classes in animation/ are renamed to make this
        less disruptive and confusing to the namespace.
      
      - Split out Stocks back into an import model rather than a part model,
        so that it's easier to manage its dependencies on a per-file basis.
      
      - Move Ticker to scheduler library.
      
      - Remove as many redundant imports as possible now.
      
      - Some minor nit picking cleanup in various files.
      a94999ba
  4. 06 Feb, 2016 2 commits
    • Adam Barth's avatar
      Remove ColorTransition · d44e601a
      Adam Barth authored
      There are no clients anymore. We added it for the Drawer a while ago,
      which is a use case that's now better covered by AnimatedModalBarrier,
      complete with semantics.
      d44e601a
    • Adam Barth's avatar
      Add more dartdoc to widgets.dart · 9251504a
      Adam Barth authored
      This patch includes documentation for transitions.dart and for
      scrollable.dart.
      9251504a
  5. 27 Jan, 2016 1 commit
  6. 21 Jan, 2016 1 commit
  7. 20 Jan, 2016 6 commits
    • Adam Barth's avatar
      Remove Performance and AnimatedValue · b988a875
      Adam Barth authored
      This patch removes Performance and AnimationValue now that we've ported the
      framework over to AnimationController and Tween. This patch also cleans up the
      names of the AnimationController classes now that they don't have to avoid
      conflicts with the old animation API. Specifically, I've made the following
      renames:
      
       * Animated -> Animation
       * Evaluatable -> Animatable
       * PerformanceStatus -> AnimationStatus
      
      This patch is just renames and moving code around. There aren't any changes in
      behavior.
      b988a875
    • Adam Barth's avatar
      Port the remainder of the framework to AnimationController · e459e712
      Adam Barth authored
      There should be no more uses of Performance or AnimatedValue in the framework
      or the examples.
      e459e712
    • Adam Barth's avatar
      Port most of widgets to AnimationController · 24872f69
      Adam Barth authored
      I've left transitions and enter_exit_transition out of this patch, but I've
      converted the rest.
      24872f69
    • Adam Barth's avatar
      AnimatedBuilder should have a child · d25951c5
      Adam Barth authored
      Providing a pre-built child is more efficient because we don't need to rebuild
      the child every tick of the animation.
      d25951c5
    • Adam Barth's avatar
      Switch Navigator over to using AnimationController · 6cea5dc8
      Adam Barth authored
      This patch moves Navigator and related code over to using
      AnimationController.
      6cea5dc8
    • Adam Barth's avatar
      Move Scaffold over to using AnimationController · 0b098ee2
      Adam Barth authored
      Also, clean up the class hierarchy for AnimationController now that
      we've renamed progress to value. That means everything in the hierarchy
      now has a value, include Watchable. This patch renames Watchable to
      Animated<T>, which lets us use that type almost everywhere.
      
      I've added some ducktape to modal bottom sheets to avoid having to
      refactor all of Navigator to use AnimationController. I'll remove the
      ducktape in the next patch.
      0b098ee2
  8. 19 Jan, 2016 1 commit
    • Adam Barth's avatar
      Introduce Tween and the new animation API · bc20871c
      Adam Barth authored
      This patch removes state from the animation system, which was causing problems
      as we were scaling the use of animated values.
      
      Now the "tween" objects are stateless and can watch animations, which creates a
      new object that holds both the tween and the animation instead of mutating the
      tween every tick of the animation.
      
      This patch ports one client as a proof-of-concept.
      
      Fixes #215
      bc20871c
  9. 12 Jan, 2016 1 commit
  10. 10 Jan, 2016 1 commit
  11. 24 Dec, 2015 1 commit
    • Ian Hickson's avatar
      RenderFractionalTranslation · 9bad312a
      Ian Hickson authored
      - Add RenderFractionalTranslation, a render box that does a
        translation based on a FractionalOffset.
      
      - Make FractionalOffset more like Offset
        - dx/dy instead of x/y
        - add /, ~/, %
        - add .zero
      
      - Add alongOffset and alongSize to FractionalOffset so that you can
        easily apply FractionalOffset to Offsets and Sizes. (Better name
        suggestions welcome.)
      
      - Add transformHitTests boolean to RenderTransform (also on
        RenderFractionalTranslation), and to classes based on it.
      
      - Remove the fade from Dismissable. We can add it back using the
        builder-with-child pattern like Draggable if we need it. See #1003
        for tha feature request.
      
      - Rename a bunch of variables in dismissable.dart.
      
      - Change the test for dismissable to not handle leftwards dismisses
        one pixel different from rightwards dismisses, and cleaned up the
        resulting effect on the test (mostly making sure we had the right
        number of pumps, with comments explaining what each one was).
      
      Fixes #174.
      9bad312a
  12. 18 Dec, 2015 1 commit
  13. 07 Dec, 2015 1 commit
  14. 04 Dec, 2015 1 commit
  15. 03 Dec, 2015 1 commit
    • Hixie's avatar
      buildForwardTransition() · bc5307f5
      Hixie authored
      For those times when you want to do something as you move away from a
      route into the next one, as well as when you move into it from the
      previous one.
      bc5307f5
  16. 06 Nov, 2015 1 commit
  17. 21 Oct, 2015 1 commit
  18. 18 Oct, 2015 1 commit
    • Hixie's avatar
      Enable Positioned to be animated. · fb8fe97a
      Hixie authored
      Add a AnimatedRelativeRectValue class for animating RelativeRects.
      
      Add a PositionedTransition class for animating Positioned using
      AnimatedRelativeRectValues.
      
      Add a test for PositionedTransition.
      
      Fix a math bug a RelativeRect found by the test.
      
      Fix a logic bug in the two ParentDataWidget classes found by the test.
      Specifically, they were marking the child dirty, rather than the parent.
      The parentData is for the parent's layout, not the child's, so they have
      to mark the parent dirty. (I didn't hoist this up to the superclass
      because ParentData could be used for painting, hit testing,
      accessibility, or any number of other things, and I didn't want to bake
      in the assumption that it needed markNeedsLayout.)
      fb8fe97a
  19. 16 Oct, 2015 1 commit
  20. 10 Oct, 2015 1 commit
  21. 09 Oct, 2015 1 commit
  22. 06 Oct, 2015 1 commit
  23. 05 Oct, 2015 1 commit
  24. 01 Oct, 2015 2 commits
  25. 20 Sep, 2015 1 commit
  26. 18 Sep, 2015 1 commit
  27. 14 Sep, 2015 1 commit
    • Hixie's avatar
      Code cleanup · 61f8651c
      Hixie authored
      - Add documentation for AnimationTiming.
      - typo: defaules -> defaults.
      - added type information to isWatching() signature.
      - made Widget.toStringName() include more useful information.
      - cleaned up StatefulComponent._sync(): more specific signature, change
        redundant if to else, remove redundant cast.
      - change order of TransitionBase arguments for consistency.
      - prevent TransitionBase from affecting the performance in its
        constructor when it didn't create it (but see #1103).
      - remove TODO() from @mpcomplete... no, there is not currently a better
        way to inherit a constructor, unfortunately.
      61f8651c
  28. 08 Sep, 2015 1 commit
    • Adam Barth's avatar
      Introduce package:sky/animation.dart · b356d146
      Adam Barth authored
      Move the animation libraries into src/animation and change importers to use
      package:sky/animation.dart. Also, move scheduler.dart into the animation
      library so that the animation library can be self-contained.
      b356d146
  29. 03 Sep, 2015 1 commit
  30. 02 Sep, 2015 1 commit
    • Adam Barth's avatar
      Move widgets and rendering inside src · 693ddcd8
      Adam Barth authored
      Code outside of package:sky should import this code using
      
      package:sky/rendering.dart
      package:sky/widgets.dart
      
      Moving this code into the "src" directory is a convention that signifies that
      and it cleans up the generated dartdoc because the libraries in the src
      directory aren't included in the generated documentation. Instead, the classes
      are documented in the widgets.dart and rendering.dart libraries.
      693ddcd8
  31. 28 Aug, 2015 1 commit
  32. 22 Aug, 2015 1 commit
  33. 21 Aug, 2015 1 commit