Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DFlingUpDownTouchHandler.java299 float vectorVel = 0f; in endMotionEvent() local
303 vectorVel = in endMotionEvent()
317 int target = forceRecenter ? FlingTarget.CENTER : getFlingTarget(pointerY, vectorVel); in endMotionEvent()
334 private int getFlingTarget(float pointerY, float vectorVel) { in getFlingTarget() argument
338 if (vectorVel > 0) { in getFlingTarget()
341 if (!flingEnabled || Math.abs(vectorVel) < minVelocityPxPerSecond) { in getFlingTarget()
351 boolean sameDirection = vectorVel < 0 == progress > 0; in getFlingTarget()
357 return vectorVel < 0 ? FlingTarget.ACCEPT : FlingTarget.REJECT; in getFlingTarget()