1. 21 Feb, 2016 1 commit
    • Adam Barth's avatar
      Add TestGesture · 1484add1
      Adam Barth authored
      This helper makes it easier to write correct tests that involve
      gestures.
      
      Fixes #1855
      1484add1
  2. 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
  3. 11 Jan, 2016 1 commit
  4. 16 Dec, 2015 1 commit
  5. 23 Nov, 2015 1 commit
  6. 16 Nov, 2015 1 commit
    • Hixie's avatar
      More resilient Widget tests · d041f3ea
      Hixie authored
      - force the time dilation to 1.0 for the Widget tests, so that a local
        change doesn't break all the tests during development.
      - add missing license block to all the files.
      - set ui.window.onBeginFrame to null when you use WidgetTester, so that
        the engine doesn't trigger any confusing frames after our fake frames.
      d041f3ea
  7. 05 Nov, 2015 2 commits
    • 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
    • Adam Barth's avatar
      Improve hit testing · 9bc64540
      Adam Barth authored
      Now a RenderBox is considered hit if one of its children are hit or it itself
      decides that it's hit. In particular, empty space inside a flex won't be hit
      because none of the children are located there and a RenderFlex doesn't
      consider itself hittable.
      
      Fixes #53
      Fixes #1221
      9bc64540
  8. 27 Oct, 2015 1 commit
  9. 10 Oct, 2015 1 commit
  10. 02 Oct, 2015 1 commit
  11. 01 Oct, 2015 3 commits
  12. 25 Sep, 2015 1 commit
  13. 16 Sep, 2015 1 commit
    • Adam Barth's avatar
      Move Drawer to GestureDetector · 74f7d9ef
      Adam Barth authored
      This fixes an issue in the stocks app in horizontal mode where you could both
      scroll and drag the drawer at the same time.
      74f7d9ef
  14. 10 Sep, 2015 1 commit
    • Adam Barth's avatar
      Fold fling gesture into onDragEnd · 63101e49
      Adam Barth authored
      That way the fling engages in the same direction as the scroll. For example, if
      you have a horizontal scroll nested inside a vertical scroll, the fling will
      take place in the same direction as the scroll.
      63101e49
  15. 04 Sep, 2015 1 commit
  16. 03 Sep, 2015 1 commit
    • Hans Muller's avatar
      Fix minor problems in _ScrollGestureRecognizer, Dismissable · 952e7358
      Hans Muller authored
      Alternating scroll gestures would sometimes be ignored because _ScrollGestureRecognizer didn't always reset its _state when the pointer[s] went up.
      
      A Dismissable dismiss triggered by a drag and then a fling could cause the next attempt to drag-dimiss to fail.
      
      Fixed the definition of lerpColor().
      952e7358
  17. 30 Aug, 2015 1 commit
    • Adam Barth's avatar
      Scrolls should start immediately when possible · bef55951
      Adam Barth authored
      If there are no other gestures in the arena, we should kick off the scroll
      gesture right away. This change pulled a refactoring of how we dispatch events
      to Widgets. Now we dispatch events to Widgets interleaved with their associated
      RenderObjects. (Previously we dispatched to all of the RenderObjects first.)
      bef55951