/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ResourcesWrapper.java | 59 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { in getQuantityText() argument 60 return mResources.getQuantityText(id, quantity); in getQuantityText() 74 public String getQuantityString(int id, int quantity, Object... formatArgs) in getQuantityString() argument 76 return mResources.getQuantityString(id, quantity, formatArgs); in getQuantityString() 80 public String getQuantityString(int id, int quantity) throws NotFoundException { in getQuantityString() argument 81 return mResources.getQuantityString(id, quantity); in getQuantityString()
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockResources.java | 56 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { in getQuantityText() argument 71 public String getQuantityString(int id, int quantity, Object... formatArgs) in getQuantityString() argument 77 public String getQuantityString(int id, int quantity) throws NotFoundException { in getQuantityString() argument
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | string-resource.jd | 219 <p>Different languages have different rules for grammatical agreement with quantity. In English, 220 for example, the quantity 1 is a special case. We write "1 book", but for any other quantity we'd 225 <p>The rules for deciding which case to use for a given language and quantity can be very complex, 230 <p>Although historically called "quantity strings" (and still called that in API), quantity 231 strings should <i>only</i> be used for plurals. It would be a mistake to use quantity strings to 233 example. It might seem convenient to use quantity strings instead of an {@code if} statement, 238 In English, a string for <code>zero</code> will be ignored even if the quantity is 0, because 0 244 the quantity 2: a language may require that 2, 12, 102 (and so on) are all treated like one 248 <p>It's often possible to avoid quantity strings by using quantity-neutral formulations such as 277 quantity=["zero" | "one" | "two" | "few" | "many" | "other"] [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | Resources.java | 336 public CharSequence getQuantityText(@PluralsRes int id, int quantity) in getQuantityText() argument 340 attrForQuantityCode(rule.quantityForInt(quantity))); in getQuantityText() 349 + " quantity=" + quantity in getQuantityText() 350 + " item=" + stringForQuantityCode(rule.quantityForInt(quantity))); in getQuantityText() 458 public String getQuantityString(@PluralsRes int id, int quantity, Object... formatArgs) in getQuantityString() argument 460 String raw = getQuantityText(id, quantity).toString(); in getQuantityString() 484 public String getQuantityString(@PluralsRes int id, int quantity) in getQuantityString() argument 486 return getQuantityText(id, quantity).toString(); in getQuantityString()
|
/frameworks/base/core/java/android/text/style/ |
D | TtsSpan.java | 1273 public MoneyBuilder setQuantity(String quantity) { in setQuantity() argument 1274 return setStringArgument(TtsSpan.ARG_QUANTITY, quantity); in setQuantity()
|
/frameworks/base/docs/html/design/tv/ |
D | style.jd | 16 things at better quality, rather than greater quantity. For example, use your layouts to show
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | cache-bitmap.jd | 82 <li>Can you balance quality against quantity? Sometimes it can be more useful to store a larger
|
/frameworks/base/docs/html/tools/sdk/ |
D | tools-notes.jd | 965 JavaScript interfaces, {@link android.app.Service} casting, quantity strings, manifest
|
D | eclipse-adt.jd | 700 JavaScript interfaces, {@link android.app.Service} casting, quantity strings, manifest
|
/frameworks/base/docs/html/guide/practices/ |
D | screens_support.jd | 117 <dd>The quantity of pixels within a physical area of the screen; usually referred to as dpi (dots
|
/frameworks/base/api/ |
D | current.txt | 33269 field public static final java.lang.String ARG_QUANTITY = "android.arg.quantity";
|
D | system-current.txt | 35561 field public static final java.lang.String ARG_QUANTITY = "android.arg.quantity";
|