diff options
| author | 2022-02-25 05:48:45 -0600 | |
|---|---|---|
| committer | 2022-03-10 23:59:28 +0000 | |
| commit | 3f2eea4703f6ef26ab039c884dca54f76ee1fadb (patch) | |
| tree | faa3706b865f9d9e09f1d5cb0d0b6053f88a00c2 /libs/input/SpriteController.cpp | |
| parent | e9548ee5979e478db848b3a22f2581caf1ca4527 (diff) | |
Make media squishy for portrait shade open and close
Propagate squishFraction from QSFragment to MediaHostState.
In MediaViewController, apply squishFraction to both
cached and uncached UMO viewStates.
Remove mTopPadding (qsHeight / space above lockscreen notifs)
from expansionFraction (aka squishFraction) calculations to avoid
the following recursion:
=> squishFraction changes UMO height
=> new UMO height changes mTopPadding
=> mTopPadding changes total stack height
=> new stack height changes squishFraction
Use expandedFraction calculated in PVC instead of recalculating it
in NSSL.
Bug: 217583474
Test: MediaViewControllerTest
Test: open/close portrait shade => squishy UMO
Change-Id: Ifdada015563394a96c3d80ae527c68ac7323d4c2
(cherry picked from commit a24659d13538347e10ab6501ba54d7f1cde12d07)
Merged-In: Ifdada015563394a96c3d80ae527c68ac7323d4c2
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions