Home
last modified time | relevance | path

Searched refs:joiningFraction (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDotsPageIndicator.java399 float joiningFraction, in getUnselectedPath() argument
403 if ((joiningFraction == 0f || joiningFraction == INVALID_FRACTION) in getUnselectedPath()
410 … if (joiningFraction > 0f && joiningFraction < 0.5f && retreatingJoinX1 == INVALID_FRACTION) { in getUnselectedPath()
423 endX1 = centerX + dotRadius + (joiningFraction * gap); in getUnselectedPath()
454 endX1 = nextCenterX - dotRadius - (joiningFraction * gap); in getUnselectedPath()
475 … if (joiningFraction > 0.5f && joiningFraction < 1f && retreatingJoinX1 == INVALID_FRACTION) { in getUnselectedPath()
486 endY1 = dotCenterY - (joiningFraction * dotRadius); in getUnselectedPath()
487 controlX1 = endX1 - (joiningFraction * dotRadius); in getUnselectedPath()
489 controlX2 = endX1 - ((1 - joiningFraction) * dotRadius); in getUnselectedPath()
496 controlX1 = endX1 + ((1 - joiningFraction) * dotRadius); in getUnselectedPath()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java399 float joiningFraction, in getUnselectedPath() argument
403 if ((joiningFraction == 0f || joiningFraction == INVALID_FRACTION) in getUnselectedPath()
410 … if (joiningFraction > 0f && joiningFraction < 0.5f && retreatingJoinX1 == INVALID_FRACTION) { in getUnselectedPath()
423 endX1 = centerX + dotRadius + (joiningFraction * gap); in getUnselectedPath()
454 endX1 = nextCenterX - dotRadius - (joiningFraction * gap); in getUnselectedPath()
475 … if (joiningFraction > 0.5f && joiningFraction < 1f && retreatingJoinX1 == INVALID_FRACTION) { in getUnselectedPath()
486 endY1 = dotCenterY - (joiningFraction * dotRadius); in getUnselectedPath()
487 controlX1 = endX1 - (joiningFraction * dotRadius); in getUnselectedPath()
489 controlX2 = endX1 - ((1 - joiningFraction) * dotRadius); in getUnselectedPath()
496 controlX1 = endX1 + ((1 - joiningFraction) * dotRadius); in getUnselectedPath()
[all …]