diff options
| author | 2023-04-03 17:46:16 +0100 | |
|---|---|---|
| committer | 2023-05-03 10:29:58 +0000 | |
| commit | 32de1c9474dd22ff9bc43d13643bfeb7bbc20fee (patch) | |
| tree | 71a9e4ffa73268fee326a4f5cc6e261cdb904467 /libs/androidfw/StringPool.cpp | |
| parent | 9e30a4e0f22fa689d634d96328eea2baaad2e7ea (diff) | |
Disabled SUBPIXEL_TEXT_FLAG for notification shade while fold unfold
Disabled the SUBPIXEL_TEXT_FLAG for all TextViews of the Notification Shade while folding and unfolding is in progress.
The SUBPIXEL_TEXT_FLAG is responsible for the default Android behaviour that tries to align the font to the nearest pixel, causing the text to jump as the nearest pixel keeps changing during folding and unfolding.
To solve this issue, we have disabled the SUBPIXEL_TEXT_FLAG for the TextViews of the Notification Shade during folding and unfolding, resulting in smoother text transitions.
Test: atest com.android.systemui.shared.animation.DisableSubpixelTextTransitionListenerTest.kt
Fixes: 227427854
Flag: SPLIT_SHADE_SUBPIXEL_OPTIMIZATION
Change-Id: I6ada51f912ee1c086674b19ea39d4cab3ad161a8
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions