DescriptionUpdate gesture logic.
- record the original state when the gesture starts
- changes the height condition for the closest state based on the
original state
- limit the fling handling only when the closest state ends up with
the original state. This will save the most of the case, however
it may cause unexpected results if the user makes complicated
gestures (like moves up from minimized, up to the full-screen,
then fling-down). I think this is a rare case and we don't
have to care about.
BUG=415211
R=pkotwicz@chromium.org
TEST=athena_unittests && manually
Committed: https://crrev.com/deb67ab915f05ff05495e55f0bb3e615202712a2
Cr-Commit-Position: refs/heads/master@{#295616}
Patch Set 1 #Patch Set 2 : minor fix #
Total comments: 10
Patch Set 3 : fix #
Total comments: 4
Patch Set 4 : fix #
Messages
Total messages: 10 (1 generated)
|