Searched refs:range (Results 1 - 7 of 7) sorted by relevance
/libcore/luni/src/main/java/java/text/ |
H A D | AttributedString.java | 154 private boolean inRange(Range range) { argument 155 if (!(range.value instanceof Annotation)) { 158 return range.start >= begin && range.start < end 159 && range.end > begin && range.end <= end; 165 Range range = it.next(); 166 if (range.start >= begin && range.start < end) { 167 return !(range [all...] |
/libcore/luni/src/main/java/java/awt/font/ |
H A D | NumericShaper.java | 38 * The Constant EUROPEAN indicates the latin and extended range, 43 /** The Constant ARABIC indicates the ARABIC range and decimal base. */ 47 * The Constant EASTERN_ARABIC indicates the ARABIC range and 53 * The Constant DEVANAGARI indicates the DEVANAGARI range and 58 /** The Constant BENGALI indicates the BENGALI range and decimal base. */ 61 /** The Constant GURMUKHI indicates the GURMUKHI range and decimal base. */ 64 /** The Constant GUJARATI indicates the GUJARATI range and decimal base. */ 67 /** The Constant ORIYA indicates the ORIYA range and decimal base. */ 70 /** The Constant TAMIL indicates the TAMIL range and decimal base. */ 73 /** The Constant TELUGU indicates the TELUGU range an 463 getIndexFromRange(int range) argument [all...] |
/libcore/luni/src/main/java/java/util/ |
H A D | HugeEnumSet.java | 333 long range = (-1L >>> (BIT_IN_LONG -(endInBits - startInBits + 1))) << startInBits; 335 bits[startIndex] |= range; 339 long range = (-1L >>> startInBits) << startInBits; 341 bits[startIndex] |= range; 346 range = -1L >>> (BIT_IN_LONG - (endInBits + 1)); 348 bits[endIndex] |= range;
|
H A D | MiniEnumSet.java | 257 long range = (-1L >>> (MAX_ELEMENTS - length)) << start.ordinal(); 258 bits |= range;
|
H A D | EnumSet.java | 272 * Creates an enum set containing all the elements within the range defined 277 * the element used to define the beginning of the range. 279 * the element used to define the end of the range. 280 * @return an enum set with elements in the range from start to end. 286 public static <E extends Enum<E>> EnumSet<E> range(E start, E end) { method in class:EnumSet
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | RandomTest.java | 101 "Calling nextDouble resulted in a number out of range [0,1)", 124 assertTrue("Calling nextFloat resulted in a number out of range [0,1)", 175 final int range = 10; 176 int lastNum = r.nextInt(range); 181 nextNum = r.nextInt(range); 184 if (!(0 <= nextNum && nextNum < range)) 188 assertTrue("Calling nextInt (range) 100 times resulted in same number", 191 "Calling nextInt (range) resulted in a number outside of [0, range)",
|
H A D | EnumSetTest.java | 125 set = EnumSet.range(HugeEnumCount.NO1, HugeEnumCount.NO65); 133 set = EnumSet.range(HugeEnumCount.NO1, HugeEnumCount.NO130); 1874 * java.util.EnumSet#range(E, E) 1878 EnumSet.range(EnumWithInnerClass.c, null); 1885 EnumSet.range(null, EnumWithInnerClass.c); 1892 EnumSet.range(null, (EnumWithInnerClass) null); 1899 EnumSet.range(EnumWithInnerClass.b, EnumWithInnerClass.a); 1905 EnumSet<EnumWithInnerClass> enumSet = EnumSet.range( 1909 enumSet = EnumSet.range( 1915 EnumSet.range(HugeEnumWithInnerClas [all...] |
Completed in 322 milliseconds