diff options
author | Taran Singh <tarandeep@google.com> | 2020-06-10 13:42:49 -0700 |
---|---|---|
committer | Taran Singh <tarandeep@google.com> | 2020-06-20 03:51:00 +0000 |
commit | 4291410118852cd6de6e4ce89a907fed1c33f92f (patch) | |
tree | 4cf5f39e23399adaf7740078965266715e4e6f78 /rs/java/android/renderscript/RenderScriptCacheDir.java | |
parent | 3987866cd7af2c2dda81592388dcc9c7b1d516a6 (diff) |
Animate IME with zero insets
When IME has zero insets, it doesn't map to any side and doesn't have
can't be animated.
IME can have zero insets in following cases:
1. Floating IME
2. Fullscreen IME (in landscape)
3. IME doesn't overlap with IME target window.
In order to animate a type, it must have insets. We can animate IME
from negative insets to zero and vice-versa. This makes zero insets IME a
special case of ISIDE_BOTTOM.
Deprecate SIDE_FLOATING because it shouldn't logically map to a side.
Fix: 153909316
Test: atest WindowInsetsAnimationImeTests#testZeroInsetsImeAnimates
Change-Id: I6d1d3430888db4632cb2f93e9042f692b35ebaeb
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions