Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DFlingUpDownTouchHandler.java238 final float pointerY = event.getY(pointerIndex); in onTouch() local
242 if (pointerY < deadZoneTopPx) { in onTouch()
246 startMotion(pointerY, false, currentProgress); in onTouch()
269 endMotionEvent(event, pointerY, true); in onTouch()
272 float deltaY = pointerY - initialTouchY; in onTouch()
280 setCurrentProgress(pointerYToProgress(pointerY)); in onTouch()
287 endMotionEvent(event, pointerY, false); in onTouch()
292 private void endMotionEvent(MotionEvent event, float pointerY, boolean forceCancel) { in endMotionEvent() argument
295 || Math.abs(pointerY - initialTouchY) > touchSlop in endMotionEvent()
317 int target = forceRecenter ? FlingTarget.CENTER : getFlingTarget(pointerY, vectorVel); in endMotionEvent()
[all …]