Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.kt362 val snoozeFraction: Float in onTouch() constant
365 snoozeFraction = in onTouch()
370 snoozeFraction = getFraction(alarmLeft.toFloat(), mSnoozeButton.getRight().toFloat(), x) in onTouch()
374 setAnimatedFractions(snoozeFraction, dismissFraction) in onTouch()
380 if (snoozeFraction == 1.0f) { in onTouch()
385 if (snoozeFraction > 0.0f || dismissFraction > 0.0f) { in onTouch()
536 private fun setAnimatedFractions(snoozeFraction: Float, dismissFraction: Float) { in setAnimatedFractions()
537 val alarmFraction = Math.max(snoozeFraction, dismissFraction) in setAnimatedFractions()
539 AnimatorUtils.setAnimatedFraction(mSnoozeAnimator, snoozeFraction) in setAnimatedFractions()