HomeSort by relevance Sort by last modified time
    Searched refs:quantity (Results 1 - 25 of 297) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
PluralResourceLoader.java 24 public String getValue(int resourceId, int quantity) {
28 Plural p = rules.find(quantity);
43 String quantity = childNode.getAttributes().getNamedItem("quantity").getTextContent(); local
46 rules.add(new Plural(quantity, stringResourceLoader.getValue(value, isSystem)));
48 rules.add(new Plural(quantity, value));
61 Plural find(int quantity) {
63 if (p.num == quantity) return p;
77 final String quantity, string; field in class:PluralResourceLoader.Plural
80 Plural(String quantity, String string)
    [all...]
ResourceLoader.java 410 public String getPluralStringValue( int id, int quantity ) {
412 return pluralResourceLoader.getValue( id, quantity );
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/
Product.java 20 public Integer quantity; field in class:Product
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/mt/
badoffsethigh.s 2 ; a signed quantity.
badoffsetlow.s 2 ; a signed quantity. Also tests expression parsing.
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mashups/
order.py 42 self.quantity = 0
77 self.quantity = n
79 self.quantity = self.get_int('Quantity')
145 self.quantity = params.get('quantity', self.quantity)
146 if not self.quantity:
178 print('%s\t%s\t%s\t%s\t%s\t%s' % (item.quantity, item.name, item.instance_type,
188 r = item.ami.run(min_count=1, max_count=item.quantity,
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ResourcesWrapper.java 56 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException {
57 return mResources.getQuantityText(id, quantity);
71 public String getQuantityString(int id, int quantity, Object... formatArgs)
73 return mResources.getQuantityString(id, quantity, formatArgs);
77 public String getQuantityString(int id, int quantity) throws NotFoundException {
78 return mResources.getQuantityString(id, quantity);
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
Shared.java 121 * Generates a formatted quantity string.
123 public static final String getQuantityString(Context context, int resourceId, int quantity) {
124 return context.getResources().getQuantityString(resourceId, quantity, quantity);
  /frameworks/base/test-runner/src/android/test/mock/
MockResources.java 61 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException {
76 public String getQuantityString(int id, int quantity, Object... formatArgs)
82 public String getQuantityString(int id, int quantity) throws NotFoundException {
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowResources.java 95 public String getQuantityString(int id, int quantity, Object... formatArgs) throws Resources.NotFoundException {
96 String raw = getQuantityString(id, quantity);
101 public String getQuantityString(int id, int quantity) throws Resources.NotFoundException {
102 return resourceLoader.getPluralStringValue(id, quantity);
  /external/icu/icu4c/source/i18n/unicode/
reldatefmt.h 264 * <li>relative dates with a quantity e.g "in 5 days"</li>
265 * <li>relative dates without a quantity e.g "next Tuesday"</li>
398 * Formats a relative date with a quantity such as "in 5 days" or
400 * @param quantity The numerical amount e.g 5. This value is formatted
413 double quantity,
420 * Formats a relative date without a quantity.
  /external/owasp/sanitizer/src/main/org/owasp/html/
CssGrammar.java 124 handler.quantity(token);
207 void quantity(String token); method in interface:CssGrammar.PropertyHandler
  /frameworks/base/core/java/android/content/res/
Resources.java 337 * of the given resource ID for the given quantity.
340 * will be returned for a given quantity. See
347 * @param quantity The number used to get the correct string for the current language's
356 public CharSequence getQuantityText(@PluralsRes int id, int quantity)
358 return mResourcesImpl.getQuantityText(id, quantity);
408 * of the given resource ID for the given quantity, using the given arguments.
411 * will be returned for a given quantity. See
422 * @param quantity The number used to get the correct string for the current language's
432 public String getQuantityString(@PluralsRes int id, int quantity, Object... formatArgs)
434 String raw = getQuantityText(id, quantity).toString()
    [all...]
ResourcesImpl.java 257 CharSequence getQuantityText(@PluralsRes int id, int quantity) throws NotFoundException {
260 attrForQuantityCode(rule.select(quantity)));
269 + " quantity=" + quantity
270 + " item=" + rule.select(quantity));
    [all...]
  /external/icu/icu4c/source/i18n/
digitlst.cpp 1023 DigitList::quantize(const DigitList &quantity, UErrorCode &status) {
1027 div(quantity, status);
1029 mult(quantity, status);
    [all...]
reldatefmt.cpp 776 double quantity, UDateDirection direction, UDateRelativeUnit unit,
789 quantity,
798 quantity,
  /external/libvorbis/doc/
05-comment.tex 214 Vendor string length (32 bit unsigned quantity specifying number of octets)
220 Number of comment fields (32 bit unsigned quantity specifying number of fields)
223 Comment field 0 length (if [Number of comment fields] $>0$; 32 bit unsigned quantity specifying number of octets)
  /frameworks/base/core/java/android/text/style/
TtsSpan.java 265 * With the same example but with the quantity set as "1000000" the TTS
270 "android.arg.quantity";
    [all...]
  /external/google-breakpad/src/third_party/linux/include/gflags/
gflags.h 112 #error Do not know how to define a 32-bit integer quantity on your system
  /external/webrtc/third_party/gflags/gen/posix/include/gflags/
gflags.h 119 #error Do not know how to define a 32-bit integer quantity on your system
400 // the quantity of "potentially leaked" reports emitted by memory
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-mips-elf/
eh-frame1.s 7 # Output VALUE as an unaligned pointer-sized quantity.
  /packages/apps/Calendar/tests/src/com/android/calendar/event/
EditEventHelperTest.java 168 public String getQuantityString(int id, int quantity) {
170 return quantity + " mins";
173 return quantity + " minutes";
176 return quantity + " hours";
179 return quantity + " days";
181 return id + " " + quantity;
    [all...]
  /external/mesa3d/docs/
MESA_drm_image.spec 91 is a CPU-endian, 32-bit quantity, with alpha in the upper 8 bits,
  /external/webrtc/third_party/gflags/gen/win/include/gflags/
gflags.h 142 #error Do not know how to define a 32-bit integer quantity on your system
418 // the quantity of "potentially leaked" reports emitted by memory
  /packages/apps/DeskClock/src/com/android/deskclock/
Utils.java 691 * @param quantity integer value
694 public static String getNumberFormattedQuantityString(Context context, int id, int quantity) {
695 final String localizedQuantity = NumberFormat.getInstance().format(quantity);
696 return context.getResources().getQuantityString(id, quantity, localizedQuantity);

Completed in 1270 milliseconds

1 2 3 4 5 6 7 8 91011>>