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.java160 assertEquals(120, tag.countdownZenDuration); // goes from 1 hour to 2 hours in testGetTimeFromBucket()
167 assertEquals(ZenDurationDialog.MAX_BUCKET_MINUTES, tag.countdownZenDuration); in testGetTimeFromBucket()
171 tag.countdownZenDuration = 60; // back to default in testGetTimeFromBucket()
174 assertEquals(45, tag.countdownZenDuration); // goes from 60 minutes to 45 minutes in testGetTimeFromBucket()
181 assertEquals(ZenDurationDialog.MIN_BUCKET_MINUTES, tag.countdownZenDuration); in testGetTimeFromBucket()
185 tag.countdownZenDuration = 50; in testGetTimeFromBucket()
188 assertEquals(45, tag.countdownZenDuration); in testGetTimeFromBucket()
191 tag.countdownZenDuration = 50; in testGetTimeFromBucket()
194 assertEquals(60, tag.countdownZenDuration); in testGetTimeFromBucket()
197 tag.countdownZenDuration = 75; in testGetTimeFromBucket()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenDurationDialog.java111 newZenDuration = tag.countdownZenDuration; in updateZenDuration()
187 tag.countdownZenDuration = MINUTE_BUCKETS[DEFAULT_BUCKET_INDEX]; in bindTag()
189 tag.countdownZenDuration = currZenDuration; in bindTag()
249 final long time = tag.countdownZenDuration; in updateButtons()
255 button2.setEnabled(tag.countdownZenDuration != MAX_BUCKET_MINUTES); in updateButtons()
280 tag.countdownZenDuration, ActivityManager.getCurrentUser(), false); in updateUi()
298 final long time = tag.countdownZenDuration; in onClickTimeButton()
317 tag.countdownZenDuration = newDndTimeDuration; in onClickTimeButton()
328 public int countdownZenDuration; // only important for countdown radio button field in ZenDurationDialog.ConditionTag