Searched refs:dismissFraction (Results 1 – 1 of 1) sorted by relevance
388 final float snoozeFraction, dismissFraction; in onTouch() local391 dismissFraction = getFraction(alarmLeft, mDismissButton.getRight(), x); in onTouch()394 dismissFraction = getFraction(alarmRight, mDismissButton.getLeft(), x); in onTouch()396 setAnimatedFractions(snoozeFraction, dismissFraction); in onTouch()404 } else if (dismissFraction == 1.0f) { in onTouch()407 if (snoozeFraction > 0.0f || dismissFraction > 0.0f) { in onTouch()551 private void setAnimatedFractions(float snoozeFraction, float dismissFraction) { in setAnimatedFractions() argument552 final float alarmFraction = Math.max(snoozeFraction, dismissFraction); in setAnimatedFractions()555 AnimatorUtils.setAnimatedFraction(mDismissAnimator, dismissFraction); in setAnimatedFractions()