summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Ming-Shin Lu <lumark@google.com> 2023-12-26 15:08:15 +0000
committer Ming-Shin Lu <lumark@google.com> 2024-04-23 01:06:54 +0000
commit401c061c90ca1134abbf4b9acf5b297472495bb1 (patch)
treed1f8fd4ec43619e4f713a1d9414cb46811e57a6c /libs/androidfw/StringPool.cpp
parentbdf3e457b4b50a5a168dc0c822b60a4aae34c687 (diff)
Notify renderer for CPU hint during process ViewPostImeInputStage
In case an expensive frame may take long time rendering when a view requests layout/measure during processing the pointer event in ViewPostImeInputStage that may cause the jank (e.g. Deadline missing), Add hasExpensiveMeasuresDuringInputEvent to notify renderer for raising CPU load when the above potential cases happens. Bug: 256549451 Test: Verify PTS CUJ test for gmail scolling: 0) Enable android.os.Flags.adpfMeasureDuringInputEventBoost by device_config 0-1) Log-in Gmail with a test account and enable Wifi. 1) Run below test command pts-tradefed run commandAndExit cuj/scroll/gmail-list \ -l VERBOSE \ --fastboot-command-preparer:disable 2) Check if any jank slice in trace during ViewPostImeInputStage Change-Id: I3fc0c896926b6ff0f402a51d2c742d9cb7ed9379
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions