DescriptionMore banner behavior tweaks
* Prevent the banner from being hidden while it's being animated onto the screen for the first time.
* Use the GestureHandler's onShowPress() function to determine when to show a highlight.
* Tweak the fling dismissal behavior so it somewhat takes into account the fling velocity (which often has a sign... or magnitude... that doesn't make sense). Track a secondary velocity determined by how long it takes for a user to translate the banner.
* Replace the word "banner" everywhere in SwipableOverlayView with "view".
* Change the banner interpolator to make it feel more floaty when it is coming back to the center of the screen.
Submitted as NOTRY=true because the Java-only changed passed the android bots.
NOTRY=true
BUG=341556
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255531
Patch Set 1 #Patch Set 2 : Upload error #Patch Set 3 : Reworking fling dismissal heuristic #
Total comments: 6
Messages
Total messages: 13 (0 generated)
|