Home
last modified time | relevance | path

Searched refs:buttonText (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DNightDisplayActivationPreferenceController.java107 String buttonText; in updateStateInternal() local
109 buttonText = mContext.getString(isActivated in updateStateInternal()
116 buttonText = mContext.getString(isActivated in updateStateInternal()
120 buttonText = mContext.getString(isActivated in updateStateInternal()
128 mTurnOffButton.setText(buttonText); in updateStateInternal()
132 mTurnOnButton.setText(buttonText); in updateStateInternal()
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplayActivationPreferenceController.java122 String buttonText; in updateStateInternal() local
124 buttonText = mContext.getString(isActivated in updateStateInternal()
131 buttonText = mContext.getString(isActivated in updateStateInternal()
135 buttonText = mContext.getString(isActivated in updateStateInternal()
143 mTurnOffButton.setText(buttonText); in updateStateInternal()
150 mTurnOnButton.setText(buttonText); in updateStateInternal()
/packages/apps/Settings/src/com/android/settings/display/darkmode/
DDarkModeActivationPreferenceController.java80 String buttonText; in updateNightMode() local
83 buttonText = mContext.getString(active in updateNightMode()
91 buttonText = mContext.getString(active in updateNightMode()
95 buttonText = mContext.getString(active in updateNightMode()
102 mTurnOffButton.setText(buttonText); in updateNightMode()
106 mTurnOnButton.setText(buttonText); in updateNightMode()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsActivity.java312 String buttonText = intent.getStringExtra(EXTRA_PREFS_SET_NEXT_TEXT); in onCreate() local
313 if (TextUtils.isEmpty(buttonText)) { in onCreate()
316 mNextButton.setText(buttonText); in onCreate()
320 String buttonText = intent.getStringExtra(EXTRA_PREFS_SET_BACK_TEXT); in onCreate() local
321 if (TextUtils.isEmpty(buttonText)) { in onCreate()
324 backButton.setText(buttonText); in onCreate()
/packages/apps/Settings/src/com/android/settings/
DSettingsActivity.java323 String buttonText = intent.getStringExtra(EXTRA_PREFS_SET_NEXT_TEXT); in onCreate() local
324 if (TextUtils.isEmpty(buttonText)) { in onCreate()
327 mNextButton.setText(buttonText); in onCreate()
331 String buttonText = intent.getStringExtra(EXTRA_PREFS_SET_BACK_TEXT); in onCreate() local
332 if (TextUtils.isEmpty(buttonText)) { in onCreate()
335 backButton.setText(buttonText); in onCreate()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DMessage.java218 CharSequence buttonText = null; in updateToQuietModeErrorMessage() local
220 buttonText = mEnv.getContext().getResources().getText(R.string.quiet_mode_button); in updateToQuietModeErrorMessage()
227 buttonText, in updateToQuietModeErrorMessage() local
/packages/services/Telephony/src/com/android/phone/
DEmergencyActionGroup.java177 CharSequence buttonText = ((Button) v).getText(); in revealTheButton() local
178 mSelectedLabel.setText(buttonText); in revealTheButton()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DChooseLockPassword.java296 this.buttonText = nextButtonText; in Stage()
317 public final int buttonText; field in ChooseLockPassword.ChooseLockPasswordFragment.Stage
780 setNextText(mUiStage.buttonText); in updateUi()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockPassword.java311 this.buttonText = nextButtonText; in Stage()
332 public final int buttonText; field in ChooseLockPassword.ChooseLockPasswordFragment.Stage
825 setNextText(mUiStage.buttonText); in updateUi()
/packages/apps/Dialer/java/com/android/incallui/
DStatusBarNotifier.java890 Optional<Integer> buttonText = SpeakEasyComponent.get(context).speakEasyTextResource(); in addSpeakeasyAnswerAction() local
891 if (!buttonText.isPresent()) { in addSpeakeasyAnswerAction()
899 Spannable spannable = new SpannableString(context.getText(buttonText.get())); in addSpeakeasyAnswerAction()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java762 private void updateExpandCollapseButton(CharSequence buttonText, long duration) { in updateExpandCollapseButton() argument
774 mExpandCollapseTextView.setText(buttonText); in updateExpandCollapseButton()