Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DResourcesWrapper.java74 public String getQuantityString(int id, int quantity, Object... formatArgs) in getQuantityString() method in ResourcesWrapper
76 return mResources.getQuantityString(id, quantity, formatArgs); in getQuantityString()
80 public String getQuantityString(int id, int quantity) throws NotFoundException { in getQuantityString() method in ResourcesWrapper
81 return mResources.getQuantityString(id, quantity); in getQuantityString()
/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.java353 String format = r.getQuantityString(resId, (int) count); in getRelativeTimeSpanString()
455 String format = r.getQuantityString(resId, days); in getRelativeDayString()
486 return res.getQuantityString( in formatDuration()
490 return res.getQuantityString( in formatDuration()
494 return res.getQuantityString( in formatDuration()
/frameworks/base/core/java/android/webkit/
DDateSorter.java77 String format = resources.getQuantityString(resId, NUM_DAYS_AGO); in DateSorter()
DFindActionModeCallback.java181 mMatches.setText(mResources.getQuantityString( in updateMatchesString()
/frameworks/base/docs/html/guide/topics/resources/
Dstring-resource.jd227 {@link android.content.res.Resources#getQuantityString(int,int) getQuantityString()} to select
375 href="{@docRoot}reference/android/content/res/Resources.html#getQuantityString(int, int, java.lang.…
376 >getQuantityString</a>(R.plurals.numberOfSongsAvailable, count, count);
380 href="{@docRoot}reference/android/content/res/Resources.html#getQuantityString(int, int, java.lang.…
381 getQuantityString()}</a> method, you need to pass the {@code count} twice if your string includes
386 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.java105 .getQuantityString(R.plurals.kg_password_wrong_pin_code, attemptsRemaining, in getPinPasswordErrorMessage()
DKeyguardSimPukView.java150 .getQuantityString(R.plurals.kg_password_wrong_puk_code, attemptsRemaining, in getPukPasswordErrorMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaMmiCode.java330 sb.append(mContext.getResources().getQuantityString( in onSetComplete()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java503 final String summary = res.getQuantityString(summaryResId, num, num, formattedTime); in toTimeCondition()
504 final String line1 = res.getQuantityString(line1ResId, num, num, formattedTime); in toTimeCondition()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DSelectPrinterActivity.java603 text = getResources().getQuantityString(
/frameworks/base/core/java/android/content/res/
DResources.java442 public String getQuantityString(int id, int quantity, Object... formatArgs) in getQuantityString() method in Resources
468 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.java1220 sb.append(mContext.getResources().getQuantityString( in onSetComplete()
/frameworks/base/api/
Dsystem-current.txt9531 …method public java.lang.String getQuantityString(int, int, java.lang.Object...) throws android.con…
9532 …method public java.lang.String getQuantityString(int, int) throws android.content.res.Resources.No…
Dcurrent.txt9225 …method public java.lang.String getQuantityString(int, int, java.lang.Object...) throws android.con…
9226 …method public java.lang.String getQuantityString(int, int) throws android.content.res.Resources.No…