Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DFlingUpDownTouchHandler.java114 @IntDef({FlingTarget.CENTER, FlingTarget.ACCEPT, FlingTarget.REJECT})
115 private @interface FlingTarget { annotation in FlingUpDownTouchHandler
316 @FlingTarget in endMotionEvent()
317 int target = forceRecenter ? FlingTarget.CENTER : getFlingTarget(pointerY, vectorVel); in endMotionEvent()
333 @FlingTarget
345 return progress > 0 ? FlingTarget.ACCEPT : FlingTarget.REJECT; in getFlingTarget()
347 return FlingTarget.CENTER; in getFlingTarget()
354 return FlingTarget.CENTER; in getFlingTarget()
357 return vectorVel < 0 ? FlingTarget.ACCEPT : FlingTarget.REJECT; in getFlingTarget()
394 private void fling(float velocity, @FlingTarget int target, boolean centerBecauseOfFalsing) { in fling()
[all …]