1. 01 Nov, 2016 1 commit
  2. 23 Oct, 2016 1 commit
  3. 21 Oct, 2016 1 commit
  4. 06 Oct, 2016 1 commit
  5. 26 Sep, 2016 1 commit
    • Ian Hickson's avatar
      Turn off AnimationControllers when not in use (#5902) · 9e673853
      Ian Hickson authored
      This requires all AnimationController objects to be given a
      TickerProvider, a class that can create the Ticker.
      
      It also provides some nice mixins for people who want to have their
      State provide a TickerProvider. And a schedulerTickerProvider for those
      cases where you just want to see your battery burn.
      
      Also, we now enforce destruction order for elements.
      9e673853
  6. 20 Sep, 2016 1 commit
  7. 02 Sep, 2016 1 commit
  8. 16 Aug, 2016 1 commit
  9. 04 Jul, 2016 1 commit
  10. 01 Jul, 2016 1 commit
  11. 12 Jun, 2016 1 commit
  12. 03 Jun, 2016 1 commit
    • Adam Barth's avatar
      Convert drag gestures to use details objects (#4343) · 2d4acb80
      Adam Barth authored
      Previously we supplied individual parameters to the various drag and pan
      callbacks. However, that approach isn't extensible because each new
      parameter is a breaking change to the API.
      
      This patch makes a one-time breaking change to the API to provide a
      "details" object that we can extend over time as we need to expose more
      information. The first planned extension is adding enough information to
      accurately produce an overscroll glow on Android.
      2d4acb80
  13. 25 May, 2016 1 commit
  14. 12 May, 2016 1 commit
  15. 29 Apr, 2016 1 commit
    • Adam Barth's avatar
      Improve the TextPainter API (#3621) · e41120bc
      Adam Barth authored
      Instead of using properties, TextPainter now receives min and max width as
      parameters to layout. Also, this patch integrates the intrinsic sizing logic
      into the main layout function, which satisfies all the existing uses cases.
      e41120bc
  16. 08 Apr, 2016 1 commit
  17. 04 Apr, 2016 1 commit
  18. 01 Apr, 2016 1 commit
  19. 31 Mar, 2016 2 commits
  20. 14 Mar, 2016 1 commit
  21. 12 Mar, 2016 1 commit
  22. 11 Mar, 2016 1 commit
  23. 01 Mar, 2016 1 commit
  24. 25 Feb, 2016 1 commit
    • Adam Barth's avatar
      Remove PointerRouter and GestureArena arguments · 4b1a9ff1
      Adam Barth authored
      There's no reason to make clients supply a PointerRounter and a
      GestureArena when constructing gesture recognizers. These objects are
      statics and the gesture recognizers can just grab them directly.
      
      Also, remove the callback constructor arguments. Almost no code used
      them. Instead, people seem to prefer using the `..` operator to set
      callbacks on the recognizers. Removing the arguments removes a bunch of
      boilerplate.
      4b1a9ff1
  25. 14 Feb, 2016 1 commit
    • Adam Barth's avatar
      Add a Velocity class to be explicit about units · 4fb47600
      Adam Barth authored
      We were using an Offset, which represented pixels/second, but it wasn't
      clear to clients whether that was pixels/ms. Now we use a Velocity class
      that is explict about the units.
      
      Fixes #1510
      Fixes #785
      4fb47600
  26. 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
  27. 20 Jan, 2016 2 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
      Finish porting material.dart to AnimationController · 08b27fd7
      Adam Barth authored
      After this patch, there aren't any direct uses of Performance in material.dart.
      08b27fd7
  28. 14 Dec, 2015 2 commits
  29. 09 Dec, 2015 1 commit
  30. 08 Dec, 2015 1 commit
  31. 05 Dec, 2015 1 commit
    • Ian Hickson's avatar
      PointerInput refactor · f1625556
      Ian Hickson authored
      Instead of PointerInputEvent having a "type" field, we now have a
      different class for each pointer type.
      
      This has ripple effects throughout the system.
      
      I also did code cleanup in affected files while I was there.
      f1625556
  32. 04 Dec, 2015 1 commit
    • Hixie's avatar
      Slider Improvements · 6c3459e0
      Hixie authored
      Have the widget support min/max arguments to make the widget easier to
      use. Also, fix the dragging so it's actually where the knob is.
      6c3459e0
  33. 26 Nov, 2015 1 commit
    • Adam Barth's avatar
      Improve Material selection controls · 3f06da0e
      Adam Barth authored
       - These controls now have proper radial reactions.
       - You can drag the switch.
       - The radio button animates properly.
       - There's a demo in the Material Gallery
      3f06da0e
  34. 25 Nov, 2015 2 commits