| /onnv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/ui/ |
| H A D | VerticalButtonLayout.java | 112 dim.height = Math.max(dim.height, d.height); in preferredLayoutSize() 116 dim.height = (dim.height*nmembers) + (vgap*nmembers-1); in preferredLayoutSize() 119 dim.height += insets.top + insets.bottom + vgap*2; in preferredLayoutSize() 137 dim.height = Math.max(dim.height, d.height); in minimumLayoutSize() 141 dim.height = (dim.height*nmembers) + (vgap*nmembers-1); in minimumLayoutSize() 144 dim.height += insets.top + insets.bottom + vgap*2; in minimumLayoutSize() 157 int height) { in moveComponents() argument 163 y += height / 2; in moveComponents() 165 y += height; in moveComponents() 172 y += vgap + dim.height; in moveComponents() [all …]
|
| H A D | FieldLayout.java | 144 dim.height += Math.max(ld.height, fd.height) + vgap; in preferredLayoutSize() 149 dim.height += insets.top + insets.bottom + vgap; in preferredLayoutSize() 173 dim.height += Math.max(ld.height, fd.height) + vgap; in minimumLayoutSize() 178 dim.height += insets.top + insets.bottom + vgap; in minimumLayoutSize() 199 if ((pDim.height > (dim.height - insets.top - insets.bottom)) || in layoutContainer() 204 ySlop = dim.height - insets.top - insets.bottom - pDim.height; in layoutContainer() 254 int rowHeight = Math.max(ld.height, fd.height) + in layoutContainer() 266 offset = Math.max(0, (rowHeight-ld.height)/2); in layoutContainer() 274 if (l.getPreferredSize().height == l.getMinimumSize().height) { in layoutContainer() 275 labelHeight = ld.height; in layoutContainer()
|
| H A D | ButtonLayout.java | 111 dim.height = Math.max(dim.height, d.height); in preferredLayoutSize() 118 dim.height += insets.top + insets.bottom + vgap*2; in preferredLayoutSize() 136 dim.height = Math.max(dim.height, d.height); in minimumLayoutSize() 143 dim.height += insets.top + insets.bottom + vgap*2; in minimumLayoutSize() 158 int height, int rowStart, int rowEnd) { in moveComponents() argument 172 m.setLocation(x, y + (height - dim.height) / 2); in moveComponents() 205 m.setSize(dim.width, d.height); in layoutContainer() 212 rowh = Math.max(rowh, d.height); in layoutContainer() 218 rowh = d.height; in layoutContainer()
|
| H A D | ProportionalLayout.java | 97 dim.height = Math.max(dim.height, d.height); in computeLayoutSize() 100 dim.height += d.height; in computeLayoutSize() 107 dim.height += insets.top + insets.bottom; in computeLayoutSize() 124 int totalHeight = dim.height - insets.bottom; in layoutContainer()
|
| H A D | ListPair.java | 143 int totalHeight = dim.height - insets.bottom; in layoutContainer() 149 if (d.width > totalWidth || d.height > totalHeight) { in layoutContainer() 170 int lrheight = Math.max(leftComponent.getMinimumSize().height, in minimumLayoutSize() 171 rightComponent.getMinimumSize().height); in minimumLayoutSize() 172 retDim.height = Math.max(centerComponent.getMinimumSize().height, in minimumLayoutSize() 184 int lrheight = Math.max(leftComponent.getPreferredSize().height, in preferredLayoutSize() 185 rightComponent.getPreferredSize().height); in preferredLayoutSize() 186 retDim.height = Math.max(centerComponent.getPreferredSize().height, in preferredLayoutSize()
|
| /onnv-gate/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/awt/ |
| H A D | ScrollPanel.java | 193 } else if ((y + lineHeight) > scrolly + viewSize.height) { in makeVisible() 194 y -= (viewSize.height - lineHeight); in makeVisible() 221 size = new Dimension(size.width, size.height); in viewSize() 231 size.height -= (insets.top + insets.bottom + in viewSize() 245 compMin = new Dimension(compMin.width, compMin.height); in minimumSize() 261 compPref = new Dimension(compPref.width, compPref.height); in preferredSize() 279 compMin.height = scrollAreaHeight; in calcSize() 289 compMin.height += (hbarMin.height + insetsHeight); in calcSize() 290 compMin.height = Math.max(compMin.height, (vbarMin.height + in calcSize() 300 if (viewSize.width <= 0 || viewSize.height <= 0) { in layout() [all …]
|
| H A D | GBLayout.java | 51 int width, height; /* number of cells horizontally, vertically */ field in GBLayoutInfo 60 height = h; in GBLayoutInfo() 442 dim[1] = new int[layoutInfo.height]; in getLayoutDimensions() 447 layoutInfo.height); in getLayoutDimensions() 462 dim[1] = new int[info.height]; in getMinimumLayoutDimensions() 465 System.arraycopy(info.minHeight, 0, dim[1], 0, info.height); in getMinimumLayoutDimensions() 480 dim[1] = new int[info.height]; in getPreferredLayoutDimensions() 483 System.arraycopy(info.minHeight, 0, dim[1], 0, info.height); in getPreferredLayoutDimensions() 502 weights[1] = new double[layoutInfo.height]; in getLayoutWeights() 507 layoutInfo.height); in getLayoutWeights() [all …]
|
| H A D | TabbedFolder.java | 154 d = new Dimension(w, d.height); in minimumSize() 165 d = new Dimension(w, d.height); in preferredSize() 306 g.fillRect(0, y, size.width, size.height-y); in update() 307 g.fillRect(0, 0, folderInsets.left, size.height); in update() 308 g.fillRect(x, 0, size.width-x, size.height); in update() 422 int h = size.height - (tabH + folderInsets.top + in drawBox() 425 if (x >= size.width || y >= size.height || w <= 0 || h <= 0) in drawBox() 450 int height, boolean raised) { in draw3DU() argument 456 g.drawLine(x, y, x, y + height); in draw3DU() 457 g.drawLine(x+1, y, x+1, y + height); in draw3DU() [all …]
|
| H A D | VJFlowLayout.java | 187 r.height += (rowHeight + vgap); in calcLayoutSize() 195 rowHeight = Math.max(rowHeight, d.height); in calcLayoutSize() 202 r.height += (rowHeight + vgap); in calcLayoutSize() 219 int width, int height, int rowStart, int rowEnd) { in moveComponents() argument 234 m.move(x, y + (height - size.height) / 2); in moveComponents() 260 m.resize(d.width, d.height); in layoutContainer() 267 rowh = Math.max(rowh, d.height); in layoutContainer() 273 rowh = d.height; in layoutContainer()
|
| H A D | ScrollableArea.java | 52 d = new Dimension(d.width, d.height); in layout() 55 d.height = Math.max(d.height, size.height); in layout() 57 comp.reshape(curx, cury, d.width, d.height); in layout()
|
| H A D | VJButton.java | 54 d = new Dimension(d.width, d.height); in minimumSize() 58 d.height += 6; in minimumSize() 65 d = new Dimension(d.width, d.height); in preferredSize() 69 d.height += 6; in preferredSize()
|
| H A D | ImageLabel.java | 236 if (d.width != w + padWidth * 2 || d.height != h + in updateSize() 260 int y = (d.height - imgHeight) / 2; in update() 262 g.fillRect(0, 0, x, d.height); in update() 267 + imgWidth), d.height); in update() 268 if (d.height > imgHeight) in update() 270 d.height - (y + imgHeight)); in update() 273 g.fillRect(0, 0, d.width, d.height); in update() 295 int y = (d.height - imgHeight) / 2; in paint() 299 g.drawRect(0, 0, d.width-1, d.height-1); in paint()
|
| H A D | TextView.java | 106 int h = size.height - (viewBorder + viewIPad); in getRows() 307 size.height -= bd; in viewSize() 464 public void reshape(int x, int y, int width, int height) { in reshape() argument 465 super.reshape(x, y, width, height); in reshape() 468 if (width <= 0 || height <= 0) in reshape() 474 height != buffer.getHeight(this))) in reshape() 475 buffer = createImage(width, height); in reshape() 492 g.fillRect(0, 0, d.width, d.height); in paint() 516 viewBottom = scrolly + d.height; in drawItems() 558 size.height-1-2*(i+viewBorder)); in drawBorder() [all …]
|
| H A D | CLChoice.java | 344 menu.reshape(r.x, r.y, r.width, r.height); in showMenu() 352 menuWindow.reshape(r.x, r.y, r.width, r.height); in showMenu() 441 int spaceBelow = (size.height - (y + canvas.rowHeight)); in getMenuBounds() 456 r.height = numItems * lineHeight + hPad; in getMenuBounds() 460 r.y = y - r.height; in getMenuBounds() 479 r.height = prefHeight; in getWindowMenuBounds() 484 r.height = Math.max(r.height, 27); in getWindowMenuBounds() 488 screenSize.height -= 30; in getWindowMenuBounds() 495 if ((r.y + r.height) > screenSize.height) in getWindowMenuBounds() 496 r.y -= (r.height + lineHeight); in getWindowMenuBounds()
|
| H A D | KeyField.java | 72 d.height = fontMetrics.getMaxAscent() + ipady; in minimumSize() 227 int y = (size.height + fontMetrics.getMaxAscent()) / 2 - 1; in paint() 236 g.draw3DRect(1, 1, size.width-3, size.height-3, false); in paint() 237 g.draw3DRect(2, 2, size.width-5, size.height-5, false); in paint() 241 g.drawRect(0, 0, size.width-1, size.height-1); in paint()
|
| H A D | WinScrollbar.java | 370 public void reshape(int x, int y, int width, int height) { in reshape() argument 371 super.reshape(x, y, width, height); in reshape() 373 if (prevWidth != width || prevHeight != height) { in reshape() 374 if (width > 0 && height > 0) in reshape() 375 buffer = createImage(width, height); in reshape() 380 prevHeight = height; in reshape() 408 int h = size.height; in drawScrollbar() 412 g.fillRect(0, 0, size.width, size.height); in drawScrollbar() 502 deltapix = size.height - 2 * size.width; in getDragBoxInfo() 504 minpix = size.height; in getDragBoxInfo() [all …]
|
| H A D | LabelBar.java | 218 int midy = size().height / 2 - 1; in paint() 245 size().height - (((size().height - fm.getHeight()) / 2) in paint() 277 size().height); in paint()
|
| H A D | CheckboxList.java | 98 panel.reshape(0, 0, d.width, d.height); in updateCheckboxes() 105 panel.reshape(0, 0, d.width, d.height); in addNotify() 140 return min.height; in lineHeight()
|
| H A D | ImageButton.java | 91 g.fillRect(0, 0, d.width, d.height); in setPressMovement() 113 int y = (d.height - imgHeight) / 2; in paint() 141 d.height - i*2 - 1, in paint()
|
| /onnv-gate/usr/src/uts/common/io/ |
| H A D | tem.c | 213 int width, height; in tem_internal_init() local 232 height = tems.ts_c_dimension.height; in tem_internal_init() 233 ptem->tvs_screen_buf_size = width * height; in tem_internal_init() 235 (unsigned char *)kmem_alloc(width * height, KM_SLEEP); in tem_internal_init() 237 total = width * height * tc_size; in tem_internal_init() 246 for (i = 0; i < height; i++) in tem_internal_init() 389 size_t height = 0; in tem_info_init() local 473 plat_tem_get_prom_size(&height, &width); in tem_info_init() 478 tems_setup_terminal(&temargs, height, width); in tem_info_init() 511 tems.ts_c_dimension.height != tp->height) in tems_check_videomode() [all …]
|
| H A D | tem_safe.c | 655 row < tems.ts_c_dimension.height; in tem_safe_chkparam() 683 row < tems.ts_c_dimension.height; in tem_safe_chkparam() 730 tems.ts_c_dimension.height - 1, in tem_safe_chkparam() 740 tems.ts_c_dimension.height - 1, in tem_safe_chkparam() 755 tems.ts_c_dimension.height - 1, in tem_safe_chkparam() 764 tems.ts_c_dimension.height - 1, in tem_safe_chkparam() 892 if (row >= tems.ts_c_dimension.height) { in tem_safe_lf() 895 tems.ts_c_dimension.height - 1, in tem_safe_lf() 898 row = tems.ts_c_dimension.height - in tem_safe_lf() 1093 if (tem->tvs_nscroll > tems.ts_c_dimension.height) in tem_safe_parse() [all …]
|
| /onnv-gate/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/shadow/java/awt/ |
| H A D | WindowShadow.java | 343 if (size.width == 0 || size.height == 0) in pack() 420 location.y -= size.height/2; in resizePreferredSize() 423 win.reshape(location.x, location.y, size.width, size.height); in resizePreferredSize() 426 win.resize(size.width, size.height); in resizePreferredSize() 428 win.reshape(location.x, location.y, size.width, size.height); in resizePreferredSize() 439 p.y += (fsize.height - dsize.height)/2; in getDialogLocation() 489 size.height = Math.max(size.height, prefSize.height); in getWindowSize() 506 int y = screenSize.height - size.height; in constrainToScreen() 516 int height = screenSize.height - location.y; in constrainToScreen() local 517 if (size.height > height) in constrainToScreen() [all …]
|
| /onnv-gate/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/type/ |
| H A D | DimensionConverter.java | 59 + /* NOI18N */";height=" + d.height); in convertToString() 88 d.height = getIntegerFromTable(table, /* NOI18N */"height"); in convertFromString() 114 + /* NOI18N */", " + d.height + /* NOI18N */")"); in convertToCode()
|
| /onnv-gate/usr/src/uts/common/sys/ |
| H A D | font.h | 38 short height; member 45 short height; member
|
| H A D | visual_io.h | 236 screen_size_t height; /* Height of data */ member 255 screen_size_t height; /* Height of cursor */ member 294 screen_size_t height; /* Height of the device */ member
|