Home
last modified time | relevance | path

Searched refs:getFormatter (Results 1 – 25 of 50) sorted by relevance

12

/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DFileHandlerTest.java161 .getFormatter(), "UTF-8"); in testLock()
171 assertTrue(handler.getFormatter() instanceof MockFormatter); in testFileHandler()
197 assertTrue(handler.getFormatter() instanceof XMLFormatter); in testDefaultValue()
305 assertFileContent(tempPath, "testLimitCount1", handler.getFormatter(), "UTF-8"); in testLimitAndCount()
313 handler.getFormatter(), "UTF-8"); in testLimitAndCount()
332 rs[5], rs[6], rs[7] }, handler.getFormatter(), "UTF-8"); in testLimitAndCount()
334 rs[8], rs[9] }, handler.getFormatter(), "UTF-8"); in testLimitAndCount()
351 rs[3], rs[4], null, rs[5] }, handler.getFormatter(), "UTF-8"); in testLimitAndCount()
353 rs[6], rs[7], rs[8] }, handler.getFormatter(), "UTF-8"); in testLimitAndCount()
355 new LogRecord[] { rs[9] }, handler.getFormatter(), "UTF-8"); in testLimitAndCount()
[all …]
DMemoryHandlerTest.java103 Formatter formatter = handler.getFormatter(); in testClose()
108 assertEquals(handler.getFormatter(), formatter); in testClose()
118 Formatter formatter = handler.getFormatter(); in testFlush()
123 assertEquals(handler.getFormatter(), formatter); in testFlush()
160 assertTrue(handler.getFormatter() instanceof MockFormatter); in testMemoryHandler()
194 assertTrue(handler.getFormatter() instanceof SimpleFormatter); in testMemoryHandlerInvalidProps()
244 assertTrue(handler.getFormatter() instanceof SimpleFormatter); in testMemoryHandlerDefaultValue()
257 assertTrue(handler.getFormatter() instanceof MockFormatter); in testMemoryHandlerHandlerintLevel()
262 assertNull(target.getFormatter()); in testMemoryHandlerHandlerintLevel()
DSocketHandlerTest.java176 assertTrue(h.getFormatter() instanceof XMLFormatter); in testConstructor_NoProperties()
210 assertTrue(h.getFormatter() instanceof XMLFormatter); in testConstructor_NoBasicProperties()
247 assertTrue(h.getFormatter() instanceof MockFormatter); in testConstructor_ValidProperties()
261 assertTrue(h.getFormatter() instanceof MockFormatter); in testConstructor_ValidProperties()
291 assertTrue(h.getFormatter() instanceof XMLFormatter); in testConstructor_InvalidBasicProperties()
307 assertTrue(h.getFormatter() instanceof XMLFormatter); in testConstructor_InvalidBasicProperties()
DHandlerTest.java75 assertNull(h.getFormatter()); in testConstructor()
102 assertNull(h.getFormatter()); in testConstructor_Properties()
225 assertSame(f, h.getFormatter()); in testGetSetFormatter_Normal()
DStreamHandlerTest.java104 assertTrue(h.getFormatter() instanceof SimpleFormatter); in testConstructor_NoParameter_NoProperties()
130 assertTrue(h.getFormatter() instanceof MockFormatter); in testConstructor_NoParameter_ValidProperties()
155 assertTrue(h.getFormatter() instanceof SimpleFormatter); in testConstructor_NoParameter_InvalidProperties()
180 assertTrue(h.getFormatter() instanceof MockFormatter2); in testConstructor_HasParameters_NoProperties()
208 assertTrue(h.getFormatter() instanceof MockFormatter2); in testConstructor_HasParameters_ValidProperties()
234 assertTrue(h.getFormatter() instanceof MockFormatter2); in testConstructor_HasParameters_InvalidProperties()
DConsoleHandlerTest.java90 assertTrue(h.getFormatter() instanceof SimpleFormatter); in testConstructor_NoProperties()
115 assertTrue(h.getFormatter() instanceof MockFormatter); in testConstructor_ValidProperties()
139 assertTrue(h.getFormatter() instanceof SimpleFormatter); in testConstructor_InvalidProperties()
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DBasicDurationFormat.java52 formatter = pfs.newDurationFormatterFactory().getFormatter(); in BasicDurationFormat()
53 pformatter = pfs.newPeriodFormatterFactory().setDisplayPastFuture(false).getFormatter(); in BasicDurationFormat()
61 formatter = pfs.newDurationFormatterFactory().setLocale(locale.getName()).getFormatter(); in BasicDurationFormat()
62 …newPeriodFormatterFactory().setDisplayPastFuture(false).setLocale(locale.getName()).getFormatter(); in BasicDurationFormat()
DBasicDurationFormatterFactory.java151 public DurationFormatter getFormatter() { in getFormatter() method in BasicDurationFormatterFactory
173 .getFormatter(); in getPeriodFormatter()
DPeriodFormatterFactory.java75 public PeriodFormatter getFormatter(); in getFormatter() method
DDurationFormatterFactory.java80 public DurationFormatter getFormatter(); in getFormatter() method
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicDurationFormat.java50 formatter = pfs.newDurationFormatterFactory().getFormatter(); in BasicDurationFormat()
51 pformatter = pfs.newPeriodFormatterFactory().setDisplayPastFuture(false).getFormatter(); in BasicDurationFormat()
59 formatter = pfs.newDurationFormatterFactory().setLocale(locale.getName()).getFormatter(); in BasicDurationFormat()
60 …newPeriodFormatterFactory().setDisplayPastFuture(false).setLocale(locale.getName()).getFormatter(); in BasicDurationFormat()
DBasicDurationFormatterFactory.java150 public DurationFormatter getFormatter() { in getFormatter() method in BasicDurationFormatterFactory
172 .getFormatter(); in getPeriodFormatter()
DPeriodFormatterFactory.java73 public PeriodFormatter getFormatter(); in getFormatter() method
DDurationFormatterFactory.java78 public DurationFormatter getFormatter(); in getFormatter() method
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DLanguageTestRoot.java243 PeriodFormatter pf = pfFactory.getFormatter(); in testFullPluralizedForms()
268 PeriodFormatter pf = pfFactory.getFormatter(); in testMediumForms()
289 PeriodFormatter pf = pfFactory.getFormatter(); in testShortForms()
310 PeriodFormatter pf = pfFactory.getFormatter(); in testCustomMinutes()
358 PeriodFormatter pf = pfFactory.getFormatter(); in testLimitedUnits()
398 PeriodFormatter pf = pfFactory.getFormatter(); in testLimitedUnits()
428 PeriodFormatter pf = pfFactory.getFormatter(); in testHalfUnits()
458 PeriodFormatter pf = pfFactory.getFormatter(); in testFractionalUnits()
482 PeriodFormatter pf = pfFactory.getFormatter(); in testMultipleUnits()
DRegressionTest.java46 .getFormatter(); in TestDisallowedMillis()
65 .getFormatter(); in TestDisallowedMillis()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DLanguageTestRoot.java247 PeriodFormatter pf = pfFactory.getFormatter(); in testFullPluralizedForms()
272 PeriodFormatter pf = pfFactory.getFormatter(); in testMediumForms()
293 PeriodFormatter pf = pfFactory.getFormatter(); in testShortForms()
314 PeriodFormatter pf = pfFactory.getFormatter(); in testCustomMinutes()
362 PeriodFormatter pf = pfFactory.getFormatter(); in testLimitedUnits()
402 PeriodFormatter pf = pfFactory.getFormatter(); in testLimitedUnits()
432 PeriodFormatter pf = pfFactory.getFormatter(); in testHalfUnits()
462 PeriodFormatter pf = pfFactory.getFormatter(); in testFractionalUnits()
486 PeriodFormatter pf = pfFactory.getFormatter(); in testMultipleUnits()
DRegressionTest.java50 .getFormatter(); in TestDisallowedMillis()
69 .getFormatter(); in TestDisallowedMillis()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
DSeriesAndFormatterList.java76 public FormatterType getFormatter(SeriesType series) { in getFormatter() method in SeriesAndFormatterList
80 public FormatterType getFormatter(int index) { in getFormatter() method in SeriesAndFormatterList
DSeriesRenderer.java46 public SeriesFormatterType getFormatter(SeriesType series) { in getFormatter() method in SeriesRenderer
47 return (SeriesFormatterType) plot.getFormatter(series, getClass()); in getFormatter()
DRenderBundle.java40 public SeriesFormatterType getFormatter() { in getFormatter() method in RenderBundle
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/
DPlotTest.java315 assertEquals(registry.get(MockRenderer1.class).getFormatter(m1), f1); in testGetFormatter()
316 assertEquals(registry.get(MockRenderer1.class).getFormatter(m2), f2); in testGetFormatter()
317 assertEquals(registry.get(MockRenderer2.class).getFormatter(m2), f3); in testGetFormatter()
319 assertNotSame(registry.get(MockRenderer2.class).getFormatter(m2), f1); in testGetFormatter()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DBarRenderer.java109 protected T getFormatter(int index, XYSeries series) { in getFormatter() method in BarRenderer
110 return getFormatter(series); in getFormatter()
328 return getFormatter(seriesIndex, series); in formatter()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/languages/
DTest_ja.java61 PeriodFormatter pf = pff.getFormatter(); in testOmitZeros()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/languages/
DTest_ja.java65 PeriodFormatter pf = pff.getFormatter(); in testOmitZeros()

12