Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java62 private int dotDiameter; field in DotsPageIndicator
134 dotDiameter = typedArray.getDimensionPixelSize(R.styleable.DotsPageIndicator_dotDiameter, in DotsPageIndicator()
136 dotRadius = dotDiameter / 2; in DotsPageIndicator()
248 dotCenterX[i] = startLeft + i * (dotDiameter + gap); in calculateDotPositions()
253 dotBottomY = top + dotDiameter; in calculateDotPositions()
328 return getPaddingTop() + dotDiameter + getPaddingBottom(); in getDesiredHeight()
332 return pageCount * dotDiameter + (pageCount - 1) * gap; in getRequiredWidth()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDotsPageIndicator.java62 private int dotDiameter; field in DotsPageIndicator
134 dotDiameter = typedArray.getDimensionPixelSize(R.styleable.DotsPageIndicator_dotDiameter, in DotsPageIndicator()
136 dotRadius = dotDiameter / 2; in DotsPageIndicator()
248 dotCenterX[i] = startLeft + i * (dotDiameter + gap); in calculateDotPositions()
253 dotBottomY = top + dotDiameter; in calculateDotPositions()
328 return getPaddingTop() + dotDiameter + getPaddingBottom(); in getDesiredHeight()
332 return pageCount * dotDiameter + (pageCount - 1) * gap; in getRequiredWidth()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerCircleView.java68 final float dotDiameter = resources.getDimension(R.dimen.circletimer_dot_size); in TimerCircleView() local
70 mDotRadius = dotDiameter / 2f; in TimerCircleView()
72 mRadiusOffset = Utils.calculateRadiusOffset(mStrokeSize, dotDiameter, 0); in TimerCircleView()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchCircleView.java76 final float dotDiameter = resources.getDimension(R.dimen.circletimer_dot_size); in StopwatchCircleView() local
78 mDotRadius = dotDiameter / 2f; in StopwatchCircleView()
82 mRadiusOffset = Utils.calculateRadiusOffset(mStrokeSize, dotDiameter, mMarkerStrokeSize); in StopwatchCircleView()