diff options
author | Mady Mellor <madym@google.com> | 2016-03-31 14:18:35 -0700 |
---|---|---|
committer | Mady Mellor <madym@google.com> | 2016-04-04 12:53:49 -0700 |
commit | dc6c97df483fb353ff6e18eb9ed59870c1101be8 (patch) | |
tree | ee98af3206028089d4fa2ba78b14f391aa2e131b /rs/java/android/renderscript/RenderScriptGL.java | |
parent | 482c7da6ab5a95a28ee64cb4a0365b85e8681afb (diff) |
Fix slow dismiss animation
An accelerated interpolator is used for dismissing when the
the velocity = 0 which can occur with dismiss all or if the
noti is swiped far enough but not fast enough.
There is no duration specified when the noti is swiped far
enough, and the velocity passed in is 0 so the default
duration is used without taking into account the velocity.
This CL alters the code to pass in the velocity so that a
duration is calculated.
Bug: 27864379
Change-Id: Ifac04bb8d1b714c040102fef035d55737c844157
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptGL.java')
0 files changed, 0 insertions, 0 deletions