Searched refs:Bidi (Results 1 - 24 of 24) sorted by relevance

/openjdk7/jdk/test/java/text/Bidi/
H A DBug7041232.java44 Bidi bidi = new Bidi(UnicodeChars, Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT);
H A DBug7002398.java34 Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT,
35 Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT,
36 Bidi.DIRECTION_LEFT_TO_RIGHT,
37 Bidi.DIRECTION_RIGHT_TO_LEFT
41 * Old Bidi class: AL AN AL AN AL
42 * New Bidi class: AL
51 Bidi bidi = new Bidi(str, directions[dir]);
H A DBug8005277.java27 * @summary verify that Bidi.getRunLevel() returns a corect level.
29 import java.text.Bidi;
36 Bidi bidi = new Bidi(string, Bidi.DIRECTION_LEFT_TO_RIGHT);
H A DBidiBug.java33 java.text.Bidi bidi = new java.text.Bidi(new char[20],10,buff,Integer.MAX_VALUE-3,4,1);
39 throw new RuntimeException("Failed: Bidi didn't throw error, though we didn't crash either");
H A DBidiSurrogateTest.java31 import java.text.Bidi;
67 if (Bidi.requiresBidi(text, 0, text.length) != requiresBidi) {
82 Bidi bidi = new Bidi(string, Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT);
92 Bidi bidi = new Bidi(string, Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT);
H A DBug7042148.java27 * @summary verify that Bidi.baseIsLeftToRight() returns the correct value even if an incorrect position is set in the given AttributedCharacterIterator.
58 test(str1, attrLTR, Bidi.DIRECTION_LEFT_TO_RIGHT);
59 test(str1, attrRTL, Bidi.DIRECTION_RIGHT_TO_LEFT);
60 test(str2, attrLTR, Bidi.DIRECTION_LEFT_TO_RIGHT);
61 test(str2, attrRTL, Bidi.DIRECTION_RIGHT_TO_LEFT);
65 boolean expected = (dirFlag == Bidi.DIRECTION_LEFT_TO_RIGHT);
67 Bidi bidi = new Bidi(text, dirFlag);
71 System.err.println("wrong Bidi(String, int).baseIsLeftToRight() value: " +
81 bidi = new Bidi(it
[all...]
H A DBidiConformance.java27 * @summary confirm the behavior of new Bidi implementation. (Backward compatibility)
33 import java.text.Bidi;
68 testMethods4Constructor1(); // Bidi(AttributedCharacterIterator)
69 testMethods4Constructor2(); // Bidi(String, int)
70 testMethods4Constructor3(); // Bidi(char[], ...)
76 checkResult("Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT",
77 -2, Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT);
78 checkResult("Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT",
79 -1, Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT);
80 checkResult("Bidi
[all...]
H A DBidiEmbeddingTest.java28 * indicate overrides, rather than using bit 7. Also tests Bidi without loading awt classes to
29 * confirm that Bidi can be used without awt. Verify that embedding level 0 is properly mapped
37 import java.text.Bidi;
68 Bidi bidi = new Bidi(astr.getIterator());
84 Bidi bidi2 = new Bidi(str.toCharArray(), 0, embs, 1, str.length(), Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT);
95 throw new Error("Bidi run count incorrect");
119 Bidi bid
[all...]
H A DBug6665028.java36 import java.text.Bidi;
83 String s = "A Bidi object provides information on the bidirectional reordering of the text used to create it. This is required, for example, to properly display Arabic or Hebrew text. ";
102 Bidi bidi = new Bidi(astr.getIterator());
109 Bidi bidi2 = new Bidi(str.toCharArray(), 0, embs, 1, str.length(), Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT);
111 throw new Error("Bidi run count incorrect");
129 Bidi bidi = new Bidi(ast
[all...]
H A DBug7051769.java27 * @summary verify that Bidi.toString() returns the corect result.
61 Bidi bidi = new Bidi(itr);
/openjdk7/jdk/src/share/classes/java/text/
H A DBidi.java43 * A Bidi object provides information on the bidirectional reordering of the text
48 * Once created, a Bidi object can be queried to see if the text it represents is
61 public final class Bidi { class
88 * Create Bidi from the given paragraph of text and base direction.
95 public Bidi(String paragraph, int flags) { method in class:Bidi
104 * Create Bidi from the given paragraph of text.
128 public Bidi(AttributedCharacterIterator paragraph) { method in class:Bidi
138 * Create Bidi from the given text, embedding, and direction information.
154 public Bidi(char[] text, int textStart, byte[] embeddings, int embStart, int paragraphLength, int flags) { method in class:Bidi
176 * Create a Bidi objec
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DTextLabelFactory.java36 import java.text.Bidi;
48 * @see Bidi
55 private Bidi bidi;
56 private Bidi lineBidi;
70 Bidi bidi,
89 public Bidi getParagraphBidi() {
93 public Bidi getLineBidi() {
H A DBidiUtils.java38 import java.text.Bidi;
54 public static void getLevels(Bidi bidi, byte[] levels, int start) {
78 public static byte[] getLevels(Bidi bidi) {
H A DGraphicComponent.java44 import java.text.Bidi;
/openjdk7/jdk/make/java/text/bidi/
H A DMakefile32 # Files for Bidi that is not in the base module
35 java/text/Bidi.java \
/openjdk7/jdk/src/share/classes/sun/text/bidi/
H A DBidiBase.java38 * algorithm for direct BiDi, algorithm for inverse Bidi and the bizarre
61 import java.text.Bidi;
70 * <h2>Bidi algorithm for ICU</h2>
79 * accordingly are sometimes called "Storage Layout Engines". ICU's Bidi and
91 * embedding level after performing the Bidi algorithm.
96 * with the Bidi class <code>Block Separator</code>. For handling of
126 * Bidi implementation would resolve it to.</li>
154 * Reordering mode values indicate which variant of the Bidi algorithm to
169 * Reordering options can be applied during Bidi text transformations.
183 * <h4> Sample code for the ICU Bidi AP
[all...]
H A DBidiLine.java42 import java.text.Bidi;
53 * the Unicode 3.0 Bidi algorithm as defined in
57 * This means that there is a Bidi object with a levels
88 * This allows a line Bidi object to use the same levels array as
91 * When a Bidi object is created for a line of a paragraph, then the
143 public static Bidi setLine(Bidi bidi, BidiBase paraBidi,
144 Bidi newBidi, BidiBase newBidiBase,
241 case Bidi.DIRECTION_LEFT_TO_RIGHT:
250 case Bidi
[all...]
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextMeasurer.java47 import java.text.Bidi;
124 // Bidi for this paragraph
125 private Bidi fBidi;
208 fBidi = new Bidi(text);
471 Bidi lineBidi = fBidi.createLineBidi(startPos, limitPos);
684 if (fBidi != null || Bidi.requiresBidi(newChars, newCharIndex, newCharIndex + 1) ||
687 fBidi = new Bidi(newParagraph);
738 fBidi = new Bidi(newParagraph);
H A DTextLine.java46 import java.text.Bidi;
911 Bidi bidi = null;
937 requiresBidi = Bidi.requiresBidi(chars, 0, chars.length);
942 ? Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT
945 bidi = new Bidi(chars, 0, embs, 0, chars.length, bidiflags);
1139 Bidi lineBidi = factory.getLineBidi();
1197 Bidi bidi = new Bidi(text);
/openjdk7/jdk/make/sun/font/
H A DMakefile57 FILES_java += java/awt/Font.java java/text/Bidi.java
62 java/text/Bidi.java \
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/
H A DTextConstructionTests.java55 import java.text.Bidi;
110 flags = Bidi.requiresBidi(chars, 0, chars.length)
H A DTextMeasureTests.java59 import java.text.Bidi;
226 if (Bidi.requiresBidi(chars, 0, chars.length)) { // assume rtl
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DAbstractDocument.java30 import java.text.Bidi;
1203 // Create a Bidi over this paragraph then get the level
1212 Bidi bidiAnalyzer;
1213 int bidiflag = Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT;
1216 bidiflag = Bidi.DIRECTION_LEFT_TO_RIGHT;
1218 bidiflag = Bidi.DIRECTION_RIGHT_TO_LEFT;
1221 bidiAnalyzer = new Bidi(seg.array, seg.offset, null, 0, seg.count,
/openjdk7/jdk/src/share/classes/sun/swing/
H A DSwingUtilities2.java36 import java.text.Bidi;

Completed in 132 milliseconds