/frameworks/support/frameworks/support/samples/SupportAnimationDemos/src/main/java/com/example/android/support/animation/ |
H A D | SpringView.java | 61 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 D | SpringView.java | 61 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 D | CachedPathIteratorFactory.java | 80 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 D | Interaction.java | 139 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 D | KeyguardAffordanceHelper.java | 216 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 D | ObservableScrollView.java | 148 void onOverscrolled(float lastX, float lastY, int amount); argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 299 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 D | LockPatternView.java | 1154 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 D | QSAnimator.java | 163 int lastX = 0; 189 lastX = loc1[0]; 194 lastXDiff = loc1[0] - lastX;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
H A D | PipTouchHandler.java | 625 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 D | RecordingCanvasTests.cpp | 248 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 D | PathTessellator.cpp | 875 sum += (x + lastX) * (y - lastY); 880 lastX = x; 898 double lastX = 0; member in class:android::uirenderer::ClockwiseEnforcer
|