Searched refs:calculateDuration (Results 1 – 6 of 6) sorted by relevance
172 mOpenCloseAnimator.setDuration(BaseSwipeDetector.calculateDuration( in onDragEnd()179 BaseSwipeDetector.calculateDuration(velocity, mTranslationShift)) in onDragEnd()
308 duration = BaseSwipeDetector.calculateDuration(velocity, in onDragEnd()324 duration = BaseSwipeDetector.calculateDuration(velocity, in onDragEnd()
80 public static long calculateDuration(float velocity, float progressNeeded) { in calculateDuration() method in BaseSwipeDetector
350 long animationDuration = BaseSwipeDetector.calculateDuration( in onDragEnd()
349 long xDuration = BaseSwipeDetector.calculateDuration(velocity.x, in onDragEnd()
1605 long duration = calculateDuration(width - Math.abs(xOffSet), width, velocity); in switchViews()3964 private long calculateDuration(float delta, float width, float velocity) { in calculateDuration() method