Searched refs:segmentLength (Results 1 – 3 of 3) sorted by relevance
26 public DiscretePathEffect(float segmentLength, float deviation) { in DiscretePathEffect() argument27 native_instance = nativeCreate(segmentLength, deviation); in DiscretePathEffect()
1569 float segmentLength = (float) Math.hypot(endX - startX, endY - startY);1572 canvas.drawLine(/* startX= */ -segmentLength * fadeAwayProgress, /* startY= */1573 0,/* stopX= */ segmentLength * (1 - fadeAwayProgress), /* stopY= */ 0, mPathPaint);
11629 int segmentLength = progressSegment.get(i).getLength(); in getProgressMax() local11630 if (segmentLength > 0) { in getProgressMax()11632 progressMax = Math.addExact(progressMax, segmentLength); in getProgressMax()