Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/notification/
DZenModeButtonPreferenceController.java40 private Button mZenButtonOn; field in ZenModeButtonPreferenceController
63 if (null == mZenButtonOn) { in updateState()
64 mZenButtonOn = ((LayoutPreference) preference) in updateState()
88 mZenButtonOn.setVisibility(View.GONE); in updateButtons()
94 mZenButtonOn.setVisibility(View.VISIBLE); in updateButtons()
102 mZenButtonOn.setOnClickListener(v -> { in updateZenButtonOnClickListener()
109 mZenButtonOn.setOnClickListener(v -> { in updateZenButtonOnClickListener()
116 mZenButtonOn.setOnClickListener(v -> { in updateZenButtonOnClickListener()
/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/tests/robotests/src/com/android/settings/notification/
DZenModeButtonPreferenceControllerTest.java66 private Button mZenButtonOn; field in ZenModeButtonPreferenceControllerTest
86 ReflectionHelpers.setField(mController, "mZenButtonOn", mZenButtonOn); in setup()
99 verify(mZenButtonOn).setVisibility(View.GONE); in updateState_TotalSilence()
109 verify(mZenButtonOn).setVisibility(View.GONE); in updateState_AlarmsOnly()
119 verify(mZenButtonOn).setVisibility(View.GONE); in updateState_Priority()
129 verify(mZenButtonOn).setVisibility(View.VISIBLE); in updateState_ZenOff()
138 verify(mZenButtonOn).setVisibility(View.VISIBLE); in updateState_otherUserChangedZen()
146 verify(mZenButtonOn).setVisibility(View.GONE); in updateState_otherUserChangedZen()