/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
FormattableTest.java | 62 Mock_Formattable mf = new Mock_Formattable(); local 64 assertTrue(fmt.format("%1.1s", mf).toString().equals("single precision ")); 65 assertTrue(fmt.format("%2.1s", mf).toString().equals("single precision single precision ")); 66 assertTrue(fmt.format("%2.2s", mf).toString().equals("single precision single precision double precision ")); 67 assertTrue(mf.isFormatToCalled());
|
/cts/tests/tests/text/src/android/text/style/cts/ |
MaskFilterSpanTest.java | 40 MaskFilter mf = new MaskFilter(); local 41 new MaskFilterSpan(mf); 53 MaskFilter mf = new MaskFilter(); local 54 MaskFilterSpan maskFilterSpan = new MaskFilterSpan(mf); 60 assertSame(mf, tp.getMaskFilter());
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldMessageFormatTest.java | 88 MessageFormat mf; local 91 mf = new MessageFormat(pattern, l[i]); 92 Locale result = mf.getLocale(); 103 mf = new MessageFormat(pattern); 104 mf.setLocale(null); 105 Locale result = mf.getLocale(); 336 MessageFormat mf = new MessageFormat(pattern); local 340 result = mf.parse(sToParse); 364 mf = new MessageFormat("vm={0},{1},{2}"); 366 result = mf.parse(sToParse) 394 MessageFormat mf = new MessageFormat("{0,number,#.##}, {0,number,#.#}"); local 448 MessageFormat mf = new MessageFormat("{0}; {0}; {0}"); local [all...] |
OldFormatTest.java | 61 MockFormat mf = new MockFormat(); local 62 assertEquals("", mf.format("")); 67 MockFormat mf = new MockFormat(); local 68 AttributedCharacterIterator aci = mf.formatToCharacterIterator("Test 123 Test"); 73 mf.formatToCharacterIterator(null); 80 mf.formatToCharacterIterator(""); 87 MockFormat mf = new MockFormat(); local 89 assertNull(mf.parseObject(""));
|
OldNumberFormatTest.java | 1287 MyNumberFormat mf = new MyNumberFormat(); local [all...] |
/libcore/luni/src/main/java/java/text/ |
MessageFormat.java | 302 * MessageFormat mf = new MessageFormat("{0,number,#.##}, {0,number,#.#}"); 304 * String result = mf.format(objs); 307 * objs = mf.parse(result, new ParsePosition(0)); 317 * MessageFormat mf = new MessageFormat("{0}, {0}, {0}"); 319 * Object[] objs = mf.parse(forParsing, new ParsePosition(0)); 591 MessageFormat mf = new MessageFormat(result); local 592 mf.setLocale(locale); 593 mf.format(objects, buffer, passedField); [all...] |
/frameworks/base/tools/localize/ |
merge_res_and_xliff.cpp | 226 MergedFile mf; local 227 mf.xliff = xliff; 228 mf.xliffFilename = *xliffFilename; 229 mf.original = *f; 230 mf.translated = translated_file_name(mf.original, xliff->TargetConfig().locale); 231 log_printf("mf.translated=%s mf.original=%s locale=%s\n", mf.translated.c_str(), 232 mf.original.c_str(), xliff->TargetConfig().locale.c_str()) [all...] |
/external/chromium/third_party/icu/source/test/intltest/ |
msfmrgts.cpp | 452 MessageFormat *mf = new MessageFormat(originalPattern, status); local 456 mf->applyPattern(illegalPattern, status); 460 if (!originalPattern.equals(mf.toPattern())) 461 errln("pattern after: \"" + mf.toPattern() + "\""); 463 delete mf; 478 MessageFormat *mf = new MessageFormat("", status); local 483 mf->applyPattern(pattern, status); 484 failure(status, "mf->applyPattern", TRUE); 489 Formattable *array = mf->parse(UnicodeString(""), pp, count); 515 delete mf; 526 MessageFormat *mf = new MessageFormat("<{0}>", status); local 560 MessageFormat *mf = new MessageFormat(originalPattern, status); local 694 MessageFormat *mf = new MessageFormat("", status); local 735 MessageFormat *mf = new MessageFormat("{0}, {0}, {0}", status); local 825 MessageFormat *mf = new MessageFormat("pattern", status); local 864 MessageFormat *mf = new MessageFormat(pat, status); local [all...] |
/external/icu4c/test/intltest/ |
msfmrgts.cpp | 453 MessageFormat *mf = new MessageFormat(originalPattern, status); local 457 mf->applyPattern(illegalPattern, status); 461 if (!originalPattern.equals(mf.toPattern())) 462 errln("pattern after: \"" + mf.toPattern() + "\""); 464 delete mf; 479 MessageFormat *mf = new MessageFormat("", status); local 484 mf->applyPattern(pattern, status); 485 failure(status, "mf->applyPattern", TRUE); 490 Formattable *array = mf->parse(UnicodeString(""), pp, count); 516 delete mf; 527 MessageFormat *mf = new MessageFormat("<{0}>", status); local 561 MessageFormat *mf = new MessageFormat(originalPattern, status); local 695 MessageFormat *mf = new MessageFormat("", status); local 736 MessageFormat *mf = new MessageFormat("{0}, {0}, {0}", status); local 826 MessageFormat *mf = new MessageFormat("pattern", status); local 865 MessageFormat *mf = new MessageFormat(pat, status); local [all...] |
/external/skia/src/core/ |
SkScalerContext.cpp | 387 SkMaskFilter* mf = fMaskFilter; local 390 fMaskFilter = mf; // restore
|
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
ManifestTest.java | 48 private final String MANIFEST_NAME = "manifest/hyts_MANIFEST.MF"; 172 Manifest mf = new Manifest(bis); local 173 assertEquals("Should be 4 main attributes", 4, mf.getMainAttributes() 176 Map<String, Attributes> entries = mf.getEntries(); 205 .getURL("manifest/hyts_MANIFEST.MF")).openStream()); 213 "manifest/hyts_MANIFEST.MF")).openStream()); 215 "manifest/hyts_MANIFEST.MF")).openStream()); 226 .getURL("manifest/hyts_MANIFEST.MF")).openStream()); 271 .getURL("manifest/hyts_MANIFEST.MF")).openStream());
|
/prebuilt/common/ant/ |
ant.jar | |
/prebuilt/sdk/10/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/7/ |
android.jar | |
/prebuilt/sdk/8/ |
android.jar | |
/prebuilt/sdk/9/ |
android.jar | |