summaryrefslogtreecommitdiff
path: root/core/java/android/window/TaskSnapshot.java
Commit message (Collapse)AuthorAgeFilesLines
* Add letterboxInsets to TaskSnapshotAlex Chau2021-11-081-3/+24
| | | | | | Bug: 199743725 Test: manual Change-Id: I7daa01d7e6d2df2bc1b85d12004e7927d61d0e03
* Optimize the Parcel read/write of remote animationRiddle Hsu2021-02-261-8/+7
| | | | | | | | | Eliminate the overhead of class name. A read/write pair of RemoteAnimationTarget can be reduced from 30us to 7us. Bug: 181025587 Test: CtsWindowManagerDeviceTestCases Change-Id: I58bd69012fcc3e6cb72c1fcfbb1db697e6c70e87
* Better IME transition while switching app with recents (3/N)Ming-Shin Lu2020-12-281-11/+29
| | | | | | | | | | | | | | | | | | | - Add hasImeWindowSurface in TaskSnapShot - Add InsetsSourceControl#getAndClearSkipAnimationOnce for skiping IME showing animation once when starting window with IME surface Bug: 166736352 Bug: 153145997 Test: manual as below steps 0) Enabling developer options -> Quick settings developer tiles -> Window animation scale to slow down transition animation. 1) Launch an app with focusing an editor to show soft-input 2) Swipe out app task to back to launcher 3) Using quick switch or taping shortcut to bring back the app task 4) Verify that should be no IME showing animation happens during task transition. Change-Id: I83ffc03119e01da71ad12f8ad8043cf0730dfd50
* Move TaskSnapshot into android.window packageMing-Shin Lu2020-12-131-0/+385
Bug: 166736352 Test: build pass Test: atest CtsWindowManagerDeviceTests Change-Id: I7f03524f018ceb64c109fd9d78abeb0ea98b6ea5