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

Skip to content
Commit 4806080d authored by Juan Sebastian Martinez's avatar Juan Sebastian Martinez
Browse files

Changing the background drawable boundary in the long-press effect.

Instead of scaling, the boundaries of the background drawable are
modified. This is apparently faster and avoids jittering in the text
labels (a side effect of animating the view scale). To ensure a smooth
transition into the activity launch animation, an area correction is
proposed. This correction is provided by the LaunchableView and ensures
that the GhostedViewState has appropriate dimensions. In the case of the
QS tile after long-press, the background drawable bounds and the tile's
dimensions don't agree. This approach ensures a smooth transition
without having to re-layout the tile after the long-press.

Test: atest SystemUITest:QSTileViewImplTest
Flag: ACONFIG quick_settings_visual_haptics_longpress TEAMFOOD
Bug: 330473364
Bug: 331228389
Change-Id: I2660168b187f38bac53b59c484f99bb1b7c2ddb6
parent dbf2dd62
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