Searched refs:calculateDuration (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/ |
D | ProgressDelegateInputConsumer.java | 19 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/ |
D | AbstractSlideInView.java | 444 mScrollDuration = BaseSwipeDetector.calculateDuration( in onDragEnd() 454 animator.setDuration(BaseSwipeDetector.calculateDuration(velocity, mTranslationShift)) in onDragEnd()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 340 duration = BaseSwipeDetector.calculateDuration(velocity, in onDragEnd() 356 duration = BaseSwipeDetector.calculateDuration(velocity, in onDragEnd()
|
D | BaseSwipeDetector.java | 87 public static long calculateDuration(float velocity, float progressNeeded) { in calculateDuration() method in BaseSwipeDetector
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | TaskViewTouchController.java | 364 long animationDuration = BaseSwipeDetector.calculateDuration( in onDragEnd()
|
D | NoButtonQuickSwitchTouchController.java | 385 long xDuration = BaseSwipeDetector.calculateDuration(velocity.x, in onDragEnd()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.kt | 1239 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
|