/haiku/src/apps/deskbar/ |
H A D | TeamMenuItem.cpp | 74 char* signature, float width, float height) 78 _Init(team, icon, name, signature, width, height); 82 TTeamMenuItem::TTeamMenuItem(float width, float height) argument 86 _Init(NULL, NULL, strdup(""), strdup(""), width, height); 202 TTeamMenuItem::GetContentSize(float* width, float* height) argument 204 BMenuItem::GetContentSize(width, height); 207 *width = fOverrideWidth; 217 *width = iconOnlyWidth; 219 *width = gMinimumWindowWidth - (gDragRegionWidth + kGutter) * 2; 222 *width 73 TTeamMenuItem(BList* team, BBitmap* icon, char* name, char* signature, float width, float height) argument 488 _Init(BList* team, BBitmap* icon, char* name, char* signature, float width, float height) argument [all...] |
/haiku/src/add-ons/accelerants/3dfx/ |
H A D | 3dfx_draw.cpp | 73 continue; // discard span with zero or negative width 127 int width = list->width; local 134 src_x += width; 135 dest_x += width; 146 OUTREG32(DST_SIZE, (width + 1) | ((height + 1) << 16));
|
/haiku/src/add-ons/accelerants/s3/ |
H A D | savage_draw.cpp | 70 // The MediaPlayer in Zeta 1.21 displays a window which has 2 zero width 73 // or negative width. 134 int width = pList->width; local 145 src_x += width; 146 dest_x += width; 168 BCI_SEND(BCI_W_H(width + 1, height + 1));
|
H A D | trio64_draw.cpp | 64 // span has zero width; thus, the following if statement discards any 65 // span with zero or negative width. 124 int width = pList->width; local 133 src_x += width; 134 dest_x += width; 149 WriteReg16(CUR_WIDTH, width);
|
H A D | virge_draw.cpp | 69 // The MediaPlayer in Zeta 1.21 displays a window which has 2 zero width 72 // or negative width. 132 int width = pList->width; local 141 src_x += width; 142 dest_x += width; 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); 145 width /= 16; 146 width *= 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); 142 width /= 16; 143 width *= 16;
|
/haiku/src/apps/cortex/TipManager/ |
H A D | TipView.cpp | 124 float width, 127 _inherited::FrameResized(width, height); 128 _updateLayout(width, height); 180 float width, 184 m_offset.x = (width - _maxTextWidth()) / 2; 123 FrameResized( float width, float height) argument 179 _updateLayout( float width, float height) argument
|
/haiku/headers/private/kernel/platform/efi/protocol/ |
H A D | pci-root-bridge-io.h | 34 efi_pci_root_bridge_io_width width, 37 efi_pci_root_bridge_io_width width, 70 efi_pci_root_bridge_io_width width, 75 efi_pci_root_bridge_io_width width, 84 efi_pci_root_bridge_io_width width,
|
/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);
|
H A D | ConfigView.cpp | 152 float width, height; local 153 fIconWidthControl->GetPreferredSize(&width, &height); 307 // Make sure the width shows at least one pixel per CPU and 309 int width = atoi(fIconWidthControl->Text()); local 311 if (width < min_width || width > 50) { 313 if (width < min_width) { 315 width = min_width; 318 width = 50; 323 fPrefs->deskbar_icon_width = width; [all...] |
/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) 153 bytesPerRow, fBytesPerRow, colorSpace, fSpace, from, to, width, 238 UtilityBitmap::UtilityBitmap(const uint8* alreadyPaddedData, uint32 width, argument 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
|
/haiku/src/add-ons/accelerants/ati/ |
H A D | mach64_overlay.cpp | 40 int32 x2 = window->h_start + window->width - 1; 49 // If window is moved beyond edge of screen, do not allow width < 4 or 59 uint32 horzScale = (buffer->width << 12) / (x2 - x1 + 1); 121 OUTREG(SCALER_HEIGHT_WIDTH, (buffer->width << 16) | buffer->height); 129 OUTREG(BUF0_PITCH, buffer->width); 132 OUTREG(SCALER_BUF0_PITCH, buffer->width);
|
/haiku/src/kits/interface/ |
H A D | Box.cpp | 319 BBox::FrameResized(float width, float height) argument 360 fBounds.right = width; 418 float width, height; local 419 GetPreferredSize(&width, &height); 422 if (width < Bounds().Width()) 423 width = Bounds().Width(); 427 BView::ResizeTo(width, height); 437 *_width = fLayoutData->preferred.width; 485 BBox::GetHeightForWidth(data->width, &data->min, &data->max, 519 if (size.width < fLayoutDat [all...] |
H A D | OptionPopUp.cpp | 277 \param width A pointer to a float which will held the control's 278 preferred width. 285 float width, height; local 286 fMenuField->GetPreferredSize(&width, &height); 297 width += fMenuField->StringWidth(BControl::Label()) 299 *_width = width; 309 float width, height; local 310 GetPreferredSize(&width, &height); 311 ResizeTo(width, height);
|
/haiku/src/apps/mediaplayer/interface/ |
H A D | SeekSlider.cpp | 61 float width = ceilf(frame.Width() * fScale); local 63 frame.left = floorf(center - width / 2) + 1; 64 frame.right = frame.left + width; 81 float width = ceilf(StringWidth(fDisabledString.String())); local 83 textPos.x = r.left + (r.Width() - width) / 2.0;
|
/haiku/src/apps/debuganalyzer/gui/ |
H A D | HeaderView.cpp | 90 float width = view->StringWidth(value.ToString()); local 91 return width + be_control_look->DefaultLabelSpacing() * 2.0f; 167 Header::Header(float width, float minWidth, float maxWidth, argument 170 fWidth(width), 211 Header::SetWidth(float width) argument 213 if (width != fWidth) { 214 fWidth = width; 221 Header::SetMinWidth(float width) argument 223 if (width != fMinWidth) { 224 fMinWidth = width; 231 SetMaxWidth(float width) argument 241 SetPreferredWidth(float width) argument 533 float width; member in struct:HeaderView::HeaderEntry 708 float width = fStartWidth + where.x - fStartX; local [all...] |
/haiku/src/add-ons/print/drivers/pcl6/ |
H A D | PCL6Rasterizer.cpp | 102 int width = GetWidth(); local 103 for (int w = width; w > 0; w --) { 378 fill(uchar* _row, int width, ColorRGB32Little color) argument 381 for (int i = 0; i < width; i ++) { 389 initializeBitmap(BBitmap* bitmap, int width, int height) argument 401 fill(row, width, black); 405 fill(row, width, white); 409 fill(row, width, red); 414 for (int i = 0; i < width; i++) { 434 const int width local [all...] |
/haiku/src/add-ons/translators/gif/ |
H A D | GIFSave.cpp | 82 width = bitmap->Bounds().IntegerWidth() + 1; 86 "Image dimensions are %d by %d\n", width, height); 93 red_error = new(std::nothrow) int32[width + 2]; 102 green_error = new(std::nothrow) int32[width + 2]; 112 blue_error = new(std::nothrow) int32[width + 2]; 124 for (int32 x = -1; x < width + 1; x++) { 247 header[6] = width & 0xff; 248 header[7] = (width & 0xff00) >> 8; 297 header[5] = width & 0xff; 298 header[6] = (width [all...] |
/haiku/src/add-ons/kernel/debugger/qrencode/ |
H A D | module.cpp | 40 if (x >= qrCode->width || y >= qrCode->width) 43 return (qrCode->data[y * qrCode->width + x] & 0x01) == 1; 58 for (int y = 0; y < qrCode->width; y += 2) { 62 for (int x = 0; x < qrCode->width; x++) { 72 move_to_and_clear_line(qrCode->width / 2 + 2); 73 move_to_and_clear_line(qrCode->width / 2 + 3);
|
/haiku/src/preferences/screensaver/ |
H A D | ScreenCornerSelector.cpp | 45 float width = Bounds().Width(); local 48 if (width / kAspectRatio > height) 49 width = height * kAspectRatio; 50 else if (height * kAspectRatio > width) 51 height = width / kAspectRatio; 53 return BRect((Bounds().Width() - width) / 2, 55 (Bounds().Width() + width) / 2, (Bounds().Height() + height) / 2);
|
/haiku/src/add-ons/accelerants/vesa/ |
H A D | mode.cpp | 29 int width; member in struct:nvidia_resolution 82 if (modes[i].width == mode->virtual_width 100 if (mode->virtual_width == kNVidiaAllowedResolutions[i].width 129 compute_display_timing(vesaModes[i].width, vesaModes[i].height, 131 fill_display_mode(vesaModes[i].width, vesaModes[i].height, 204 if (target->virtual_width == kNVidiaAllowedResolutions[i].width 227 if (modes[i].width == mode.virtual_width
|
/haiku/src/add-ons/print/drivers/canon_lips/lips3/ |
H A D | Lips3.cpp | 140 int width = rc.right - rc.left + 1; local 141 int widthByte = (width + 7) / 8; 148 DBGMSG(("width = %d\n", width)); 175 fHalftone->Dither(ptr2, ptr, x, y, width); 271 int width = 0; local 321 width = GetJobData()->GetPaperRect().IntegerWidth(); 332 WriteSpoolString("\033[%d;%d;%dp", i, height, width);
|
/haiku/src/add-ons/print/drivers/pcl5/ |
H A D | PCL5.cpp | 127 int width = rc.right - rc.left + 1; local 128 int widthByte = (width + 7) / 8; 135 DBGMSG(("width = %d\n", width)); 157 _StartRasterGraphics(width, height); 171 fHalftone->Dither(&in_buffer[0], ptr, x, y, width); 252 PCL5Driver::_StartRasterGraphics(int width, int height) argument 254 // width 255 WriteSpoolString("\033*r%dS", width);
|
/haiku/headers/private/interface/ |
H A D | ColumnTypes.h | 33 BTitledColumn(const char* title, float width, float minWidth, 83 BStringColumn(const char* title, float width, 124 BDateColumn(const char* title, float width, 157 BSizeColumn(const char* title, float width, 185 BIntegerColumn(const char* title, float width, 213 BBitmapColumn(const char* title, float width, 228 GraphColumn(const char* name, float width,
|