Searched refs:formatArgs (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DSecurityMessageDisplay.java27 void formatMessage(int resId, Object... formatArgs); argument
H A DKeyguardMessageArea.java102 public void formatMessage(int resId, Object... formatArgs) { argument
105 message = getContext().getString(resId, formatArgs);
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DTestResources.java36 public String getString(int id, Object... formatArgs) throws NotFoundException { argument
37 return String.format(getString(id), formatArgs);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DResourcesWrapper.java68 public String getString(int id, Object... formatArgs) throws NotFoundException { argument
69 return mResources.getString(id, formatArgs);
73 public String getQuantityString(int id, int quantity, Object... formatArgs) argument
75 return mResources.getQuantityString(id, quantity, formatArgs);
/frameworks/base/test-mock/src/android/test/mock/
H A DMockResources.java71 public String getString(int id, Object... formatArgs) throws NotFoundException { argument
76 public String getQuantityString(int id, int quantity, Object... formatArgs) argument
/frameworks/base/core/java/android/content/res/
H A DResources.java456 * @param formatArgs The format arguments that will be used for substitution.
464 public String getString(@StringRes int id, Object... formatArgs) throws NotFoundException { argument
467 formatArgs);
488 * @param formatArgs The format arguments that will be used for substitution.
496 public String getQuantityString(@PluralsRes int id, int quantity, Object... formatArgs) argument
500 formatArgs);
/frameworks/layoutlib/bridge/src/android/content/res/
H A DResources_Delegate.java751 static String getString(Resources resources, int id, Object... formatArgs) argument
755 return String.format(s, formatArgs);
811 static String getQuantityString(Resources resources, int id, int quantity, Object... formatArgs) argument
814 return String.format(resources.getConfiguration().getLocales().get(0), raw, formatArgs);
/frameworks/base/core/java/android/content/
H A DContext.java587 * @param formatArgs The format arguments that will be used for
593 public final String getString(@StringRes int resId, Object... formatArgs) { argument
594 return getResources().getString(resId, formatArgs);
/frameworks/base/core/java/android/app/
H A DFragment.java799 * @param formatArgs The format arguments that will be used for substitution.
802 public final String getString(@StringRes int resId, Object... formatArgs) { argument
803 return getResources().getString(resId, formatArgs);
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
H A DFragment.java775 * @param formatArgs The format arguments that will be used for substitution.
778 public final String getString(@StringRes int resId, Object... formatArgs) { argument
779 return getResources().getString(resId, formatArgs);

Completed in 110 milliseconds