Home
last modified time | relevance | path

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

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