• Toni Barzic's avatar
    Improvements for home to overview gesture · a29f1853
    Toni Barzic authored
    *   Updates the target drag distance at which the home screen stops
        scaling - instead of extending for a fixed point from the threshold
        at which transition is allowed, that target is set to the center of
        the screen
    *   Significantly shortens the timeout to trigger transition
    *   Allows transition if pointer is moving, provided that the velocity
        is below certain threshold (instead of requiring pointer to stay
        still)
    
    BUG=1005366, 1025283
    
    Change-Id: Ic322932a3ae519a1989ef343f6f2e960dca29709
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1912993
    Commit-Queue: Toni Baržić <tbarzic@chromium.org>
    Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#715844}
    a29f1853
swipe_home_to_overview_controller.h 3.26 KB