Searched refs:selectedDotX (Results 1 – 2 of 2) sorted by relevance
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | DotsPageIndicator.java | 83 private float selectedDotX; field in DotsPageIndicator 265 selectedDotX = dotCenterX[currentPage]; in setCurrentPageImmediate() 554 canvas.drawCircle(selectedDotX, dotCenterY, dotRadius, selectedPaint); in drawSelected() 595 ValueAnimator moveSelected = ValueAnimator.ofFloat(selectedDotX, moveTo); in createMoveSelectedAnimator() 600 ? new RightwardStartPredicate(moveTo - ((moveTo - selectedDotX) * 0.25f)) in createMoveSelectedAnimator() 601 : new LeftwardStartPredicate(moveTo + ((selectedDotX - moveTo) * 0.25f))); in createMoveSelectedAnimator() 607 selectedDotX = (Float) valueAnimator.getAnimatedValue(); in createMoveSelectedAnimator() 608 retreatAnimation.startIfNecessary(selectedDotX); in createMoveSelectedAnimator() 723 return selectedDotX; in getSelectedDotX() 767 final float initialX1 = now > was ? Math.min(dotCenterX[was], selectedDotX) - dotRadius in PendingRetreatAnimator() [all …]
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | DotsPageIndicator.java | 83 private float selectedDotX; field in DotsPageIndicator 265 selectedDotX = dotCenterX[currentPage]; in setCurrentPageImmediate() 554 canvas.drawCircle(selectedDotX, dotCenterY, dotRadius, selectedPaint); in drawSelected() 595 ValueAnimator moveSelected = ValueAnimator.ofFloat(selectedDotX, moveTo); in createMoveSelectedAnimator() 600 ? new RightwardStartPredicate(moveTo - ((moveTo - selectedDotX) * 0.25f)) in createMoveSelectedAnimator() 601 : new LeftwardStartPredicate(moveTo + ((selectedDotX - moveTo) * 0.25f))); in createMoveSelectedAnimator() 607 selectedDotX = (Float) valueAnimator.getAnimatedValue(); in createMoveSelectedAnimator() 608 retreatAnimation.startIfNecessary(selectedDotX); in createMoveSelectedAnimator() 723 return selectedDotX; in getSelectedDotX() 767 final float initialX1 = now > was ? Math.min(dotCenterX[was], selectedDotX) - dotRadius in PendingRetreatAnimator() [all …]
|