-
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.
[Start] Reland: Make Start not scrollable when the content is shorter…
… than screen. The original CL got reverted because it breaks the scrolling on Start when splitting screen happens. This CL fixes the issue by querying the displayMatrics() in real time rather than using the cached value. The CL also fixes another multiple window issue: when Feeds is disabled, we have to change the height of the tasks_surface_body back to "match_parent" to prevent the Feeds's header scrolling above the toolbar and can't be scrolled back. The original CL description is: 1. Resets Start surface scroll when Feed is turned off. 2. Sets tasks surface body's height WRAP_CONTENT and check whether tasks surface view is shorter than the screen size. If it is, makes it not scrollable by setting AppBarLayout#canDrag false. Video: http://shortn/_u5D8TNdiuN Video for small phone with signin promo: https://drive.google.com/file/d/1VnUAR4xPbLchgfTVu-6Ti-UCKWpdAQkj/view?usp=share_link Video for multiple window: https://drive.google.com/file/d/1VDWuXMmKl1BjzaNek8gLA55lQGauleyr/view?usp=share_link Bug: 1208486, 1383105 Change-Id: Ie151f834063d1aa82c47081380114f33d9bec935 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4021417 Reviewed-by: Wei-Yin Chen <wychen@chromium.org> Reviewed-by: Fred Mello <fredmello@chromium.org> Commit-Queue: Xi Han <hanxi@chromium.org> Cr-Commit-Position: refs/heads/main@{#1071891}
- Loading branch information
Xi Han
authored and
Chromium LUCI CQ
committed
Nov 15, 2022
1 parent
76d0045
commit cc20d61
Showing
13 changed files
with
254 additions
and
61 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
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
Oops, something went wrong.