summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Ikram Gabiyev <gabiyev@google.com> 2024-06-11 09:37:00 -0700
committer Ikram Gabiyev <gabiyev@google.com> 2024-06-11 14:13:43 -0700
commit0cc5c6eaeee3d4257cad88a98712eb69fc874a62 (patch)
treed0bec5e4c3ce5980d2735427cbdefaf801464e84 /libs/androidfw/StringPool.cpp
parent48459cba1be0ec3266346a26d030ecae8cf7fb6b (diff)
Fix cross-fade legacy enter PiP2
Here is the list of changes related to cross-fade: 1. Use the correct PiP leash from PipTransitionState 2. Set the correct initial position and crop 3. Add a duration for alpha animator internally 4. Make sure PipTransitionState is ENTERED_PIP afterwards 5. Allow TRANSIT_OPEN mode to trigger legacy enter too, since that's what we use in multi-activity cases This CL also addresses recent changes to enter-PiP with icon overlay logic, where a custom sourceRectHint is used if apps provide an invalid or null one. This should simplify handleSwipePipToHomeTransition(), which uses a new getEnterPipWithOverlaySrcRectHint() static method. Bug: 322871963 Test: legacy-enter PiP Test: auto-enter PiP with an invalid or null srcRectHint Change-Id: I559b6be7fac72a833519e2d80a7d86a6d4b80788
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions