Searched refs:height (Results 151 - 175 of 1081) sorted by relevance

1234567891011>>

/haiku-fatelf/src/libs/ncurses/test/
H A Drailroad.c41 static int height; variable
112 tputs(tgoto(moveit, 0, height - 1), 1, outc);
122 tputs(tgoto(moveit, first + 1, height - 1), 1, outc);
125 tputs(tgoto(moveit, first, height - 1), 1, outc);
190 height = tgetnum("li");
196 || height <= 0
200 height = 0;
/haiku-fatelf/src/preferences/network_old/
H A DNetworkWindow.cpp67 float width,height; local
81 fRestart->GetPreferredSize(&width,&height);
82 fRestart->ResizeTo(width,height);
83 fRestart->MoveTo(10,bounds.bottom - 10 - height);
87 BBox *vr = new BBox(BRect(width + 18, bounds.bottom - 11 - height, width + 19,
95 fRevert = new BButton(BRect(width + 25,bounds.bottom - 10 - height,width + 26,
104 fSave->GetPreferredSize(&width,&height);
105 fSave->ResizeTo(width,height);
106 fSave->MoveTo(bounds.right - 10 - width, bounds.bottom - 10 - height);
110 BBox *hr = new BBox(BRect(0,bounds.bottom - height
[all...]
/haiku-fatelf/src/add-ons/print/drivers/postscript/
H A DPS.cpp219 int height = rc.bottom - rc.top + 1; local
226 if (y + height > page_height) {
227 height = page_height - y;
230 rc.bottom = height - 1;
232 DBGMSG(("height = %d\n", height));
248 int height = rc.bottom - rc.top + 1; local
255 DBGMSG(("height = %d\n", height));
280 _StartRasterGraphics(x, y, width, height, siz
371 _StartRasterGraphics(int x, int y, int width, int height, int widthByte) argument
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dax-general.c387 int height;
401 /* Stack height record. iff either targets[i] or boundary[i] is
402 non-zero, heights[i] is the height the stack should have before
413 reqs->max_height = reqs->min_height = height = 0;
443 height match the stack height at the jump source? */
444 if (targets[i] && (heights[i] != height))
452 heights[i] = height;
454 height -= op->consumed;
455 if (height < req
385 int height; local
[all...]
/haiku-fatelf/src/libs/print/libgutenprint/src/main/
H A Dprint-papers.c164 int hdiff = abs(l - (int) val->height);
181 if (val->width == w && val->height == l)
213 if (val->width == w && val->height == l)
228 int *height) /* O - Height in points */
233 *height = stp_get_page_height(v);
244 *height = 1;
249 *height = papersize->height;
253 if (*height == 0)
254 *height
226 stp_default_media_size(const stp_vars_t *v, int *width, int *height) argument
285 height = 0, /* Check height is present */ local
[all...]
/haiku-fatelf/src/tests/servers/app/painter/
H A Dmain.cpp23 test_straight_lines(Surface& s, uint32 width, uint32 height) argument
36 for (uint32 y = 0; y <= height; y += 5) {
40 s.StrokeLine(BPoint(x, 0), BPoint(x, height - 1), pat);
51 test_fill_rect(Surface& s, uint32 width, uint32 height) argument
65 for (uint32 y = 10; y <= height; y += 20) {
80 test_ellipses(Surface& s, uint32 width, uint32 height) argument
93 BPoint center(floorf(width / 2.0), floorf(height / 2.0));
95 float yRadius = height / 2.0;
111 test_lines(Surface& s, uint32 width, uint32 height) argument
124 for (uint32 y = 0; y <= height;
141 test(Surface& s, uint32 width, uint32 height, BBitmap* testBitmap) argument
333 uint32 height = buffer->Height(); local
[all...]
/haiku-fatelf/src/system/kernel/debug/
H A Dframe_buffer_console.cpp45 int32 height; member in struct:console_info
248 console_fill_glyph(int32 x, int32 y, int32 width, int32 height, uint8 glyph, argument
259 int32 bottom = y + height;
272 console_blit(int32 srcx, int32 srcy, int32 width, int32 height, int32 destx, argument
278 height *= CHAR_HEIGHT;
293 for (int32 y = 0; y < height; y++) {
313 sConsole.height * sConsole.bytes_per_row);
317 sConsole.height * sConsole.bytes_per_row);
325 for (int32 y = 0; y < sConsole.height; y++) {
383 frame_buffer_update(addr_t baseAddress, int32 width, int32 height, int3 argument
481 _user_frame_buffer_update(addr_t baseAddress, int32 width, int32 height, int32 depth, int32 bytesPerRow) argument
[all...]
/haiku-fatelf/src/add-ons/accelerants/nvidia/engine/
H A Dnv_bes.c150 /* height < 2 is not allowed */
161 /* height < 2 is not allowed */
162 if (si->overlay.ow.height < 2)
169 if ((si->overlay.ow.v_start + si->overlay.ow.height - 1) > (crtc_vend - 1))
176 if ((si->overlay.ow.v_start + si->overlay.ow.height - 1) < (crtc_vstart + 1))
178 /* height < 2 is not allowed */
184 temp2 = ((uint16)(si->overlay.ow.v_start + si->overlay.ow.height - crtc_vstart - 1)) & 0x7ff;
256 if ((si->overlay.ow.v_start + si->overlay.ow.height - 1) < (crtc_vstart + 1))
259 * 'total height - 2' of dest. picture in pixels * inverse scaling factor */
260 moi->v1srcstv = (si->overlay.ow.height
[all...]
/haiku-fatelf/src/add-ons/accelerants/skeleton/engine/
H A Dbes.c150 /* height < 2 is not allowed */
161 /* height < 2 is not allowed */
162 if (si->overlay.ow.height < 2)
169 if ((si->overlay.ow.v_start + si->overlay.ow.height - 1) > (crtc_vend - 1))
176 if ((si->overlay.ow.v_start + si->overlay.ow.height - 1) < (crtc_vstart + 1))
178 /* height < 2 is not allowed */
184 temp2 = ((uint16)(si->overlay.ow.v_start + si->overlay.ow.height - crtc_vstart - 1)) & 0x7ff;
256 if ((si->overlay.ow.v_start + si->overlay.ow.height - 1) < (crtc_vstart + 1))
259 * 'total height - 2' of dest. picture in pixels * inverse scaling factor */
260 moi->v1srcstv = (si->overlay.ow.height
[all...]
/haiku-fatelf/src/add-ons/accelerants/via/engine/
H A Dbes.c207 /* height < 2 is not allowed */
218 /* height < 2 is not allowed */
219 if (si->overlay.ow.height < 2)
226 if ((si->overlay.ow.v_start + si->overlay.ow.height - 1) > (crtc_vend - 1))
233 if ((si->overlay.ow.v_start + si->overlay.ow.height - 1) < (crtc_vstart + 1))
235 /* height < 2 is not allowed */
241 temp2 = ((uint16)(si->overlay.ow.v_start + si->overlay.ow.height - crtc_vstart - 1)) & 0x7ff;
354 if ((si->overlay.ow.v_start + si->overlay.ow.height - 1) < (crtc_vstart + 1))
357 * 'total height - 2' of dest. picture in pixels * inverse scaling factor */
358 moi->v1srcstv = (si->overlay.ow.height
[all...]
/haiku-fatelf/src/add-ons/accelerants/3dfx/
H A Doverlay.cpp48 AllocateOverlayBuffer(color_space colorSpace, uint16 width, uint16 height) argument
52 TRACE("AllocateOverlayBuffer() width %u, height %u, colorSpace 0x%lx\n",
53 width, height, colorSpace);
78 uint32 buffSize = (width * bytesPerPixel * height + 0x3ff) & ~0x3ff;
148 ovBuff->height = height;
230 constraints->view.height.min = 4;
232 constraints->view.height.max = buffer->height;
241 constraints->window.height
[all...]
/haiku-fatelf/src/bin/screenmode/
H A Dscreenmode.cpp58 printf(format, mode.width, mode.height, mode.BitsPerPixel(), mode.refresh);
89 "the current one is printed. <mode> takes the form: <width> <height>\n"
90 "<depth> <refresh-rate>, or <width>x<height>, etc.\n"
119 int height = -1; local
164 int parsed = sscanf(argv[optind], "%dx%dx%d", &width, &height,
170 height = strtol(argv[optind + 1], NULL, 0);
269 if (currentMode.width == 800 && currentMode.height == 600) {
271 newMode.height = 480;
276 newMode.height = 600;
286 newMode.height
[all...]
/haiku-fatelf/src/kits/tracker/
H A DIconMenuItem.cpp174 ModelMenuItem::GetContentSize(float* width, float* height) argument
176 _inherited::GetContentSize(width, height);
177 fHeightDelta = 16 - *height;
178 if (*height < 16)
179 *height = 16;
349 IconMenuItem::GetContentSize(float* width, float* height) argument
351 _inherited::GetContentSize(width, height);
353 fHeightDelta = 16 - *height;
354 if (*height < 16)
355 *height
[all...]
/haiku-fatelf/src/system/boot/arch/arm/
H A Darch_framebuffer_pxa.cpp41 status_t SetVideoMode(int width, int height, int depth);
108 gKernelArgs.frame_buffer.height = 480;
140 gKernelArgs.frame_buffer.height = (read_io_32(LCCR2) & ((1 << 10) - 1)) + 1;
145 * gKernelArgs.frame_buffer.height
149 gKernelArgs.frame_buffer.height, gKernelArgs.frame_buffer.depth);
156 ArchFBArmPxa270::SetVideoMode(int width, int height, int depth) argument
158 dprintf("%s(%d, %d, %d)\n", __FUNCTION__, width, height, depth);
161 uint32 fbSize = width * height * depth / 8;
195 write_io_32(LCCR2, (0 << 0) | (height - 1));
228 gKernelArgs.frame_buffer.height,
[all...]
/haiku-fatelf/src/add-ons/translators/pcx/
H A DPCX.cpp81 uint32 height = header.yMax - header.yMin + 1; local
88 uint8 *scanLineData[height];
92 for (uint32 row = 0; row < height; row++) {
125 if (row < height / 3)
128 memset(scanLineData + row, 0, sizeof(uint8*) * (height - row));
157 for (uint32 row = 0; row < height; row++) {
172 for (uint32 row = 0; row < height; row++) {
192 for (uint32 row = 0; row < height; row++) {
209 for (uint32 row = 0; row < height; row++) {
275 uint16 height local
[all...]
/haiku-fatelf/src/add-ons/translators/ico/
H A DICO.cpp254 int32 width, int32 height, int32 bytesPerRow)
256 for (int32 y = 0; y < height; y++) {
287 int32 xorDataSize = xorRowBytes * entry.height;
292 int32 andDataSize = andRowBytes * entry.height;
317 for (uint32 row = 0; row < entry.height; row++) {
408 for (uint32 row = entry.height; row-- > 0;) {
469 for (uint32 row = entry.height; row-- > 0;) {
542 TRACE(("width: %d, height: %d, planes: %d, color_count: %d, bits_per_pixel: %d, size: %ld, offset: %ld\n",
543 entry.width, entry.height, entry.planes, entry.color_count, entry.bits_per_pixel,
551 TRACE(("size: %ld, width: %ld, height
253 has_true_alpha_channel(color_space space, uint8 *data, int32 width, int32 height, int32 bytesPerRow) argument
666 int32 height = bitsHeader.bounds.IntegerHeight() + 1; local
[all...]
/haiku-fatelf/src/libs/print/libprint/
H A DGraphicsDriver.cpp232 float height; local
243 height = physicalRect.Height();
244 if (width < height) { // portrait
245 scale.x = height / 2.0f / width;
246 scale.y = width / height;
248 scale.x = height / width;
249 scale.y = width / 2.0f / height;
254 height = physicalRect.Height();
255 if (width < height) {
256 scale.x = height / 4.
324 float height = scaledPhysicalRect.Height(); local
507 const int32 height = source->Bounds().IntegerHeight() + 1; local
[all...]
/haiku-fatelf/src/add-ons/accelerants/matrox/
H A DCursor.c25 status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask) argument
27 LOG(4,("SET_CURSOR_SHAPE: width %d, height %d\n", width, height));
28 if ((width != 16) || (height != 16))
32 else if ((hot_x >= width) || (hot_y >= height))
42 si->cursor.height = height;
/haiku-fatelf/src/add-ons/accelerants/nvidia/
H A DCursor.c14 status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask) argument
16 LOG(4,("SET_CURSOR_SHAPE: width %d, height %d, hot_x %d, hot_y %d\n",
17 width, height, hot_x, hot_y));
19 if ((width != 16) || (height != 16))
23 else if ((hot_x >= width) || (hot_y >= height))
35 si->cursor.height = height;
/haiku-fatelf/src/add-ons/accelerants/nvidia_gpgpu/
H A DCursor.c14 status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask) argument
16 LOG(4,("SET_CURSOR_SHAPE: width %d, height %d, hot_x %d, hot_y %d\n",
17 width, height, hot_x, hot_y));
19 if ((width != 16) || (height != 16))
23 else if ((hot_x >= width) || (hot_y >= height))
35 si->cursor.height = height;
/haiku-fatelf/src/add-ons/accelerants/skeleton/
H A DCursor.c14 status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask) argument
16 LOG(4,("SET_CURSOR_SHAPE: width %d, height %d, hot_x %d, hot_y %d\n",
17 width, height, hot_x, hot_y));
19 if ((width != 16) || (height != 16))
23 else if ((hot_x >= width) || (hot_y >= height))
35 si->cursor.height = height;
/haiku-fatelf/src/add-ons/accelerants/via/
H A DCursor.c14 status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask) argument
16 LOG(4,("SET_CURSOR_SHAPE: width %d, height %d, hot_x %d, hot_y %d\n",
17 width, height, hot_x, hot_y));
19 if ((width != 16) || (height != 16))
23 else if ((hot_x >= width) || (hot_y >= height))
35 si->cursor.height = height;
/haiku-fatelf/src/add-ons/kernel/console/vga_text/
H A Dvga_text.c69 get_size(int32 *width, int32 *height) argument
72 *height = LINES;
104 fill_glyph(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr) argument
107 int32 y_limit = y + height;
119 blit(int32 srcx, int32 srcy, int32 width, int32 height, int32 destx, int32 desty) argument
123 memmove(sOrigin + (desty * COLUMNS), sOrigin + (srcy * COLUMNS), height * COLUMNS * 2);
/haiku-fatelf/src/apps/deskbar/
H A DBarMenuTitle.cpp49 TBarMenuTitle::TBarMenuTitle(float width, float height, const BBitmap* icon, argument
53 fHeight(height),
66 TBarMenuTitle::SetWidthHeight(float width, float height) argument
69 fHeight = height;
74 TBarMenuTitle::GetContentSize(float* width, float* height) argument
77 *height = fHeight;
/haiku-fatelf/src/apps/icon-o-matic/generic/gui/
H A DGroup.cpp38 Group::FrameResized(float width, float height) argument
48 Group::GetPreferredSize(float* width, float* height) argument
54 if (height)
55 *height = r.Height();
134 float height = resizeHeight ? frame.Height() : view->Bounds().Height(); local
136 view->ResizeTo(width, height);

Completed in 133 milliseconds

1234567891011>>