Home
last modified time | relevance | path

Searched refs:LINEAR_DISTANCE (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/window/
DBackTouchTrackerTest.kt28 setProgressThresholds(LINEAR_DISTANCE, MAX_DISTANCE, NON_LINEAR_FACTOR) in <lambda>()
146 val linearTarget = LINEAR_DISTANCE + (MAX_DISTANCE - LINEAR_DISTANCE) * NON_LINEAR_FACTOR in generatesNonLinearProgress_leftEdge()
159 touchX = INITIAL_X_LEFT_EDGE + LINEAR_DISTANCE in generatesNonLinearProgress_leftEdge()
166 val nonLinearTouch = (touchX - INITIAL_X_LEFT_EDGE) - LINEAR_DISTANCE in generatesNonLinearProgress_leftEdge()
239 private const val LINEAR_DISTANCE = 400f constant
240 private const val NON_LINEAR_DISTANCE = MAX_DISTANCE - LINEAR_DISTANCE
/frameworks/base/core/java/android/window/
DBackTouchTracker.java34 private static final int LINEAR_DISTANCE = SystemProperties field in BackTouchTracker
36 private float mLinearDistance = LINEAR_DISTANCE;
255 if (LINEAR_DISTANCE >= 0) { in setProgressThresholds()
256 mLinearDistance = LINEAR_DISTANCE; in setProgressThresholds()