Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerCircleView.java67 final float dotDiameter = resources.getDimension(R.dimen.circletimer_dot_size); in TimerCircleView() local
69 mDotRadius = dotDiameter / 2f; in TimerCircleView()
71 mRadiusOffset = Utils.calculateRadiusOffset(mStrokeSize, dotDiameter, 0); in TimerCircleView()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchCircleView.java75 final float dotDiameter = resources.getDimension(R.dimen.circletimer_dot_size); in StopwatchCircleView() local
77 mDotRadius = dotDiameter / 2f; in StopwatchCircleView()
81 mRadiusOffset = Utils.calculateRadiusOffset(mStrokeSize, dotDiameter, mMarkerStrokeSize); in StopwatchCircleView()
/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java60 private int dotDiameter; field in DotsPageIndicator
132 dotDiameter = typedArray.getDimensionPixelSize(R.styleable.DotsPageIndicator_dotDiameter, in DotsPageIndicator()
134 dotRadius = dotDiameter / 2; in DotsPageIndicator()
246 dotCenterX[i] = startLeft + i * (dotDiameter + gap); in calculateDotPositions()
251 dotBottomY = top + dotDiameter; in calculateDotPositions()
326 return getPaddingTop() + dotDiameter + getPaddingBottom(); in getDesiredHeight()
330 return pageCount * dotDiameter + (pageCount - 1) * gap; in getRequiredWidth()