Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/src/com/android/settings/
H A DSettingsActivity.java343 String buttonText = intent.getStringExtra(EXTRA_PREFS_SET_NEXT_TEXT); in onCreate() local
344 if (TextUtils.isEmpty(buttonText)) { in onCreate()
347 mNextButton.setText(buttonText); in onCreate()
351 String buttonText = intent.getStringExtra(EXTRA_PREFS_SET_BACK_TEXT); in onCreate() local
352 if (TextUtils.isEmpty(buttonText)) { in onCreate()
355 backButton.setText(buttonText); in onCreate()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
H A 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
/aosp12/frameworks/base/core/java/android/content/pm/
H A DSuspendDialogInfo.java228 final String buttonText = XmlUtils.readStringAttribute(in, XML_ATTR_BUTTON_TEXT); in restoreFromXml() local
245 } else if (buttonText != null) { in restoreFromXml()
246 dialogInfoBuilder.setNeutralButtonText(buttonText); in restoreFromXml()
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DSuspendedAppActivity.java191 final String buttonText = mSuppliedDialogInfo.getNeutralButtonText(); in resolveNeutralButtonText() local
198 } else if (buttonText != null) { in resolveNeutralButtonText()
199 return buttonText; in resolveNeutralButtonText()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DSuspendPackagesTest.java480 final String buttonText = mContext.getResources().getString(Resources.getSystem() in testInterceptorActivity() local
483 By.clickable(true).text(buttonText)); in testInterceptorActivity()
484 assertNotNull(buttonText + " button not shown", moreDetailsButton); in testInterceptorActivity()
487 assertEquals(buttonText + " activity start not reported", in testInterceptorActivity()
491 assertEquals("Wrong package name received by " + buttonText + " activity", in testInterceptorActivity()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DFloatingToolbar.java1767 final TextView buttonText = menuItemButton.findViewById( in updateMenuItemButton() local
1769 buttonText.setEllipsize(null); in updateMenuItemButton()
1771 buttonText.setVisibility(View.GONE); in updateMenuItemButton()
1773 buttonText.setVisibility(View.VISIBLE); in updateMenuItemButton()
1774 buttonText.setText(menuItem.getTitle()); in updateMenuItemButton()
1780 if (buttonText != null) { in updateMenuItemButton()
1781 buttonText.setPaddingRelative(0, 0, 0, 0); in updateMenuItemButton()
1786 if (buttonText != null) { in updateMenuItemButton()
1787 buttonText.setPaddingRelative(iconTextSpacing, 0, 0, 0); in updateMenuItemButton()
/aosp12/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java681 String buttonText = intent.getStringExtra(EXTRA_PREFS_SET_NEXT_TEXT); in onCreate() local
682 if (TextUtils.isEmpty(buttonText)) { in onCreate()
686 mNextButton.setText(buttonText); in onCreate()
690 String buttonText = intent.getStringExtra(EXTRA_PREFS_SET_BACK_TEXT); in onCreate() local
691 if (TextUtils.isEmpty(buttonText)) { in onCreate()
695 backButton.setText(buttonText); in onCreate()
/aosp12/packages/services/Telephony/src/com/android/phone/
H A DEmergencyActionGroup.java177 CharSequence buttonText = ((Button) v).getText(); in revealTheButton() local
178 mSelectedLabel.setText(buttonText); in revealTheButton()
/aosp12/packages/apps/Settings/src/com/android/settings/password/
H A DChooseLockPassword.java345 this.buttonText = nextButtonText; in Stage()
375 public final int buttonText; field in ChooseLockPassword.ChooseLockPasswordFragment.Stage
880 setNextText(mUiStage.buttonText); in updateUi()
/aosp12/packages/apps/Dialer/java/com/android/incallui/
H A 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()
/aosp12/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DExpandingEntryCardView.java762 private void updateExpandCollapseButton(CharSequence buttonText, long duration) { in updateExpandCollapseButton() argument
774 mExpandCollapseTextView.setText(buttonText); in updateExpandCollapseButton()
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java17029 final String buttonText =
17032 new Notification.Action.Builder(null /* icon */, buttonText, pendingIntent).build();