/packages/modules/AdServices/sdksandbox/tests/test-apps/CodeProviderWithResources/src/com/android/codeproviderresources_1/ |
D | ResourceSandboxedSdkProvider.java | 43 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/ |
D | ByResource.java | 40 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/ |
D | ScreenFlashNotificationColor.java | 44 ScreenFlashNotificationColor(@ColorInt int colorInt, @StringRes int stringRes) { in ScreenFlashNotificationColor() argument 46 this.mStringRes = stringRes; in ScreenFlashNotificationColor()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsPairOtherController.java | 83 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/ |
D | BottomNavItem.java | 65 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/ |
D | PrivateSpaceDeletionProgressFragment.java | 145 private void showToastWithCustomIcon(int stringRes) { in showToastWithCustomIcon() argument 150 getContext().getString(stringRes), in showToastWithCustomIcon()
|
/packages/apps/Settings/src/com/android/settings/media/ |
D | MediaOutputIndicatorSlice.java | 62 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/ |
D | CheckableLabeledButton.java | 155 public void setLabelText(@StringRes int stringRes) { in setLabelText() argument 156 labelView.setText(stringRes); in setLabelText()
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
D | IncomingCallNotifier.java | 299 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/ |
D | CtsSdkProviderApiImpl.java | 120 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/ |
D | BaseAccountType.java | 458 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/ |
D | BaseAccountType.java | 594 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/ |
D | StatusBarNotifier.java | 875 private Spannable getActionText(@StringRes int stringRes, @ColorRes int colorRes) { in getActionText() argument 876 Spannable spannable = new SpannableString(context.getText(stringRes)); in getActionText()
|