Searched refs:progressNeeded (Results 1 – 2 of 2) sorted by relevance
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
H A D | BaseSwipeDetector.java | 87 public static long calculateDuration(float velocity, float progressNeeded) { in calculateDuration() argument 90 float travelDistance = Math.max(0.2f, progressNeeded); in calculateDuration() 94 "calculateDuration=%d, v=%f, d=%f", duration, velocity, progressNeeded)); in calculateDuration()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/ |
H A D | SwipeDetector.java | 346 public static long calculateDuration(float velocity, float progressNeeded) { in calculateDuration() argument 349 float travelDistance = Math.max(0.2f, progressNeeded); in calculateDuration() 352 … Log.d(TAG, String.format("calculateDuration=%d, v=%f, d=%f", duration, velocity, progressNeeded)); in calculateDuration()
|