1. 27 Aug, 2020 1 commit
  2. 20 Aug, 2020 1 commit
  3. 29 Jul, 2020 1 commit
  4. 28 Jul, 2020 1 commit
  5. 17 Jul, 2020 1 commit
    • Chris Yang's avatar
      Add no-op callbacks to platform view gesture recognizer when necessary (#61671) · 30e556dd
      Chris Yang authored
      After #31935, Some one sequence gesture recognizers requires at least one callback to be able to compete in the arena. This PR adds the a no-op callback in the gesture recognizer in the platform view when the gesture recognizer does not have any callbacks. This way, all the gesture recognizers in the platform view can compete in the arena.
      30e556dd
  6. 07 Jul, 2020 1 commit
  7. 05 Jul, 2020 1 commit
  8. 11 Jun, 2020 1 commit
  9. 27 May, 2020 1 commit
  10. 14 May, 2020 1 commit
    • Tong Mu's avatar
      MouseCursor uses a special class instead of null to defer (#57094) · 5fa1c60b
      Tong Mu authored
      * Uses a special cursor value MouseCursor.defer to mark deferring. MouseTrackerAnnotation.cursor is now non-null. The mouseCursor argument of widgets or render objects can be null, which indicates using the default value.
      * Moves SystemMouseCursors.uncontrolled to MouseCursor.uncontrolled.
      * Changes how MouseCursor.debugDescription is defined. Previously MouseCursor.toString returns $runtimeType($debugDescription), while now it returns $debugDescription. Implementations of classes are updated, except for the ones of MouseCursor.defer and MouseCursor.uncontrolled are simply "defer" and "uncontrolled".
      5fa1c60b
  11. 11 May, 2020 1 commit
    • Tong Mu's avatar
      System mouse cursors (#54171) · 7f8cb7f8
      Tong Mu authored
      Adds the basic framework for the mouse cursor system. 
      
      * Adds MouseRegion.cursor
      * Adds SystemMouseCursors
      * Adds mouseCursor to some widgets
      7f8cb7f8
  12. 20 Mar, 2020 1 commit
  13. 28 Jan, 2020 1 commit
  14. 11 Jan, 2020 1 commit
  15. 07 Jan, 2020 1 commit
  16. 23 Dec, 2019 1 commit
  17. 05 Dec, 2019 1 commit
    • Chris Bracken's avatar
      Dispatch hover events to PlatformViewController (#46124) · fa0c49d7
      Chris Bracken authored
      This adds support to PlatformViewLayer for handling hover events. Prior
      to this, PlatformViewLayers only supported events forwarded by the
      gesture recognizers associated with the PlatformViewRenderBox. Hover
      events don't participate in gesture recognition and as such are dropped
      in GestureBinding. That said, hover event processing in platform views
      is expected for desktop and other platforms with hover event support.
      
      This adds support for passing an optional MouseTrackerAnnotation to
      PlatformViewLayer. PlatformViewRenderBox populates this with a mouse
      tracker annotation that forwards hover events to
      PlatformViewController.dispatchPointerEvent() for handling by users.
      fa0c49d7
  18. 04 Dec, 2019 1 commit
  19. 27 Nov, 2019 3 commits
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
    • Chris Bracken's avatar
      Eliminate commented-out code (#45726) · dc49fa21
      Chris Bracken authored
      This appears to have been inadvertently added in #37497 (333c9618).
      
      The code in question already exists in `_PlatformViewGestureMixin`, which
      `PlatformViewRenderBox` (where it was added) mixes in.
      dc49fa21
    • Chris Bracken's avatar
      Fix parameter name: handlePointerEvent (#45717) · b39949ff
      Chris Bracken authored
      Removes an unnecessary leading underscore from a parameter name. The
      parameter type is library private, but parameters cannot be 'private'.
      b39949ff
  20. 24 Sep, 2019 1 commit
  21. 06 Aug, 2019 1 commit
  22. 02 Aug, 2019 1 commit
    • Chris Yang's avatar
      Extract common PlatformView functionality: Painting and Semantics (#36955) · 9553f8da
      Chris Yang authored
      * painting and semantics
      
      * more comments
      
      * fixing ci
      
      * review fixes
      
      * add assert for id
      
      * rename custom layer factory to layer builder
      
      * review updates
      
      * partial review fixes
      
      * some doc updates
      
      * more doc updates
      
      * only expose getter for id in PlatformViewController
      
      * doc updates/removing all the  references
      
      * remove extra
      
      * more doc updates
      
      * some doc updates
      
      * more doc fixes
      
      * review fixes
      9553f8da
  23. 31 May, 2019 1 commit
  24. 09 May, 2019 1 commit
  25. 27 Mar, 2019 1 commit
  26. 22 Mar, 2019 1 commit
  27. 20 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      some spaces formatting (#29452) · a6af4228
      Alexandre Ardhuin authored
      * some space formattings
      
      * always use blocks in if-else if a block is used
      
      * format spaces in for and while
      
      * allow multiline if conditions
      
      * fix missing space
      a6af4228
  28. 12 Mar, 2019 1 commit
  29. 09 Mar, 2019 1 commit
  30. 06 Mar, 2019 1 commit
  31. 04 Mar, 2019 1 commit
    • Amir Hardon's avatar
      Make RenderUiKitView reject absorbed touch events (#28666) · 5099701f
      Amir Hardon authored
      When a touch event that is in the bounds of a RenderUiKitView is absorbed by another render object,
      the RenderUiKitView's handleEvent is not called for that object. On the platform side, the touch event hits the FlutterTouchInterceptingView which is waiting for a framework decision that never arrived on whether to reject or accept the gesture.
      
      This change fixes the issue by having RenderUiKitView register a global PointerRoute, that is used to reject absorbed touch events.
      5099701f
  32. 01 Mar, 2019 2 commits
  33. 15 Jan, 2019 1 commit
  34. 27 Dec, 2018 1 commit
    • Amir Hardon's avatar
      Actively reject UiKitView gestures. (#25792) · 50f9b883
      Amir Hardon authored
      flutter/engine#7307 changes the engine side of embedded UIView to only
      reject gestures when the framework sends a `rejectGesture` message, so
      that gesture resolution can done after a touch sequence has ended (see
      PR description for flutter/engine#7307 for more details).
      
      This change makes the framework send a `rejectGesture` message to the
      engine when a UiKitView rejects a gesture.
      
      I'm planning to land this PR before the engine side change, so right now
      it swallows the exception thrown if there is no engine implementation
      for `rejectGesture` (which keeps us with the current behavior). After
      this change lands I'll land the engine PR, and then clean up the part
      that swallows the exception.
      50f9b883
  35. 18 Dec, 2018 1 commit
  36. 10 Nov, 2018 1 commit
  37. 08 Nov, 2018 1 commit