1. 15 Nov, 2016 1 commit
  2. 03 Nov, 2016 1 commit
  3. 01 Nov, 2016 1 commit
  4. 04 Oct, 2016 1 commit
  5. 08 Sep, 2016 1 commit
    • Phil Quitslund's avatar
      Update to Dart `1.20.0-dev.1.0`. (#5689) · d2fda677
      Phil Quitslund authored
      * Udpate to Dart `1.20.0-dev.1.0`.
      
      Udpate to Dart `1.20.0-dev.1.0` and corresponding `analyzer` package.
      
      * Added `--no-packages-dir`.
      
      * Revert extension to master.
      
      * Added ignores.
      
      * Review nits.
      
      * More nits.
      d2fda677
  6. 15 Aug, 2016 1 commit
  7. 01 Jul, 2016 1 commit
    • Adam Barth's avatar
      Update use of `@protected` (#4805) · 8c535ad7
      Adam Barth authored
      Now that protected can be accessed from inside the same library, we can
      use protected in a number of new places and we can remove some
      trampolines we were using to work around its previous semantics.
      8c535ad7
  8. 07 Jun, 2016 1 commit
  9. 06 Jun, 2016 1 commit
  10. 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
  11. 18 May, 2016 1 commit
  12. 17 May, 2016 2 commits
  13. 22 Apr, 2016 1 commit
  14. 24 Mar, 2016 1 commit
  15. 18 Mar, 2016 2 commits
  16. 15 Mar, 2016 1 commit
    • Adam Barth's avatar
      Tapping drawer during animation causes it to stick · a710676d
      Adam Barth authored
      The problem was we were using a tap gesture to stop the motion of the
      drawer and a drag gesture to settle it. That can cause a broken
      lifecycle. Now we use a single drag recognizer to drive the whole
      lifecycle.
      
      Fixes #775
      Fixes #1276
      a710676d
  17. 14 Mar, 2016 1 commit
  18. 12 Mar, 2016 2 commits
  19. 11 Mar, 2016 1 commit
  20. 06 Mar, 2016 1 commit
  21. 01 Mar, 2016 2 commits
  22. 26 Feb, 2016 1 commit
    • Hixie's avatar
      Fix crash in Block. · fcb30719
      Hixie authored
      This assert was overzealous. You can update a RawGestureDetector any
      time before the semantics phase, it doesn't have to only be during your
      child's layout.
      
      This is good because Block has additional PointerListeners between its
      GestureDetector and its Viewport.
      fcb30719
  23. 25 Feb, 2016 3 commits
    • Hixie's avatar
      Remove size observers from scrollables. · f8080557
      Hixie authored
      Also:
       - add operator==/hashCode/toString to ViewportDimensions
       - add toString to BindingBase
       - add toString and debugFillDescription to ScrollBehavior
       - fix a bug in the RawGestureDetectorState's replaceGestureRecognizers
       - rename MixedViewport's onExtentsUpdate to onExtentChanged
       - replace ExtentsUpdateCallback with ValueChanged<double>
       - remove a microtask for dispatching scroll start, since it
         did not appear to have any purpose
       - added dartdocs to Instrumentation until I understood it
       - made all event dispatch in Instrumentation drain microtasks
      f8080557
    • 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
    • Hixie's avatar
      Just-in-time mutations of GestureDetector · 0df3730d
      Hixie authored
      This allows us to adjust exactly which gestures we're listening for
      during layout, which I'll use to kill a SizeObserver.
      0df3730d
  24. 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
  25. 27 Jan, 2016 1 commit
  26. 14 Dec, 2015 2 commits
  27. 09 Dec, 2015 3 commits
  28. 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
  29. 13 Nov, 2015 1 commit
  30. 05 Nov, 2015 2 commits
    • Hixie's avatar
      Make Draggable use gestures · 255ed0b9
      Hixie authored
      Draggable is now itself a gesture arena member. This means it won't
      conflict with other gesture recognisers in the same path.
      
      This also allows variants of Draggable that are triggered by other
      gestures.
      
      Also, some cleanup of DoubleTapGestureRecognizer, GestureDetector, and
      PrimaryPointerGestureRecognizer.
      
      Also, make MultiTapGestureRecognizer support a timeout for longpress.
      
      Also, make Draggable data be typed.
      
      Also, hide warnings about constructor warnings for now. Analyzer doesn't
      support them yet. (Have to do this on a per-line basis)
      
      Directions for future research:
       - animating the avatar (enter/exit transitions)
       - interaction with the navigator (canceling a drag on page navigation, etc)
       - double-tap draggable
      255ed0b9
    • Adam Barth's avatar
      Add the ability to have translucent gesture detectors · 2fc5a759
      Adam Barth authored
      A translucent gesture detector still listens for gestures but also lets the
      content visually behind the detector receive events.
      2fc5a759