Home
last modified time | relevance | path

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

/frameworks/base/tools/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.java216 private void endMotion(boolean forceSnapBack, float lastX, float lastY) { in endMotion() argument
218 flingWithCurrentVelocity(forceSnapBack, lastX, lastY); in endMotion()
317 private void flingWithCurrentVelocity(boolean forceSnapBack, float lastX, float lastY) { in flingWithCurrentVelocity() argument
318 float vel = getCurrentVelocity(lastX, lastY); in flingWithCurrentVelocity()
483 private float getCurrentVelocity(float lastX, float lastY) { in getCurrentVelocity() argument
491 float bY = lastY - mInitialTouchY; in getCurrentVelocity()
DObservableScrollView.java148 void onOverscrolled(float lastX, float lastY, int amount); in onOverscrolled() argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DUsageGraph.java168 int lastY = mLocalPaths.valueAt(mLocalPaths.size() - 1); in calculateLocalPaths() local
169 if (lastY != PATH_DELIM && !hasDiff(lastX, lx) && !hasDiff(lastY, ly)) { in calculateLocalPaths()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java298 float lastX = 0, lastY = 0; in onDraw() local
310 canvas.drawLine(lastX, lastY, x, y, mPathPaint); in onDraw()
312 canvas.drawPoint(lastX, lastY, paint); in onDraw()
316 lastY = y; in onDraw()
337 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw()
355 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw()
DLockPatternView.java1120 float lastY = 0f; in onDraw()
1137 currentPath.moveTo(lastX, lastY); in onDraw()
1146 lastY = centerY; in onDraw()
1153 currentPath.moveTo(lastX, lastY); in onDraw()
1157 mInProgressX, mInProgressY, lastX, lastY) * 255f)); in onDraw()
1163 private float calculateLastSegmentAlpha(float x, float y, float lastX, float lastY) {
1165 float diffY = y - lastY;
/frameworks/base/libs/hwui/
DPathTessellator.cpp915 sum += (x + lastX) * (y - lastY); in addPoint()
921 lastY = y; in addPoint()
938 double lastY = 0; member in android::uirenderer::ClockwiseEnforcer