Searched refs:MAX_SWIPE_DURATION (Results 1 – 2 of 2) sorted by relevance
211 public static final long MAX_SWIPE_DURATION = 350; field in WindowTransformSwipeHandler403 return Math.min(MAX_SWIPE_DURATION, Math.max(theirDuration, MIN_SWIPE_DURATION)); in getFadeInDuration()405 return MAX_SWIPE_DURATION; in getFadeInDuration()958 long duration = MAX_SWIPE_DURATION; in handleNormalGestureEnd()967 * MAX_SWIPE_DURATION * SWIPE_DURATION_MULTIPLIER)); in handleNormalGestureEnd()968 duration = Math.min(MAX_SWIPE_DURATION, expectedDuration); in handleNormalGestureEnd()984 MAX_SWIPE_DURATION); in handleNormalGestureEnd()992 duration = Math.min(MAX_SWIPE_DURATION, 2 * baseDuration); in handleNormalGestureEnd()1017 if (mRecentsView.getScroller().getDuration() > MAX_SWIPE_DURATION) { in handleNormalGestureEnd()1018 mRecentsView.snapToPage(mRecentsView.getNextPage(), (int) MAX_SWIPE_DURATION); in handleNormalGestureEnd()
26 import static com.android.quickstep.WindowTransformSwipeHandler.MAX_SWIPE_DURATION;296 * MAX_SWIPE_DURATION / Math.abs(PROGRESS_TO_END_GESTURE));