Home
last modified time | relevance | path

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

/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/legacy/recents/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.java212 private void endMotion(boolean forceSnapBack, float lastX, float lastY) { in endMotion() argument
214 flingWithCurrentVelocity(forceSnapBack, lastX, lastY); in endMotion()
313 private void flingWithCurrentVelocity(boolean forceSnapBack, float lastX, float lastY) { in flingWithCurrentVelocity() argument
314 float vel = getCurrentVelocity(lastX, lastY); in flingWithCurrentVelocity()
476 private float getCurrentVelocity(float lastX, float lastY) { in getCurrentVelocity() argument
484 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.java361 float lastX = 0, lastY = 0; in onDraw() local
373 canvas.drawLine(lastX, lastY, x, y, mPathPaint); in onDraw()
375 canvas.drawPoint(lastX, lastY, paint); in onDraw()
379 lastY = y; in onDraw()
388 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw()
395 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw()
DLockPatternView.java1185 float lastY = 0f; in onDraw()
1211 currentPath.moveTo(lastX, lastY); in onDraw()
1230 lastY = centerY; in onDraw()
1237 currentPath.moveTo(lastX, lastY); in onDraw()
1241 mInProgressX, mInProgressY, lastX, lastY) * 255f)); in onDraw()
1247 private float calculateLastSegmentAlpha(float x, float y, float lastX, float lastY) {
1249 float diffY = y - lastY;
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DFalsingDataProvider.java199 float lastY = mLastMotionEvent.getY() - mFirstRecentMotionEvent.getY(); in calculateAngleInternal() local
201 mAngle = (float) Math.atan2(lastY, lastX); in calculateAngleInternal()
DZigZagClassifier.java151 float lastY = lastEvent.getY() - offsetY; in getAtan2LastPoint() local
153 return (float) Math.atan2(lastY, lastX); in getAtan2LastPoint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchHandler.java634 float lastY = mStartPosition.y + mDelta.y;
636 float top = lastY + lastDelta.y;
649 mDelta.y += top - lastY;