/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | CachedPathIteratorFactory.java | 81 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/ |
D | TaskStackLowRamLayoutAlgorithm.java | 153 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/ |
D | KeyguardAffordanceHelper.java | 212 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()
|
D | ObservableScrollView.java | 148 void onOverscrolled(float lastX, float lastY, int amount); in onOverscrolled() argument
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/ |
D | Interaction.java | 140 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/ |
D | PointerLocationView.java | 361 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()
|
D | LockPatternView.java | 1185 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/ |
D | FalsingDataProvider.java | 199 float lastY = mLastMotionEvent.getY() - mFirstRecentMotionEvent.getY(); in calculateAngleInternal() local 201 mAngle = (float) Math.atan2(lastY, lastX); in calculateAngleInternal()
|
D | ZigZagClassifier.java | 151 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/ |
D | PipTouchHandler.java | 634 float lastY = mStartPosition.y + mDelta.y; 636 float top = lastY + lastDelta.y; 649 mDelta.y += top - lastY;
|