Home
last modified time | relevance | path

Searched refs:lastY (Results 1 – 9 of 9) 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/src/com/android/systemui/statusbar/phone/
DKeyguardAffordanceHelper.java214 private void endMotion(boolean forceSnapBack, float lastX, float lastY) { in endMotion() argument
216 flingWithCurrentVelocity(forceSnapBack, lastX, lastY); in endMotion()
315 private void flingWithCurrentVelocity(boolean forceSnapBack, float lastX, float lastY) { in flingWithCurrentVelocity() argument
316 float vel = getCurrentVelocity(lastX, lastY); in flingWithCurrentVelocity()
480 private float getCurrentVelocity(float lastX, float lastY) { in getCurrentVelocity() argument
488 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.java1178 float lastY = 0f; in onDraw()
1204 currentPath.moveTo(lastX, lastY); in onDraw()
1223 lastY = centerY; in onDraw()
1230 currentPath.moveTo(lastX, lastY); in onDraw()
1234 mInProgressX, mInProgressY, lastX, lastY) * 255f)); in onDraw()
1263 private float calculateLastSegmentAlpha(float x, float y, float lastX, float lastY) {
1265 float diffY = y - lastY;
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DZigZagClassifier.java183 float lastY = lastEvent.getY() - offsetY; in getAtan2LastPoint() local
185 return (float) Math.atan2(lastY, lastX); in getAtan2LastPoint()
DFalsingDataProvider.java251 float lastY = mLastMotionEvent.getY() - mFirstRecentMotionEvent.getY(); in calculateAngleInternal() local
253 mAngle = (float) Math.atan2(lastY, lastX); in calculateAngleInternal()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchHandler.java834 float lastY = mStartPosition.y + mDelta.y; in onMove() local
836 float top = lastY + lastDelta.y; in onMove()
840 mDelta.y += top - lastY; in onMove()