Home
last modified time | relevance | path

Searched refs:lastX (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSExpansionPathInterpolator.kt27 private var lastX = 0f variable
35 if (value != lastX) { in setControlX2()
36 lastX = value in setControlX2()
37 pathInterpolatorBuilder = PathInterpolatorBuilder(0f, 0f, lastX, 1f) in setControlX2()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DIconNormalizer.java284 int firstX, lastX; in getScale() local
287 firstX = lastX = -1; in getScale()
293 lastX = x; in getScale()
300 mRightBorder[y] = lastX; in getScale()
310 rightX = Math.max(rightX, lastX); in getScale()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DInteraction.java139 float lastX = xPos[xPos.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()
326 lastX = x; 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.java1334 float lastX = 0f; in onDraw()
1366 drawLineSegment(canvas, /* startX = */ lastX, /* startY = */ lastY, endX, endY, in onDraw()
1370 tempPath.moveTo(lastX, lastY); in onDraw()
1374 lastX = centerX; 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) {
1477 float diffX = x - lastX;
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DZigZagClassifier.java185 float lastX = lastEvent.getX() - offsetX; in getAtan2LastPoint() local
188 return (float) Math.atan2(lastY, lastX); in getAtan2LastPoint()
DFalsingDataProvider.java327 float lastX = mLastMotionEvent.getX() - mFirstRecentMotionEvent.getX();
330 mAngle = (float) Math.atan2(lastY, lastX);
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java531 int firstX, lastX; in getScale() local
534 firstX = lastX = -1; in getScale()
540 lastX = x; in getScale()
547 mRightBorder[y] = lastX; in getScale()
557 rightX = Math.max(rightX, lastX); in getScale()
/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.java850 float lastX = mStartPosition.x + mDelta.x; in onMove() local
852 float left = lastX + lastDelta.x; in onMove()
856 mDelta.x += left - lastX; in onMove()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTouchHandler.java859 float lastX = mStartPosition.x + mDelta.x; in onMove() local
861 float left = lastX + lastDelta.x; in onMove()
865 mDelta.x += left - lastX; in onMove()