Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DInCallPaginator.java37 private int dotRadius; field in InCallPaginator
62 dotRadius = getResources().getDimensionPixelSize(R.dimen.paginator_dot_radius); in init()
121 float trackWidth = 2 * dotRadius + transitionFraction * (2 * dotRadius + dotsSeparation); in onDraw()
122 float indicatorRadius = dotRadius * (1f - 2f * Math.min(transitionFraction, 0.5f)); in onDraw()
123 float indicatorOffset = dotRadius + dotsSeparation / 2; in onDraw()
125 float trackLeft = centerX - indicatorOffset - dotRadius; in onDraw()
128 centerY - dotRadius, in onDraw()
130 centerY + dotRadius, in onDraw()
131 dotRadius, in onDraw()
132 dotRadius, in onDraw()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDotsPageIndicator.java69 private float dotRadius; field in DotsPageIndicator
136 dotRadius = dotDiameter / 2; in DotsPageIndicator()
137 halfDotRadius = dotRadius / 2; in DotsPageIndicator()
245 float startLeft = left + ((right - left - requiredWidth) / 2) + dotRadius; in calculateDotPositions()
252 dotCenterY = top + dotRadius; in calculateDotPositions()
364 canvas.drawCircle(dotCenterX[page], dotCenterY, dotRadius, unselectedPaint); in drawUnselected()
407 unselectedDotPath.addCircle(dotCenterX[page], dotCenterY, dotRadius, Path.Direction.CW); in getUnselectedPath()
419 rectF.set(centerX - dotRadius, dotTopY, centerX + dotRadius, dotBottomY); in getUnselectedPath()
423 endX1 = centerX + dotRadius + (joiningFraction * gap); in getUnselectedPath()
450 rectF.set(nextCenterX - dotRadius, dotTopY, nextCenterX + dotRadius, dotBottomY); in getUnselectedPath()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java69 private float dotRadius; field in DotsPageIndicator
136 dotRadius = dotDiameter / 2; in DotsPageIndicator()
137 halfDotRadius = dotRadius / 2; in DotsPageIndicator()
245 float startLeft = left + ((right - left - requiredWidth) / 2) + dotRadius; in calculateDotPositions()
252 dotCenterY = top + dotRadius; in calculateDotPositions()
364 canvas.drawCircle(dotCenterX[page], dotCenterY, dotRadius, unselectedPaint); in drawUnselected()
407 unselectedDotPath.addCircle(dotCenterX[page], dotCenterY, dotRadius, Path.Direction.CW); in getUnselectedPath()
419 rectF.set(centerX - dotRadius, dotTopY, centerX + dotRadius, dotBottomY); in getUnselectedPath()
423 endX1 = centerX + dotRadius + (joiningFraction * gap); in getUnselectedPath()
450 rectF.set(nextCenterX - dotRadius, dotTopY, nextCenterX + dotRadius, dotBottomY); in getUnselectedPath()
[all …]