Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/view/
DGestureDetectorCompat.java244 final float focusX = sumX / div; in onTouchEvent() local
251 mDownFocusX = mLastFocusX = focusX; in onTouchEvent()
258 mDownFocusX = mLastFocusX = focusX; in onTouchEvent()
301 mDownFocusX = mLastFocusX = focusX; in onTouchEvent()
326 final float scrollX = mLastFocusX - focusX; in onTouchEvent()
332 final int deltaX = (int) (focusX - mDownFocusX); in onTouchEvent()
337 mLastFocusX = focusX; in onTouchEvent()
349 mLastFocusX = focusX; in onTouchEvent()
/frameworks/base/core/java/android/view/
DGestureDetector.java515 final float focusX = sumX / div; in onTouchEvent() local
522 mDownFocusX = mLastFocusX = focusX; in onTouchEvent()
529 mDownFocusX = mLastFocusX = focusX; in onTouchEvent()
572 mDownFocusX = mLastFocusX = focusX; in onTouchEvent()
597 final float scrollX = mLastFocusX - focusX; in onTouchEvent()
603 final int deltaX = (int) (focusX - mDownFocusX); in onTouchEvent()
608 mLastFocusX = focusX; in onTouchEvent()
620 mLastFocusX = focusX; in onTouchEvent()
DScaleGestureDetector.java290 final float focusX; in onTouchEvent() local
295 focusX = mAnchoredScaleStartX; in onTouchEvent()
309 focusX = sumX / div; in onTouchEvent()
319 devSumX += Math.abs(event.getX(i) - focusX); in onTouchEvent()
341 mFocusX = focusX; in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java1206 float focusX = getNormalizedXFromUnfocusedY(mInitialTopOffset, FROM_TOP); in constructUnfocusedDimCurve() local
1207 float cpoint2X = focusX + (1f - focusX) / 2; in constructUnfocusedDimCurve()
1212 p.cubicTo(focusX * 0.5f, MAX_DIM, focusX * 0.75f, MAX_DIM * 0.75f, focusX, 0f); in constructUnfocusedDimCurve()
/frameworks/base/docs/html/training/gestures/
Dscale.jd384 float focusX = scaleGestureDetector.getFocusX();
394 - newWidth * (focusX - mContentRect.left)