/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 | 213 private void endMotion(boolean forceSnapBack, float lastX, float lastY) { in endMotion() argument 215 flingWithCurrentVelocity(forceSnapBack, lastX, lastY); in endMotion() 314 private void flingWithCurrentVelocity(boolean forceSnapBack, float lastX, float lastY) { in flingWithCurrentVelocity() argument 315 float vel = getCurrentVelocity(lastX, lastY); in flingWithCurrentVelocity() 477 private float getCurrentVelocity(float lastX, float lastY) { in getCurrentVelocity() argument 484 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/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 339 float lastX = 0, lastY = 0; in onDraw() local 351 canvas.drawLine(lastX, lastY, x, y, mPathPaint); in onDraw() 353 canvas.drawPoint(lastX, lastY, paint); in onDraw() 356 lastX = x; in onDraw() 366 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw() 373 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw()
|
D | LockPatternView.java | 1177 float lastX = 0f; in onDraw() 1204 currentPath.moveTo(lastX, lastY); in onDraw() 1222 lastX = centerX; in onDraw() 1230 currentPath.moveTo(lastX, lastY); in onDraw() 1234 mInProgressX, mInProgressY, lastX, lastY) * 255f)); in onDraw() 1240 private float calculateLastSegmentAlpha(float x, float y, float lastX, float lastY) { 1241 float diffX = x - lastX;
|
/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/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | ZigZagClassifier.java | 150 float lastX = lastEvent.getX() - offsetX; in getAtan2LastPoint() local 153 return (float) Math.atan2(lastY, lastX); in getAtan2LastPoint()
|
D | FalsingDataProvider.java | 198 float lastX = mLastMotionEvent.getX() - mFirstRecentMotionEvent.getX(); in calculateAngleInternal() local 201 mAngle = (float) Math.atan2(lastY, lastX); in calculateAngleInternal()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSAnimator.java | 163 int lastX = 0; in updateAnimators() local 192 lastX = loc1[0]; in updateAnimators() 197 lastXDiff = loc1[0] - lastX; in updateAnimators()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipTouchHandler.java | 615 float lastX = mStartPosition.x + mDelta.x; 617 float left = lastX + lastDelta.x; 630 mDelta.x += left - lastX;
|