Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/widget/
DDateTimeView.java241 result = String.format(getContext().getResources().getQuantityString(past
249 result = String.format(getContext().getResources().getQuantityString(past
259 result = String.format(getContext().getResources().getQuantityString(past
273 result = String.format(getContext().getResources().getQuantityString(past
351 result = String.format(getContext().getResources().getQuantityString(past in onInitializeAccessibilityNodeInfoInternal()
360 result = String.format(getContext().getResources().getQuantityString(past in onInitializeAccessibilityNodeInfoInternal()
371 result = String.format(getContext().getResources().getQuantityString(past in onInitializeAccessibilityNodeInfoInternal()
381 result = String.format(getContext().getResources().getQuantityString(past in onInitializeAccessibilityNodeInfoInternal()
DChronometer.java348 text.append(res.getQuantityString( in formatDuration()
355 text.append(res.getQuantityString( in formatDuration()
362 text.append(res.getQuantityString( in formatDuration()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DResourcesWrapper.java71 public String getQuantityString(int id, int quantity, Object... formatArgs) in getQuantityString() method in ResourcesWrapper
73 return mResources.getQuantityString(id, quantity, formatArgs); in getQuantityString()
77 public String getQuantityString(int id, int quantity) throws NotFoundException { in getQuantityString() method in ResourcesWrapper
78 return mResources.getQuantityString(id, quantity); in getQuantityString()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DShared.java123 public static final String getQuantityString(Context context, int resourceId, int quantity) { in getQuantityString() method in Shared
124 return context.getResources().getQuantityString(resourceId, quantity, quantity); in getQuantityString()
/frameworks/base/test-runner/src/android/test/mock/
DMockResources.java76 public String getQuantityString(int id, int quantity, Object... formatArgs) in getQuantityString() method in MockResources
82 public String getQuantityString(int id, int quantity) throws NotFoundException { in getQuantityString() method in MockResources
/frameworks/base/core/java/android/text/format/
DDateUtils.java362 return res.getQuantityString( in formatDuration()
366 return res.getQuantityString( in formatDuration()
370 return res.getQuantityString( in formatDuration()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/
DFileOperations.java23 import static com.android.documentsui.Shared.getQuantityString;
230 getQuantityString(activity, contentId, fileCount), in createSharedSnackBar()
DJob.java215 .setContentTitle(service.getResources().getQuantityString(titleId, in getFailureNotification()
/frameworks/base/core/java/android/webkit/
DDateSorter.java77 String format = resources.getQuantityString(resId, NUM_DAYS_AGO); in DateSorter()
DFindActionModeCallback.java180 mMatches.setText(mResources.getQuantityString( in updateMatchesString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DHybridGroupManager.java115 String contentDescription = String.format(mContext.getResources().getQuantityString( in bindOverflowNumber()
/frameworks/base/docs/html/guide/topics/resources/
Dstring-resource.jd228 {@link android.content.res.Resources#getQuantityString(int,int) getQuantityString()} to select
376 href="{@docRoot}reference/android/content/res/Resources.html#getQuantityString(int, int, java.lang.…
377 >getQuantityString</a>(R.plurals.numberOfSongsAvailable, count, count);
381 href="{@docRoot}reference/android/content/res/Resources.html#getQuantityString(int, int, java.lang.…
382 getQuantityString()}</a> method, you need to pass the {@code count} twice if your string includes
387 android.content.res.Resources#getQuantityString(int,int) getQuantityString}.</p>
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java551 final String title = Shared.getQuantityString(getActivity(), in onSelectionChanged()
802 message = Shared.getQuantityString(getActivity(), in generateDeleteMessage()
806 message = Shared.getQuantityString(getActivity(), in generateDeleteMessage()
810 message = Shared.getQuantityString(getActivity(), in generateDeleteMessage()
1110 activity.getResources().getQuantityString( in copySelectionToClipboard()
1402 return Shared.getQuantityString(mContext, R.plurals.elements_dragged, docs.size()); in getTitle()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSimPinView.java119 .getQuantityString(R.plurals.kg_password_wrong_pin_code, attemptsRemaining, in getPinPasswordErrorMessage()
DKeyguardSimPukView.java156 .getQuantityString(R.plurals.kg_password_wrong_puk_code, attemptsRemaining, in getPukPasswordErrorMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaMmiCode.java331 sb.append(mContext.getResources().getQuantityString( in onSetComplete()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java719 summary = res.getQuantityString(summaryResId, num, num, formattedTime); in toTimeCondition()
722 line1 = res.getQuantityString(line1ResId, num, num, formattedTime); in toTimeCondition()
729 summary = res.getQuantityString(summaryResId, num, num, formattedTime); in toTimeCondition()
732 line1 = res.getQuantityString(line1ResId, num, num, formattedTime); in toTimeCondition()
/frameworks/base/core/java/android/content/res/
DResources.java432 public String getQuantityString(@PluralsRes int id, int quantity, Object... formatArgs) in getQuantityString() method in Resources
460 public String getQuantityString(@PluralsRes int id, int quantity) throws NotFoundException { in getQuantityString() method in Resources
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DAddPrinterActivity.java669 .getQuantityString(R.plurals.print_services_recommendation_subtitle, in getView()
DSelectPrinterActivity.java641 text = getResources().getQuantityString(
/frameworks/base/core/java/android/text/
DTextUtils.java1773 return Resources.getSystem().getQuantityString(R.plurals.selected_count, count, count); in formatSelectedCount()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java1220 sb.append(mContext.getResources().getQuantityString( in onSetComplete()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java676 .getQuantityString(com.android.internal.R.plurals.bugreport_countdown, in takeScreenshot()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt9223 …method public java.lang.String getQuantityString(int, int, java.lang.Object...) throws android.con…
9224 …method public java.lang.String getQuantityString(int, int) throws android.content.res.Resources.No…
/frameworks/base/api/
Dcurrent.txt10253 …method public java.lang.String getQuantityString(int, int, java.lang.Object...) throws android.con…
10254 …method public java.lang.String getQuantityString(int, int) throws android.content.res.Resources.No…

12