Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/
DSuspendedAppActivity.java189 final String buttonText = mSuppliedDialogInfo.getNeutralButtonText(); in resolveNeutralButtonText() local
196 } else if (buttonText != null) { in resolveNeutralButtonText()
197 return buttonText; in resolveNeutralButtonText()
/frameworks/base/core/java/android/content/pm/
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()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
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()
/frameworks/base/core/java/com/android/internal/widget/
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()
/frameworks/base/core/java/android/preference/
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()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java16713 final String buttonText =
16716 new Notification.Action.Builder(null /* icon */, buttonText, pendingIntent).build();