Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.java356 final int alarmRight = mAlarmButton.getRight() - mAlarmButton.getPaddingRight(); in onTouch() local
360 snoozeFraction = getFraction(alarmRight, mSnoozeButton.getLeft(), x); in onTouch()
364 dismissFraction = getFraction(alarmRight, mDismissButton.getLeft(), x); in onTouch()
416 final int alarmRight = mAlarmButton.getRight() - mAlarmButton.getPaddingRight(); in hintSnooze() local
417 final float translationX = Math.max(mSnoozeButton.getLeft() - alarmRight, 0) in hintSnooze()
425 final int alarmRight = mAlarmButton.getRight() - mAlarmButton.getPaddingRight(); in hintDismiss() local
426 final float translationX = Math.max(mDismissButton.getLeft() - alarmRight, 0) in hintDismiss()