Home
last modified time | relevance | path

Searched refs:stringRes (Results 1 – 13 of 13) sorted by relevance

/packages/modules/AdServices/sdksandbox/tests/test-apps/CodeProviderWithResources/src/com/android/codeproviderresources_1/
DResourceSandboxedSdkProvider.java43 String stringRes = resources.getString(R.string.test_string); in onLoadSdk() local
45 if (!stringRes.equals(STRING_RESOURCE)) { in onLoadSdk()
47 new Throwable(createErrorMessage(STRING_RESOURCE, stringRes)), new Bundle()); in onLoadSdk()
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DByResource.java40 public static BySelector text(Resources resources, int stringRes) { in text() argument
41 String text = resources.getString(stringRes); in text()
/packages/apps/Settings/src/com/android/settings/accessibility/
DScreenFlashNotificationColor.java44 ScreenFlashNotificationColor(@ColorInt int colorInt, @StringRes int stringRes) { in ScreenFlashNotificationColor() argument
46 this.mStringRes = stringRes; in ScreenFlashNotificationColor()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsPairOtherController.java83 final int stringRes = (side == HearingAidInfo.DeviceSide.SIDE_LEFT) in updateButtonPreferenceTitle() local
87 preference.setTitle(stringRes); in updateButtonPreferenceTitle()
/packages/apps/Dialer/java/com/android/dialer/main/impl/bottomnav/
DBottomNavItem.java65 void setup(@StringRes int stringRes, @DrawableRes int drawableRes) { in setup() argument
66 text.setText(stringRes); in setup()
/packages/apps/Settings/src/com/android/settings/privatespace/delete/
DPrivateSpaceDeletionProgressFragment.java145 private void showToastWithCustomIcon(int stringRes) { in showToastWithCustomIcon() argument
150 getContext().getString(stringRes), in showToastWithCustomIcon()
/packages/apps/Settings/src/com/android/settings/media/
DMediaOutputIndicatorSlice.java62 final int stringRes = enableOutputSwitcherForSystemRouting() in getSlice() local
67 final CharSequence title = mContext.getString(stringRes, in getSlice()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DCheckableLabeledButton.java155 public void setLabelText(@StringRes int stringRes) { in setLabelText() argument
156 labelView.setText(stringRes); in setLabelText()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java299 private CharSequence getActionText(int stringRes, int colorRes) { in getActionText() argument
300 CharSequence string = mContext.getText(stringRes); in getActionText()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/CtsProvider/src/com/android/ctssdkprovider/
DCtsSdkProviderApiImpl.java120 String stringRes = resources.getString(R.string.test_string); in checkResourcesAndAssets() local
122 if (!stringRes.equals(STRING_RESOURCE)) { in checkResourcesAndAssets()
123 throw new IllegalStateException(createErrorMessage(STRING_RESOURCE, stringRes)); in checkResourcesAndAssets()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DBaseAccountType.java458 public SimpleInflater(int stringRes) { in SimpleInflater() argument
459 this(stringRes, null); in SimpleInflater()
466 public SimpleInflater(int stringRes, String columnName) { in SimpleInflater() argument
467 mStringRes = stringRes; in SimpleInflater()
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DBaseAccountType.java594 public SimpleInflater(int stringRes) { in SimpleInflater() argument
595 this(stringRes, null); in SimpleInflater()
602 public SimpleInflater(int stringRes, String columnName) { in SimpleInflater() argument
603 mStringRes = stringRes; in SimpleInflater()
/packages/apps/Dialer/java/com/android/incallui/
DStatusBarNotifier.java875 private Spannable getActionText(@StringRes int stringRes, @ColorRes int colorRes) { in getActionText() argument
876 Spannable spannable = new SpannableString(context.getText(stringRes)); in getActionText()