Searched refs:mTurnOnButton (Results 1 – 4 of 4) sorted by relevance
45 private Button mTurnOnButton; field in NightDisplayActivationPreferenceController86 mTurnOnButton = mPreference.findViewById(R.id.night_display_turn_on_button); in displayPreference()87 mTurnOnButton.setOnClickListener(mListener); in displayPreference()115 if (mTurnOnButton == null || mTurnOffButton == null) { in updateStateInternal()141 mTurnOnButton.setVisibility(View.GONE); in updateStateInternal()148 mTurnOnButton.setVisibility(View.VISIBLE); in updateStateInternal()150 mTurnOnButton.setText(buttonText); in updateStateInternal()152 mTurnOnButton.sendAccessibilityEvent(TYPE_VIEW_FOCUSED); in updateStateInternal()
70 private Button mTurnOnButton; field in DarkModeActivationPreferenceControllerTest90 eq(R.id.dark_ui_turn_on_button))).thenReturn(mTurnOnButton); in setUp()130 verify(mTurnOnButton).setVisibility(eq(View.GONE)); in nightMode_toggleButton_offManual()143 verify(mTurnOnButton).setVisibility(eq(View.GONE)); in nightMode_toggleButton_offCustom()156 verify(mTurnOnButton).setVisibility(eq(View.GONE)); in nightMode_toggleButton_onCustom()171 verify(mTurnOnButton).setVisibility(eq(View.VISIBLE)); in nightMode_toggleButton_onAutoWhenModeIsYes()172 verify(mTurnOnButton).setText(eq(mContext.getString( in nightMode_toggleButton_onAutoWhenModeIsYes()184 verify(mTurnOnButton).setVisibility(eq(View.VISIBLE)); in nightMode_toggleButton_onAutoWhenModeIsAuto()185 verify(mTurnOnButton).setText(eq(mContext.getString( in nightMode_toggleButton_onAutoWhenModeIsAuto()212 verify(mTurnOnButton).setVisibility(eq(View.GONE)); in buttonVisisbility_hideButton_offWhenInPowerSaveMode()
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()
45 private Button mTurnOnButton; field in DarkModeActivationPreferenceController68 mTurnOnButton.setVisibility(View.GONE); in updateState()100 mTurnOnButton.setVisibility(View.GONE); in updateNightMode()104 mTurnOnButton.setVisibility(View.VISIBLE); in updateNightMode()106 mTurnOnButton.setText(buttonText); in updateNightMode()151 mTurnOnButton = mPreference.findViewById(R.id.dark_ui_turn_on_button); in displayPreference()152 mTurnOnButton.setOnClickListener(mListener); in displayPreference()