/haiku/src/system/boot/platform/bios_ia32/ |
H A D | video.cpp | 44 uint16 width, height, bits_per_pixel; member in struct:video_mode 62 int compare = a->width - b->width; 101 If \a height is \c -1, the height is ignored, and only the width 105 find_video_mode(int32 width, int32 height, bool allowPalette) argument 111 if (mode->width == width && (height == -1 || mode->height == height) 122 /*! Returns the VESA mode closest to the one specified, with a width less or 127 closest_video_mode(int32 width, int32 height, int32 depth) argument 135 if (mode->width > widt 313 int32 width = strtol(parameter.values[0], NULL, 0); local 769 platform_blit4(addr_t frameBuffer, const uint8 *data, uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top) argument [all...] |
/haiku/src/add-ons/translators/pcx/ |
H A D | PCX.cpp | 80 uint32 width = header.xMax - header.xMin + 1; local 162 for (uint32 i = 0; i < width; i++) { 176 for (uint32 i = 0; i < width; i++) { 197 for (uint32 i = 0; i < width; i++) { 213 for (uint32 i = 0; i < width; i++) { 274 uint16 width = header.xMax - header.xMin + 1; 281 bitsHeader.bounds.right = width - 1; 283 bitsHeader.bounds.Set(0, 0, width - 1, height - 1); 284 bitsHeader.rowBytes = width * 4;
|
/haiku/src/kits/interface/ |
H A D | SplitLayout.cpp | 554 BSplitLayout::GetHeightForWidth(float width, float* min, float* max, argument 560 float innerWidth = _SubtractInsets(BSize(width, 0)).width; 592 fHorizontalLayouter->Layout(fHorizontalLayoutInfo, size.width); 597 _InternalGetHeightForWidth(size.width, true, &minHeight, &maxHeight, 617 splitterWidth = size.width + 1; 647 float width = fHorizontalLayoutInfo->ElementSize(visibleIndex); local 651 _LayoutItem(item, BRect(xOffset, yOffset, xOffset + width, 655 xOffset += width + xSpacing + 1; 691 if ((fOrientation == B_HORIZONTAL && size.width > 1319 _InternalGetHeightForWidth(float width, bool realLayout, float* minHeight, float* maxHeight, float* preferredHeight) argument [all...] |
H A D | SeparatorView.cpp | 268 float width = 0.0f; local 272 fLabelView->GetPreferredSize(&width, &height); 274 width = StringWidth(fLabel.String()); 279 // swap width and height 281 height = width; 282 width = temp; 290 width += kMinBorderLength * 2.0f; 294 width = max_c(width, borderSize - 1.0f); 298 *_width = width; [all...] |
H A D | TwoDimensionalLayout.cpp | 34 // resulting locations and sizes. The "height for width" feature makes the 35 // height depend on the width, which makes things a bit more complicated. 45 // which additionally takes care of the "height for width" feature. Per layout 161 void DoHorizontalLayout(float width); 163 void InternalGetHeightForWidth(float width, 222 BLayoutContext* context, float width); 388 BTwoDimensionalLayout::GetHeightForWidth(float width, float* min, float* max, argument 396 width, outerSpacing), min, max, preferred); 518 //printf(" min: (%.1f, %.1f), max: (%.1f, %.1f)\n", min.width, min.height, 519 // max.width, ma 1100 float width = hLayoutInfo->ElementRangeSize(itemDimensions.x, local 1126 DoHorizontalLayout(float width) argument 1139 InternalGetHeightForWidth(float width, float* minHeight, float* maxHeight, float* preferredHeight) argument 1398 _SetHorizontalLayoutContext( BLayoutContext* context, float width) argument [all...] |
/haiku/src/tests/kits/interface/layout/widget_layout_test/ |
H A D | GroupView.cpp | 208 fColumnInfos[column].AddConstraints(min.width, max.width, 209 preferred.width); 314 size.width = BLayoutUtils::AddDistances(size.width, 327 size.width = BLayoutUtils::SubtractDistances(size.width, 414 HStrut::HStrut(float width) argument 415 : Strut(width, -1)
|
/haiku/src/add-ons/accelerants/radeon/ |
H A D | overlay_management.c | 68 // width, height - width and height of overlay buffer 69 const overlay_buffer *ALLOCATE_OVERLAY_BUFFER( color_space cs, uint16 width, uint16 height ) argument 136 buffer->width = width; 138 buffer->bytes_per_row = (width * bpp + 0xf) & ~0xf; 264 oc->view.width.min = 4; // make 4-tap filter happy 266 oc->view.width.max = ob->width; 274 oc->window.width [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" 122 int width = -1; local 175 int parsed = sscanf(argv[optind], "%dx%dx%d", &width, &height, 300 if (currentMode.width == 800 && currentMode.height == 600) { 301 newMode.width = 640; 306 newMode.width = 800; 316 newMode.width = width; [all...] |
/haiku/src/apps/terminal/ |
H A D | BasicTerminalBuffer.h | 67 status_t Init(int32 width, int32 height, 80 virtual status_t ResizeTo(int32 width, int32 height); 81 virtual status_t ResizeTo(int32 width, int32 height, 195 static TerminalLine** _AllocateLines(int32 width, int32 count); 199 status_t _ResizeHistory(int32 width, 201 status_t _ResizeSimple(int32 width, int32 height, 203 status_t _ResizeRewrap(int32 width, int32 height, 205 status_t _ResetTabStops(int32 width); 212 void _InsertGap(int32 width); 225 // screen width/heigh [all...] |
/haiku/src/apps/deskbar/ |
H A D | TimeView.cpp | 189 TTimeView::GetPreferredSize(float* width, float* height) argument 200 float appWidth = static_cast<TBarApp*>(be_app)->Settings()->width; 201 *width = fMaxWidth 204 *width = fMaxWidth = timeWidth; 307 float width; local 312 GetPreferredSize(&width, &height); 313 if (height != oldHeight || width != oldWidth) { 314 ResizeTo(width, height); 315 MoveBy(oldWidth - width, 0);
|
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/ |
H A D | UVCCamDevice.h | 24 virtual status_t SuggestVideoFrame(uint32 &width, 26 virtual status_t AcceptVideoFrame(uint32 &width, 49 unsigned char *src, int32 width,
|
/haiku/src/libs/glut/ |
H A D | glutWindow.cpp | 58 __glutDefaultReshape(int width, int height) argument 61 glViewport(0, 0, (GLsizei) width, (GLsizei) height); 73 int x, int y, int width, int height, ulong options) 74 : BGLView(nparent != NULL ? BRect(x, y, x + width - 1, y + height - 1) 75 : BRect(0, 0, width - 1, height - 1), name, 99 m_width = width; 146 BRect(x, y, x + width - 1, y + height - 1), name); 191 glutCreateSubWindow(int win, int x, int y, int width, int height) 199 x, y, width, height, options); 399 glutReshapeWindow(int width, in argument 72 GlutWindow(GlutWindow *nparent, const char *name, int x, int y, int width, int height, ulong options) argument [all...] |
/haiku/src/preferences/time/ |
H A D | TZDisplay.cpp | 46 ResizeTo(size.width, size.height); 127 size.width = B_SIZE_UNLIMITED; 165 size.width = firstLine > secondLine ? firstLine : secondLine;
|
/haiku/src/apps/mediaplayer/interface/ |
H A D | SymbolButton.cpp | 91 size.width = ceilf(fSymbol->Bounds().Width() * scale); 102 size.width = ceilf(size.width * 1.5f);
|
/haiku/src/tests/kits/opengl/glinfo/ |
H A D | CapabilitiesView.cpp | 145 int width = 0; local 147 GL_MAX_CONVOLUTION_WIDTH, &width); 154 convolution << (int32)width << 'x' << (int32)height;
|
/haiku/src/bin/ |
H A D | dstcheck.cpp | 33 button_width width = B_WIDTH_AS_USUAL, 47 button_width width, alert_type type) 48 : BAlert(title, text, button1, button2, button3, width, type), 45 TimedAlert(const char *title, const char *text, const char *button1, const char *button2, const char *button3, button_width width, alert_type type) argument
|
/haiku/src/apps/charactermap/ |
H A D | UnicodeBlockView.cpp | 135 float width = StringWidth(item->Text()); local 136 if (minWidth < width) 137 minWidth = width;
|
/haiku/src/apps/processcontroller/ |
H A D | NoiseBarMenuItem.cpp | 111 NoiseBarMenuItem::GetContentSize(float* width, float* height) argument 113 BMenuItem::GetContentSize(width, height); 116 *width += 20 + kBarWidth;
|
/haiku/src/apps/cortex/DormantNodeView/ |
H A D | DormantNodeWindow.cpp | 126 float width, 140 m_listView->GetPreferredSize(&width, &height); 141 ResizeTo(width + B_V_SCROLL_BAR_WIDTH, height); 124 Zoom( BPoint origin, float width, float height) argument
|
/haiku/src/add-ons/accelerants/vesa/ |
H A D | accelerant_protos.h | 48 status_t vesa_set_cursor_shape(uint16 width, uint16 height, uint16 hotX, 50 status_t vesa_set_cursor_bitmap(uint16 width, uint16 height, uint16 hotX, 69 const overlay_buffer *vesa_allocate_overlay_buffer(color_space cs, uint16 width,
|
/haiku/src/apps/debugger/user_interface/gui/util/ |
H A D | AlertWithCheckbox.cpp | 59 float width = message->StringWidth("W") * 40; local 60 if (width < textRect.Width()) { 61 message->SetExplicitMinSize(BSize(width, B_SIZE_UNSET));
|
/haiku/src/add-ons/accelerants/intel_extreme/ |
H A D | overlay.cpp | 348 intel_allocate_overlay_buffer(color_space colorSpace, uint16 width, argument 351 TRACE("%s(width %u, height %u, colorSpace %lu)\n", __func__, width, 388 buffer->width = width; 390 buffer->bytes_per_row = (width * bytesPerPixel + alignment) & ~alignment; 486 constraints->view.width.min = 4; // make 4-tap filter happy 488 constraints->view.width.max = buffer->width; 496 constraints->window.width [all...] |
/haiku/src/add-ons/print/drivers/postscript/ |
H A D | PS.h | 31 void _StartRasterGraphics(int x, int y, int width,
|
/haiku/src/add-ons/translators/icns/ |
H A D | ICNSTranslator.h | 51 virtual status_t DerivedCanHandleImageSize(float width,
|
/haiku/src/add-ons/translators/ico/ |
H A D | ICOTranslator.h | 47 virtual status_t DerivedCanHandleImageSize(float width,
|