Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
DZenDurationDialogTest.java68 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testAlwaysPrompt()
82 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testForever()
95 assertTrue(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testSpecificDuration()
135 mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb.setChecked( in testChooseTimeSetting()
154 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket()
156 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket()
159 mController.onClickTimeButton(view, tag, true, ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket()
165 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket()
173 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket()
179 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket()
[all …]
DEnableZenModeDialogTest.java101 EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX), in setup()
102 EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX); in setup()
115 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testForeverChecked()
126 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testNoneChecked()
140 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testAlarmChecked()
154 assertTrue(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testCountdownChecked()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenDurationDialog.java55 @VisibleForTesting protected static final int COUNTDOWN_CONDITION_INDEX = 1; field in ZenDurationDialog
109 case COUNTDOWN_CONDITION_INDEX: in updateZenDuration()
164 checkedIndex = COUNTDOWN_CONDITION_INDEX; in setupRadioButtons()
169 bindTag(zenDuration, mZenRadioGroupContent.getChildAt(COUNTDOWN_CONDITION_INDEX), in setupRadioButtons()
170 COUNTDOWN_CONDITION_INDEX); in setupRadioButtons()
250 if (rowIndex == COUNTDOWN_CONDITION_INDEX) { in updateButtons()
278 case COUNTDOWN_CONDITION_INDEX: in updateUi()
DEnableZenModeDialog.java68 protected static final int COUNTDOWN_CONDITION_INDEX = 1; field in EnableZenModeDialog
243 bind(c, mZenRadioGroupContent.getChildAt(COUNTDOWN_CONDITION_INDEX), in bindConditions()
244 COUNTDOWN_CONDITION_INDEX); in bindConditions()
245 getConditionTagAt(COUNTDOWN_CONDITION_INDEX).rb.setChecked(true); in bindConditions()
321 if (!mAttached || getConditionTagAt(COUNTDOWN_CONDITION_INDEX).condition == null) { in bindGenericCountdown()
322 bind(countdown, mZenRadioGroupContent.getChildAt(COUNTDOWN_CONDITION_INDEX), in bindGenericCountdown()
323 COUNTDOWN_CONDITION_INDEX); in bindGenericCountdown()
380 if (rowId == COUNTDOWN_CONDITION_INDEX && time > 0) { in updateUi()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java88 private static final int COUNTDOWN_CONDITION_INDEX = 1; field in ZenModePanel
538 bind(c, mZenRadioGroupContent.getChildAt(COUNTDOWN_CONDITION_INDEX),
539 COUNTDOWN_CONDITION_INDEX);
540 getConditionTagAt(COUNTDOWN_CONDITION_INDEX).rb.setChecked(true);
553 if (!mAttached || getConditionTagAt(COUNTDOWN_CONDITION_INDEX).condition == null) {
554 bind(countdown, mZenRadioGroupContent.getChildAt(COUNTDOWN_CONDITION_INDEX),
555 COUNTDOWN_CONDITION_INDEX);