Searched refs:requiresBidi (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/test/java/text/Bidi/
H A DBidiSurrogateTest.java65 void testRequiresBidi(String string, boolean requiresBidi) { argument
67 if (Bidi.requiresBidi(text, 0, text.length) != requiresBidi) {
68 throw new RuntimeException("testRequiresBidi failed with '" + string + "', " + requiresBidi);
H A DBidiConformance.java1328 System.out.println("*** Test requiresBidi()");
1337 boolean rBidi = Bidi.requiresBidi(text, 0, text.length);
1340 System.err.println("Unexpected requiresBidi() value" +
1341 " for requiresBidi(\"" + paragraph + "\", " + 0 + ", " +
1346 System.out.println(" Okay : requiresBidi() for" +
1347 " requiresBidi(\"" + paragraph + "\", " + 0 + ", " +
1356 Bidi.requiresBidi(txt, -1, textLength);
1357 errorHandling("requiresBidi() should throw an IAE" +
1363 errorHandling("requiresBidi() should not throw an AIOoBE " +
1368 Bidi.requiresBidi(tx
[all...]
/openjdk7/jdk/src/share/classes/java/text/
H A DBidi.java297 public static boolean requiresBidi(char[] text, int start, int limit) { method in class:Bidi
298 return BidiBase.requiresBidi(text, start, limit);
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextLine.java914 boolean requiresBidi = false;
922 requiresBidi = !isDirectionLTR;
925 requiresBidi = true;
936 if (!requiresBidi) {
937 requiresBidi = Bidi.requiresBidi(chars, 0, chars.length);
940 if (requiresBidi) {
H A DTextMeasurer.java684 if (fBidi != null || Bidi.requiresBidi(newChars, newCharIndex, newCharIndex + 1) ||
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/
H A DTextConstructionTests.java110 flags = Bidi.requiresBidi(chars, 0, chars.length)
H A DTextMeasureTests.java226 if (Bidi.requiresBidi(chars, 0, chars.length)) { // assume rtl
/openjdk7/jdk/src/share/classes/sun/text/bidi/
H A DBidiBase.java3334 public static boolean requiresBidi(char[] text, method in class:BidiBase

Completed in 55 milliseconds