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.java56 @VisibleForTesting protected static final int COUNTDOWN_CONDITION_INDEX = 1; field in ZenDurationDialog
110 case COUNTDOWN_CONDITION_INDEX: in updateZenDuration()
165 checkedIndex = COUNTDOWN_CONDITION_INDEX; in setupRadioButtons()
170 bindTag(zenDuration, mZenRadioGroupContent.getChildAt(COUNTDOWN_CONDITION_INDEX), in setupRadioButtons()
171 COUNTDOWN_CONDITION_INDEX); in setupRadioButtons()
235 if (rowIndex == COUNTDOWN_CONDITION_INDEX) { in updateButtons()
282 case COUNTDOWN_CONDITION_INDEX: in updateUi()
DEnableZenModeDialog.java69 protected static final int COUNTDOWN_CONDITION_INDEX = 1; field in EnableZenModeDialog
244 bind(c, mZenRadioGroupContent.getChildAt(COUNTDOWN_CONDITION_INDEX), in bindConditions()
245 COUNTDOWN_CONDITION_INDEX); in bindConditions()
246 getConditionTagAt(COUNTDOWN_CONDITION_INDEX).rb.setChecked(true); in bindConditions()
322 if (!mAttached || getConditionTagAt(COUNTDOWN_CONDITION_INDEX).condition == null) { in bindGenericCountdown()
323 bind(countdown, mZenRadioGroupContent.getChildAt(COUNTDOWN_CONDITION_INDEX), in bindGenericCountdown()
324 COUNTDOWN_CONDITION_INDEX); in bindGenericCountdown()
364 if (rowId == COUNTDOWN_CONDITION_INDEX && time > 0) { in updateUi()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java91 private static final int COUNTDOWN_CONDITION_INDEX = 1; field in ZenModePanel
542 bind(c, mZenRadioGroupContent.getChildAt(COUNTDOWN_CONDITION_INDEX),
543 COUNTDOWN_CONDITION_INDEX);
544 getConditionTagAt(COUNTDOWN_CONDITION_INDEX).rb.setChecked(true);
557 if (!mAttached || getConditionTagAt(COUNTDOWN_CONDITION_INDEX).condition == null) {
558 bind(countdown, mZenRadioGroupContent.getChildAt(COUNTDOWN_CONDITION_INDEX),
559 COUNTDOWN_CONDITION_INDEX);