HomeSort by relevance Sort by last modified time
    Searched refs:previousPoint (Results 1 - 2 of 2) sorted by null

  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowPath.java 121 Point2D.Float previousPoint = null;
126 if (previousPoint != null && type != PathIterator.SEG_MOVETO) {
127 totalLength += (float) currentPoint.distance(previousPoint);
129 previousPoint = currentPoint;
136 previousPoint = null;
142 float distance = previousPoint != null ? (float) previousPoint.distance(point) : .0f;
148 previousPoint = point;
CachedPathIteratorFactory.java 211 float[] previousPoint = new float[2];
223 (float) Point2D.distance(previousPoint[0], previousPoint[1], segment[0], segment[1]);
227 previousPoint[0] = segment[0];
228 previousPoint[1] = segment[1];

Completed in 272 milliseconds