Searched refs:max (Results 151 - 175 of 747) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/util/
H A DJapaneseImperialCalendar.java260 // max value could be one year short. For example, if it's
261 // Showa 63 January 8, 63 is the actual max value since
524 int max = getMaximum(field);
541 int unit = max + 1; // 12 or 24 hours
584 max = getActualMaximum(field);
598 max = d.getMonth() - 1;
599 int n = getRolledValue(internalGet(field), amount, min, max);
600 if (n == max) {
623 int n = getRolledValue(internalGet(field), amount, min, max);
669 max
2350 getRolledValue(int value, int amount, int min, int max) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DTableView.java264 maxColumns = Math.max(maxColumns, col);
370 long max = 0;
374 max += req.maximum;
378 r.maximum = (int) max;
463 req.minimum = Math.max((int) v.getMinimumSpan(axis), req.minimum);
464 req.preferred = Math.max((int) v.getPreferredSpan(axis), req.preferred);
465 req.maximum = Math.max((int) v.getMaximumSpan(axis), req.maximum);
476 long max = 0;
481 max += req.maximum;
496 r.maximum = Math.max(
[all...]
H A DAbstractWriter.java68 * indicates that even if the line is > than max line length it should
295 int start = Math.max(getStartOffset(), elem.getStartOffset());
468 int max = getIndentLevel() * getIndentSpace();
469 if (indentChars == null || max > indentChars.length) {
470 indentChars = new char[max];
471 for (int counter = 0; counter < max; counter++) {
477 output(indentChars, 0, max);
625 counter = Math.max(0, maxBreak);
H A DInternationalFormatter.java45 * comparable to the min/max values by way of the <code>Comparable</code>
74 * is outside the min/max a <code>ParseException</code> is thrown.
108 private Comparable max; field in class:InternationalFormatter
231 * not been specified, and <code>max</code> is non null, the
233 * <code>max</code>.
235 * @param max Maximum legal value that can be input
238 public void setMaximum(Comparable max) { argument
239 if (getValueClass() == null && max != null) {
240 setValueClass(max.getClass());
242 this.max
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXScrollbar.java63 private int max; field in class:XScrollbar
104 } else if (v > max - vis) {
105 v = max - vis;
531 return Math.max(0,(int)((x - (thumbOffset.x + getArrowAreaWidth()))/getScaleFactor())) + min;
533 return Math.max(0,(int)((x - (getArrowAreaWidth()))/getScaleFactor())) + min;
536 return Math.max(0,(int)((y - (thumbOffset.y + getArrowAreaWidth()))/getScaleFactor())) + min;
538 return Math.max(0,(int)((y - (getArrowAreaWidth()))/getScaleFactor())) + min;
590 this.max = maximum;
634 setValues(newValue, vis, min, max);
654 setValues(val, vis, newMinimum, max);
[all...]
H A DXWarningWindow.java101 int max = Math.max(insets.top, Math.max(insets.bottom,
102 Math.max(insets.left, insets.right)));
103 if (max < 24) {
105 } else if (max < 32) {
107 } else if (max < 48) {
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DMemoryTab.java64 private static final String maxKey = "max";
251 private long[] used, committed, max, threshold;
274 max = new long[n];
314 max[i] = mu.getMax();
353 plotter.addValues(timeStamp, used[i], committed[i], max[i], threshold[i]);
358 used[i], threshold[i], max[i]);
360 plotter.addValues(timeStamp, used[i], committed[i], max[i]);
365 overviewPanel.updateMemoryInfo(used[i], committed[i], max[i]);
394 long max = plotter.getLastValue(maxKey);
401 if (max >
444 long value, threshold, max; field in class:MemoryTab.PoolPlotter
497 setValue(int poolIndex, PoolPlotter poolPlotter, long value, long threshold, long max) argument
760 updateMemoryInfo(long used, long committed, long max) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultListSelectionModel.java200 lastChangedIndex = Math.max(lastChangedIndex, lastAdjustedIndex);
260 lastAdjustedIndex = Math.max(lastAdjustedIndex, r);
273 maxIndex = Math.max(maxIndex, r);
317 We also don't need to worry about the case when the min and max
324 just by using Math.min and Math.max.
384 for(int i = Math.min(setMin, clearMin); i <= Math.max(setMax, clearMax); i++) {
458 int setMax = Math.max(index0, index1);
506 int setMax = Math.max(index0, index1);
565 int clearMax = Math.max(index0, index1);
645 int rmMaxIndex = Math.max(index
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DBorderLayout.java655 dim.height = Math.max(d.height, dim.height);
660 dim.height = Math.max(d.height, dim.height);
665 dim.height = Math.max(d.height, dim.height);
669 dim.width = Math.max(d.width, dim.width);
674 dim.width = Math.max(d.width, dim.width);
711 dim.height = Math.max(d.height, dim.height);
716 dim.height = Math.max(d.height, dim.height);
721 dim.height = Math.max(d.height, dim.height);
725 dim.width = Math.max(d.width, dim.width);
730 dim.width = Math.max(
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicInternalFrameUI.java835 Dimension max = frame.getMaximumSize();
888 else if(startingBounds.height + deltaY > max.height)
889 deltaY = max.height - startingBounds.height;
900 else if(startingBounds.height + deltaY > max.height)
901 deltaY = max.height - startingBounds.height;
906 else if(startingBounds.width - deltaX > max.width)
907 deltaX = -(max.width - startingBounds.width);
922 else if(startingBounds.width - deltaX > max.width)
923 deltaX = -(max.width - startingBounds.width);
936 else if(startingBounds.width - deltaX > max
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DCoding.java191 return -1; // degenerate max value for empty set of codes
360 private final int max; // largest representable value field in class:Coding
376 this.max = codeMax(B, H, S, B);
433 return (x >= min && x <= max);
489 deltas = makeDeltas(a, start, end, min, max);
514 return max < Integer.MAX_VALUE
515 && ((long)max - (long)min + 1) <= Integer.MAX_VALUE;
523 return max == Integer.MAX_VALUE && min == Integer.MIN_VALUE;
529 return (max - min) + 1; // range includes both min & max
568 reduceToSignedRange(int value, int min, int max) argument
602 public int max() { return max; } method in class:Coding
708 makeDeltas(int[] values, int start, int end, int min, int max) argument
[all...]
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DLayoutEngine.cpp250 le_int32 LayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
257 if (offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
361 le_int32 LayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
368 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
374 le_int32 outCharCount = characterProcessing(chars, offset, count, max, rightToLeft, outChars, glyphStorage, success);
543 le_int32 LayoutEngine::layoutChars(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_boo argument
[all...]
H A DArabicLayoutEngine.cpp95 le_int32 max, le_bool rightToLeft, LEUnicode *&outChars,
102 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
127 ArabicShaping::shape(chars, offset, count, max, rightToLeft, glyphStorage);
94 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Graph/src/com/sun/hotspot/igv/graph/
H A DFigure.java79 int max = 0;
86 if (cur > max) {
87 max = cur;
90 widthCash = max + INSET;
291 int width = Math.max(getWidth(), Figure.SLOT_WIDTH * (Math.max(inputSlots.size(), outputSlots.size()) + 1));
296 int height = Figure.SLOT_WIDTH * (Math.max(inputSlots.size(), outputSlots.size()) + 1);
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCWarningWindow.java332 int max = Math.max(insets.top, Math.max(insets.bottom,
333 Math.max(insets.left, insets.right)));
334 if (max < 24) {
336 } else if (max < 32) {
338 } else if (max < 48) {
/openjdk7/jaxp/src/com/sun/org/apache/regexp/internal/
H A DRECompiler.java341 // If {m,} max is unlimited
355 // Get max number
1385 * @param max Maximum end of range
1387 void merge(int min, int max) argument
1392 // Min-max is subsumed by minRange[i]-maxRange[i]
1393 if (min >= minRange[i] && max <= maxRange[i])
1398 // Min-max subsumes minRange[i]-maxRange[i]
1399 else if (min <= minRange[i] && max >= maxRange[i])
1402 merge(min, max);
1406 // Min is in the range, but max i
1446 remove(int min, int max) argument
1498 include(int min, int max, boolean include) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DCubicCurve2D.java35 import static java.lang.Math.max;
321 float right = Math.max(Math.max(x1, x2),
322 Math.max(ctrlx1, ctrlx2));
323 float bottom = Math.max(Math.max(y1, y2),
324 Math.max(ctrly1, ctrly2));
567 double right = Math.max(Math.max(x1, x2),
568 Math.max(ctrlx
1282 refineRootWithHint(double[] eqn, double min, double max, double t) argument
1355 inInterval(double t, double min, double max) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DTableView.java330 maxColumns = Math.max(maxColumns, col);
461 req.minimum = Math.max((int) v.getMinimumSpan(axis), req.minimum);
462 req.preferred = Math.max((int) v.getPreferredSpan(axis), req.preferred);
473 long max = 0;
478 max += req.maximum;
499 req.minimum = Math.max(spans[i], req.minimum);
500 req.preferred = Math.max(req.minimum, req.preferred);
501 req.maximum = Math.max(req.preferred, req.maximum);
523 req.preferred = Math.max(spans[i], req.preferred);
524 req.maximum = Math.max(re
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DConnectorImpl.java290 int min, int max) {
296 min, max));
487 private final int max; field in class:ConnectorImpl.IntegerArgumentImpl
491 boolean mustSpecify, int min, int max) {
494 this.max = max;
511 * <code>{@link #min()} &lt;= value &lt;= {@link #max()}</code>
527 * <code>{@link #min()} &lt;= value &lt;= {@link #max()}</code>
530 return min <= value && value <= max;
571 public int max() { method in class:ConnectorImpl.IntegerArgumentImpl
288 addIntegerArgument(String name, String label, String description, String defaultValue, boolean mustSpecify, int min, int max) argument
489 IntegerArgumentImpl(String name, String label, String description, String value, boolean mustSpecify, int min, int max) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/table/
H A DTableColumn.java259 preferredWidth = this.width = Math.max(width, 0);
513 this.width = Math.min(Math.max(width, minWidth), maxWidth);
547 this.preferredWidth = Math.min(Math.max(preferredWidth, minWidth), maxWidth);
586 this.minWidth = Math.max(Math.min(minWidth, maxWidth), 0);
631 this.maxWidth = Math.max(minWidth, maxWidth);
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1GCPhaseTimes.cpp85 // No need for min, max, average and sum for only one worker
94 T max = _data[0]; local
102 max = MAX2(val, max);
120 buf.append(_print_format, max);
122 buf.append(_print_format, max - min);
176 assert(active_gc_threads <= _max_gc_threads, "The number of active threads must be <= the max nubmer of threads");
/openjdk7/jaxp/src/org/xml/sax/helpers/
H A DNamespaceSupport.java223 int max = contexts.length;
228 if (contextPos >= max) {
229 Context newContexts[] = new Context[max*2];
230 System.arraycopy(contexts, 0, newContexts, 0, max);
231 max *= 2;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/txw2/
H A DNamespaceSupport.java223 int max = contexts.length;
228 if (contextPos >= max) {
229 Context newContexts[] = new Context[max*2];
230 System.arraycopy(contexts, 0, newContexts, 0, max);
231 max *= 2;
/openjdk7/jdk/test/tools/pack200/pack200-verifier/src/sun/tools/pack/verify/
H A DGlobals.java297 static String paddedHexString(int n, int max) { argument
299 char[] out = new char[max];
301 for (int i = 0; i < max; i++) {
304 int offset = (max - c.length < 0) ? 0 : max - c.length;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/traversers/
H A DXSDWildcardTraverser.java93 // for <any>, need to create a new particle to reflect the min/max values
97 int max = ((XInt)attrValues[XSAttributeChecker.ATTIDX_MAXOCCURS]).intValue();
98 if (max != 0) {
107 particle.fMaxOccurs = max;

Completed in 96 milliseconds

1234567891011>>