History log of /packages/apps/Launcher3/src/com/android/launcher3/PinchToOverviewListener.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
52851aa3fd2dd9957e190d779f904f6abaf53fed 02-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Fixing topView not being considered in all places when calculating accessible
and focusable views

Bug: 30563273
Change-Id: I6253ce33ee5c328efdde2ea733029975b31e5eb8
/packages/apps/Launcher3/src/com/android/launcher3/PinchToOverviewListener.java
645764e3e5fa34d9adcddfc722d726b76f048306 06-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Pull up all apps interaction
First phase implementation: dragging and animation interaction is implemented
namely in two classes. ScrollGestureDetector and AllAppsTransitionController.

FeatureFlag.LAUNCHER#_ALL_APPS_PULL_UP will be true for only AOSP and
not in the extending builds. This way, we can safely iterate without
turning it on the shipped ready version.
b/28917826

Change-Id: I0501309c0121880ffe0555f82d6ac5a145581bb1
/packages/apps/Launcher3/src/com/android/launcher3/PinchToOverviewListener.java
f898b970cc9130d629d4bc969222aaa96a8a013a 06-Apr-2016 Tony Wickham <twickham@google.com> Call onLauncherTransitionPrepare() and End() from pinch.

This makes the pinch transition more consistent with other transitions.
One immediate benefit of this is that it updates adjacent overview
panels during pinch, regardless of whether they are completely visible.

Previously the adjacent panels' alphas weren't always reset to 0.
Specifically, if you made a small pinch from workspace, which
canceled and went back to workspace, adjacent pages retained a
slightly visible panel.

Bug: 27676309
Change-Id: I7e79fddec31cd649e0811e4524b9a9a501c627f9
/packages/apps/Launcher3/src/com/android/launcher3/PinchToOverviewListener.java
012734d7c40bcd14a4f9a93bae8639e4ea8b2cb0 06-Apr-2016 Tony Wickham <twickham@google.com> Add velocity threshold so that fast pinches (flings) are detected.

Bug: 27676309
Change-Id: Id3ba05c67abac8847fcff22532ea9da9ef10a5ae
/packages/apps/Launcher3/src/com/android/launcher3/PinchToOverviewListener.java
676e29ce5d4bb2a38aca704db2855f2d73e09cc5 25-Mar-2016 Tony Wickham <twickham@google.com> Merge "Added copywrite comments to pinch-related classes." into ub-launcher3-calgary
1743ac469113301f6cf0e7c2e4fff4fb16812bbb 17-Mar-2016 Tony Wickham <twickham@google.com> Added copywrite comments to pinch-related classes.

Maybe we should write a script that checks that this is present in
all our files? I didn't do a thorough check, but wouldn't be surprised
if others were missing.

Change-Id: I4777ff618f952b9b11fde60ebc8d897cf6449032
/packages/apps/Launcher3/src/com/android/launcher3/PinchToOverviewListener.java
c5b31965d9bcb4c9899e2d1c45b5c95c70bac9f2 16-Mar-2016 Tony Wickham <twickham@google.com> Don't listen for the pinch gesture if the workspace is locked.

Bug: 27639653
Change-Id: I1f3b324a4b95cc5deaa2513dcbf4ed5a158a4866
/packages/apps/Launcher3/src/com/android/launcher3/PinchToOverviewListener.java
dadb304b4682998c43b9c07bef45b9a9380f3287 24-Feb-2016 Tony Wickham <twickham@google.com> Pinch to zoom out into overview mode.

There are 3 classes coordinating the gesture: PinchToOverviewListener,
PinchThresholdManager, and PinchAnimationManager.
- PTOL listens for the pinch gesture on DragLayer.
- When a pinch is detected, the PTOL keeps track of the interpolated
progress and passes it along to both the PTM and PAM.
- The PTM uses the progress to determine whether a new threshold has
been passed, and tells the PAM to animate it if so.
- The PAM uses the progress to animate things like workspace scale
throughout the pinch.
- If the pinch ends early, the PTOL uses the last passed threshold to
determine whether to animate to workspace or overview, and tells
PAM to perform the animation at the same velocity as the pinch.

Bug: 24414635
Change-Id: I9e53706c705f8b2982409bf7c223d8d0e9618bf0
/packages/apps/Launcher3/src/com/android/launcher3/PinchToOverviewListener.java