Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.java137 private ImageView mSnoozeButton; field in AlarmActivity
202 mSnoozeButton = (ImageView) mContentView.findViewById(R.id.snooze); in onCreate()
217 mSnoozeButton.setOnClickListener(this); in onCreate()
221 mSnoozeAnimator = getButtonAnimator(mSnoozeButton, Color.WHITE); in onCreate()
327 if (view == mSnoozeButton) { in onClick()
335 if (view == mSnoozeButton) { in onClick()
360 snoozeFraction = getFraction(alarmRight, mSnoozeButton.getLeft(), x); in onTouch()
363 snoozeFraction = getFraction(alarmLeft, mSnoozeButton.getRight(), x); in onTouch()
417 final float translationX = Math.max(mSnoozeButton.getLeft() - alarmRight, 0) in hintSnooze()
418 + Math.min(mSnoozeButton.getRight() - alarmLeft, 0); in hintSnooze()
[all …]
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
DNotificationListenerActivity.java48 private Button mSnoozeButton; field in NotificationListenerActivity
72 mSnoozeButton = (Button) findViewById(R.id.snooze); in onCreate()
113 mSnoozeButton.setEnabled(true); in checkEnabled()
115 mSnoozeButton.setText(R.string.snooze); in checkEnabled()
117 mSnoozeButton.setText(R.string.unsnooze); in checkEnabled()
121 mSnoozeButton.setEnabled(false); in checkEnabled()