/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
ResType.java | 15 FRACTION, 61 return FRACTION;
|
ResourceTableFactory.java | 134 .addHandler("fraction", new StaxValueLoader(resourceTable, "fraction", ResType.FRACTION)) 135 .addHandler("item[@type='fraction']", new StaxValueLoader(resourceTable, "fraction", ResType.FRACTION))
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
Support_DecimalFormat.java | 49 t_FormatWithField(4, format, number, text, NumberFormat.Field.FRACTION, 12, 14); 64 t_FormatWithField(13, format, number, text, NumberFormat.Field.FRACTION, 10, 11); 85 t_FormatWithField(22, format, number, text, NumberFormat.Field.FRACTION, 5, 7); 151 v.add(new FieldContainer(4, 6, NumberFormat.Field.FRACTION)); 160 v.add(new FieldContainer(5, 7, NumberFormat.Field.FRACTION)); 170 v.add(new FieldContainer(6, 8, NumberFormat.Field.FRACTION)); 179 v.add(new FieldContainer(5, 7, NumberFormat.Field.FRACTION)); 189 v.add(new FieldContainer(6, 8, NumberFormat.Field.FRACTION)); 214 v.add(new FieldContainer(5, 6, NumberFormat.Field.FRACTION)); 225 v.add(new FieldContainer(3, 5, NumberFormat.Field.FRACTION)); [all...] |
Support_MessageFormat.java | 67 NumberFormat.Field.FRACTION, 0, 0); 117 v.add(new FieldContainer(63, 64, NumberFormat.Field.FRACTION));
|
/libcore/support/src/test/java/tests/support/ |
Support_DecimalFormat.java | 55 t_FormatWithField(4, format, number, text, NumberFormat.Field.FRACTION, 80 NumberFormat.Field.FRACTION, 10, 11); 112 NumberFormat.Field.FRACTION, 9, 11); 186 v.add(new FieldContainer(4, 6, NumberFormat.Field.FRACTION)); 201 v.add(new FieldContainer(9, 11, NumberFormat.Field.FRACTION)); 211 v.add(new FieldContainer(9, 11, NumberFormat.Field.FRACTION)); 220 v.add(new FieldContainer(5, 7, NumberFormat.Field.FRACTION)); 229 v.add(new FieldContainer(6, 8, NumberFormat.Field.FRACTION)); 254 v.add(new FieldContainer(5, 6, NumberFormat.Field.FRACTION)); 265 v.add(new FieldContainer(3, 5, NumberFormat.Field.FRACTION)); [all...] |
Support_MessageFormat.java | 64 NumberFormat.Field.FRACTION, 0, 0); 114 v.add(new FieldContainer(63, 64, NumberFormat.Field.FRACTION));
|
/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/ |
ResTypeTest.java | 31 assertThat(ResType.inferFromValue("10.9")).isEqualTo(ResType.FRACTION);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
Fraction.java | 17 package org.apache.commons.math.fraction; 37 public class Fraction 39 implements FieldElement<Fraction>, Comparable<Fraction>, Serializable { 41 /** A fraction representing "2 / 1". */ 42 public static final Fraction TWO = new Fraction(2, 1); 44 /** A fraction representing "1". */ 45 public static final Fraction ONE = new Fraction(1, 1) [all...] |
BigFraction.java | 17 package org.apache.commons.math.fraction; 40 /** A fraction representing "2 / 1". */ 43 /** A fraction representing "1". */ 46 /** A fraction representing "0". */ 49 /** A fraction representing "-1 / 1". */ 52 /** A fraction representing "4/5". */ 55 /** A fraction representing "1/5". */ 58 /** A fraction representing "1/2". */ 61 /** A fraction representing "1/4". */ 64 /** A fraction representing "1/3". * [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/ |
AttributeInfo.java | 32 import static com.android.ide.common.api.IAttributeInfo.Format.FRACTION; 348 if (mFormats.contains(FRACTION)) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
IntlTestDecimalFormatAPIC.java | 357 v.add(new FieldContainer(4, 6, NumberFormat.Field.FRACTION)); 381 v.add(new FieldContainer(5, 7, NumberFormat.Field.FRACTION)); 392 v.add(new FieldContainer(6, 8, NumberFormat.Field.FRACTION)); 417 v.add(new FieldContainer(5, 6, NumberFormat.Field.FRACTION)); 428 v.add(new FieldContainer(3, 5, NumberFormat.Field.FRACTION));
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
NumberFormat.java | 75 * format for displaying percentages. With this format, a fraction like 228 * the position of the fraction part of a formatted number should be returned. [all...] |
DecimalFormat.java | 274 * number := (integer ('.' fraction)?) | sigDigits 278 * fraction := '0'* '#'* 351 * <li>If the number of actual fraction digits exceeds the <em>maximum fraction 352 * digits</em>, then half-even rounding it performed to the maximum fraction digits. For 353 * example, 0.125 is formatted as "0.12" if the maximum fraction digits is 2. This 356 * <li>If the number of actual fraction digits is less than the <em>minimum fraction 358 * "0.1250" if the mimimum fraction digits is set to 4. 361 * after the decimal, where <em>j</em> is less than the maximum fraction digits. Fo [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
IntlTestDecimalFormatAPIC.java | 354 v.add(new FieldContainer(4, 6, NumberFormat.Field.FRACTION)); 378 v.add(new FieldContainer(5, 7, NumberFormat.Field.FRACTION)); 389 v.add(new FieldContainer(6, 8, NumberFormat.Field.FRACTION)); 414 v.add(new FieldContainer(5, 6, NumberFormat.Field.FRACTION)); 425 v.add(new FieldContainer(3, 5, NumberFormat.Field.FRACTION));
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
NumberStringBuilder.java | 332 fieldToDebugChar.put(NumberFormat.Field.FRACTION, 'f'); 439 rawField = NumberFormat.Field.FRACTION; 474 // Backwards compatibility: FRACTION needs to start after INTEGER if empty 475 if (field == NumberFormat.Field.FRACTION && !seenStart) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
NumberStringBuilder.java | 330 fieldToDebugChar.put(NumberFormat.Field.FRACTION, 'f'); 437 rawField = NumberFormat.Field.FRACTION; 472 // Backwards compatibility: FRACTION needs to start after INTEGER if empty 473 if (field == NumberFormat.Field.FRACTION && !seenStart) {
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/util/ |
LocalizedFormats.java | 58 CANNOT_CONVERT_OBJECT_TO_FRACTION("cannot convert given object to a fraction number: {0}"), 63 CANNOT_FORMAT_OBJECT_TO_FRACTION("cannot format given object as a fraction number"), 74 CONTINUED_FRACTION_INFINITY_DIVERGENCE("Continued fraction convergents diverged to +/- infinity for value {0}"), 75 CONTINUED_FRACTION_NAN_DIVERGENCE("Continued fraction diverged to NaN for value {0}"), 99 FAILED_FRACTION_CONVERSION("Unable to convert {0} to fraction after {1} iterations"), 103 FRACTION_CONVERSION_OVERFLOW("Overflow trying to convert {0} to fraction ({1}/{2})"), 154 NON_CONVERGENT_CONTINUED_FRACTION("Continued fraction convergents failed to converge for value {0}"), 220 FRACTION("fraction"), /* keep */ 243 OVERFLOW_IN_FRACTION("overflow in fraction {0}/{1}, cannot negate") [all...] |
/external/fonttools/Lib/fontTools/ |
agl.py | 451 215D;fiveeighths;VULGAR FRACTION FIVE EIGHTHS 454 2044;fraction;FRACTION SLASH 561 215B;oneeighth;VULGAR FRACTION ONE EIGHTH 562 00BD;onehalf;VULGAR FRACTION ONE HALF 563 00BC;onequarter;VULGAR FRACTION ONE QUARTER 564 2153;onethird;VULGAR FRACTION ONE THIRD 626 215E;seveneighths;VULGAR FRACTION SEVEN EIGHTHS 649 215C;threeeighths;VULGAR FRACTION THREE EIGHTHS 650 00BE;threequarters;VULGAR FRACTION THREE QUARTER [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
NumberFormat.java | 87 * subclasses of NumberFormat. With this format, a fraction like 237 * the position of the fraction part of a formatted number should be returned. 470 * Sets whether to ignore the fraction part of a number when parsing [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
NumberFormatterImpl.java | 331 // Add the fraction digits 369 NumberFormat.Field.FRACTION); 371 length += string.append(micros.symbols.getDigitStringsLocal()[nextDigit], NumberFormat.Field.FRACTION);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
NumberFormatterImpl.java | 330 // Add the fraction digits 368 NumberFormat.Field.FRACTION); 370 length += string.append(micros.symbols.getDigitStringsLocal()[nextDigit], NumberFormat.Field.FRACTION);
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
DecimalFormatICU.java | 435 } else if (icuAttribute == NumberFormat.Field.FRACTION) { 436 jdkAttribute = java.text.NumberFormat.Field.FRACTION;
|
/frameworks/base/tools/aapt2/ |
Resources.proto | 362 FRACTION = 0x080; // Allows any fraction BinaryPrimitive values.
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
Converter.java | 36 case "fraction": 66 case FRACTION:
|
/libcore/ojluni/src/main/java/java/text/ |
DecimalFormat.java | 108 * <i>Integer</i> . <i>Fraction</i> <i>Exponent<sub>opt</sub></i> 118 * <i>Fraction:</i> 286 * <em>minimum integer</em> and <em>maximum fraction</em> digits, and is 498 * Update local fields indicating maximum/minimum integer/fraction digit count from the ICU 526 } else if (fieldAttribute == Field.FRACTION) { 527 attribute = android.icu.text.NumberFormat.Field.FRACTION; 582 if (name.equals(Field.FRACTION.getName())) { 583 return Field.FRACTION; [all...] |