1. 09 Mar, 2019 1 commit
  2. 21 Feb, 2019 1 commit
  3. 30 Jan, 2019 1 commit
  4. 29 Jan, 2019 2 commits
  5. 19 Dec, 2018 1 commit
  6. 18 Dec, 2018 1 commit
  7. 14 Nov, 2018 1 commit
  8. 31 Oct, 2018 3 commits
    • Amir Hardon's avatar
      Re-land "Initial framework support for iOS platform views." (#23781) · 8de86d41
      Amir Hardon authored
      Re-landing #23412 with a fix to the PlatformLayer's addToScene signature.
      
      #23412 was broken by the change to Layer done in #23434.
      
      It seemed green as the presubmits were done before #23434 was landed, and when #23412 landed it broke the build.
      
      Reverts #23779
      8de86d41
    • Amir Hardon's avatar
      b20e7a26
    • Amir Hardon's avatar
      Initial framework support for iOS platform views. (#23412) · 67ffe1c2
      Amir Hardon authored
      This PR adds the full framework stack (layer->render object->widget, and
      service) for embedding iOS views with minimal functionality.
      
      I allowed myself to throw the entire framework stack in one PR since we're mostly
      mirroring the structure we already established for embedded Android views, so this PR
      is a little bigger than usual. I'm happy to break it down to the
      different pieces of the stack if reviewers prefer.
      
      Specifically this PR adds:
      * A UiKitView widget for embedding a UIView in the widget tree.
      * A RenderUiKitView which is the render object for showing a
        UIView.
      * A PlatformViewLayer which denotes the position of a UIView in the
        layer tree.
      * The iOS platform_views system channel client code in services/platform_views.dart
      * Splits the fake platform views controller to an Android and iOS
        controllers.
      
      TBD in following PRs:
      * Plumb the layout direction all the way to the platform view (currently
        there is still no engine support for it).
      * Integrate with gesture arenas (engine support is still missing as
        well).
      67ffe1c2
  9. 25 Oct, 2018 1 commit
  10. 01 Oct, 2018 1 commit
  11. 28 Sep, 2018 1 commit
    • liyuqian's avatar
      Don't push offset to leaf layers (#21619) · 783c028f
      liyuqian authored
      For retained rendering, we don't want to push the offset down to each leaf layer. Otherwise, changing an offset layer on the very high level could cascade the change to too many leaves, which means that we can't retain them.
      
      To not push the offset downwards, we simply push a TransformLayer when there's an offset. Skia has a fast path for concatenating scale/translation-only matrix so this operation should be fast (no performance regression is measured on Moto G4).
      
      This is our first step towards https://github.com/flutter/flutter/issues/21756
      783c028f
  12. 13 Sep, 2018 1 commit
  13. 12 Sep, 2018 1 commit
  14. 07 Sep, 2018 1 commit
  15. 04 Sep, 2018 2 commits
  16. 24 Aug, 2018 1 commit
  17. 15 Aug, 2018 1 commit
  18. 09 Aug, 2018 2 commits
  19. 08 Aug, 2018 1 commit
  20. 03 Aug, 2018 1 commit
    • liyuqian's avatar
      Add Clip enum to Material and related widgets (#18576) · 9ffa1c51
      liyuqian authored
      See details in our proposal for this breaking API change and #18057. This PR setup all code paths to allow the change but doesn't change the clip behavior by itself. We'll change `defaultClipBehavior` from `Clip.antiAlias` to `Clip.none` in the following PR to change the clip behavior and update tests.
      9ffa1c51
  21. 27 Jun, 2018 1 commit
  22. 22 Jun, 2018 1 commit
  23. 05 Jun, 2018 1 commit
  24. 15 May, 2018 1 commit
  25. 10 May, 2018 1 commit
  26. 30 Apr, 2018 1 commit
  27. 28 Apr, 2018 1 commit
  28. 21 Mar, 2018 1 commit
  29. 20 Mar, 2018 2 commits
  30. 31 Jan, 2018 1 commit
    • amirh's avatar
      Support arbitrary shaped Material. (#14367) · 0672055a
      amirh authored
      For backward compatibility we keep supporting specifying the shape as a
      combination of MaterialType and borderRadius, and we just use that as a
      default when shapeBorder is null.
      
      To cleanup the implementation if shapeBorder was not specified we just
      translate the specified shape to a shapeBorder internally.
      I benchmarked paint, layout and hit testing, with the specialized shape
      clippers vs. the equivalent path clippers and did not see any
      significant performance difference.
      
      For testing, I extended the clippers/physicalShape matchers to match either the
      specialized shape or the equivalent shape.
      0672055a
  31. 12 Jan, 2018 3 commits
  32. 09 Jan, 2018 1 commit