Searched refs:cols (Results 1 - 25 of 34) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/awt/
H A DFocusingTextField.java47 * @param cols number of columns of text.
49 public FocusingTextField(int cols) { argument
50 super("", cols);
55 * @param cols number of columns of text.
59 public FocusingTextField(int cols, boolean willSelect) { argument
60 this(cols);
H A DVariableGridLayout.java49 int cols; field in class:VariableGridLayout
56 * @param cols the columns
58 public VariableGridLayout(int rows, int cols) { argument
59 this(rows, cols, 0, 0);
66 if (cols != 0) {
67 colsSet = new BitSet(cols);
68 stdColFractions(cols);
76 * @param cols the columns
81 public VariableGridLayout(int rows, int cols, int hgap, int vgap) { argument
82 super(rows, cols, hga
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWTextAreaPeer.java53 public Dimension getPreferredSize(int rows, int cols) { argument
54 return getMinimumSize(rows, cols);
56 public Dimension getMinimumSize(int rows, int cols) { argument
58 return new Dimension(fm.charWidth('0') * cols + 20, fm.getHeight() * rows + 20);
98 public Dimension minimumSize(int rows, int cols) { argument
99 return getMinimumSize(rows, cols);
105 public Dimension preferredSize(int rows, int cols) { argument
106 return getPreferredSize(rows, cols);
H A DWTextFieldPeer.java65 public Dimension getPreferredSize(int cols) { argument
66 return getMinimumSize(cols);
69 public Dimension getMinimumSize(int cols) { argument
71 return new Dimension(fm.charWidth('0') * cols + 24, fm.getHeight() + 8);
113 public Dimension minimumSize(int cols) { argument
114 return getMinimumSize(cols);
120 public Dimension preferredSize(int cols) { argument
121 return getPreferredSize(cols);
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLFrameSetElement.java50 * The number of columns of frames in the frameset. See the cols
54 public void setCols(String cols); argument
H A DHTMLTextAreaElement.java72 * Width of control (in characters). See the cols attribute definition
76 public void setCols(int cols); argument
/openjdk7/jdk/src/solaris/classes/sun/awt/
H A DX11CustomCursor.java75 CCount cols[] = new CCount[pixels.length];
81 cols[numColors++] = new CCount(tmp[is], 1);
88 if (tmp[i] != cols[numColors-1].color) {
89 cols[numColors++] = new CCount(tmp[i], 1);
91 cols[numColors-1].count ++;
94 java.util.Arrays.sort(cols, 0, numColors);
96 if (numColors > 0) fc = cols[0].color;
105 int rr = (cols[j].color >> 16) & 0x000000ff;
106 int gg = (cols[j].color >> 8) & 0x000000ff;
107 int bb = (cols[
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DGridLayout.java142 int cols; field in class:GridLayout
157 * One, but not both, of <code>rows</code> and <code>cols</code> can
162 * @param cols the columns, with the value zero meaning
165 public GridLayout(int rows, int cols) { argument
166 this(rows, cols, 0, 0);
178 * One, but not both, of <code>rows</code> and <code>cols</code> can
185 * @param cols the columns, with the value zero meaning
190 * <code>rows</code> and <code>cols</code> is
193 public GridLayout(int rows, int cols, int hgap, int vgap) { argument
194 if ((rows == 0) && (cols
247 setColumns(int cols) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/rowset/internal/
H A DInsertRow.java53 private int cols; field in class:InsertRow
70 cols = numCols;
102 for (int i = 0; i < cols; i++) {
119 for (int i = 0; i < cols; i++) {
H A DCachedRowSetWriter.java195 * This will hold the number of cols for which the values have
381 for(int cols=0;cols<iColCount;cols++) {
382 this.crsResolve.updateNull(cols+1);
543 Vector cols = new Vector();
655 cols.add(Integer.valueOf(i));
683 // for some cols of the row and at the same time, some other cols
701 cols
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageAffineIndex_BC.c68 mlib_s32 cols; \
86 mlib_s32 cols; \
553 cols = xRight - xLeft + 1;
557 if (i <= cols - 6) {
572 for (; i <= cols-8; i += 2) {
594 if (i <= cols-4) {
614 if (i <= cols-2) {
628 if (i < cols) {
687 cols = xRight - xLeft + 1;
690 if (i <= cols
[all...]
H A Dmlib_v_ImageAffine_BC.c228 mlib_s32 align, cols, i; local
245 cols = xRight - xLeft + 1;
247 align = (cols < align)? cols : align;
256 if (i <= cols - 10) {
276 for (; i <= cols - 14; i+=4) {
301 for (; i < cols; i++) {
471 mlib_s32 cols, i, mask, off; local
489 cols = xRight - xLeft + 1;
496 if (i <= cols
777 mlib_s32 cols, i; local
1052 mlib_s32 cols, i; local
[all...]
H A Dmlib_v_ImageAffine_BC_S16.c204 mlib_s32 align, cols, i; local
226 cols = xRight - xLeft + 1;
229 align = (cols < align)? cols : align;
238 if (i <= cols - 10) {
258 for (; i <= cols - 14; i += 4) {
283 for (; i < cols; i++) {
513 mlib_s32 cols, i, mask, emask; local
537 cols = xRight - xLeft + 1;
543 if (i <= cols
934 mlib_s32 cols, i; local
1321 mlib_s32 cols, i, mask, gsrd; local
[all...]
H A Dmlib_v_ImageAffine_BC_U16.c196 mlib_s32 align, cols, i; local
219 cols = xRight - xLeft + 1;
222 align = (cols < align)? cols : align;
231 if (i <= cols - 10) {
251 for (; i <= cols - 14; i += 4) {
276 for (; i < cols; i++) {
498 mlib_s32 cols, i, mask, emask; local
523 cols = xRight - xLeft + 1;
529 if (i <= cols
920 mlib_s32 cols, i; local
1308 mlib_s32 cols, i, mask, gsrd; local
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Cursor.h88 int *cols; member in class:AwtCursor
H A Dawt_Cursor.cpp60 cols = NULL;
77 cols = col;
91 delete[] cols;
261 HBITMAP hColor = create_BMP(NULL, cols, nSS, nWidth, nHeight);
355 int *cols = SAFE_SIZE_NEW_ARRAY2(int, nW, nH); local
363 memcpy(cols, intRasterDataPtr, nW*nH*sizeof(int));
395 yHotSpot, nW, nH, nSS, cols,
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXTextFieldPeer.java294 public Dimension preferredSize(int cols) { argument
295 return getPreferredSize(cols);
339 public Dimension getPreferredSize(int cols) { argument
340 return getMinimumSize(cols);
345 public Dimension getMinimumSize(int cols) { argument
348 return new Dimension(fm.charWidth('0') * cols + 10,
423 public Dimension minimumSize(int cols) { argument
424 return getMinimumSize(cols);
H A DXTextAreaPeer.java238 public Dimension getPreferredSize(int rows, int cols) { argument
239 return getMinimumSize(rows, cols);
246 public Dimension getMinimumSize(int rows, int cols) { argument
249 d = jtext.getMinimumSize(rows,cols);
270 return new Dimension(fm.charWidth('0') * cols + /*2*XMARGIN +*/ vsbwidth,
554 public Dimension minimumSize(int rows, int cols) { argument
555 return getMinimumSize(rows, cols);
562 public Dimension preferredSize(int rows, int cols) { argument
563 return getPreferredSize(rows, cols);
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DVariableGridLayout.java37 public VariableGridLayout(int rows, int cols, argument
40 super(rows, cols, hgap, vgap);
H A DJConsole.java398 int cols = n / rows;
399 if (rows * cols < n) cols++;
402 w /= cols;
415 if (col < cols-1) {
/openjdk7/langtools/test/tools/javac/types/
H A DBoxingConversionTest.java222 Type[] cols = testKind.getToTypes(this);
224 for (int j = 0; j < cols.length ; j++) {
225 convKind.check(this, rows[i], cols[j], testKind.getResults(this)[i][j]);
H A DPrimitiveConversionTest.java244 Type[] cols = testKind.getToTypes(this);
246 for (int j = 0; j < cols.length ; j++) {
247 convKind.check(this, rows[i], cols[j], testKind.getResults(this)[i][j]);
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/formats/html/markup/
H A DHtmlTree.java281 * @param cols the size of columns in the frameset
287 public static HtmlTree FRAMESET(String cols, String rows, String title, String onload) { argument
289 if (cols != null)
290 htmltree.addAttr(HtmlAttr.COLS, cols);
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DX11Color.c376 XColor cols[MAX_PALETTE_SIZE]; local
592 cols[i].pixel = i;
598 XQueryColors(dpy, cm, cols, awt_data->awt_num_colors);
600 awt_data->color_data->awt_Colors[i].r = cols[i].red >> 8;
601 awt_data->color_data->awt_Colors[i].g = cols[i].green >> 8;
602 awt_data->color_data->awt_Colors[i].b = cols[i].blue >> 8;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTableUI.java2152 int[] cols;
2172 cols = new int[colCount];
2174 cols[counter] = counter;
2177 cols = table.getSelectedColumns();
2180 if (rows == null || cols == null || rows.length == 0 || cols.length == 0) {
2191 for (int col = 0; col < cols.length; col++) {
2192 Object obj = table.getValueAt(rows[row], cols[col]);

Completed in 140 milliseconds

12