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.java464 final String buttonText = mContext.getResources().getString(Resources.getSystem() in testInterceptorActivity() local
467 By.clickable(true).text(buttonText)); in testInterceptorActivity()
468 assertNotNull(buttonText + " button not shown", moreDetailsButton); in testInterceptorActivity()
471 assertEquals(buttonText + " activity start not reported", in testInterceptorActivity()
475 assertEquals("Wrong package name received by " + buttonText + " activity", in testInterceptorActivity()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java1681 final TextView buttonText = menuItemButton.findViewById( in updateMenuItemButton() local
1683 buttonText.setEllipsize(null); in updateMenuItemButton()
1685 buttonText.setVisibility(View.GONE); in updateMenuItemButton()
1687 buttonText.setVisibility(View.VISIBLE); in updateMenuItemButton()
1688 buttonText.setText(menuItem.getTitle()); in updateMenuItemButton()
1694 if (buttonText != null) { in updateMenuItemButton()
1695 buttonText.setPaddingRelative(0, 0, 0, 0); in updateMenuItemButton()
1700 if (buttonText != null) { in updateMenuItemButton()
1701 buttonText.setPaddingRelative(iconTextSpacing, 0, 0, 0); in updateMenuItemButton()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java691 String buttonText = intent.getStringExtra(EXTRA_PREFS_SET_NEXT_TEXT); in onCreate() local
692 if (TextUtils.isEmpty(buttonText)) { in onCreate()
696 mNextButton.setText(buttonText); in onCreate()
700 String buttonText = intent.getStringExtra(EXTRA_PREFS_SET_BACK_TEXT); in onCreate() local
701 if (TextUtils.isEmpty(buttonText)) { in onCreate()
705 backButton.setText(buttonText); in onCreate()