Searched refs:mPositionAnimator (Results 1 – 1 of 1) sorted by relevance
171 private ObjectAnimator mPositionAnimator; field in Switch1139 mPositionAnimator = ObjectAnimator.ofFloat(this, THUMB_POS, targetPosition); in animateThumbToCheckedState()1140 mPositionAnimator.setDuration(THUMB_ANIMATION_DURATION); in animateThumbToCheckedState()1141 mPositionAnimator.setAutoCancel(true); in animateThumbToCheckedState()1142 mPositionAnimator.start(); in animateThumbToCheckedState()1147 if (mPositionAnimator != null) { in cancelPositionAnimator()1148 mPositionAnimator.cancel(); in cancelPositionAnimator()1505 if (mPositionAnimator != null && mPositionAnimator.isStarted()) { in jumpDrawablesToCurrentState()1506 mPositionAnimator.end(); in jumpDrawablesToCurrentState()1507 mPositionAnimator = null; in jumpDrawablesToCurrentState()