Update new bubble animation
This change is a rewrite of the new bubble animation. Previously we chained the handle animation and the bubble animation so that they run sequentially. That caused the transition from the handle to the bubble to be jarring. We now use a single spring animation along the y axis that starts from the position of the handle to the position of where the bubble will end up. The animation is split into 3 logical parts, where initially the bubble animates out, then the bubble starts animating in, and the last part is the overshoot of the spring animation, which is used to mark the bubble fully visible and ensure that from that point on, the bubble is only moving but doesn't change in scale or transparency as the bounce effect is playing. Using a single animation path allows for a smooth transition from the handle to the bubble view. Demo: http://recall/-/bJtug1HhvXkkeA4MQvIaiP/hHNUBdNJPiWi9gMbqy45UJ Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT Bug: 280605846 Test: atest BubbleBarViewAnimatorTest Change-Id: Ic1d3244574b8500d4aad2e9c718e61c1c34bd82a
Loading
Please register or sign in to comment