summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorPablo Gamito <pablogamito@google.com>2021-12-02 17:47:20 +0100
committerPablo Gamito <pablogamito@google.com>2022-01-17 13:26:54 +0100
commit4a7c927360578ecdf2f184a6dd4f3730135a99c7 (patch)
treedad60d83aff80481f9367a1cf617b3e08f537a56 /core/java/android/inputmethodservice/InputMethodService.java
parentf32e93e2a25eb93e1ba60f7d6bcdecb95a057df7 (diff)
Add API to show background behind animating windows
For the new style of Material 3 activity transitions (go/t-activity-transitions) we fully fade in and out activity windows to a solid background color (that of the activity's theme). This means we need to provide a way for activity transitions to show a solid background color behind the animating windows to fill any space that would otherwise be black. This ability should be available both to system transitions but also to apps that want to create transitions in a similar style without necessarily using exactly the system one. The API provides a way to specify if a background should be shown behind the animation or not. If a background is requested it is up to the transition handler to drawn this background appropriately based on the type of transition and task/activity info. Test: atest CtsWindowManagerDeviceTestCases:AnimationBackgroundTests Bug: 202844659 Change-Id: Iddee6583fb1ad83e3ec238a89030b8c284e04d03
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions