Home
last modified time | relevance | path

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

/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/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/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()
DTimerCircleView.kt66 val dotDiameter = resources.getDimension(R.dimen.circletimer_dot_size) constant
68 mDotRadius = dotDiameter / 2f
70 mRadiusOffset = Utils.calculateRadiusOffset(mStrokeSize, dotDiameter, 0f)
/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()
DStopwatchCircleView.kt74 val dotDiameter: Float = resources.getDimension(R.dimen.circletimer_dot_size) constant
76 mDotRadius = dotDiameter / 2f
80 mRadiusOffset = Utils.calculateRadiusOffset(mStrokeSize, dotDiameter, mMarkerStrokeSize)