Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java114 float controlX1; field in DotsPageIndicator
425 controlX1 = centerX + halfDotRadius; in getUnselectedPath()
429 unselectedDotLeftPath.cubicTo(controlX1, controlY1, controlX2, controlY2, endX1, endY1); in getUnselectedPath()
434 controlX1 = endX1; in getUnselectedPath()
438 unselectedDotLeftPath.cubicTo(controlX1, controlY1, controlX2, controlY2, endX2, endY2); in getUnselectedPath()
456 controlX1 = nextCenterX - halfDotRadius; in getUnselectedPath()
460 … unselectedDotRightPath.cubicTo(controlX1, controlY1, controlX2, controlY2, endX1, endY1); in getUnselectedPath()
465 controlX1 = endX1; in getUnselectedPath()
469 … unselectedDotRightPath.cubicTo(controlX1, controlY1, controlX2, controlY2, endX2, endY2); in getUnselectedPath()
487 controlX1 = endX1 - (joiningFraction * dotRadius); in getUnselectedPath()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDotsPageIndicator.java114 float controlX1; field in DotsPageIndicator
425 controlX1 = centerX + halfDotRadius; in getUnselectedPath()
429 unselectedDotLeftPath.cubicTo(controlX1, controlY1, controlX2, controlY2, endX1, endY1); in getUnselectedPath()
434 controlX1 = endX1; in getUnselectedPath()
438 unselectedDotLeftPath.cubicTo(controlX1, controlY1, controlX2, controlY2, endX2, endY2); in getUnselectedPath()
456 controlX1 = nextCenterX - halfDotRadius; in getUnselectedPath()
460 … unselectedDotRightPath.cubicTo(controlX1, controlY1, controlX2, controlY2, endX1, endY1); in getUnselectedPath()
465 controlX1 = endX1; in getUnselectedPath()
469 … unselectedDotRightPath.cubicTo(controlX1, controlY1, controlX2, controlY2, endX2, endY2); in getUnselectedPath()
487 controlX1 = endX1 - (joiningFraction * dotRadius); in getUnselectedPath()
[all …]
/packages/apps/PhoneCommon/src/com/android/phone/common/compat/
DPathInterpolatorCompat.java26 public static Interpolator create(float controlX1, float controlY1, in create() argument
29 return new PathInterpolator(controlX1, controlY1, controlX2, controlY2); in create()
31 return new PathInterpolatorBase(controlX1, controlY1, controlX2, controlY2); in create()
66 public PathInterpolatorBase(float controlX1, float controlY1, in PathInterpolatorBase() argument
68 this(createCubic(controlX1, controlY1, controlX2, controlY2)); in PathInterpolatorBase()
112 private static Path createCubic(float controlX1, float controlY1, in createCubic() argument
116 path.cubicTo(controlX1, controlY1, controlX2, controlY2, 1.0f, 1.0f); in createCubic()