Lines Matching refs:LTR
36 private static final BidiFormatter LTR_FMT = BidiFormatter.getInstance(false /* LTR context */);
40 new BidiFormatter.Builder(false /* LTR context */).stereoReset(false).build();
83 assertEquals("uniform dir opposite to LTR context",
86 assertEquals("uniform dir opposite to LTR context, stereo reset",
89 assertEquals("uniform dir opposite to LTR context, stereo reset, no isolation",
92 assertEquals("neutral treated as opposite to LTR context",
106 RTL_FMT_EXIT_RESET.unicodeWrap(".", TextDirectionHeuristicsCompat.LTR));
113 assertEquals("exit dir opposite to LTR context",
115 LTR_FMT_EXIT_RESET.unicodeWrap(EN + HE, TextDirectionHeuristicsCompat.LTR));
116 assertEquals("exit dir opposite to LTR context, stereo reset",
118 LTR_FMT.unicodeWrap(EN + HE, TextDirectionHeuristicsCompat.LTR));
119 assertEquals("exit dir opposite to LTR context, stereo reset, no isolation",
121 LTR_FMT.unicodeWrap(EN + HE, TextDirectionHeuristicsCompat.LTR, false));
134 assertEquals("entry dir opposite to LTR context",
136 LTR_FMT_EXIT_RESET.unicodeWrap(HE + EN, TextDirectionHeuristicsCompat.LTR));
137 assertEquals("entry dir opposite to LTR context, stereo reset",
139 LTR_FMT.unicodeWrap(HE + EN, TextDirectionHeuristicsCompat.LTR));
140 assertEquals("entry dir opposite to LTR context, stereo reset, no isolation",
142 LTR_FMT.unicodeWrap(HE + EN, TextDirectionHeuristicsCompat.LTR, false));
155 assertEquals("entry and exit dir opposite to LTR context",
157 LTR_FMT_EXIT_RESET.unicodeWrap(HE + EN + HE, TextDirectionHeuristicsCompat.LTR));
158 assertEquals("entry and exit dir opposite to LTR context, stereo reset",
160 LTR_FMT.unicodeWrap(HE + EN + HE, TextDirectionHeuristicsCompat.LTR));
161 assertEquals("entry and exit dir opposite to LTR context, no isolation",
163 LTR_FMT_EXIT_RESET.unicodeWrap(HE + EN + HE, TextDirectionHeuristicsCompat.LTR,
175 assertEquals("overall dir (but not entry or exit dir) opposite to LTR context",
178 assertEquals("overall dir (but not entry or exit dir) opposite to LTR context, stereo reset",
181 assertEquals("overall dir (but not entry or exit dir) opposite to LTR context, no isolation",
188 RTL_FMT_EXIT_RESET.unicodeWrap(HE + EN + HE, TextDirectionHeuristicsCompat.LTR));
191 RTL_FMT.unicodeWrap(HE + EN + HE, TextDirectionHeuristicsCompat.LTR));
194 RTL_FMT_EXIT_RESET.unicodeWrap(HE + EN + HE, TextDirectionHeuristicsCompat.LTR,
218 wrapped = (Spanned) LTR_FMT.unicodeWrap(CS_EN_HE, TextDirectionHeuristicsCompat.LTR);
234 wrapped = (Spanned) LTR_FMT.unicodeWrap(CS_EN_HE, TextDirectionHeuristicsCompat.LTR, false);