Home
last modified time | relevance | path

Searched refs:Range (Results 1 – 13 of 13) sorted by relevance

/libcore/ojluni/src/main/java/java/awt/font/
DNumericShaper.java162 public static enum Range { enum in NumericShaper
314 private static int toRangeIndex(Range script) { in toRangeIndex()
319 private static Range indexToRange(int index) { in indexToRange()
320 return index < NUM_KEYS ? Range.values()[index] : null; in indexToRange()
323 private static int toRangeMask(Set<Range> ranges) { in toRangeMask()
325 for (Range range : ranges) { in toRangeMask()
334 private static Set<Range> maskToRangeSet(int mask) { in maskToRangeSet()
335 Set<Range> set = EnumSet.noneOf(Range.class); in maskToRangeSet()
336 Range[] a = Range.values(); in maskToRangeSet()
351 private Range(int base, int start, int end) { in Range() method in NumericShaper.Range
[all …]
/libcore/ojluni/src/test/java/awt/font/NumericShaper/
DEqualsTest.java46 EnumSet.of(Range.ARABIC, Range.TAMIL), in main()
47 Range.TAMIL); in main()
49 EnumSet.of(Range.ARABIC, Range.TAMIL), in main()
50 Range.TAMIL); in main()
52 EnumSet.of(Range.ARABIC, Range.TAMIL), in main()
53 Range.ARABIC); in main()
DShapingTest.java59 Range.ARABIC, Range.TAMIL, Range.ETHIOPIC), in test6842557()
60 Range.EUROPEAN); in test6842557()
103 ns = getContextualShaper(EnumSet.of(Range.ARABIC)); in test6943963()
109 ns = getContextualShaper(EnumSet.of(Range.EASTERN_ARABIC)); in test6943963()
115 ns = getContextualShaper(EnumSet.of(Range.ARABIC, Range.EASTERN_ARABIC)); in test6943963()
120 NumericShaper ns = getContextualShaper(EnumSet.of(Range.TAI_THAM_HORA)); in test6903266()
125 ns = getContextualShaper(EnumSet.of(Range.TAI_THAM_HORA, in test6903266()
126 Range.TAI_THAM_THAM)); in test6903266()
131 ns = getContextualShaper(EnumSet.of(Range.JAVANESE)); in test6903266()
136 ns = getContextualShaper(EnumSet.of(Range.TAI_THAM_THAM)); in test6903266()
[all …]
DEasternArabicTest.java64 ns_new = getContextualShaper(EnumSet.of(Range.THAI, in main()
65 Range.TAMIL, in main()
66 Range.ETHIOPIC, in main()
67 Range.EASTERN_ARABIC, in main()
68 Range.ARABIC, in main()
69 Range.LAO), in main()
70 Range.EUROPEAN); in main()
DMTTest.java57 ns1 = getContextualShaper(EnumSet.of(Range.EASTERN_ARABIC, Range.THAI), in main()
58 Range.EUROPEAN); in main()
59 ns2 = getContextualShaper(EnumSet.of(Range.ARABIC, Range.THAI), in main()
60 Range.EUROPEAN); in main()
/libcore/luni/src/test/java/libcore/java/awt/font/
DNumericShaperTest.java26 import java.awt.font.NumericShaper.Range;
34 NumericShaper ns = NumericShaper.getShaper(Range.ARABIC); in testShape()
47 ns.shape(chars, 0, chars.length, Range.EUROPEAN); in testShape()
61 assertEquals(EnumSet.of(Range.ARABIC, Range.DEVANAGARI), ns.getRangeSet()); in testGetRangeSet()
/libcore/dalvik/src/main/java/dalvik/system/
DEmulatedStackFrame.java95 public static final class Range { class in EmulatedStackFrame
102 private static Range EMPTY_RANGE = new Range(0, 0, 0, 0);
104 private Range(int referencesStart, int numReferences, int stackFrameStart, int numBytes) { in Range() method in EmulatedStackFrame.Range
114 public static Range all(MethodType frameType) { in all()
123 public static Range of(MethodType frameType, int startArg, int endArg) { in of()
152 return new Range(referencesStart, numReferences, stackFrameStart, numBytes); in of()
159 public static Range from(MethodType frameType, int startArg) { in from()
234 public void copyRangeTo(EmulatedStackFrame other, Range fromRange, int referencesStart, in copyRangeTo()
/libcore/ojluni/src/main/java/java/lang/invoke/
DTransformers.java29 import dalvik.system.EmulatedStackFrame.Range;
129 private final EmulatedStackFrame.Range range1;
130 private final EmulatedStackFrame.Range range2;
139 this.range1 = EmulatedStackFrame.Range.of(type, 0, startPos); in DropArguments()
140 this.range2 = EmulatedStackFrame.Range.from(type, startPos + numDropped); in DropArguments()
163 private final EmulatedStackFrame.Range handlerArgsRange;
176 EmulatedStackFrame.Range.of( in CatchException()
283 private final EmulatedStackFrame.Range testArgsRange;
294 EmulatedStackFrame.Range.of(target.type(), 0, test.type().parameterCount()); in GuardWithTest()
479 private final EmulatedStackFrame.Range callerRange;
[all …]
/libcore/ojluni/src/test/java/util/EnumSet/
DRange.java37 public class Range { class
/libcore/ojluni/src/test/java/util/regex/
DTestCases.txt140 // Range char class
DBMPTestCases.txt116 // Range char class
DSupplementaryTestCases.txt237 // Range codepoint class
/libcore/api/
Dcurrent.txt1151 … java.awt.font.NumericShaper getContextualShaper(java.util.Set<java.awt.font.NumericShaper.Range>);
1153 …textualShaper(java.util.Set<java.awt.font.NumericShaper.Range>, java.awt.font.NumericShaper.Range);
1154 method public java.util.Set<java.awt.font.NumericShaper.Range> getRangeSet();
1157 method public static java.awt.font.NumericShaper getShaper(java.awt.font.NumericShaper.Range);
1161 method public void shape(char[], int, int, java.awt.font.NumericShaper.Range);
1184 public enum NumericShaper.Range {
1185 enum_constant public static final java.awt.font.NumericShaper.Range ARABIC;
1186 enum_constant public static final java.awt.font.NumericShaper.Range BALINESE;
1187 enum_constant public static final java.awt.font.NumericShaper.Range BENGALI;
1188 enum_constant public static final java.awt.font.NumericShaper.Range CHAM;
[all …]