Searched refs:mTurnOffButton (Results 1 – 4 of 4) sorted by relevance
37 private Button mTurnOffButton; field in NightDisplayActivationPreferenceController73 mTurnOffButton = preference.findViewById(R.id.night_display_turn_off_button); in displayPreference()74 mTurnOffButton.setOnClickListener(mListener); in displayPreference()100 if (mTurnOnButton == null || mTurnOffButton == null) { in updateStateInternal()127 mTurnOffButton.setVisibility(View.VISIBLE); in updateStateInternal()128 mTurnOffButton.setText(buttonText); in updateStateInternal()131 mTurnOffButton.setVisibility(View.GONE); in updateStateInternal()
35 private Button mTurnOffButton; field in DarkModeActivationPreferenceController51 mTurnOffButton.setVisibility(View.GONE); in updateState()75 mTurnOffButton.setVisibility(View.VISIBLE); in updateNightMode()76 mTurnOffButton.setText(buttonText); in updateNightMode()79 mTurnOffButton.setVisibility(View.GONE); in updateNightMode()117 mTurnOffButton = preference.findViewById(R.id.dark_ui_turn_off_button); in displayPreference()118 mTurnOffButton.setOnClickListener(mListener); in displayPreference()
58 private Button mTurnOffButton; field in DarkModeActivationPreferenceControllerTest78 eq(R.id.dark_ui_turn_off_button))).thenReturn(mTurnOffButton); in setUp()110 verify(mTurnOffButton).setVisibility(eq(View.VISIBLE)); in nightMode_toggleButton_offManual()111 verify(mTurnOffButton).setText(eq(mContext.getString( in nightMode_toggleButton_offManual()123 verify(mTurnOffButton).setVisibility(eq(View.GONE)); in nightMode_toggleButton_onAutoWhenModeIsYes()136 verify(mTurnOffButton).setVisibility(eq(View.GONE)); in nightMode_toggleButton_onAutoWhenModeIsAuto()164 verify(mTurnOffButton).setVisibility(eq(View.GONE)); in buttonVisisbility_hideButton_offWhenInPowerSaveMode()