Home
last modified time | relevance | path

Searched refs:previousPoint (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DAccelerationClassifier.java72 Point previousPoint; field in AccelerationClassifier.Data
77 previousPoint = point; in Data()
81 float distance = previousPoint.dist(point); in addPoint()
82 float duration = (float) (point.timeOffsetNano - previousPoint.timeOffsetNano + 1); in addPoint()
88 previousPoint = point; in addPoint()
96 previousPoint = point; in addPoint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DCornerPathRenderer.java107 PointF previousPoint = points.get(index - 1); in normalAt() local
108 d1 = new PointF((point.x - previousPoint.x), (point.y - previousPoint.y)); in normalAt()
/frameworks/layoutlib/bridge/src/android/graphics/
DPath_Delegate.java505 Point2D.Float previousPoint = null; in nApproximate() local
510 if (previousPoint != null && type != PathIterator.SEG_MOVETO) { in nApproximate()
511 totalLength += currentPoint.distance(previousPoint); in nApproximate()
513 previousPoint = currentPoint; in nApproximate()
520 previousPoint = null; in nApproximate()
526 float distance = previousPoint != null ? (float) previousPoint.distance(point) : .0f; in nApproximate()
532 previousPoint = point; in nApproximate()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DCachedPathIteratorFactory.java221 float[] previousPoint = new float[2]; in getFlatPathLength() local
231 totalLength += Point2D.distance(previousPoint[0], previousPoint[1], segment[0], in getFlatPathLength()
236 previousPoint[0] = segment[0]; in getFlatPathLength()
237 previousPoint[1] = segment[1]; in getFlatPathLength()