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.java388 final float snoozeFraction, dismissFraction; in onTouch() local
391 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() argument
552 final float alarmFraction = Math.max(snoozeFraction, dismissFraction); in setAnimatedFractions()
555 AnimatorUtils.setAnimatedFraction(mDismissAnimator, dismissFraction); in setAnimatedFractions()