Home
last modified time | relevance | path

Searched refs:calculateDuration (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DProgressDelegateInputConsumer.java19 import static com.android.launcher3.touch.BaseSwipeDetector.calculateDuration;
153 long duration = calculateDuration(velocity, endValue - mProgress.value); in onDragEnd()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DAbstractSlideInView.java444 mScrollDuration = BaseSwipeDetector.calculateDuration( in onDragEnd()
454 animator.setDuration(BaseSwipeDetector.calculateDuration(velocity, mTranslationShift)) in onDragEnd()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java340 duration = BaseSwipeDetector.calculateDuration(velocity, in onDragEnd()
356 duration = BaseSwipeDetector.calculateDuration(velocity, in onDragEnd()
DBaseSwipeDetector.java87 public static long calculateDuration(float velocity, float progressNeeded) { in calculateDuration() method in BaseSwipeDetector
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DTaskViewTouchController.java364 long animationDuration = BaseSwipeDetector.calculateDuration( in onDragEnd()
DNoButtonQuickSwitchTouchController.java385 long xDuration = BaseSwipeDetector.calculateDuration(velocity.x, in onDragEnd()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.kt1239 val duration = calculateDuration(width - Math.abs(xOffSet), width, velocity) in switchViews()
3596 private fun calculateDuration(delta: Float, width: Float, velocity: Float): Long { in calculateDuration() method