Searched refs:lastX (Results 1 - 12 of 12) sorted by relevance

/frameworks/support/frameworks/support/samples/SupportAnimationDemos/src/main/java/com/example/android/support/animation/
H A DSpringView.java61 float lastX = x + sectionWidth / 2;
64 canvas.drawLine(lastX, lastY, 2 * x - lastX, lastY + sectionHeight, mPaint);
65 lastX = 2 * x - lastX;
68 canvas.drawLine(lastX, lastY, x, mLastHeight, mPaint);
/frameworks/support/samples/SupportAnimationDemos/src/main/java/com/example/android/support/animation/
H A DSpringView.java61 float lastX = x + sectionWidth / 2;
64 canvas.drawLine(lastX, lastY, 2 * x - lastX, lastY + sectionHeight, mPaint);
65 lastX = 2 * x - lastX;
68 canvas.drawLine(lastX, lastY, x, mLastHeight, mPaint);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DCachedPathIteratorFactory.java80 float lastX = 0;
86 cubicCurve.setCurve(lastX, lastY,
88 mCoordinates[i][3], lastX = mCoordinates[i][4],
94 quadCurve.setCurve(lastX, lastY, mCoordinates[i][0], mCoordinates[i][1],
95 lastX = mCoordinates[i][2], lastY = mCoordinates[i][3]);
100 mSegmentsLength[i] = (float) Point2D.distance(lastX, lastY,
101 lastX = mCoordinates[0][0],
112 lastX = mCoordinates[i][0];
116 mSegmentsLength[i] = (float) Point2D.distance(lastX, lastY, mCoordinates[i][0],
118 lastX
247 getPointAtLength(int type, @NonNull float[] coords, float lastX, float lastY, float t, @NonNull float[] point) argument
[all...]
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
H A DInteraction.java139 float lastX = xPos[xPos.length - 1];
142 MotionEvent.ACTION_UP, lastX, lastY, 0);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardAffordanceHelper.java216 private void endMotion(boolean forceSnapBack, float lastX, float lastY) { argument
218 flingWithCurrentVelocity(forceSnapBack, lastX, lastY);
317 private void flingWithCurrentVelocity(boolean forceSnapBack, float lastX, float lastY) { argument
318 float vel = getCurrentVelocity(lastX, lastY);
483 private float getCurrentVelocity(float lastX, float lastY) { argument
490 float bX = lastX - mInitialTouchX;
H A DObservableScrollView.java148 void onOverscrolled(float lastX, float lastY, int amount); argument
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java299 float lastX = 0, lastY = 0;
311 canvas.drawLine(lastX, lastY, x, y, mPathPaint);
313 canvas.drawPoint(lastX, lastY, paint);
316 lastX = x;
338 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint);
356 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint);
H A DLockPatternView.java1154 float lastX = 0f;
1181 currentPath.moveTo(lastX, lastY);
1199 lastX = centerX;
1207 currentPath.moveTo(lastX, lastY);
1211 mInProgressX, mInProgressY, lastX, lastY) * 255f));
1217 private float calculateLastSegmentAlpha(float x, float y, float lastX, float lastY) { argument
1218 float diffX = x - lastX;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSAnimator.java163 int lastX = 0;
189 lastX = loc1[0];
194 lastXDiff = loc1[0] - lastX;
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DPipTouchHandler.java625 float lastX = mStartPosition.x + mDelta.x;
627 float left = lastX + lastDelta.x;
640 mDelta.x += left - lastX;
/frameworks/base/libs/hwui/tests/unit/
H A DRecordingCanvasTests.cpp248 float lastX = FLT_MAX; local
249 playbackOps(*dl, [&count, &lastX](const RecordedOp& op) {
256 EXPECT_GT(lastX, ((const TextOp&)op).x)
258 lastX = ((const TextOp&)op).x;
/frameworks/base/libs/hwui/
H A DPathTessellator.cpp875 sum += (x + lastX) * (y - lastY);
880 lastX = x;
898 double lastX = 0; member in class:android::uirenderer::ClockwiseEnforcer

Completed in 788 milliseconds