Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
DZenDurationDialogTest.java162 assertEquals(120, tag.countdownZenDuration); // goes from 1 hour to 2 hours in testGetTimeFromBucket()
169 assertEquals(ZenDurationDialog.MAX_BUCKET_MINUTES, tag.countdownZenDuration); in testGetTimeFromBucket()
173 tag.countdownZenDuration = 60; // back to default in testGetTimeFromBucket()
176 assertEquals(45, tag.countdownZenDuration); // goes from 60 minutes to 45 minutes in testGetTimeFromBucket()
183 assertEquals(ZenDurationDialog.MIN_BUCKET_MINUTES, tag.countdownZenDuration); in testGetTimeFromBucket()
187 tag.countdownZenDuration = 50; in testGetTimeFromBucket()
190 assertEquals(45, tag.countdownZenDuration); in testGetTimeFromBucket()
193 tag.countdownZenDuration = 50; in testGetTimeFromBucket()
196 assertEquals(60, tag.countdownZenDuration); in testGetTimeFromBucket()
199 tag.countdownZenDuration = 75; in testGetTimeFromBucket()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenDurationDialog.java112 newZenDuration = tag.countdownZenDuration; in updateZenDuration()
188 tag.countdownZenDuration = MINUTE_BUCKETS[DEFAULT_BUCKET_INDEX]; in bindTag()
190 tag.countdownZenDuration = currZenDuration; in bindTag()
237 final long time = tag.countdownZenDuration; in updateButtons()
258 plusButton.setEnabled(tag.countdownZenDuration != MAX_BUCKET_MINUTES); in updateButtons()
287 tag.countdownZenDuration, ActivityManager.getCurrentUser(), false); in updateUi()
305 final long time = tag.countdownZenDuration; in onClickTimeButton()
324 tag.countdownZenDuration = newDndTimeDuration; in onClickTimeButton()
335 public int countdownZenDuration; // only important for countdown radio button field in ZenDurationDialog.ConditionTag