-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
snap-group: Update snap ratio logic to accommodate for split divider
This CL updates the snap ratio logic calculation and takes split view divider into consideration if exits, i.e. half of the divider shorter side length needs to be added to the window bounds width/ height(depending on the orientation) when divided by the work area width/height. Fixed: b/272384615 Test: Modified unit tests Change-Id: I1e392e2751cab12d390c0b5598a88c3250aa786a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4344070 Reviewed-by: Xiaoqian Dai <xdai@chromium.org> Commit-Queue: Michele Fan <michelefan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1118281}
- Loading branch information
Michele Fan
authored and
Chromium LUCI CQ
committed
Mar 16, 2023
1 parent
d3e20f7
commit 401ef0c
Showing
5 changed files
with
120 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters