summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorHongwei Wang <hwwang@google.com>2022-05-18 11:14:53 -0700
committerHongwei Wang <hwwang@google.com>2022-05-25 14:35:25 -0700
commitfe5078f0263daa7d6bc4872853269f2ddea5fa44 (patch)
treeca283fa3f3fedc5a2057b3d012d33aadbf9d1d30 /core/java/android/inputmethodservice/AbstractInputMethodService.java
parente55b0a1f178f295bba783f1acaa815b9601f47b8 (diff)
Use snapshot in enter content-pip animation
When entering content-pip - We take a snapshot for the host task within the ActivityStarter#startActivityInner function, this is to make sure that the snapshot is taken before an app switches to the placeholder content - We retrieve the snapshot in WM Shell when animating the newly created content-pip task, and use that snapshot during the animation - This works similar to the solid color content overlay when app enters PiP without specifying a valid source rect hint. Therefore, we abstract the functionality to a dedicated PipContentOverlay class Video: http://recall/-/aaaaaabFQoRHlzixHdtY/dRSTf7prHc0krPhTKZ0kXx Bug: 220191201 Test: enter content-pip from ApiDemos app, see also Video Change-Id: I2420402341a910b44bd8f64e3ad518ebef41bc19
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions