Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.java358 final float snoozeFraction, dismissFraction; in onTouch() local
361 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() argument
515 final float alarmFraction = Math.max(snoozeFraction, dismissFraction); in setAnimatedFractions()
518 AnimatorUtils.setAnimatedFraction(mDismissAnimator, dismissFraction); in setAnimatedFractions()