Searched refs:maxIndex (Results 1 - 19 of 19) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DOptionListModel.java54 private int maxIndex = MIN; field in class:OptionListModel
68 public int getMaxSelectionIndex() { return maxIndex; }
87 return ((index < minIndex) || (index > maxIndex)) ? false : value.get(index);
91 return (minIndex > maxIndex);
186 maxIndex = Math.max(maxIndex, r);
207 for(minIndex = minIndex + 1; minIndex <= maxIndex; minIndex++) {
214 If (r < maxIndex) the maximum has not changed.
215 The case (r > maxIndex) is not possible because r'th value was set.
219 if (r == maxIndex) {
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultListSelectionModel.java59 private int maxIndex = MIN; field in class:DefaultListSelectionModel
78 public int getMaxSelectionIndex() { return maxIndex; }
104 return ((index < minIndex) || (index > maxIndex)) ? false : value.get(index);
109 return (minIndex > maxIndex);
273 maxIndex = Math.max(maxIndex, r);
292 for(minIndex = minIndex + 1; minIndex <= maxIndex; minIndex++) {
299 If (r < maxIndex) the maximum has not changed.
300 The case (r > maxIndex) is not possible because r'th value was set.
304 if (r == maxIndex) {
[all...]
H A DJTree.java2506 int maxIndex = Math.max(index0, index1);
2508 maxIndex - minIndex + 1];
2509 for(int counter = minIndex; counter <= maxIndex; counter++) {
/openjdk7/jdk/src/share/classes/javax/swing/text/html/parser/
H A DElement.java54 static int maxIndex = 0; field in class:Element
71 maxIndex = Math.max(maxIndex, index);
H A DContentModel.java173 valSet = new boolean[Element.maxIndex + 1];
174 val = new boolean[Element.maxIndex + 1];
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/
H A DContextStack.java80 private int maxIndex = 100; field in class:ContextStack
81 private TypeContext[] stack = new TypeContext[maxIndex];
206 if (currentIndex == maxIndex) {
207 int newMax = maxIndex * 2;
209 System.arraycopy(stack,0,newStack,0,maxIndex);
210 maxIndex = newMax;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/output/
H A DFastInfosetStreamWriterOutput.java92 int maxIndex; field in class:FastInfosetStreamWriterOutput.TablesPerJAXBContext
114 maxIndex = initialIndexOffset + elementIndexes.length + attributeIndexes.length;
135 indexOffset += maxIndex;
137 maxIndex = intialIndexOffset + elementIndexes.length + attributeIndexes.length;
140 if ((indexOffset + maxIndex) < 0) {
145 maxIndex = intialIndexOffset + elementIndexes.length + attributeIndexes.length;
148 if ((indexOffset + maxIndex) < 0) {
174 maxIndex++;
177 if ((indexOffset + maxIndex) < 0) {
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/
H A DGIFMetadata.java271 int maxIndex = -1;
286 if (index > maxIndex) {
287 maxIndex = index;
296 int numEntries = maxIndex + 1;
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DByteBandedRaster.java781 int maxIndex = 0;
789 if (index > maxIndex) {
790 maxIndex = index;
795 if (data[0].length <= maxIndex*numDataElements) {
799 (maxIndex*numDataElements)+
805 if (data[i].length <= maxIndex) {
809 maxIndex+" )");
H A DIntegerComponentRaster.java685 int maxIndex = 0;
694 if (index > maxIndex) {
695 maxIndex = index;
698 if (data.length <= maxIndex) {
700 + maxIndex + " )");
H A DShortBandedRaster.java779 int maxIndex = 0;
787 if (index > maxIndex) {
788 maxIndex = index;
792 if (data[i].length <= maxIndex) {
794 "(should be > "+ maxIndex+" )");
H A DByteComponentRaster.java916 int maxIndex = 0;
926 if (index > maxIndex) {
927 maxIndex = index;
930 if (data.length <= maxIndex) {
932 + maxIndex + " )");
H A DShortComponentRaster.java850 int maxIndex = 0;
859 if (index > maxIndex) {
860 maxIndex = index;
863 if (data.length <= maxIndex) {
865 + maxIndex + " )");
/openjdk7/jdk/src/share/classes/sun/font/
H A DExtendedTextSourceLabel.java652 int maxIndex = minIndex; // largest index seen this cluster
665 maxIndex = minIndex;
705 maxIndex = minIndex;
713 minIndex != nextMin || indices[gx] <= maxIndex)) {
718 (indices[gx] <= maxIndex) ||
719 (maxIndex - minIndex > clusterExtraGlyphs))) {
758 maxIndex = Math.max(maxIndex, indices[gx]);
767 System.out.println("minIndex = " + minIndex + ", maxIndex = " + maxIndex);
[all...]
H A DCompositeFont.java299 int maxIndex = maxIndices[slot];
304 while (maxIndex > curIndex) {
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/wbmp/
H A DWBMPImageWriter.java84 int maxIndex = multiBytes.length - 1;
85 for(int b = 0; b <= maxIndex; b++) {
86 multiBytes[b] = (byte)((intValue >>> ((maxIndex - b)*7))&0x7f);
87 if(b != maxIndex) {
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DContextManager.java199 int maxIndex = tinfo.getFrameCount()-1;
202 if (newIndex > maxIndex) {
203 newIndex = maxIndex;
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/processing/
H A DPrintingProcessor.java535 final int maxIndex = spaces.length - 1;
537 while (indentation > maxIndex) {
538 writer.print(spaces[maxIndex]);
539 indentation -= maxIndex;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicListUI.java955 int maxIndex = Math.max(index1, index2);
966 if (minIndex == maxIndex) {
969 Rectangle maxBounds = getCellBounds(list, maxIndex);
974 int maxRow = convertModelToRow(maxIndex);
2574 int maxIndex = Math.max(e.getIndex0(), e.getIndex1());
2581 sm.insertIndexInterval(minIndex, maxIndex - minIndex+1, true);

Completed in 105 milliseconds