Searched refs:dismissFraction (Results 1 – 1 of 1) sorted by relevance
358 final float snoozeFraction, dismissFraction; in onTouch() local361 dismissFraction = getFraction(alarmLeft, mDismissButton.getRight(), x); in onTouch()364 dismissFraction = getFraction(alarmRight, mDismissButton.getLeft(), x); in onTouch()366 setAnimatedFractions(snoozeFraction, dismissFraction); in onTouch()380 } else if (dismissFraction == 1.0f) { in onTouch()383 if (snoozeFraction > 0.0f || dismissFraction > 0.0f) { in onTouch()514 private void setAnimatedFractions(float snoozeFraction, float dismissFraction) { in setAnimatedFractions() argument515 final float alarmFraction = Math.max(snoozeFraction, dismissFraction); in setAnimatedFractions()518 AnimatorUtils.setAnimatedFraction(mDismissAnimator, dismissFraction); in setAnimatedFractions()