diff options
author | felkachang <felkachang@google.com> | 2018-07-17 18:18:13 +0800 |
---|---|---|
committer | felkachang <felkachang@google.com> | 2018-07-19 12:03:24 +0800 |
commit | d7835b064828639fb4238e618e44958e26adb4dd (patch) | |
tree | 7cdcf2a8351c16c3c2516f95b5e4d7d38ae6abd6 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 740be2ef8c9c285884bc1b55e46b01d42a96a831 (diff) |
Fix flicker after HUN disappear animation
When the user click on the heads up notification that has input field
and the IME has shown, HUN show the animation
ANIMATION_TYPE_HEADS_UP_DISAPPEAR_CLICK and ANIMATION_TYPE_VIEW_RESIZE
at the same time. The user click on the HUN without input field will
only trigger ANIMATION_TYPE_HEADS_UP_DISAPPEAR_CLICK animation.
ANIMATION_TYPE_VIEW_RESIZE is request by requestAnimationOnViewResize
after clicking because Input field change disappear.
The solution is to avoid play the animation at the same time because
ANIMATION_TYPE_HEADS_UP_DISAPPEAR_CLICK is very strange go with
ANIMATION_TYPE_VIEW_RESIZE.
Test: manual test
Change-Id: Ic4762985e96013dbd9225ec16fd85b17a0ca4de8
Fixes: 111530102
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions