DescriptionSwiping on system tray bubble.
Swiping up on the system tray should open the system tray bubble.
1.Change the bounds of the bubble according to the position of the gesture.
2.For SCROLL_END event. Whether to show or hide the bubble depends on
the position of the gesture. Bubble is split into three parts.
End in the lowest part will hide the bubble;
End in the highest part will show the bubble;
End in the middle part depends on the scroll delta of the final gesture.
3.For FLING event. Whether to show or hide the bubble depends on
gesture position and velocity.
If the fling velocity larger than |kSwipingVelocity|, show or hide
according to the fling direction;
Otherwise, show or hide depends on the position.
4.The rules maybe changed later. No animation currently.
BUG=725977
Patch Set 1 #Patch Set 2 : Swiping on system tray bubble. #Patch Set 3 : Rebased. #Patch Set 4 : Remove shell observer. #
Messages
Total messages: 19 (18 generated)
|