Home
last modified time | relevance | path

Searched refs:RTL_FMT (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DBidiFormatterTest.java44 private static final BidiFormatter RTL_FMT = BidiFormatter.getInstance(true /* RTL context */); field in BidiFormatterTest
63 assertEquals(true, RTL_FMT.isRtlContext()); in testIsRtlContext()
73 assertTrue(defaultFormatterInstance == LTR_FMT || defaultFormatterInstance == RTL_FMT); in testCachedInstances()
76 assertEquals(RTL_FMT, BidiFormatter.getInstance(true)); in testCachedInstances()
79 assertEquals(RTL_FMT, BidiFormatter.getInstance(Locale.forLanguageTag("ar"))); in testCachedInstances()
120 RTL_FMT.unicodeWrap("." + EN + ".")); in testUnicodeWrap()
123 RTL_FMT.unicodeWrap("." + EN + ".", false)); in testUnicodeWrap()
148 RTL_FMT.unicodeWrap(HE + EN, TextDirectionHeuristics.RTL)); in testUnicodeWrap()
151 RTL_FMT.unicodeWrap(HE + EN, TextDirectionHeuristics.RTL, false)); in testUnicodeWrap()
169 RTL_FMT.unicodeWrap(EN + HE, TextDirectionHeuristics.RTL)); in testUnicodeWrap()
[all …]