/haiku/src/apps/icon-o-matic/generic/property/view/ |
H A D | PropertyEditorView.cpp | 76 float height = floorf(4.0 + fh.ascent + fh.descent); local 78 return height;
|
/haiku/src/tests/servers/app/resize_limits/ |
H A D | ResizeLimits.cpp | 37 virtual void FrameResized(float width, float height); 72 Window::FrameResized(float width, float height) argument
|
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/ |
H A D | AlphaSlider.h | 34 virtual void FrameResized(float width, float height); 47 void _AllocBitmap(int32 width, int32 height);
|
/haiku/src/add-ons/print/drivers/gutenprint/ |
H A D | GPDriver.cpp | 242 int height = rc.bottom - rc.top + 1; local 249 if (y + height > pageHeight) 250 height = pageHeight - y; 252 rc.bottom = height - 1; 254 DBGMSG(("height = %d\n", height)); 267 int height = rc.bottom - rc.top + 1; local 269 " height %d\n", 270 x, y, width, height); 290 offset->y += height; [all...] |
/haiku/src/apps/magnify/ |
H A D | Magnify.h | 30 virtual void FrameResized(float width, float height); 33 void Resize(int32 width, int32 height); 38 void DrawGrid(int32 width, int32 height, 111 void PixelCount(int32* width, int32* height); 165 virtual void FrameResized(float width, float height); 212 virtual void FrameResized(float width, float height); 216 virtual void Zoom(BPoint position, float width, float height); 219 void GetPreferredSize(float* width, float* height);
|
/haiku/src/servers/mail/ |
H A D | ErrorLogWindow.cpp | 15 void GetPreferredSize(float *width, float *height); 26 void GetPreferredSize(float *width, float *height) { argument 28 *height = add_next_at; 190 float height,width; local 192 height = view->TextHeight(0,view->CountLines()) + 3; 193 view->ResizeTo(width,height); 199 Error::GetPreferredSize(float *width, float *height) argument 204 *height = view->TextHeight(0, INT32_MAX) + 3;
|
/haiku/headers/os/interface/ |
H A D | IconUtils.h | 47 uint32 width, uint32 height, 51 uint32 width, uint32 height,
|
/haiku/src/apps/haikudepot/model/ |
H A D | ScreenshotCoordinate.cpp | 10 static const char* kHeightKey = "height"; 30 ScreenshotCoordinate::ScreenshotCoordinate(BString code, uint16 width, uint16 height) argument 34 fHeight(height)
|
/haiku/src/add-ons/accelerants/matrox/engine/ |
H A D | mga_acc.c | 231 list[i].src_left + (offset * (list[i].src_top + list[i].height)) + si->engine.src_dst; 245 ACCW_YDSTLEN(list[i].dest_top, list[i].height + 1); 252 ACCW_YDSTLEN(list[i].dest_top + list[i].height, list[i].height + 1); 259 ACCW_YDSTLEN(list[i].dest_top, list[i].height + 1); 266 ACCW_YDSTLEN(list[i].dest_top + list[i].height, list[i].height + 1); 298 list[i].src_left + (offset * (list[i].src_top + list[i].height)) + si->engine.src_dst; 312 ACCW_YDSTLEN(list[i].dest_top, list[i].height + 1); 319 ACCW_YDSTLEN(list[i].dest_top + list[i].height, lis [all...] |
/haiku/src/add-ons/accelerants/3dfx/ |
H A D | 3dfx_draw.cpp | 128 int height = list->height; local 140 src_y += height; 141 dest_y += height; 146 OUTREG32(DST_SIZE, (width + 1) | ((height + 1) << 16));
|
/haiku/src/add-ons/accelerants/s3/ |
H A D | savage_draw.cpp | 135 int height = pList->height; local 152 src_y += height; 153 dest_y += height; 168 BCI_SEND(BCI_W_H(width + 1, height + 1));
|
H A D | trio64_draw.cpp | 70 // Draw the span as a rectangle with a height of 1 to avoid the 77 WriteReg16(MULTIFUNC_CNTL, 0); // height is 1; but as computed it is 0 125 int height = pList->height; local 139 src_y += height; 140 dest_y += height; 150 WriteReg16(MULTIFUNC_CNTL, height);
|
H A D | virge_draw.cpp | 77 // Draw the span as a rectangle with a height of 1 to avoid the 133 int height = pList->height; local 147 src_y += height; 148 dest_y += height; 153 WriteReg32(RWIDTH_HEIGHT, ((width) << 16) | (height + 1));
|
/haiku/src/add-ons/media/media-add-ons/usb_webcam/sensors/ |
H A D | tas5130d1b.cpp | 32 virtual status_t AcceptVideoFrame(uint32 &width, uint32 &height); 138 TAS5130D1BSensor::AcceptVideoFrame(uint32 &width, uint32 &height) argument 141 status_t err = CamSensor::AcceptVideoFrame(width, height); 147 height /= 16; 148 height *= 16;
|
H A D | tas5110c1b.cpp | 30 virtual status_t AcceptVideoFrame(uint32 &width, uint32 &height); 135 TAS5110C1BSensor::AcceptVideoFrame(uint32 &width, uint32 &height) argument 138 status_t err = CamSensor::AcceptVideoFrame(width, height); 144 height /= 16; 145 height *= 16;
|
/haiku/src/kits/tracker/ |
H A D | OverrideAlert.cpp | 102 OverrideAlert::OverPosition(float width, float height) argument 124 desirableRect.top = midY - ceilf(height / 3.0f); 125 desirableRect.bottom = desirableRect.top + height; 135 desirableRect.top = midY - ceilf(height / 3.0f); 136 desirableRect.bottom = desirableRect.top + height;
|
/haiku/src/apps/diskusage/ |
H A D | StatusView.cpp | 54 float width, height; local 55 fCountView->GetPreferredSize(&width, &height); 58 fCountView->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, height)); 61 fPathView->GetPreferredSize(&width, &height); 62 fPathView->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, height));
|
/haiku/src/apps/pulse/ |
H A D | PrefsWindow.cpp | 63 float width, height; local 64 deskbarView->GetPreferredSize(&width, &height); 65 normalView->ResizeTo(width, height); 66 miniView->ResizeTo(width, height); 67 deskbarView->ResizeTo(width, height);
|
/haiku/src/servers/app/ |
H A D | ServerBitmap.cpp | 65 // WARNING: '1' is added to the width and height. 147 color_space colorSpace, BPoint from, BPoint to, int32 width, int32 height) 149 if (!bits || bitsLength < 0 || bytesPerRow <= 0 || width < 0 || height < 0) 154 height); 239 uint32 height, color_space format) 241 ServerBitmap(BRect(0, 0, width - 1, height - 1), format, 0) 146 ImportBits(const void *bits, int32 bitsLength, int32 bytesPerRow, color_space colorSpace, BPoint from, BPoint to, int32 width, int32 height) argument 238 UtilityBitmap(const uint8* alreadyPaddedData, uint32 width, uint32 height, color_space format) argument
|
/haiku/src/preferences/bluetooth/ |
H A D | DeviceListItem.cpp | 129 font_height height; local 130 font->GetHeight(&height); 131 SetHeight(MAX((height.ascent + height.descent + height.leading) * TEXT_ROWS
|
/haiku/src/add-ons/media/plugins/ffmpeg/ |
H A D | gfx_util.cpp | 30 int height) 50 if (cpu.HasSSSE3() && width % 8 == 0 && height % 2 == 0) { 53 } else if (cpu.HasSSE2() && width % 8 == 0 && height % 2 == 0) { 57 && height % 2 == 0) { 96 && height % 2 == 0) { 29 resolve_colorspace(color_space colorSpace, AVPixelFormat pixelFormat, int width, int height) argument
|
/haiku/src/add-ons/translators/bmp/ |
H A D | BMPTranslator.cpp | 345 if (msheader.width == 0 || msheader.height == 0) 394 pmsheader->height = msheader.height; 428 if (os2header.width == 0 || os2header.height == 0) 455 pmsheader->height = os2header.height; 473 pmsheader->bitsperpixel) * abs(pmsheader->height); 493 pmsheader->bitsperpixel) * abs(pmsheader->height); 629 if (msheader.height > 0) 630 inSource->Seek((msheader.height [all...] |
/haiku/src/bin/screenmode/ |
H A D | screenmode.cpp | 60 printf(format, mode.width, mode.height, mode.BitsPerPixel(), mode.refresh); 91 "the current one is printed. <mode> takes the form: <width> <height>\n" 92 "<depth> <refresh-rate>, or <width>x<height>, etc.\n" 123 int height = -1; local 175 int parsed = sscanf(argv[optind], "%dx%dx%d", &width, &height, 181 height = strtol(argv[optind + 1], NULL, 0); 300 if (currentMode.width == 800 && currentMode.height == 600) { 302 newMode.height = 480; 307 newMode.height = 600; 317 newMode.height [all...] |
/haiku/src/add-ons/accelerants/neomagic/engine/ |
H A D | nm_bes.c | 117 /* height < 2 is not allowed */ 129 /* height < 2 is not allowed */ 130 if (si->overlay.ow.height < 2) 137 if ((si->overlay.ow.v_start + si->overlay.ow.height - 1) > (crtc_vend - 1)) 144 if ((si->overlay.ow.v_start + si->overlay.ow.height - 1) < (crtc_vstart + 1)) 146 /* height < 2 is not allowed */ 152 temp2 = ((uint16)(si->overlay.ow.v_start + si->overlay.ow.height - crtc_vstart - 1)); 262 if ((si->overlay.ow.v_start + si->overlay.ow.height - 1) < (crtc_vstart + 1)) 265 * (integer part of ('total height - 2' of dest. picture in pixels * inverse scaling factor)) * 269 ((((si->overlay.ow.height [all...] |
/haiku/src/kits/interface/ |
H A D | StatusBar.cpp | 139 // resize so that the height fits 140 float width, height; local 141 GetPreferredSize(&width, &height); 142 ResizeTo(Bounds().Width(), height); 224 float width, height; local 225 GetPreferredSize(&width, &height); 227 return BLayoutUtils::ComposeSize(ExplicitMinSize(), BSize(width, height)); 234 float width, height; local 235 GetPreferredSize(&width, &height); 238 BSize(B_SIZE_UNLIMITED, height)); 245 float width, height; local 450 float width, height; local 778 font_height height; local [all...] |