Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java85 private float[] dotCenterX; field in DotsPageIndicator
246 dotCenterX = new float[pageCount]; in calculateDotPositions()
248 dotCenterX[i] = startLeft + i * (dotDiameter + gap); in calculateDotPositions()
265 selectedDotX = dotCenterX[currentPage]; in setCurrentPageImmediate()
358 dotCenterX[page], in drawUnselected()
359 dotCenterX[nextXIndex], in drawUnselected()
364 canvas.drawCircle(dotCenterX[page], dotCenterY, dotRadius, unselectedPaint); in drawUnselected()
407 unselectedDotPath.addCircle(dotCenterX[page], dotCenterY, dotRadius, Path.Direction.CW); in getUnselectedPath()
574 moveAnimation = createMoveSelectedAnimator(dotCenterX[now], was, now, steps); in setSelectedPage()
719 return dotCenterX[page]; in getDotCenterX()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDotsPageIndicator.java85 private float[] dotCenterX; field in DotsPageIndicator
246 dotCenterX = new float[pageCount]; in calculateDotPositions()
248 dotCenterX[i] = startLeft + i * (dotDiameter + gap); in calculateDotPositions()
265 selectedDotX = dotCenterX[currentPage]; in setCurrentPageImmediate()
358 dotCenterX[page], in drawUnselected()
359 dotCenterX[nextXIndex], in drawUnselected()
364 canvas.drawCircle(dotCenterX[page], dotCenterY, dotRadius, unselectedPaint); in drawUnselected()
407 unselectedDotPath.addCircle(dotCenterX[page], dotCenterY, dotRadius, Path.Direction.CW); in getUnselectedPath()
574 moveAnimation = createMoveSelectedAnimator(dotCenterX[now], was, now, steps); in setSelectedPage()
719 return dotCenterX[page]; in getDotCenterX()
[all …]
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DDotRenderer.java108 float dotCenterX = iconBounds.left + iconBounds.width() * dotPosition[0]; in draw() local
114 ? Math.max(0, canvasBounds.left - (dotCenterX + mBitmapOffset)) in draw()
115 : Math.min(0, canvasBounds.right - (dotCenterX - mBitmapOffset)); in draw()
119 canvas.translate(dotCenterX + offsetX, dotCenterY + offsetY); in draw()