Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DScaleGestureDetector.java290 final float focusY; in onTouchEvent() local
295 focusY = mAnchoredScaleStartY; in onTouchEvent()
296 if (event.getY() < focusY) { in onTouchEvent()
309 focusY = sumY / div; in onTouchEvent()
319 devSumY += Math.abs(event.getY(i) - focusY); in onTouchEvent()
341 mFocusY = focusY; in onTouchEvent()
DGestureDetector.java518 final float focusY = sumY / div; in onTouchEvent() local
525 mDownFocusY = mLastFocusY = focusY; in onTouchEvent()
532 mDownFocusY = mLastFocusY = focusY; in onTouchEvent()
576 mDownFocusY = mLastFocusY = focusY; in onTouchEvent()
602 final float scrollY = mLastFocusY - focusY; in onTouchEvent()
608 final int deltaY = (int) (focusY - mDownFocusY); in onTouchEvent()
614 mLastFocusY = focusY; in onTouchEvent()
627 mLastFocusY = focusY; in onTouchEvent()
/frameworks/support/compat/src/main/java/androidx/core/view/
DGestureDetectorCompat.java249 final float focusY = sumY / div; in onTouchEvent() local
256 mDownFocusY = mLastFocusY = focusY; in onTouchEvent()
263 mDownFocusY = mLastFocusY = focusY; in onTouchEvent()
307 mDownFocusY = mLastFocusY = focusY; in onTouchEvent()
333 final float scrollY = mLastFocusY - focusY; in onTouchEvent()
339 final int deltaY = (int) (focusY - mDownFocusY); in onTouchEvent()
344 mLastFocusY = focusY; in onTouchEvent()
356 mLastFocusY = focusY; in onTouchEvent()