| /appcompat/appcompat/src/androidTest/java/androidx/appcompat/widget/ |
| D | PopupMenuTest.java | 137 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 …]
|
| D | AppCompatButtonTest.java | 56 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()
|
| D | SwitchCompatTest.java | 101 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()
|
| D | AppCompatTextViewAutoSizeTest.java | 102 final String text = mActivity.getResources().getString(R.string.sample_text1); in testSpacingIsSet()
|
| D | ToolbarTest.java | 114 assertEquals(mActivity.getResources().getString(R.string.toolbar_collapse), in testCollapseConfiguration()
|
| /appcompat/appcompat/src/main/java/androidx/appcompat/view/menu/ |
| D | MenuItemImpl.java | 361 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 …]
|
| D | MenuBuilder.java | 471 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/ |
| D | TestResources.java | 43 public @NonNull String getString(int id) throws NotFoundException { in getString() method in TestResources 45 return super.getString(id); in getString()
|
| D | VectorEnabledTintResourcesTest.java | 65 tintResources.getString(android.R.string.ok); in testVectorEnabledTintResourcesDelegateBackToOriginalResources()
|
| D | TintResourcesTest.java | 65 tintResources.getString(android.R.string.ok); in testTintResourcesDelegateBackToOriginalResources()
|
| /appcompat/appcompat-resources/src/main/java/androidx/appcompat/widget/ |
| D | ResourcesWrapper.java | 64 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/ |
| D | SupportMenuInflater.java | 415 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()
|
| D | StandaloneActionMode.java | 73 setTitle(mContext.getString(resId)); in setTitle() 78 setSubtitle(mContext.getString(resId)); in setSubtitle()
|
| /appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/ |
| D | AlertDialogTest.java | 179 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 …]
|
| D | BaseKeyEventsTestCase.kt | 291 getString(R.string.alpha_menu_description) in testActionMenuContent() 293 MenuItemCompat.setTooltipText(alphaItem, getString(R.string.alpha_menu_tooltip)) in testActionMenuContent()
|
| D | DrawerLayoutDoubleActivity.java | 63 mDrawerLayout.setDrawerTitle(GravityCompat.START, getString(R.string.drawer_title)); in onContentViewSet()
|
| D | DrawerLayoutActivity.java | 71 mDrawerLayout.setDrawerTitle(GravityCompat.START, getString(R.string.drawer_title)); in onContentViewSet()
|
| /appcompat/appcompat/src/main/java/androidx/appcompat/widget/ |
| D | ActivityChooserView.java | 337 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()
|
| D | TintTypedArray.java | 148 public String getString(int index) { in getString() method in TintTypedArray 149 return mWrapped.getString(index); in getString()
|
| D | SuggestionsAdapter.java | 364 String value = cursor.getString(mIconName1Col); in getIcon1() 376 String value = cursor.getString(mIconName2Col); in getIcon2() 683 return cursor.getString(col); in getStringOrNull()
|
| D | AppCompatTextHelper.java | 169 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()
|
| D | ShareActionProvider.java | 278 mContext.getString(R.string.abc_activity_chooser_view_see_all)); in onPrepareSubMenu()
|
| /appcompat/appcompat/src/main/java/androidx/appcompat/app/ |
| D | AppCompatViewInflater.java | 344 final String handlerName = a.getString(0); in checkOnClickListener() 420 ViewCompat.setAccessibilityPaneTitle(view, a.getString(0)); in backportAccessibilityAttributes()
|
| D | WindowDecorActionBar.java | 396 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()
|
| D | AppCompatDialog.java | 138 getDelegate().setTitle(getContext().getString(titleId)); in setTitle()
|