Searched refs:FlingTarget (Results 1 – 1 of 1) sorted by relevance
114 @IntDef({FlingTarget.CENTER, FlingTarget.ACCEPT, FlingTarget.REJECT})115 private @interface FlingTarget { annotation in FlingUpDownTouchHandler316 @FlingTarget in endMotionEvent()317 int target = forceRecenter ? FlingTarget.CENTER : getFlingTarget(pointerY, vectorVel); in endMotionEvent()333 @FlingTarget345 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 …]