Home
last modified time | relevance | path

Searched refs:linearDistance (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
H A DTouchTracker.java130 float linearDistance = mLinearDistance; in getProgress() local
134 if (linearDistance < maxDistance) { in getProgress()
138 float nonLinearDistance = maxDistance - linearDistance; in getProgress()
139 float initialTarget = linearDistance + nonLinearDistance * mNonLinearFactor; in getProgress()
141 boolean isLinear = deltaX <= linearDistance; in getProgress()
145 float nonLinearDeltaX = deltaX - linearDistance; in getProgress()
179 public void setProgressThresholds(float linearDistance, float maxDistance, in setProgressThresholds() argument
184 mLinearDistance = linearDistance; in setProgressThresholds()
H A DBackAnimation.java92 void setSwipeThresholds(float linearDistance, float maxDistance, float nonLinearFactor); in setSwipeThresholds() argument
H A DBackAnimationController.java305 float linearDistance, in setSwipeThresholds() argument
309 linearDistance, maxDistance, nonLinearFactor)); in setSwipeThresholds()
612 float linearDistance, in setSwipeThresholds() argument
615 mTouchTracker.setProgressThresholds(linearDistance, maxDistance, nonLinearFactor); in setSwipeThresholds()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
H A DEdgeBackGestureHandler.java1202 float linearDistance = Math.min(maxDistance, mBackSwipeLinearThreshold); in updateBackAnimationThresholds() local
1203 mBackAnimation.setSwipeThresholds(linearDistance, maxDistance, mNonLinearFactor); in updateBackAnimationThresholds()