Home
last modified time | relevance | path

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

/frameworks/support/samples/SupportAnimationDemos/src/main/java/com/example/android/support/animation/
DSpringView.java62 float lastY = sectionHeight / 2; in onDraw() local
64 canvas.drawLine(lastX, lastY, 2 * x - lastX, lastY + sectionHeight, mPaint); in onDraw()
66 lastY = lastY + sectionHeight; in onDraw()
68 canvas.drawLine(lastX, lastY, x, mLastHeight, mPaint); in onDraw()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DCachedPathIteratorFactory.java81 float lastY = 0; in CachedPathIteratorFactory() local
86 cubicCurve.setCurve(lastX, lastY, in CachedPathIteratorFactory()
89 lastY = mCoordinates[i][5]); in CachedPathIteratorFactory()
94 quadCurve.setCurve(lastX, lastY, mCoordinates[i][0], mCoordinates[i][1], in CachedPathIteratorFactory()
95 lastX = mCoordinates[i][2], lastY = mCoordinates[i][3]); in CachedPathIteratorFactory()
100 mSegmentsLength[i] = (float) Point2D.distance(lastX, lastY, in CachedPathIteratorFactory()
102 lastY = mCoordinates[0][1]); in CachedPathIteratorFactory()
113 lastY = mCoordinates[i][1]; in CachedPathIteratorFactory()
116 mSegmentsLength[i] = (float) Point2D.distance(lastX, lastY, mCoordinates[i][0], in CachedPathIteratorFactory()
119 lastY = mCoordinates[i][1]; in CachedPathIteratorFactory()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/lowram/
DTaskStackLowRamLayoutAlgorithm.java153 int lastY = getTaskTopFromIndex(0) - mPaddingEndTopBottom; in getClosestTaskP() local
158 int diffPrev = Math.abs(y - lastY); in getClosestTaskP()
164 ? scrollToPercentage(lastY) : scrollToPercentage(taskY); in getClosestTaskP()
166 lastY = taskY; in getClosestTaskP()
168 return scrollToPercentage(lastY); in getClosestTaskP()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardAffordanceHelper.java216 private void endMotion(boolean forceSnapBack, float lastX, float lastY) { in endMotion() argument
218 flingWithCurrentVelocity(forceSnapBack, lastX, lastY); in endMotion()
317 private void flingWithCurrentVelocity(boolean forceSnapBack, float lastX, float lastY) { in flingWithCurrentVelocity() argument
318 float vel = getCurrentVelocity(lastX, lastY); in flingWithCurrentVelocity()
483 private float getCurrentVelocity(float lastX, float lastY) { in getCurrentVelocity() argument
491 float bY = lastY - mInitialTouchY; in getCurrentVelocity()
DObservableScrollView.java148 void onOverscrolled(float lastX, float lastY, int amount); in onOverscrolled() argument
/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.java299 float lastX = 0, lastY = 0; in onDraw() local
311 canvas.drawLine(lastX, lastY, x, y, mPathPaint); in onDraw()
313 canvas.drawPoint(lastX, lastY, paint); in onDraw()
317 lastY = y; in onDraw()
338 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw()
356 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw()
DLockPatternView.java1155 float lastY = 0f; in onDraw()
1181 currentPath.moveTo(lastX, lastY); in onDraw()
1200 lastY = centerY; in onDraw()
1207 currentPath.moveTo(lastX, lastY); in onDraw()
1211 mInProgressX, mInProgressY, lastX, lastY) * 255f)); in onDraw()
1217 private float calculateLastSegmentAlpha(float x, float y, float lastX, float lastY) {
1219 float diffY = y - lastY;
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchHandler.java626 float lastY = mStartPosition.y + mDelta.y;
628 float top = lastY + lastDelta.y;
641 mDelta.y += top - lastY;
/frameworks/base/libs/hwui/
DPathTessellator.cpp875 sum += (x + lastX) * (y - lastY); in addPoint()
881 lastY = y; in addPoint()
899 double lastY = 0; member in android::uirenderer::ClockwiseEnforcer