Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDotsPageIndicator.java58 private static final float INVALID_FRACTION = -1f; field in DotsPageIndicator
275 retreatingJoinX1 = INVALID_FRACTION; in resetState()
276 retreatingJoinX2 = INVALID_FRACTION; in resetState()
360 page == pageCount - 1 ? INVALID_FRACTION : joiningFractions[page], in drawUnselected()
369 if (retreatingJoinX1 != INVALID_FRACTION) { in drawUnselected()
403 if ((joiningFraction == 0f || joiningFraction == INVALID_FRACTION) in getUnselectedPath()
410 … if (joiningFraction > 0f && joiningFraction < 0.5f && retreatingJoinX1 == INVALID_FRACTION) { in getUnselectedPath()
475 … if (joiningFraction > 0.5f && joiningFraction < 1f && retreatingJoinX1 == INVALID_FRACTION) { in getUnselectedPath()
525 if (joiningFraction == 1 && retreatingJoinX1 == INVALID_FRACTION) { in getUnselectedPath()
838 retreatingJoinX1 = INVALID_FRACTION; in PendingRetreatAnimator()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java58 private static final float INVALID_FRACTION = -1f; field in DotsPageIndicator
275 retreatingJoinX1 = INVALID_FRACTION; in resetState()
276 retreatingJoinX2 = INVALID_FRACTION; in resetState()
360 page == pageCount - 1 ? INVALID_FRACTION : joiningFractions[page], in drawUnselected()
369 if (retreatingJoinX1 != INVALID_FRACTION) { in drawUnselected()
403 if ((joiningFraction == 0f || joiningFraction == INVALID_FRACTION) in getUnselectedPath()
410 … if (joiningFraction > 0f && joiningFraction < 0.5f && retreatingJoinX1 == INVALID_FRACTION) { in getUnselectedPath()
475 … if (joiningFraction > 0.5f && joiningFraction < 1f && retreatingJoinX1 == INVALID_FRACTION) { in getUnselectedPath()
525 if (joiningFraction == 1 && retreatingJoinX1 == INVALID_FRACTION) { in getUnselectedPath()
838 retreatingJoinX1 = INVALID_FRACTION; in PendingRetreatAnimator()
[all …]