Searched refs:segmentLength (Results 1 – 2 of 2) sorted by relevance
25 public DiscretePathEffect(float segmentLength, float deviation) { in DiscretePathEffect() argument26 native_instance = nativeCreate(segmentLength, deviation); in DiscretePathEffect()
1466 float segmentLength = (float) Math.hypot(endX - startX, endY - startY);1469 canvas.drawLine(/* startX= */ -segmentLength * fadeAwayProgress, /* startY= */1470 0,/* stopX= */ segmentLength * (1 - fadeAwayProgress), /* stopY= */ 0, mPathPaint);