Home
last modified time | relevance | path

Searched refs:getString (Results 1 – 25 of 53) sorted by relevance

123

/appcompat/appcompat/src/androidTest/java/androidx/appcompat/widget/
DPopupMenuTest.java137 assertEquals(mResources.getString(R.string.popup_menu_highlight_description), in testBasicContent()
139 assertEquals(mResources.getString(R.string.popup_menu_highlight_tooltip), in testBasicContent()
149 mResources.getString(R.string.popup_menu_edit_description)); in testBasicContent()
151 mResources.getString(R.string.popup_menu_edit_tooltip)); in testBasicContent()
166 onView(withText(mResources.getString(R.string.popup_menu_highlight))) in testBasicContent()
170 mResources.getString(R.string.popup_menu_highlight_description)))); in testBasicContent()
172 onView(withText(mResources.getString(R.string.popup_menu_edit))) in testBasicContent()
176 mResources.getString(R.string.popup_menu_edit_description)))); in testBasicContent()
178 onView(withText(mResources.getString(R.string.popup_menu_delete))) in testBasicContent()
182 onView(withText(mResources.getString(R.string.popup_menu_ignore))) in testBasicContent()
[all …]
DAppCompatButtonTest.java56 final String text1 = mResources.getString(R.string.sample_text1); in testAllCaps()
57 final String text2 = mResources.getString(R.string.sample_text2); in testAllCaps()
86 final String text = mResources.getString(R.string.sample_text2); in testAppCompatAllCapsFalseOnButton()
DSwitchCompatTest.java101 mActivity.getResources().getString(androidx.appcompat.R.string.abc_capital_off); in testAccessibility_default()
102 final String text = mActivity.getResources().getString(R.string.sample_text1); in testAccessibility_default()
DAppCompatTextViewAutoSizeTest.java102 final String text = mActivity.getResources().getString(R.string.sample_text1); in testSpacingIsSet()
DToolbarTest.java114 assertEquals(mActivity.getResources().getString(R.string.toolbar_collapse), in testCollapseConfiguration()
/appcompat/appcompat/src/main/java/androidx/appcompat/view/menu/
DMenuItemImpl.java361 sb.append(res.getString(R.string.abc_prepend_shortcut_label)); in getShortcutLabel()
367 res.getString(R.string.abc_menu_meta_shortcut_label)); in getShortcutLabel()
369 res.getString(R.string.abc_menu_ctrl_shortcut_label)); in getShortcutLabel()
371 res.getString(R.string.abc_menu_alt_shortcut_label)); in getShortcutLabel()
373 res.getString(R.string.abc_menu_shift_shortcut_label)); in getShortcutLabel()
375 res.getString(R.string.abc_menu_sym_shortcut_label)); in getShortcutLabel()
377 res.getString(R.string.abc_menu_function_shortcut_label)); in getShortcutLabel()
382 sb.append(res.getString(R.string.abc_menu_enter_shortcut_label)); in getShortcutLabel()
386 sb.append(res.getString(R.string.abc_menu_delete_shortcut_label)); in getShortcutLabel()
390 sb.append(res.getString(R.string.abc_menu_space_shortcut_label)); in getShortcutLabel()
[all …]
DMenuBuilder.java471 return addInternal(0, 0, 0, mResources.getString(titleRes)); in add()
481 return addInternal(group, id, categoryOrder, mResources.getString(title)); in add()
491 return addSubMenu(0, 0, 0, mResources.getString(titleRes)); in addSubMenu()
505 return addSubMenu(group, id, categoryOrder, mResources.getString(title)); in addSubMenu()
/appcompat/appcompat-resources/src/androidTest/java/androidx/appcompat/widget/
DTestResources.java43 public @NonNull String getString(int id) throws NotFoundException { in getString() method in TestResources
45 return super.getString(id); in getString()
DVectorEnabledTintResourcesTest.java65 tintResources.getString(android.R.string.ok); in testVectorEnabledTintResourcesDelegateBackToOriginalResources()
DTintResourcesTest.java65 tintResources.getString(android.R.string.ok); in testTintResourcesDelegateBackToOriginalResources()
/appcompat/appcompat-resources/src/main/java/androidx/appcompat/widget/
DResourcesWrapper.java64 public String getString(int id) throws NotFoundException { in getString() method in ResourcesWrapper
65 return mResources.getString(id); in getString()
69 public String getString(int id, Object... formatArgs) throws NotFoundException { in getString() method in ResourcesWrapper
70 return mResources.getString(id, formatArgs); in getString()
/appcompat/appcompat/src/main/java/androidx/appcompat/view/
DSupportMenuInflater.java415 getShortcut(a.getString(R.styleable.MenuItem_android_alphabeticShortcut)); in readItem()
419 getShortcut(a.getString(R.styleable.MenuItem_android_numericShortcut)); in readItem()
434 itemListenerMethodName = a.getString(R.styleable.MenuItem_android_onClick); in readItem()
436 itemActionViewClassName = a.getString(R.styleable.MenuItem_actionViewClass); in readItem()
437 itemActionProviderClassName = a.getString(R.styleable.MenuItem_actionProviderClass); in readItem()
DStandaloneActionMode.java73 setTitle(mContext.getString(resId)); in setTitle()
78 setSubtitle(mContext.getString(resId)); in setSubtitle()
/appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/
DAlertDialogTest.java179 final String expectedTitle = context.getString(R.string.alert_dialog_title); in testBasicContent()
180 final String expectedMessage = context.getString(R.string.alert_dialog_content); in testBasicContent()
247 final String title = context.getString(R.string.alert_dialog_title); in testThemeMainFontIsAppliedToTitle()
262 final String title = context.getString(R.string.alert_dialog_title); in verifyCustomTitle()
263 final String expectedCustomTitle = context.getString(R.string.alert_dialog_custom_title); in verifyCustomTitle()
264 final String expectedMessage = context.getString(R.string.alert_dialog_content); in verifyCustomTitle()
330 final String expectedCustomText1 = context.getString(R.string.alert_dialog_custom_text1); in verifyCustomView()
331 final String expectedCustomText2 = context.getString(R.string.alert_dialog_custom_text2); in verifyCustomView()
1120 positiveButtonText = context.getString(positiveButtonTextResId); in verifyDialogButtons()
1124 negativeButtonText = context.getString(negativeButtonTextResId); in verifyDialogButtons()
[all …]
DBaseKeyEventsTestCase.kt291 getString(R.string.alpha_menu_description) in testActionMenuContent()
293 MenuItemCompat.setTooltipText(alphaItem, getString(R.string.alpha_menu_tooltip)) in testActionMenuContent()
DDrawerLayoutDoubleActivity.java63 mDrawerLayout.setDrawerTitle(GravityCompat.START, getString(R.string.drawer_title)); in onContentViewSet()
DDrawerLayoutActivity.java71 mDrawerLayout.setDrawerTitle(GravityCompat.START, getString(R.string.drawer_title)); in onContentViewSet()
/appcompat/appcompat/src/main/java/androidx/appcompat/widget/
DActivityChooserView.java337 CharSequence contentDescription = getContext().getString(resourceId); in setExpandActivityOverflowButtonContentDescription()
402 popupWindow.getListView().setContentDescription(getContext().getString( in showPopupUnchecked()
561 String contentDescription = getContext().getString( in updateAppearance()
765 titleView.setText(getContext().getString( in getView()
DTintTypedArray.java148 public String getString(int index) { in getString() method in TintTypedArray
149 return mWrapped.getString(index); in getString()
DSuggestionsAdapter.java364 String value = cursor.getString(mIconName1Col); in getIcon1()
376 String value = cursor.getString(mIconName2Col); in getIcon2()
683 return cursor.getString(col); in getStringOrNull()
DAppCompatTextHelper.java169 localeListString = a.getString(R.styleable.TextAppearance_textLocale); in loadFromAttributes()
197 localeListString = a.getString(R.styleable.TextAppearance_textLocale); in loadFromAttributes()
392 mFontVariationSettings = a.getString(R.styleable.TextAppearance_fontVariationSettings); in updateTypefaceAndStyle()
428 String fontFamilyName = a.getString(fontFamilyId); in updateTypefaceAndStyle()
DShareActionProvider.java278 mContext.getString(R.string.abc_activity_chooser_view_see_all)); in onPrepareSubMenu()
/appcompat/appcompat/src/main/java/androidx/appcompat/app/
DAppCompatViewInflater.java344 final String handlerName = a.getString(0); in checkOnClickListener()
420 ViewCompat.setAccessibilityPaneTitle(view, a.getString(0)); in backportAccessibilityAttributes()
DWindowDecorActionBar.java396 setTitle(mContext.getString(resId)); in setTitle()
401 setSubtitle(mContext.getString(resId)); in setSubtitle()
1078 setTitle(mContext.getResources().getString(resId)); in setTitle()
1083 setSubtitle(mContext.getResources().getString(resId)); in setSubtitle()
DAppCompatDialog.java138 getDelegate().setTitle(getContext().getString(titleId)); in setTitle()

123