Searched refs:previousPoint (Results 1 – 3 of 3) sorted by relevance
72 Point previousPoint; field in AccelerationClassifier.Data77 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()
495 Point2D.Float previousPoint = null; in nApproximate() local500 if (previousPoint != null && type != PathIterator.SEG_MOVETO) { in nApproximate()501 totalLength += currentPoint.distance(previousPoint); in nApproximate()503 previousPoint = currentPoint; in nApproximate()510 previousPoint = null; in nApproximate()516 float distance = previousPoint != null ? (float) previousPoint.distance(point) : .0f; in nApproximate()522 previousPoint = point; in nApproximate()
221 float[] previousPoint = new float[2]; in getFlatPathLength() local231 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()