Searched refs:isFling (Results 1 – 11 of 11) sorted by relevance
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | PortraitStatesTouchController.java | 273 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/ |
D | WindowTransformSwipeHandler.java | 658 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/ |
D | PagedView.java | 1176 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/ |
D | FallbackNoButtonInputConsumer.java | 257 boolean isFling = Math.abs(endVelocity) > flingThreshold; in onGestureEnded() 259 if (isFling) { in onGestureEnded()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 373 boolean fling = mDetector.isFling(velocity); in onDragEnd() 497 LauncherState targetState, float velocity, boolean isFling) { in updateSwipeCompleteAnimation() argument
|
D | BaseSwipeDetector.java | 116 public boolean isFling(float velocity) { in isFling() method in BaseSwipeDetector
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | NoButtonQuickSwitchTouchController.java | 324 boolean horizontalFling = mSwipeDetector.isFling(velocity.x); in onDragEnd() 325 boolean verticalFling = mSwipeDetector.isFling(velocity.y); in onDragEnd()
|
D | NavBarToHomeTouchController.java | 188 boolean fling = mSwipeDetector.isFling(velocity); in onDragEnd()
|
D | TaskViewTouchController.java | 250 boolean fling = mDetector.isFling(velocity);
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | AbstractSlideInView.java | 142 if ((mSwipeDetector.isFling(velocity) && velocity > 0) || mTranslationShift > 0.5f) { in onDragEnd()
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationMainView.java | 199 } else if (mSwipeDetector.isFling(velocity)) { in onDragEnd()
|