Searched refs:mTurnOnButton (Results 1 – 4 of 4) sorted by relevance
38 private Button mTurnOnButton; field in NightDisplayActivationPreferenceController71 mTurnOnButton = preference.findViewById(R.id.night_display_turn_on_button); in displayPreference()72 mTurnOnButton.setOnClickListener(mListener); in displayPreference()100 if (mTurnOnButton == null || mTurnOffButton == null) { in updateStateInternal()126 mTurnOnButton.setVisibility(View.GONE); in updateStateInternal()130 mTurnOnButton.setVisibility(View.VISIBLE); in updateStateInternal()132 mTurnOnButton.setText(buttonText); in updateStateInternal()
36 private Button mTurnOnButton; field in DarkModeActivationPreferenceController50 mTurnOnButton.setVisibility(View.GONE); in updateState()74 mTurnOnButton.setVisibility(View.GONE); in updateNightMode()78 mTurnOnButton.setVisibility(View.VISIBLE); in updateNightMode()80 mTurnOnButton.setText(buttonText); in updateNightMode()115 mTurnOnButton = preference.findViewById(R.id.dark_ui_turn_on_button); in displayPreference()116 mTurnOnButton.setOnClickListener(mListener); in displayPreference()
60 private Button mTurnOnButton; field in DarkModeActivationPreferenceControllerTest76 eq(R.id.dark_ui_turn_on_button))).thenReturn(mTurnOnButton); in setUp()109 verify(mTurnOnButton).setVisibility(eq(View.GONE)); in nightMode_toggleButton_offManual()124 verify(mTurnOnButton).setVisibility(eq(View.VISIBLE)); in nightMode_toggleButton_onAutoWhenModeIsYes()125 verify(mTurnOnButton).setText(eq(mContext.getString( in nightMode_toggleButton_onAutoWhenModeIsYes()137 verify(mTurnOnButton).setVisibility(eq(View.VISIBLE)); in nightMode_toggleButton_onAutoWhenModeIsAuto()138 verify(mTurnOnButton).setText(eq(mContext.getString( in nightMode_toggleButton_onAutoWhenModeIsAuto()165 verify(mTurnOnButton).setVisibility(eq(View.GONE)); in buttonVisisbility_hideButton_offWhenInPowerSaveMode()