1. 12 Sep, 2018 1 commit
  2. 06 Sep, 2018 1 commit
    • Amir Hardon's avatar
      Add an EagerGestureRecognizer. (#21407) · 9506d1e1
      Amir Hardon authored
      This recognizer can be passed in AndroidView's gesureRecognizers when we
      want all touch events in the view bounds to be immediately dispatched
      to the Android view.
      9506d1e1
  3. 31 Aug, 2018 1 commit
  4. 28 Aug, 2018 2 commits
  5. 27 Aug, 2018 2 commits
  6. 23 Aug, 2018 2 commits
  7. 08 Aug, 2018 1 commit
  8. 07 Aug, 2018 2 commits
    • Amir Hardon's avatar
      7defaca9
    • Amir Hardon's avatar
      AndroidView touch support. · ccaa0636
      Amir Hardon authored
      This PR adds 2 features to RenderAndroidView and AndroidView:
      
      1. Hit testing behavior
      Adds a `PlatformViewHitTestBehavior` which is similar to
      `HitTestBehavior` without the `deferToChild` option (as platform views
      don't have child render objects) and with a `transparent` option which
      prevents it from forwarding any events to the Android view.
      
      2. MotionEvent recomposing logic
      FlutterView and the framework `converter.dart` are working together to
      transform each Android MotionEvent object into one or more
      `PointerEvent` objects.
      
      This PR adds the reverse logic (in _MotionEventDispatcher which is used
      by RenderAndroidView) which turns a stream of PointerEvent objects into
      MotionEvent objects.
      
      The correctness of the recomposing logic is tested in an integration
      test which will land in a separate PR (the unit test PR is pretty big,
      trying to keep as many bite-size PRs for reviewer's convenience)
      ccaa0636
  9. 02 Aug, 2018 1 commit
  10. 27 Jul, 2018 1 commit
  11. 23 Jul, 2018 1 commit
  12. 20 Jul, 2018 1 commit