Searched refs:COUNTDOWN_CONDITION_INDEX (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/ |
D | ZenDurationDialogTest.java | 70 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testAlwaysPrompt() 84 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testForever() 97 assertTrue(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testSpecificDuration() 137 mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb.setChecked( in testChooseTimeSetting() 156 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket() 158 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket() 161 mController.onClickTimeButton(view, tag, true, ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket() 167 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket() 175 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket() 181 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket() [all …]
|
D | EnableZenModeDialogTest.java | 105 EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX), in setup() 106 EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX); in setup() 119 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testForeverChecked() 130 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testNoneChecked() 144 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testAlarmChecked() 158 assertTrue(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testCountdownChecked() 204 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testAccessibility()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | ZenDurationDialog.java | 56 @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() 238 if (rowIndex == COUNTDOWN_CONDITION_INDEX) { in updateButtons() 285 case COUNTDOWN_CONDITION_INDEX: in updateUi()
|
D | EnableZenModeDialog.java | 69 protected static final int COUNTDOWN_CONDITION_INDEX = 1; field in EnableZenModeDialog 270 bind(c, mZenRadioGroupContent.getChildAt(COUNTDOWN_CONDITION_INDEX), in bindConditions() 271 COUNTDOWN_CONDITION_INDEX); in bindConditions() 272 getConditionTagAt(COUNTDOWN_CONDITION_INDEX).rb.setChecked(true); in bindConditions() 348 if (!mAttached || getConditionTagAt(COUNTDOWN_CONDITION_INDEX).condition == null) { in bindGenericCountdown() 349 bind(countdown, mZenRadioGroupContent.getChildAt(COUNTDOWN_CONDITION_INDEX), in bindGenericCountdown() 350 COUNTDOWN_CONDITION_INDEX); in bindGenericCountdown() 390 if (rowId == COUNTDOWN_CONDITION_INDEX && time > 0) { in updateUi()
|