Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DScaleGestureDetector.java291 final float focusY; in onTouchEvent() local
296 focusY = mAnchoredScaleStartY; in onTouchEvent()
297 if (event.getY() < focusY) { in onTouchEvent()
310 focusY = sumY / div; in onTouchEvent()
320 devSumY += Math.abs(event.getY(i) - focusY); in onTouchEvent()
342 mFocusY = focusY; in onTouchEvent()
DGestureDetector.java516 final float focusY = sumY / div; in onTouchEvent() local
523 mDownFocusY = mLastFocusY = focusY; in onTouchEvent()
530 mDownFocusY = mLastFocusY = focusY; in onTouchEvent()
573 mDownFocusY = mLastFocusY = focusY; in onTouchEvent()
598 final float scrollY = mLastFocusY - focusY; in onTouchEvent()
604 final int deltaY = (int) (focusY - mDownFocusY); in onTouchEvent()
609 mLastFocusY = focusY; in onTouchEvent()
621 mLastFocusY = focusY; in onTouchEvent()
/frameworks/support/v4/java/android/support/v4/view/
DGestureDetectorCompat.java245 final float focusY = sumY / div; in onTouchEvent() local
252 mDownFocusY = mLastFocusY = focusY; in onTouchEvent()
259 mDownFocusY = mLastFocusY = focusY; in onTouchEvent()
302 mDownFocusY = mLastFocusY = focusY; in onTouchEvent()
327 final float scrollY = mLastFocusY - focusY; in onTouchEvent()
333 final int deltaY = (int) (focusY - mDownFocusY); in onTouchEvent()
338 mLastFocusY = focusY; in onTouchEvent()
350 mLastFocusY = focusY; in onTouchEvent()
/frameworks/base/docs/html/training/gestures/
Dscale.jd385 float focusY = scaleGestureDetector.getFocusY();
397 - newHeight * (mContentRect.bottom - focusY)