Searched refs:mTurnOffButton (Results 1 – 4 of 4) sorted by relevance
68 private Button mTurnOffButton; field in DarkModeActivationPreferenceControllerTest92 eq(R.id.dark_ui_turn_off_button))).thenReturn(mTurnOffButton); in setUp()131 verify(mTurnOffButton).setVisibility(eq(View.VISIBLE)); in nightMode_toggleButton_offManual()132 verify(mTurnOffButton).setText(eq(mContext.getString( in nightMode_toggleButton_offManual()144 verify(mTurnOffButton).setVisibility(eq(View.VISIBLE)); in nightMode_toggleButton_offCustom()145 verify(mTurnOffButton).setText(eq(mContext.getString( in nightMode_toggleButton_offCustom()157 verify(mTurnOffButton).setVisibility(eq(View.VISIBLE)); in nightMode_toggleButton_onCustom()158 verify(mTurnOffButton).setText(eq(mContext.getString( in nightMode_toggleButton_onCustom()170 verify(mTurnOffButton).setVisibility(eq(View.GONE)); in nightMode_toggleButton_onAutoWhenModeIsYes()183 verify(mTurnOffButton).setVisibility(eq(View.GONE)); in nightMode_toggleButton_onAutoWhenModeIsAuto()[all …]
44 private Button mTurnOffButton; field in NightDisplayActivationPreferenceController88 mTurnOffButton = mPreference.findViewById(R.id.night_display_turn_off_button); in displayPreference()89 mTurnOffButton.setOnClickListener(mListener); in displayPreference()115 if (mTurnOnButton == null || mTurnOffButton == null) { in updateStateInternal()142 mTurnOffButton.setVisibility(View.VISIBLE); in updateStateInternal()143 mTurnOffButton.setText(buttonText); in updateStateInternal()145 mTurnOffButton.sendAccessibilityEvent(TYPE_VIEW_FOCUSED); in updateStateInternal()149 mTurnOffButton.setVisibility(View.GONE); in updateStateInternal()
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()
44 private Button mTurnOffButton; field in DarkModeActivationPreferenceController69 mTurnOffButton.setVisibility(View.GONE); in updateState()101 mTurnOffButton.setVisibility(View.VISIBLE); in updateNightMode()102 mTurnOffButton.setText(buttonText); in updateNightMode()105 mTurnOffButton.setVisibility(View.GONE); in updateNightMode()153 mTurnOffButton = mPreference.findViewById(R.id.dark_ui_turn_off_button); in displayPreference()154 mTurnOffButton.setOnClickListener(mListener); in displayPreference()