Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 401c061c authored by Ming-Shin Lu's avatar Ming-Shin Lu
Browse files

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
parent bdf3e457
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment