android: Fieldtrial config disable scrollbar fade
There's evidence this animation is causing 4+% of compositor frames on Chrome on Android, which seems excessive for this UX. This reuses the existing feature that was added but abandoned and only update field trial to disable scrollbar fade on Android, by making the duration small enough so there's only one step in the animation. Bug: 40196369 Change-Id: I82ab399f4e1406173cc0bfdd927b918b51a5d453 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6258398 Commit-Queue: Bo Liu <boliu@chromium.org> Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/main@{#1419903}
This commit is contained in:
@ -21059,22 +21059,13 @@
|
||||
"ScaleScrollbarAnimationTiming": [
|
||||
{
|
||||
"platforms": [
|
||||
"android",
|
||||
"android_weblayer",
|
||||
"android_webview",
|
||||
"chromeos",
|
||||
"fuchsia",
|
||||
"ios",
|
||||
"linux",
|
||||
"mac",
|
||||
"windows"
|
||||
"android"
|
||||
],
|
||||
"experiments": [
|
||||
{
|
||||
"name": "Enabled",
|
||||
"params": {
|
||||
"fade_delay_scaling_factor": "2.0",
|
||||
"fade_duration_scaling_factor": "0.5"
|
||||
"fade_duration_scaling_factor": "0.0001"
|
||||
},
|
||||
"enable_features": [
|
||||
"ScaleScrollbarAnimationTiming"
|
||||
|
Reference in New Issue
Block a user