Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/display/
DNightDisplayActivationPreferenceController.java37 private Button mTurnOffButton; field in NightDisplayActivationPreferenceController
73 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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DNightDisplayActivationPreferenceController.java37 private Button mTurnOffButton; field in NightDisplayActivationPreferenceController
73 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()