Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/widget/
DDateTimeView.java262 result = String.format(getContext().getResources().getQuantityString(past
270 result = String.format(getContext().getResources().getQuantityString(past
283 result = String.format(getContext().getResources().getQuantityString(past
297 result = String.format(getContext().getResources().getQuantityString(past
369 result = String.format(getContext().getResources().getQuantityString(past in onInitializeAccessibilityNodeInfoInternal()
378 result = String.format(getContext().getResources().getQuantityString(past in onInitializeAccessibilityNodeInfoInternal()
392 result = String.format(getContext().getResources().getQuantityString(past in onInitializeAccessibilityNodeInfoInternal()
402 result = String.format(getContext().getResources().getQuantityString(past in onInitializeAccessibilityNodeInfoInternal()
/frameworks/base/test-mock/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/test-mock/api/
Dlint-baseline.txt92 MissingNullability: android.test.mock.MockResources#getQuantityString(int, int):
93 Missing nullability on method `getQuantityString` return
94 MissingNullability: android.test.mock.MockResources#getQuantityString(int, int, java.lang.Object...…
95 Missing nullability on method `getQuantityString` return
96 MissingNullability: android.test.mock.MockResources#getQuantityString(int, int, java.lang.Object...…
97 Missing nullability on parameter `formatArgs` in method `getQuantityString`
/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesPerfTest.java130 public void getQuantityString() { in getQuantityString() method in ResourcesPerfTest
133 mRes.getQuantityString(R.plurals.plurals_text, 5); in getQuantityString()
/frameworks/base/core/java/android/webkit/
DDateSorter.java77 String format = resources.getQuantityString(resId, NUM_DAYS_AGO); in DateSorter()
DFindActionModeCallback.java183 mMatches.setText(mResources.getQuantityString( in updateMatchesString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DAppAdapter.kt120 return resources.getQuantityString(R.plurals.controls_number_of_favorites, qty, qty) in renderFavoritesForComponent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DHybridGroupManager.java139 String contentDescription = String.format(mContext.getResources().getQuantityString( in bindOverflowNumber()
DNotificationSnooze.java249 String description = res.getQuantityString(pluralResId, count, count); in createOption()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DHotspotTile.java161 return mContext.getResources().getQuantityString( in getSecondaryLabel()
DBluetoothTile.java191 return mContext.getResources().getQuantityString( in getSecondaryLabel()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardAbsKeyInputView.java245 mSecurityMessageDisplay.setMessage(mContext.getResources().getQuantityString( in handleAttemptLockout()
DKeyguardSimPinView.java185 .getQuantityString(msgId, attemptsRemaining, attemptsRemaining); in getPinPasswordErrorMessage()
DKeyguardSimPukView.java235 .getQuantityString(msgId, attemptsRemaining, attemptsRemaining); in getPukPasswordErrorMessage()
DKeyguardPatternView.java386 mSecurityMessageDisplay.setMessage(mContext.getResources().getQuantityString( in handleAttemptLockout()
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java818 static String getQuantityString(Resources resources, int id, int quantity) throws in getQuantityString() method in Resources_Delegate
847 static String getQuantityString(Resources resources, int id, int quantity, Object... formatArgs) in getQuantityString() method in Resources_Delegate
849 String raw = getQuantityString(resources, id, quantity); in getQuantityString()
856 return getQuantityString(resources, id, quantity); in getQuantityText()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaMmiCode.java339 sb.append(mContext.getResources().getQuantityString( in onSetComplete()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/userswitcher/
DUserGridRecyclerView.java339 .setMessage(getResources().getQuantityString( in showMaxUserLimitReachedDialog()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java1312 summary = res.getQuantityString(summaryResId, num, num, formattedTime); in toTimeCondition()
1315 line1 = res.getQuantityString(line1ResId, num, num, formattedTime); in toTimeCondition()
1322 summary = res.getQuantityString(summaryResId, num, num, formattedTime); in toTimeCondition()
1325 line1 = res.getQuantityString(line1ResId, num, num, formattedTime); in toTimeCondition()
/frameworks/base/core/java/android/content/res/
DResources.java592 public String getQuantityString(@PluralsRes int id, int quantity, Object... formatArgs) in getQuantityString() method in Resources
620 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.java711 .getQuantityString(R.plurals.print_services_recommendation_subtitle, in getView()
DSelectPrinterActivity.java777 text = getResources().getQuantityString(
/frameworks/base/core/java/android/text/
DTextUtils.java1479 res.getQuantityString(moreId, remainingElements, remainingElements); in listEllipsize()
2079 return Resources.getSystem().getQuantityString(R.plurals.selected_count, count, count); in formatSelectedCount()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DFillUi.java900 text = mContext.getResources().getQuantityString(
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java1368 sb.append(mContext.getResources().getQuantityString( in onSetComplete()

12