Home
last modified time | relevance | path

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

/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DInteraction.java140 float lastY = yPos[yPos.length - 1]; in createInterpolatedEventList() local
142 MotionEvent.ACTION_UP, lastX, lastY, 0); in createInterpolatedEventList()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java309 float lastX = 0, lastY = 0; in onDraw() local
321 canvas.drawLine(lastX, lastY, x, y, mPathPaint); in onDraw()
323 canvas.drawPoint(lastX, lastY, paint); in onDraw()
327 lastY = y; in onDraw()
336 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw()
343 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw()
DLockPatternView.java1335 float lastY = 0f; in onDraw()
1366 drawLineSegment(canvas, /* startX = */ lastX, /* startY = */ lastY, endX, endY, in onDraw()
1370 tempPath.moveTo(lastX, lastY); in onDraw()
1375 lastY = centerY; in onDraw()
1382 currentPath.moveTo(lastX, lastY); in onDraw()
1386 mInProgressX, mInProgressY, lastX, lastY) * 255f)); in onDraw()
1476 private float calculateLastSegmentAlpha(float x, float y, float lastX, float lastY) {
1478 float diffY = y - lastY;
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DZigZagClassifier.java186 float lastY = lastEvent.getY() - offsetY; in getAtan2LastPoint() local
188 return (float) Math.atan2(lastY, lastX); in getAtan2LastPoint()
DFalsingDataProvider.java328 float lastY = mLastMotionEvent.getY() - mFirstRecentMotionEvent.getY();
330 mAngle = (float) Math.atan2(lastY, lastX);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DObservableScrollView.java148 void onOverscrolled(float lastX, float lastY, int amount); in onOverscrolled() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchHandler.java851 float lastY = mStartPosition.y + mDelta.y; in onMove() local
853 float top = lastY + lastDelta.y; in onMove()
857 mDelta.y += top - lastY; in onMove()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTouchHandler.java860 float lastY = mStartPosition.y + mDelta.y; in onMove() local
862 float top = lastY + lastDelta.y; in onMove()
866 mDelta.y += top - lastY; in onMove()