Searched refs:dotDiameter (Results 1 – 6 of 6) sorted by relevance
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | DotsPageIndicator.java | 62 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/ |
D | DotsPageIndicator.java | 62 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/ |
D | TimerCircleView.java | 68 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()
|
D | TimerCircleView.kt | 66 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/ |
D | StopwatchCircleView.java | 76 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()
|
D | StopwatchCircleView.kt | 74 val dotDiameter: Float = resources.getDimension(R.dimen.circletimer_dot_size) constant 76 mDotRadius = dotDiameter / 2f 80 mRadiusOffset = Utils.calculateRadiusOffset(mStrokeSize, dotDiameter, mMarkerStrokeSize)
|