1. 26 3月, 2019 1 次提交
    • A
      Delegate a11y events and action to/from embedded Android platform views. (#8250) · 345ae7d3
      Amir Hardon 提交于
      Delegate a11y events and action to/from embedded Android platfrom views.
      
      This handles delegation of:
        * AccessibilityNodeProvider#performAction
        * ViewGroup#requestSendAccessibilityEvent
        * View#onHoverEvent
      
      Additionally updates the currently input accessibility focused node state that is
      tracked by the a11y bridge when an embedded view's node is focused.
      345ae7d3
  2. 22 3月, 2019 1 次提交
    • A
      Mirror Android platform views a11y tree in the Flutter a11y tree. (#8237) · 06635d38
      Amir Hardon 提交于
      This PR mirrors virtual a11y tree of embedded platform views in the Flutter
      a11y tree.
      
      Non virtual hierarchies are not currently supported.
      
      Only works on Android versions earlier than Android P as it relies on
      reflection access to hidden system APIs which cannot be done starting
      Android P.
      
      A11y is not yet working as we also need to delegate a11y events from the
      platform view to the FlutterView. This will be done in a following PR to
      keep the change size a little saner.
      06635d38
  3. 21 3月, 2019 2 次提交
  4. 20 3月, 2019 1 次提交
  5. 19 3月, 2019 1 次提交
  6. 13 3月, 2019 1 次提交
  7. 08 3月, 2019 1 次提交
  8. 06 3月, 2019 1 次提交
  9. 01 3月, 2019 1 次提交
  10. 26 2月, 2019 1 次提交
  11. 25 2月, 2019 1 次提交
  12. 23 2月, 2019 1 次提交
  13. 22 2月, 2019 4 次提交
  14. 21 2月, 2019 6 次提交
  15. 20 2月, 2019 2 次提交
  16. 16 2月, 2019 4 次提交
    • S
      51416802
    • C
      Revert "Android embedding refactor pr3 add remaining systemchannels (#7738)" (#7849) · 163a2fd5
      Chris Bracken 提交于
      From build log:
      ```
      ../../flutter/shell/platform/android/io/flutter/view/FlutterView.java:95: error: cannot find symbol
          private final LocalizationChannel localizationChannel;
                        ^
        symbol:   class LocalizationChannel
        location: class FlutterView
      ../../flutter/shell/platform/android/io/flutter/view/FlutterView.java:172: error: cannot find symbol
              localizationChannel = new LocalizationChannel(dartExecutor);
                                        ^
        symbol:   class LocalizationChannel
        location: class FlutterView
      2 errors
      ```
      
      This reverts commit 256db4bc.
      163a2fd5
    • C
      Shut down and restart the Dart VM as needed. (#7832) · 0d6ff166
      Chinmay Garde 提交于
      The shell was already designed to cleanly shut down the VM but it couldnt
      earlier as |Dart_Initialize| could never be called after a |Dart_Cleanup|. This
      meant that shutting down an engine instance could not shut down the VM to save
      memory because newly created engines in the process after that point couldn't
      restart the VM. There can only be one VM running in a process at a time.
      
      This patch separate the previous DartVM object into one that references a
      running instance of the DartVM and a set of immutable dependencies that
      components can reference even as the VM is shutting down.
      
      Unit tests have been added to assert that non-overlapping engine launches use
      difference VM instances.
      0d6ff166
    • M
  17. 12 2月, 2019 2 次提交
  18. 09 2月, 2019 4 次提交
  19. 07 2月, 2019 1 次提交
  20. 06 2月, 2019 1 次提交
  21. 05 2月, 2019 1 次提交
  22. 01 2月, 2019 1 次提交
    • S
      Initial import of FDE macOS framework (#7642) · 93452747
      stuartmorgan 提交于
      Merges the current flutter-desktop-embedding macOS framework into the
      engine. Notable changes:
      - All channel/codec related code is eliminated in favor of using the
        existing iOS implementations.
      - All .m files renamed to .mm for consistency with the iOS code.
        - Some minor code changes to fix new warnings in Objective-C++ mode.
      - License headers, basic format (e.g., clang-format changes) updated to
        use repo style.
      - Xcode project is not included; instead adds GN build rules to create
        an integrated framework that combines what was the FDE library with
        what is present in FlutterEmbedder.framework.
      
      Other changes are left as follow-ups, including:
      - Moving shared code out of ios/ into common/.
      - Potentially improving sharing between iOS and macOS BUILD.gn.
      - Class renaming; the FLE prefix will be eliminated, but that API
        surface isn't stable yet, so that can be changed later.
      93452747
  23. 31 1月, 2019 1 次提交