Searched refs:vectorVel (Results 1 – 1 of 1) sorted by relevance
299 float vectorVel = 0f; in endMotionEvent() local303 vectorVel = in endMotionEvent()317 int target = forceRecenter ? FlingTarget.CENTER : getFlingTarget(pointerY, vectorVel); in endMotionEvent()334 private int getFlingTarget(float pointerY, float vectorVel) { in getFlingTarget() argument338 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()