Home
last modified time | relevance | path

Searched refs:getFormatter (Results 1 – 25 of 37) 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.java54 formatter = pfs.newDurationFormatterFactory().getFormatter(); in BasicDurationFormat()
55 pformatter = pfs.newPeriodFormatterFactory().setDisplayPastFuture(false).getFormatter(); in BasicDurationFormat()
63 formatter = pfs.newDurationFormatterFactory().setLocale(locale.getName()).getFormatter(); in BasicDurationFormat()
64 …newPeriodFormatterFactory().setDisplayPastFuture(false).setLocale(locale.getName()).getFormatter(); in BasicDurationFormat()
DBasicDurationFormatterFactory.java160 public DurationFormatter getFormatter() { in getFormatter() method in BasicDurationFormatterFactory
182 .getFormatter(); in getPeriodFormatter()
DPeriodFormatterFactory.java77 public PeriodFormatter getFormatter(); in getFormatter() method
DDurationFormatterFactory.java82 public DurationFormatter getFormatter(); in getFormatter() method
/external/icu/icu4j/main/classes/core/src/com/ibm/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.java159 public DurationFormatter getFormatter() { in getFormatter() method in BasicDurationFormatterFactory
181 .getFormatter(); in getPeriodFormatter()
DPeriodFormatterFactory.java75 public PeriodFormatter getFormatter(); in getFormatter() method
DDurationFormatterFactory.java80 public DurationFormatter getFormatter(); in getFormatter() method
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DLanguageTestFmwk.java251 PeriodFormatter pf = pfFactory.getFormatter(); in testFullPluralizedForms()
277 PeriodFormatter pf = pfFactory.getFormatter(); in testMediumForms()
299 PeriodFormatter pf = pfFactory.getFormatter(); in testShortForms()
321 PeriodFormatter pf = pfFactory.getFormatter(); in testCustomMinutes()
370 PeriodFormatter pf = pfFactory.getFormatter(); in testLimitedUnits()
410 PeriodFormatter pf = pfFactory.getFormatter(); in testLimitedUnits()
441 PeriodFormatter pf = pfFactory.getFormatter(); in testHalfUnits()
472 PeriodFormatter pf = pfFactory.getFormatter(); in testFractionalUnits()
497 PeriodFormatter pf = pfFactory.getFormatter(); in testMultipleUnits()
DRegressionTest.java49 .getFormatter(); in TestDisallowedMillis()
68 .getFormatter(); in TestDisallowedMillis()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DLanguageTestFmwk.java252 PeriodFormatter pf = pfFactory.getFormatter(); in testFullPluralizedForms()
278 PeriodFormatter pf = pfFactory.getFormatter(); in testMediumForms()
300 PeriodFormatter pf = pfFactory.getFormatter(); in testShortForms()
322 PeriodFormatter pf = pfFactory.getFormatter(); in testCustomMinutes()
371 PeriodFormatter pf = pfFactory.getFormatter(); in testLimitedUnits()
411 PeriodFormatter pf = pfFactory.getFormatter(); in testLimitedUnits()
442 PeriodFormatter pf = pfFactory.getFormatter(); in testHalfUnits()
473 PeriodFormatter pf = pfFactory.getFormatter(); in testFractionalUnits()
498 PeriodFormatter pf = pfFactory.getFormatter(); in testMultipleUnits()
DRegressionTest.java52 .getFormatter(); in TestDisallowedMillis()
71 .getFormatter(); in TestDisallowedMillis()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
DSeriesRenderer.java46 public SeriesFormatterType getFormatter(SeriesType series) { in getFormatter() method in SeriesRenderer
47 return (SeriesFormatterType) plot.getFormatter(series, getClass()); in getFormatter()
DSeriesAndFormatterList.java76 public FormatterType getFormatter(SeriesType series) { in getFormatter() method in SeriesAndFormatterList
80 public FormatterType getFormatter(int index) { in getFormatter() method in SeriesAndFormatterList
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/android_icu4j/src/main/tests/android/icu/dev/test/duration/languages/
DTest_ja.java60 PeriodFormatter pf = pff.getFormatter(); in testOmitZeros()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/languages/
DTest_ja.java57 PeriodFormatter pf = pff.getFormatter(); in testOmitZeros()

12