Searched refs:requiresBidi (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldBidiTest.java | 118 Bidi.requiresBidi(new char[] {}, 0, -1); in testRequiresBidiIllegalArguments() 124 Bidi.requiresBidi(new char[] {}, -1, 0); in testRequiresBidiIllegalArguments() 131 Bidi.requiresBidi(new char[] {}, 1, 0); in testRequiresBidiIllegalArguments() 138 Bidi.requiresBidi(new char[] {'a', 'b', 'c'}, 0, 4); in testRequiresBidiIllegalArguments()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | BidiTest.java | 643 Bidi.requiresBidi(null, 0, 0); in testRequiresBidi() 650 assertFalse(Bidi.requiresBidi(null, 0, 1)); in testRequiresBidi() 656 assertFalse(Bidi.requiresBidi("".toCharArray(), 0, 1)); in testRequiresBidi() 662 assertFalse(Bidi.requiresBidi("aaa".toCharArray(), -1, 1)); in testRequiresBidi() 668 assertFalse(Bidi.requiresBidi("aaa".toCharArray(), 1, -1)); in testRequiresBidi() 674 assertFalse(Bidi.requiresBidi("\u05D0".toCharArray(), 1, -1)); in testRequiresBidi() 680 assertFalse(Bidi.requiresBidi("aaa".toCharArray(), 1, 0)); in testRequiresBidi() 686 assertFalse(Bidi.requiresBidi("aaa".toCharArray(), 7, 7)); in testRequiresBidi() 692 assertFalse(Bidi.requiresBidi("aaa".toCharArray(), 1, Integer.MAX_VALUE)); in testRequiresBidi() 698 assertFalse(Bidi.requiresBidi("aaa".toCharArray(), Integer.MAX_VALUE, 1)); in testRequiresBidi() [all …]
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | BidiBenchmark.java | 76 Bidi.requiresBidi("\u05D0".toCharArray(), 1, 1); // false. in time_requiresBidi() 77 Bidi.requiresBidi("\u05D0".toCharArray(), 0, 1); // true. in time_requiresBidi()
|
/libcore/ojluni/src/main/java/java/text/ |
D | Bidi.java | 373 public static boolean requiresBidi(char[] text, int start, int limit) { in requiresBidi() method in Bidi 379 return android.icu.text.Bidi.requiresBidi(text, start, limit); in requiresBidi()
|