Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/text/
DOldBidiTest.java21 import java.text.Bidi;
28 Bidi bd = new Bidi("bidi", 173); in testToString()
38 Bidi bidi = new Bidi("str", Bidi.DIRECTION_RIGHT_TO_LEFT); in testCreateLineBidi_AndroidFailure()
43 Bidi bd = new Bidi("text", Bidi.DIRECTION_LEFT_TO_RIGHT); in testGetRunLevelLInt()
51 bd = new Bidi("text", Bidi.DIRECTION_RIGHT_TO_LEFT); in testGetRunLevelLInt()
58 bd = new Bidi("text", Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT); in testGetRunLevelLInt()
67 Bidi bd = new Bidi(new char[] { 's', 's', 's' }, 0, new byte[] { (byte) -7, in testGetRunStart()
69 Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT); in testGetRunStart()
78 Bidi.reorderVisually(new byte[] {}, -1, new Object[] {}, 0, 0); in testReorderVisuallyIllegalArguments()
85 Bidi.reorderVisually(new byte[] {}, 0, new Object[] {}, -1, 0); in testReorderVisuallyIllegalArguments()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DBidiBenchmark.java21 import java.text.Bidi;
31 Bidi bidi = new Bidi(charIter); in time_createBidiFromIter()
37 Bidi bd = new Bidi(new char[]{'s', 's', 's'}, 0, new byte[]{(byte) 1, in time_createBidiFromCharArray()
38 (byte) 2, (byte) 3}, 0, 3, Bidi.DIRECTION_RIGHT_TO_LEFT); in time_createBidiFromCharArray()
44 Bidi bidi = new Bidi("Hello", Bidi.DIRECTION_LEFT_TO_RIGHT); in time_createBidiFromString()
50 Bidi.reorderVisually(new byte[]{2, 1, 3, 0, 4}, 0, in time_reorderVisually()
57 Bidi bd = new Bidi(new char[]{'\u05D0', '\u05D0', '\u05D0'}, 0, in time_hebrewBidi()
59 Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT); in time_hebrewBidi()
60 bd = new Bidi(new char[]{'\u05D0', '\u05D0', '\u05D0'}, 0, in time_hebrewBidi()
62 Bidi.DIRECTION_LEFT_TO_RIGHT); in time_hebrewBidi()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DBidiTest.java21 import java.text.Bidi;
28 Bidi bd;
30 public static void assertRunArrayEquals(int[][] expected, Bidi bidi) { in assertRunArrayEquals()
50 bd = new Bidi(null, Bidi.DIRECTION_RIGHT_TO_LEFT); in testNullPointerConstructor()
57 bd = new Bidi(null, 0, new byte[] { 0 }, 0, 0, in testNullPointerConstructor()
58 Bidi.DIRECTION_RIGHT_TO_LEFT); in testNullPointerConstructor()
65 bd = new Bidi(null); in testNullPointerConstructor()
70 bd = new Bidi("a".toCharArray(), 0, null, 0, 1, in testNullPointerConstructor()
71 Bidi.DIRECTION_RIGHT_TO_LEFT); in testNullPointerConstructor()
76 bd = new Bidi("1".toCharArray(), 0, new byte[] { 0 }, 0, 20, in testBadLength()
[all …]
/libcore/ojluni/src/main/java/java/text/
DBidi.java60 public final class Bidi { class
94 return android.icu.text.Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT; in translateConstToIcu()
96 return android.icu.text.Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT; in translateConstToIcu()
98 return android.icu.text.Bidi.DIRECTION_LEFT_TO_RIGHT; in translateConstToIcu()
100 return android.icu.text.Bidi.DIRECTION_RIGHT_TO_LEFT; in translateConstToIcu()
103 return android.icu.text.Bidi.DIRECTION_LEFT_TO_RIGHT; in translateConstToIcu()
109 private final android.icu.text.Bidi bidiBase;
119 public Bidi(String paragraph, int flags) { in Bidi() method in Bidi
125 bidiBase = new android.icu.text.Bidi(paragraph.toCharArray(), 0, null, 0, in Bidi()
154 public Bidi(AttributedCharacterIterator paragraph) { in Bidi() method in Bidi
[all …]
/libcore/expectations/
Dknownfailures.txt30 "java.text.Bidi.Bug6665028",
/libcore/
Dopenjdk_java_files.bp746 "ojluni/src/main/java/java/text/Bidi.java",