diff options
| author | 2024-11-26 15:44:48 +0000 | |
|---|---|---|
| committer | 2024-11-29 17:04:58 +0000 | |
| commit | 077e8b2f24f0d6526e5a66b62c8921da279fb154 (patch) | |
| tree | 212c1cd445d9b7e823c00fc50ebd934133f58105 /libs/input/PointerController.cpp | |
| parent | 7879f67a36ce83f8e660008d6a7ab5bb232c9e1a (diff) | |
[1/n] Fix Restart and Resize hints flickering
The flicker was due to a change in the size of the layout when the
hint was displayed. This was triggering a relayout which appeared as
a flicker.
Using a different overload for the SurfaceViewHost#relayout() it's
possible to execute the change in position and resize in the same
transition which happens after the View for the layout has been measured.
This removes the flicker when a long click event happens on a button
to display the tooltip.
Flag: com.android.window.flags.app_compat_async_relayout
Fix: 322463856
Test: atest WMShellUnitTests:CompatUIWindowManagerTest
Test: atest WMShellUnitTests:UserAspectRatioSettingsLayoutTest
Change-Id: I7225f85357b52e3df557ebaceac683e2c4bce2c9
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions