Repository navigation
Reduce the size of Overlay FlutterImageView in HC mode - #38393
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
|
test-exempt: is tested (for some reason the script didn't detect that?) |
|
@cyanglaz can you re-review? |
|
@flar Okay, I added tests |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
You need to run: |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
You should find |
|
@cyanglaz Thanks, I finally found it, the tests have been added again, welcome to review |
…mode (flutter-team-archive/engine#38393) (#118048) Commit: 36a1caf299237330a70e6493df339c95b6682204
* 7a5ae7c Roll Plugins from f9dda6a27b79 to 320461910156 (2 revisions) (flutter/flutter#118040) * 43b9120 072a9ca37 Add `TextProvider` and `TextEdit` patterns to `AXPlatformNodeWin` (flutter-team-archive/engine#38646) (flutter/flutter#118039) * 5a87a82 bb4015269 Roll Skia from 158d51b34caa to ecd3a2f865ba (1 revision) (flutter-team-archive/engine#38659) (flutter/flutter#118042) * 0a2e0a4 Avoid using `TextAffinity` in `TextBoundary` (flutter/flutter#117446) * 36a1caf 74861f369 Reduce the size of Overlay FlutterImageView in HC mode (flutter-team-archive/engine#38393) (flutter/flutter#118048) * 9b864b8 5bd90d6e7 Consider more roles as text (flutter-team-archive/engine#38645) (flutter/flutter#118049) * 70d5834 [EMPTY] Commit to refresh the tree that is currently red (flutter/flutter#118062) * 4f3ed80 Remove doc reference to the deprecated ui.FlutterWindow API (flutter/flutter#118064) * de2a424 Fix `flutter update-packages` regression by fixing parameters in "pub get" runner (flutter/flutter#116687) * 57dc071 Adding 'is' to list of kotlin reserved keywords (flutter/flutter#116299) * 5070620 Added expandIconColor property on ExpansionPanelList Widget (flutter/flutter#115950)
* 5a87a82 bb4015269 Roll Skia from 158d51b34caa to ecd3a2f865ba (1 revision) (flutter-team-archive/engine#38659) (flutter/flutter#118042) * 0a2e0a4 Avoid using `TextAffinity` in `TextBoundary` (flutter/flutter#117446) * 36a1caf 74861f369 Reduce the size of Overlay FlutterImageView in HC mode (flutter-team-archive/engine#38393) (flutter/flutter#118048) * 9b864b8 5bd90d6e7 Consider more roles as text (flutter-team-archive/engine#38645) (flutter/flutter#118049) * 70d5834 [EMPTY] Commit to refresh the tree that is currently red (flutter/flutter#118062) * 4f3ed80 Remove doc reference to the deprecated ui.FlutterWindow API (flutter/flutter#118064) * de2a424 Fix `flutter update-packages` regression by fixing parameters in "pub get" runner (flutter/flutter#116687) * 57dc071 Adding 'is' to list of kotlin reserved keywords (flutter/flutter#116299) * 5070620 Added expandIconColor property on ExpansionPanelList Widget (flutter/flutter#115950)

fix: flutter/flutter#117303
In HC mode, for the intersecting layers on top of the Platformview, we create an OverlayImageView display as shown below

But the current size of the Overlay is the size of the Layer, the rectangle where the Layer intersects the Platformview can be calculated to reduce the size of the Overlay. As shown below
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.