Home
last modified time | relevance | path

Searched refs:mZenButtonOff (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DZenModeButtonPreferenceControllerTest.java68 private Button mZenButtonOff; field in ZenModeButtonPreferenceControllerTest
87 ReflectionHelpers.setField(mController, "mZenButtonOff", mZenButtonOff); in setup()
100 verify(mZenButtonOff).setVisibility(View.VISIBLE); in updateState_TotalSilence()
110 verify(mZenButtonOff).setVisibility(View.VISIBLE); in updateState_AlarmsOnly()
120 verify(mZenButtonOff).setVisibility(View.VISIBLE); in updateState_Priority()
130 verify(mZenButtonOff).setVisibility(View.GONE); in updateState_ZenOff()
139 verify(mZenButtonOff).setVisibility(View.GONE); in updateState_otherUserChangedZen()
147 verify(mZenButtonOff).setVisibility(View.VISIBLE); in updateState_otherUserChangedZen()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeButtonPreferenceController.java41 private Button mZenButtonOff; field in ZenModeButtonPreferenceController
69 if (null == mZenButtonOff) { in updateState()
70 mZenButtonOff = ((LayoutPreference) preference) in updateState()
72 mZenButtonOff.setOnClickListener(v -> { in updateState()
87 mZenButtonOff.setVisibility(View.VISIBLE); in updateButtons()
92 mZenButtonOff.setVisibility(View.GONE); in updateButtons()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeButtonPreferenceController.java39 private Button mZenButtonOff; field in ZenModeButtonPreferenceController
68 if (null == mZenButtonOff) { in updateState()
69 mZenButtonOff = (Button) ((LayoutPreference) preference) in updateState()
71 mZenButtonOff.setOnClickListener(v -> { in updateState()
86 mZenButtonOff.setVisibility(View.VISIBLE); in updateButtons()
91 mZenButtonOff.setVisibility(View.GONE); in updateButtons()