Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
DZenDurationDialogTest.java66 assertFalse(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testAlwaysPrompt()
68 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testAlwaysPrompt()
70 assertTrue(mController.getConditionTagAt( in testAlwaysPrompt()
80 assertTrue(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testForever()
82 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testForever()
84 assertFalse(mController.getConditionTagAt( in testForever()
93 assertFalse(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testSpecificDuration()
95 assertTrue(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testSpecificDuration()
97 assertFalse(mController.getConditionTagAt( in testSpecificDuration()
107 mController.getConditionTagAt(ZenDurationDialog.ALWAYS_ASK_CONDITION_INDEX).rb.setChecked( in testChooseAlwaysPromptSetting()
[all …]
DEnableZenModeDialogTest.java113 assertTrue(mController.getConditionTagAt(EnableZenModeDialog.FOREVER_CONDITION_INDEX).rb in testForeverChecked()
115 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testForeverChecked()
117 assertFalse(mController.getConditionTagAt( in testForeverChecked()
124 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.FOREVER_CONDITION_INDEX).rb in testNoneChecked()
126 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testNoneChecked()
128 assertFalse(mController.getConditionTagAt( in testNoneChecked()
138 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.FOREVER_CONDITION_INDEX).rb in testAlarmChecked()
140 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testAlarmChecked()
142 assertTrue(mController.getConditionTagAt( in testAlarmChecked()
152 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.FOREVER_CONDITION_INDEX).rb in testCountdownChecked()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java118 ConditionTag tag = getConditionTagAt(checkedId); in createDialog()
220 protected ConditionTag getConditionTagAt(int index) { in getConditionTagAt() method in EnableZenModeDialog
233 getConditionTagAt(FOREVER_CONDITION_INDEX).rb.setChecked(true); in bindConditions()
240 getConditionTagAt(COUNTDOWN_ALARM_CONDITION_INDEX).rb.setChecked(true); in bindConditions()
245 getConditionTagAt(COUNTDOWN_CONDITION_INDEX).rb.setChecked(true); in bindConditions()
321 if (!mAttached || getConditionTagAt(COUNTDOWN_CONDITION_INDEX).condition == null) { in bindGenericCountdown()
DZenDurationDialog.java110 ConditionTag tag = getConditionTagAt(checkedRadioButtonId); in updateZenDuration()
173 getConditionTagAt(checkedIndex).rb.setChecked(true); in setupRadioButtons()
205 protected ConditionTag getConditionTagAt(int index) { in getConditionTagAt() method in ZenDurationDialog
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java528 getConditionTagAt(FOREVER_CONDITION_INDEX).rb.setChecked(true);
535 getConditionTagAt(COUNTDOWN_ALARM_CONDITION_INDEX).rb.setChecked(true);
540 getConditionTagAt(COUNTDOWN_CONDITION_INDEX).rb.setChecked(true);
553 if (!mAttached || getConditionTagAt(COUNTDOWN_CONDITION_INDEX).condition == null) {
610 ConditionTag getConditionTagAt(int index) { in getConditionTagAt() method in ZenModePanel