Home
last modified time | relevance | path

Searched refs:mZenButtonOn (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeButtonPreferenceController.java48 private Button mZenButtonOn; field in ZenModeButtonPreferenceController
71 if (null == mZenButtonOn) { in updateState()
72 mZenButtonOn = ((LayoutPreference) preference) in updateState()
96 mZenButtonOn.setVisibility(View.GONE); in updatePreference()
106 mZenButtonOn.setVisibility(View.VISIBLE); in updatePreference()
109 mZenButtonOn.sendAccessibilityEvent(TYPE_VIEW_FOCUSED); in updatePreference()
115 mZenButtonOn.setOnClickListener(v -> { in updateZenButtonOnClickListener()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeButtonPreferenceControllerTest.java69 private Button mZenButtonOn; field in ZenModeButtonPreferenceControllerTest
89 ReflectionHelpers.setField(mController, "mZenButtonOn", mZenButtonOn); in setup()
102 verify(mZenButtonOn).setVisibility(View.GONE); in updateState_TotalSilence()
111 verify(mZenButtonOn).setVisibility(View.GONE); in updateState_AlarmsOnly()
120 verify(mZenButtonOn).setVisibility(View.GONE); in updateState_Priority()
129 verify(mZenButtonOn).setVisibility(View.VISIBLE); in updateState_ZenOff()
137 verify(mZenButtonOn).setVisibility(View.VISIBLE); in updateState_otherUserChangedZen()
145 verify(mZenButtonOn).setVisibility(View.GONE); in updateState_otherUserChangedZen()