Home
last modified time | relevance | path

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

/frameworks/support/compat/src/main/java/androidx/core/view/
DGestureDetectorCompat.java248 final float focusX = sumX / div; in onTouchEvent() local
255 mDownFocusX = mLastFocusX = focusX; in onTouchEvent()
262 mDownFocusX = mLastFocusX = focusX; in onTouchEvent()
306 mDownFocusX = mLastFocusX = focusX; in onTouchEvent()
332 final float scrollX = mLastFocusX - focusX; in onTouchEvent()
338 final int deltaX = (int) (focusX - mDownFocusX); in onTouchEvent()
343 mLastFocusX = focusX; in onTouchEvent()
355 mLastFocusX = focusX; in onTouchEvent()
/frameworks/base/core/java/android/view/
DGestureDetector.java517 final float focusX = sumX / div; in onTouchEvent() local
524 mDownFocusX = mLastFocusX = focusX; in onTouchEvent()
531 mDownFocusX = mLastFocusX = focusX; in onTouchEvent()
575 mDownFocusX = mLastFocusX = focusX; in onTouchEvent()
601 final float scrollX = mLastFocusX - focusX; in onTouchEvent()
607 final int deltaX = (int) (focusX - mDownFocusX); in onTouchEvent()
613 mLastFocusX = focusX; in onTouchEvent()
626 mLastFocusX = focusX; in onTouchEvent()
DScaleGestureDetector.java289 final float focusX; in onTouchEvent() local
294 focusX = mAnchoredScaleStartX; in onTouchEvent()
308 focusX = sumX / div; in onTouchEvent()
318 devSumX += Math.abs(event.getX(i) - focusX); in onTouchEvent()
340 mFocusX = focusX; in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java1179 float focusX = getNormalizedXFromUnfocusedY(mInitialTopOffset, FROM_TOP); in constructUnfocusedDimCurve() local
1180 float cpoint2X = focusX + (1f - focusX) / 2; in constructUnfocusedDimCurve()
1185 p.cubicTo(focusX * 0.5f, MAX_DIM, focusX * 0.75f, MAX_DIM * 0.75f, focusX, 0f); in constructUnfocusedDimCurve()