Home
last modified time | relevance | path

Searched refs:segmentLength (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DDiscretePathEffect.java25 public DiscretePathEffect(float segmentLength, float deviation) { in DiscretePathEffect() argument
26 native_instance = nativeCreate(segmentLength, deviation); in DiscretePathEffect()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java1466 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);