/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | CachedPathIteratorFactory.java | 80 float lastX = 0; in CachedPathIteratorFactory() local 86 cubicCurve.setCurve(lastX, lastY, in CachedPathIteratorFactory() 88 mCoordinates[i][3], lastX = mCoordinates[i][4], 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() 101 lastX = mCoordinates[0][0], in CachedPathIteratorFactory() 112 lastX = mCoordinates[i][0]; in CachedPathIteratorFactory() 116 mSegmentsLength[i] = (float) Point2D.distance(lastX, lastY, mCoordinates[i][0], in CachedPathIteratorFactory() 118 lastX = mCoordinates[i][0]; in CachedPathIteratorFactory() [all …]
|
/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 483 float bX = lastX - mInitialTouchX; in getCurrentVelocity()
|
D | ObservableScrollView.java | 148 void onOverscrolled(float lastX, float lastY, int amount); in onOverscrolled() argument
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SimpleIconFactory.java | 453 int firstX, lastX; in getScale() local 456 firstX = lastX = -1; in getScale() 462 lastX = x; in getScale() 469 mRightBorder[y] = lastX; in getScale() 479 rightX = Math.max(rightX, lastX); in getScale()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/ |
D | Interaction.java | 139 float lastX = xPos[xPos.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() 378 lastX = x; 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 | 1184 float lastX = 0f; in onDraw() 1211 currentPath.moveTo(lastX, lastY); in onDraw() 1229 lastX = centerX; 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) { 1248 float diffX = x - lastX;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProvider.java | 198 float lastX = mLastMotionEvent.getX() - mFirstRecentMotionEvent.getX(); in calculateAngleInternal() local 201 mAngle = (float) Math.atan2(lastY, lastX); in calculateAngleInternal()
|
D | ZigZagClassifier.java | 150 float lastX = lastEvent.getX() - offsetX; in getAtan2LastPoint() local 153 return (float) Math.atan2(lastY, lastX); in getAtan2LastPoint()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSAnimator.java | 184 int lastX = 0; in updateAnimators() local 213 lastX = loc1[0]; in updateAnimators() 218 lastXDiff = loc1[0] - lastX; in updateAnimators()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipTouchHandler.java | 633 float lastX = mStartPosition.x + mDelta.x; 635 float left = lastX + lastDelta.x; 648 mDelta.x += left - lastX;
|