Home
last modified time | relevance | path

Searched refs:getQuantityString (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/test-runner/src/android/test/mock/
DMockResources.java71 public String getQuantityString(int id, int quantity, Object... formatArgs) in getQuantityString() method in MockResources
77 public String getQuantityString(int id, int quantity) throws NotFoundException { in getQuantityString() method in MockResources
/frameworks/base/core/java/android/text/format/
DDateUtils.java354 String format = r.getQuantityString(resId, (int) count); in getRelativeTimeSpanString()
456 String format = r.getQuantityString(resId, days); in getRelativeDayString()
487 return res.getQuantityString( in formatDuration()
491 return res.getQuantityString( in formatDuration()
495 return res.getQuantityString( in formatDuration()
/frameworks/base/core/java/android/webkit/
DDateSorter.java78 String format = resources.getQuantityString(resId, NUM_DAYS_AGO); in DateSorter()
DFindActionModeCallback.java179 mMatches.setText(mResources.getQuantityString( in updateMatchesString()
/frameworks/base/docs/html/guide/topics/resources/
Dstring-resource.jd230 {@link android.content.res.Resources#getQuantityString(int,int) getQuantityString()} to select
370 href="{@docRoot}reference/android/content/res/Resources.html#getQuantityString(int, int, java.lang.…
371 >getQuantityString</a>(R.plurals.numberOfSongsAvailable, count, count);
375 href="{@docRoot}reference/android/content/res/Resources.html#getQuantityString(int, int, java.lang.…
376 getQuantityString()}</a> method, you need to pass the {@code count} twice if your string includes
381 android.content.res.Resources#getQuantityString(int,int) getQuantityString}.</p>
/frameworks/base/core/java/com/android/internal/app/
DRestrictionsPinActivity.java110 final String formatString = getResources().getQuantityString( in updatePinTimer()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSimPinView.java76 .getQuantityString(R.plurals.kg_password_wrong_pin_code, attemptsRemaining, in getPinPasswordErrorMessage()
DKeyguardSimPukView.java112 .getQuantityString(R.plurals.kg_password_wrong_puk_code, attemptsRemaining, in getPukPasswordErrorMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaMmiCode.java324 sb.append(mContext.getResources().getQuantityString( in onSetComplete()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
DSelectPrinterFragment.java632 text = getActivity().getResources().getQuantityString(
/frameworks/base/core/java/android/content/res/
DResources.java387 public String getQuantityString(int id, int quantity, Object... formatArgs) in getQuantityString() method in Resources
413 public String getQuantityString(int id, int quantity) throws NotFoundException { in getQuantityString() method in Resources
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsPanelView.java639 recentAppsAccessibilityDescription = getResources().getQuantityString( in updateUiElements()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java1039 sb.append(mContext.getResources().getQuantityString( in onSetComplete()
/frameworks/base/api/
Dcurrent.txt7701 …method public java.lang.String getQuantityString(int, int, java.lang.Object...) throws android.con…
7702 …method public java.lang.String getQuantityString(int, int) throws android.content.res.Resources.No…