forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ash: Hide bubble launcher scroll view gradient during open animation
This is a performance optimization for the animation. The launcher opens with the scroll view scrolled to the top. The gradient only shows on the bottom ~16 pixels of the scroll view, so it's not very noticeable if we don't show the gradient until the animation ends. Tested animation smoothness on kevin (arm), official branded build, with ARC disabled, 10 runs. Before optimization: smoothness mean 66, stddev 10 After optimization: smoothness mean 80, stddev 12 T-test P=0.01 for a significant difference. Bug: 1264178 Test: added to ash_unittests Change-Id: I1e67c38d06a9c290785d36437623222ad6fa932d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3259244 Commit-Queue: James Cook <jamescook@chromium.org> Reviewed-by: Toni Barzic <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/main@{#938292}
- Loading branch information
James Cook
committed
Nov 4, 2021
1 parent
7247b5c
commit aff9649
Showing
6 changed files
with
117 additions
and
13 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