Lines Matching defs:priority
48 * <code>GlyphJustificationInfo</code> are weight, priority, absorb and
56 * All glyphs of the same priority are examined before glyphs of the next
57 * priority. If all the change in space can be allocated to these glyphs
58 * without exceeding their limits, then glyphs of the next priority are not
60 * and none. KASHIDA is the first priority examined. NONE is the last
61 * priority examined.
64 * given priority, some glyphs may absorb all the change in space. If any of
65 * these glyphs are present, no glyphs of later priority are examined.
84 * all extra space at this priority and lower priority levels when it
86 * @param growPriority the priority level of this glyph when it
93 * remaining shrinkage at this and lower priority levels when it
95 * @param shrinkPriority the priority level of this glyph when
117 throw new IllegalArgumentException("Invalid grow priority");
127 throw new IllegalArgumentException("Invalid shrink priority");
147 private static boolean priorityIsValid(int priority) {
149 return priority >= PRIORITY_KASHIDA && priority <= PRIORITY_NONE;
152 /** The highest justification priority. */
155 /** The second highest justification priority. */
158 /** The second lowest justification priority. */
161 /** The lowest justification priority. */
170 * The priority level of this glyph as it is growing.
176 * space at this and lower priority levels when it grows.
191 * The priority level of this glyph as it is shrinking.
197 * this and lower priority levels as it shrinks.