summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2016-02-18 18:57:07 -0800
committerJorim Jaggi <jjaggi@google.com>2016-02-20 02:09:05 +0000
commitf97ed9271fef192f5411206e781eb3519c144ace (patch)
treeb407fdd4352ce956e733c2b0e5990416520fd58a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent14b2deacafbfc4af9c87b34047513b136079e22c (diff)
Improve maximizing dock/clip reveal animation
There was a very visible hole at the end of the transition when both the docked stack expands and the other app is doing a clip reveal animation, but only if the app had to travel a far distance to meet it's target rectangle. To fix this, we interpolate between two animation curves for maximizing divider: One is the original curve, and the other one is an adjusted one which simulate if the divider would start at the edge of the app surface that plays the clip reveal animation. At the start of the animation, we use the original curve, but then about in the middle of the animation we interpolated towards the adjusted curve, so the divider meets the edge of the app surface that plays the clip reveal animation, eliminating that gap while still preserving the overall motion. Bug: 27154882 Change-Id: I37716588f88ddc643ed6176c2ccd56ca174e8919
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions