Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
H A DZenDurationDialogTest.java70 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testAlwaysPrompt()
156 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket()
158 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()
189 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket()
195 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket()
201 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket()
207 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testGetTimeFromBucket()
[all …]
H A DEnableZenModeDialogTest.java105 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()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
H A 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()
238 if (rowIndex == COUNTDOWN_CONDITION_INDEX) { in updateButtons()
285 case COUNTDOWN_CONDITION_INDEX: in updateUi()
H A DEnableZenModeDialog.java67 protected static final int COUNTDOWN_CONDITION_INDEX = 1; field in EnableZenModeDialog
261 bind(c, mZenRadioGroupContent.getChildAt(COUNTDOWN_CONDITION_INDEX), in bindConditions()
262 COUNTDOWN_CONDITION_INDEX); in bindConditions()
263 getConditionTagAt(COUNTDOWN_CONDITION_INDEX).rb.setChecked(true); in bindConditions()
339 if (!mAttached || getConditionTagAt(COUNTDOWN_CONDITION_INDEX).condition == null) { in bindGenericCountdown()
340 bind(countdown, mZenRadioGroupContent.getChildAt(COUNTDOWN_CONDITION_INDEX), in bindGenericCountdown()
341 COUNTDOWN_CONDITION_INDEX); in bindGenericCountdown()
381 if (rowId == COUNTDOWN_CONDITION_INDEX && time > 0) { in updateUi()