Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java478 final String buttonText = mContext.getResources().getString(Resources.getSystem() in testInterceptorActivity() local
481 By.clickable(true).text(buttonText)); in testInterceptorActivity()
482 assertNotNull(buttonText + " button not shown", moreDetailsButton); in testInterceptorActivity()
485 assertEquals(buttonText + " activity start not reported", in testInterceptorActivity()
489 assertEquals("Wrong package name received by " + buttonText + " activity", in testInterceptorActivity()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java1680 final TextView buttonText = menuItemButton.findViewById( in updateMenuItemButton() local
1682 buttonText.setEllipsize(null); in updateMenuItemButton()
1684 buttonText.setVisibility(View.GONE); in updateMenuItemButton()
1686 buttonText.setVisibility(View.VISIBLE); in updateMenuItemButton()
1687 buttonText.setText(menuItem.getTitle()); in updateMenuItemButton()
1693 if (buttonText != null) { in updateMenuItemButton()
1694 buttonText.setPaddingRelative(0, 0, 0, 0); in updateMenuItemButton()
1699 if (buttonText != null) { in updateMenuItemButton()
1700 buttonText.setPaddingRelative(iconTextSpacing, 0, 0, 0); in updateMenuItemButton()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java680 String buttonText = intent.getStringExtra(EXTRA_PREFS_SET_NEXT_TEXT); in onCreate() local
681 if (TextUtils.isEmpty(buttonText)) { in onCreate()
685 mNextButton.setText(buttonText); in onCreate()
689 String buttonText = intent.getStringExtra(EXTRA_PREFS_SET_BACK_TEXT); in onCreate() local
690 if (TextUtils.isEmpty(buttonText)) { in onCreate()
694 backButton.setText(buttonText); in onCreate()