Searched refs:SCROLLBAR_ANGLE_RANGE (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/core/java/android/view/
H A DRoundScrollbarRenderer.java30 private static final int SCROLLBAR_ANGLE_RANGE = 90; field in class:RoundScrollbarRenderer
77 float sweepAngle = (linearThumbLength / maxScroll) * SCROLLBAR_ANGLE_RANGE;
80 float startAngle = (currentScroll * (SCROLLBAR_ANGLE_RANGE - sweepAngle))
81 / (maxScroll - linearThumbLength) - SCROLLBAR_ANGLE_RANGE / 2;
82 startAngle = clamp(startAngle, -SCROLLBAR_ANGLE_RANGE / 2,
83 SCROLLBAR_ANGLE_RANGE / 2 - sweepAngle);
92 canvas.drawArc(mRect, -SCROLLBAR_ANGLE_RANGE / 2, SCROLLBAR_ANGLE_RANGE, false,

Completed in 8 milliseconds