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.java20 import java.text.Bidi;
27 Bidi bd = new Bidi("bidi", 173); in testToString()
37 Bidi bidi = new Bidi("str", Bidi.DIRECTION_RIGHT_TO_LEFT); in testCreateLineBidi_AndroidFailure()
42 Bidi bd = new Bidi("text", Bidi.DIRECTION_LEFT_TO_RIGHT); in testGetRunLevelLInt()
50 bd = new Bidi("text", Bidi.DIRECTION_RIGHT_TO_LEFT); in testGetRunLevelLInt()
57 bd = new Bidi("text", Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT); in testGetRunLevelLInt()
66 Bidi bd = new Bidi(new char[] { 's', 's', 's' }, 0, new byte[] { (byte) -7, in testGetRunStart()
68 Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT); in testGetRunStart()
77 Bidi.reorderVisually(new byte[] {}, -1, new Object[] {}, 0, 0); in testReorderVisuallyIllegalArguments()
84 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
87 return android.icu.text.Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT; in translateConstToIcu()
89 return android.icu.text.Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT; in translateConstToIcu()
91 return android.icu.text.Bidi.DIRECTION_LEFT_TO_RIGHT; in translateConstToIcu()
93 return android.icu.text.Bidi.DIRECTION_RIGHT_TO_LEFT; in translateConstToIcu()
96 return android.icu.text.Bidi.DIRECTION_LEFT_TO_RIGHT; in translateConstToIcu()
100 private android.icu.text.Bidi bidiBase;
110 public Bidi(String paragraph, int flags) { in Bidi() method in Bidi
140 public Bidi(AttributedCharacterIterator paragraph) { in Bidi() method in Bidi
145 this.bidiBase = new android.icu.text.Bidi(paragraph); in Bidi()
[all …]
/libcore/expectations/
Dtaggedtests.txt30 "java.text.Bidi.Bug6665028",
/libcore/
Dopenjdk_java_files.mk623 ojluni/src/main/java/java/text/Bidi.java \