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

Skip to content
Commit 710f7a59 authored by Shane's avatar Shane
Browse files

UI toolkit dVRR set frame rate category as HIGH by default

This CL made the following changes to enable the Step 1' for the UI
toolkit dVRR
project:

1. Set default frame rate category of a View as HIGH unless the size of
   the View is small (NORMAL).
2. Don't disable boost when typing.
3. Migrate the infrequent layter logic from SurfaceFlinger to Toolkit.

The infrequent layter logic includes:
- NORMAL for infrequent update: FT2-FT1 > 100 && FT3-FT2 > 100.
- HIGH/NORMAL based on size for frequent update: (FT3-FT2) + (FT2 - FT1) < 100.
- otherwise, use the previous category value.

Bug: 278731727
Test: atest ViewRootImplTest
Change-Id: I2ba2f20aa819c145eb715ae3aa609e8dae86b3b0
parent ff26a560
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