Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeButtonPreferenceController.java38 private Button mZenButtonOn; field in ZenModeButtonPreferenceController
62 if (null == mZenButtonOn) { in updateState()
63 mZenButtonOn = (Button) ((LayoutPreference) preference) in updateState()
87 mZenButtonOn.setVisibility(View.GONE); in updateButtons()
93 mZenButtonOn.setVisibility(View.VISIBLE); in updateButtons()
101 mZenButtonOn.setOnClickListener(v -> { in updateZenButtonOnClickListener()
108 mZenButtonOn.setOnClickListener(v -> { in updateZenButtonOnClickListener()
115 mZenButtonOn.setOnClickListener(v -> { in updateZenButtonOnClickListener()
/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.java68 private Button mZenButtonOn; field in ZenModeButtonPreferenceControllerTest
88 ReflectionHelpers.setField(mController, "mZenButtonOn", mZenButtonOn); in setup()
101 verify(mZenButtonOn).setVisibility(View.GONE); in updateState_TotalSilence()
111 verify(mZenButtonOn).setVisibility(View.GONE); in updateState_AlarmsOnly()
121 verify(mZenButtonOn).setVisibility(View.GONE); in updateState_Priority()
131 verify(mZenButtonOn).setVisibility(View.VISIBLE); in updateState_ZenOff()
140 verify(mZenButtonOn).setVisibility(View.VISIBLE); in updateState_otherUserChangedZen()
148 verify(mZenButtonOn).setVisibility(View.GONE); in updateState_otherUserChangedZen()