Home
last modified time | relevance | path

Searched refs:isFling (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DPortraitStatesTouchController.java273 LauncherState targetState, float velocity, boolean isFling) { in updateSwipeCompleteAnimation() argument
275 velocity, isFling); in updateSwipeCompleteAnimation()
276 handleFirstSwipeToOverview(animator, expectedDuration, targetState, velocity, isFling); in updateSwipeCompleteAnimation()
281 final boolean isFling) { in handleFirstSwipeToOverview() argument
287 if (isFling && expectedDuration != 0) { in handleFirstSwipeToOverview()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java658 boolean isFling = mGestureStarted && Math.abs(endVelocity) > flingThreshold; in onGestureEnded()
661 mLogAction = isFling ? Touch.FLING : Touch.SWIPE; in onGestureEnded()
669 handleNormalGestureEnd(endVelocity, isFling, velocity, false /* isCancel */); in onGestureEnded()
696 private GestureEndTarget calculateEndTarget(PointF velocity, float endVelocity, boolean isFling,
714 if (!isFling) {
760 private void handleNormalGestureEnd(float endVelocity, boolean isFling, PointF velocity, in handleNormalGestureEnd() argument
766 isFling, isCancel); in handleNormalGestureEnd()
770 if (!isFling) { in handleNormalGestureEnd()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1176 boolean isFling = mTotalMotionX > mTouchSlop && shouldFlingForVelocity(velocityX); in onTouchEvent()
1186 Math.signum(velocityX) != Math.signum(deltaX) && isFling) { in onTouchEvent()
1195 if (((isSignificantMove && !isDeltaXLeft && !isFling) || in onTouchEvent()
1196 (isFling && !isVelocityXLeft)) && mCurrentPage > 0) { in onTouchEvent()
1199 } else if (((isSignificantMove && isDeltaXLeft && !isFling) || in onTouchEvent()
1200 (isFling && isVelocityXLeft)) && in onTouchEvent()
1214 if (((initialScrollX >= mMaxScrollX) && (isVelocityXLeft || !isFling)) || in onTouchEvent()
1215 ((initialScrollX <= mMinScrollX) && (!isVelocityXLeft || !isFling))) { in onTouchEvent()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DFallbackNoButtonInputConsumer.java257 boolean isFling = Math.abs(endVelocity) > flingThreshold; in onGestureEnded()
259 if (isFling) { in onGestureEnded()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java373 boolean fling = mDetector.isFling(velocity); in onDragEnd()
497 LauncherState targetState, float velocity, boolean isFling) { in updateSwipeCompleteAnimation() argument
DBaseSwipeDetector.java116 public boolean isFling(float velocity) { in isFling() method in BaseSwipeDetector
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DNoButtonQuickSwitchTouchController.java324 boolean horizontalFling = mSwipeDetector.isFling(velocity.x); in onDragEnd()
325 boolean verticalFling = mSwipeDetector.isFling(velocity.y); in onDragEnd()
DNavBarToHomeTouchController.java188 boolean fling = mSwipeDetector.isFling(velocity); in onDragEnd()
DTaskViewTouchController.java250 boolean fling = mDetector.isFling(velocity);
/packages/apps/Launcher3/src/com/android/launcher3/views/
DAbstractSlideInView.java142 if ((mSwipeDetector.isFling(velocity) && velocity > 0) || mTranslationShift > 0.5f) { in onDragEnd()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationMainView.java199 } else if (mSwipeDetector.isFling(velocity)) { in onDragEnd()