Searched refs:height (Results 426 - 450 of 838) sorted by relevance

<<11121314151617181920>>

/haiku/src/kits/interface/
H A DStringView.cpp196 *_height = fPreferredSize.height;
227 float width, height; local
228 GetPreferredSize(&width, &height);
234 BView::ResizeTo(width, height);
496 fPreferredSize.height = -1;
589 if (fPreferredSize.height < 0) {
590 // height
601 fPreferredSize.height = ceilf(fontHeight.ascent + fontHeight.descent
H A DButton.cpp48 // Resize to minimum height if needed
437 *_height = fPreferredSize.height;
666 // height
668 float height = -1; local
674 height = ceilf(textHeight * 1.8);
675 float margins = height - ceilf(textHeight);
677 height += minHorizontalMargins - margins;
681 height = std::max(height,
685 // force some minimum width/height value
[all...]
H A DSlider.cpp1074 float height = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent); local
1075 float lineHeight = height + ceilf(fontHeight.leading);
1078 invalid = BRect(invalid.right - width, 0, invalid.right, height);
1086 invalid.top = invalid.bottom - height;
1242 *_height = preferredSize.height;
1251 *_height = std::max(Bounds().Height(), preferredSize.height);
1554 maxSize.height = B_SIZE_UNLIMITED;
1567 preferredSize.height = std::max(100.0f, preferredSize.height);
1677 float height local
[all...]
H A DTwoDimensionalLayout.cpp34 // 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
518 //printf(" min: (%.1f, %.1f), max: (%.1f, %.1f)\n", min.width, min.height,
519 // max.width, max.height);
542 size.height = BLayoutUtils::AddDistances(size.height,
567 size.height = BLayoutUtils::SubtractDistances(size.height,
905 // height fo
1102 float height = vLayoutInfo->ElementRangeSize(itemDimensions.y, local
[all...]
/haiku/src/servers/notification/
H A DNotificationWindow.cpp144 NotificationWindow::FrameResized(float width, float height) argument
301 float height = Bounds().Height() + 1; local
335 y = frame.top - height - bottomOffset;
349 y = frame.bottom - height + bottomOffset;
353 y = frame.bottom - height + bottomOffset;
362 location -= BPoint(width, height);
365 location -= BPoint(0, height);
/haiku/src/add-ons/translators/sgi/
H A DSGITranslator.cpp288 uint32 height = bitsHeader.bounds.IntegerHeight() + 1; local
314 status_t ret = sgiImage->SetTo(outDestination, width, height,
334 for (int32 y = height - 1; y >= 0 && ret >= B_OK; y--) {
429 } // for (uint32 y = 0; y < height && ret >= B_OK; y++)
471 uint32 height = sgiImage->Height(); local
502 bitsHeader.bounds.bottom = height - 1;
505 bitsHeader.dataSize = bitsHeader.rowBytes * height;
533 for (int32 y = height - 1; y >= 0 && ret >= B_OK; y--) {
681 } // for (uint32 y = 0; y < height && ret >= B_OK; y++)
/haiku/src/kits/tracker/
H A DUtilities.h212 extern void FadeRGBA32Horizontal(uint32* bits, int32 width, int32 height,
214 extern void FadeRGBA32Vertical(uint32* bits, int32 width, int32 height,
343 virtual void GetContentSize(float* width, float* height);
562 font_height height; local
563 view->GetFontHeight(&height);
564 return height.ascent + height.descent + 1;
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPJob.cpp63 void RoundUpToWholeInches(int32& width, int32& height) { argument
66 height = ((height + kGutenprintUnit - 1) / kGutenprintUnit)
91 fImage.height = ImageHeight;
251 fprintf(stderr, "GPJob width %f %s, height %f %s\n",
281 int height = fPrintRect.Height() + 1; local
284 "height %d\n",
285 left, top, width, height);
309 double height = bottom - top; local
316 coordinateSystem.SizeFromGutenprint(width, height, printRectWidt
324 int height = fPrintRect.Height() + 1; local
[all...]
/haiku/src/apps/mandelbrot/
H A DMandelbrot.cpp76 void CreateDisplayBitmap(uint16 width, uint16 height);
159 uint16 height = (uint16)Frame().Height(); local
162 msg.AddUInt16("height", height);
164 CreateDisplayBitmap(width, height);
172 void FractalView::CreateDisplayBitmap(uint16 width,uint16 height) argument
176 TRACE("width %u height %u\n",width,height);
177 BRect rect(0, 0, width, height);
190 height local
[all...]
/haiku/src/add-ons/accelerants/common/
H A Dcreate_display_modes.cpp111 void _AddBaseMode(uint16 width, uint16 height,
113 display_mode* _FindMode(uint16 width, uint16 height) const;
393 ModeList::_AddBaseMode(uint16 width, uint16 height, uint32 refresh) argument
400 // Add mode if width and height match, and the computed refresh rate of
406 if (mode.timing.h_display == width && mode.timing.v_display == height
415 if (compute_display_timing(width, height, refresh, false, &mode.timing)
419 fill_display_mode(width, height, &mode);
426 ModeList::_FindMode(uint16 width, uint16 height) const
431 if (mode.timing.h_display == width && mode.timing.v_display == height)
538 fill_display_mode(uint32 width, uint32 height, display_mod argument
[all...]
/haiku/src/apps/icon-o-matic/generic/property/view/
H A DPropertyListView.cpp140 PropertyListView::FrameResized(float width, float height) argument
142 SetVisibleSize(width, height);
653 float height = -1.0; local
655 height += item->PreferredHeight() + 1.0;
657 if (height < 0.0)
658 height = 0.0;
659 return BRect(0.0, 0.0, width, height);
678 float height = item->PreferredHeight(); local
680 item->ResizeTo(width, height);
683 top += height
[all...]
/haiku/src/apps/icon-o-matic/gui/
H A DGradientControl.cpp417 GradientControl::FrameResized(float width, float height) argument
428 GradientControl::GetPreferredSize(float* width, float* height) argument
433 if (height != NULL)
434 *height = 19;
546 uint32 height = fGradientBitmap->Bounds().IntegerHeight() + 1; local
549 for (uint32 i = 1; i < height; i++) {
556 for (uint32 i = 0; i < height; i++) {
597 GradientControl::_AllocBitmap(int32 width, int32 height) argument
599 if (width < 2 || height < 2)
603 fGradientBitmap = new BBitmap(BRect(0, 0, width - 1, height
[all...]
/haiku/src/servers/app/drawing/Painter/bitmap_painter/
H A DBitmapPainter.cpp290 fBitmap.height() * fBitmap.stride(),
304 fBitmap.width(), fBitmap.height(),
316 fBitmap.width(), fBitmap.height(),
335 uint32 width, uint32 height, uint32 sourceBytesPerRow,
342 for (uint32 y = 0; y < height; y++) {
334 _TransparentMagicToAlpha(sourcePixel* buffer, uint32 width, uint32 height, uint32 sourceBytesPerRow, sourcePixel transparentMagic, BBitmap* output) argument
/haiku/src/apps/terminal/
H A DBasicTerminalBuffer.h67 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,
201 status_t _ResizeSimple(int32 width, int32 height,
203 status_t _ResizeRewrap(int32 width, int32 height,
225 // screen width/height
/haiku/src/add-ons/translators/tga/
H A DTGATranslator.cpp234 // pimagespec, Info about the image width/height etc.
319 memcpy(&imagespec.height, buf + 14, 2);
320 imagespec.height = B_LENDIAN_TO_HOST_INT16(imagespec.height);
321 if (imagespec.height == 0)
385 pimagespec->height = imagespec.height;
816 // imagespec, info about width / height / etc. of
917 if (tgapixrow == imagespec.height)
946 // imagespec, info about width / height / et
[all...]
/haiku/src/apps/deskbar/
H A DStatusView.cpp156 // max(129, height * 3), and restrict the minimum window width for it)
157 // Use bold font because it depends on the window tab height.
240 float height = fMinTrayHeight; local
248 height = fRightBottomReplicant.bottom;
250 // The height will be uniform for the number of rows necessary
252 int32 rowCount = (int32)(height / fMaxReplicantHeight);
253 height = kGutter + (rowCount * fMaxReplicantHeight)
255 height = std::max(fMinTrayHeight, height);
257 height
294 float width, height; local
1004 float width, height; local
1070 float width, height; local
1389 GetPreferredSize(float* width, float* height) argument
1810 int32 height = dragRegion.IntegerHeight(); local
[all...]
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/
H A DUVCCamDevice.cpp232 printf("\twidth=%u,height=%u,min/max bitrate=%" B_PRIu32 "/%" B_PRIu32 ", maxbuf=%" B_PRIu32 "\n",
233 descriptor->width, descriptor->height,
317 descriptor->imageSizePatterns[i].height);
558 UVCCamDevice::SuggestVideoFrame(uint32& width, uint32& height) argument
560 printf("UVCCamDevice::SuggestVideoFrame(%" B_PRIu32 ", %" B_PRIu32 ")\n", width, height);
565 height = 240;
566 if (!AcceptVideoFrame(width, height)) {
570 height = (*descriptor).height;
577 UVCCamDevice::AcceptVideoFrame(uint32& width, uint32& height) argument
1268 _DecodeColor(unsigned char* dst, unsigned char* src, int32 width, int32 height) argument
[all...]
/haiku/src/apps/icon-o-matic/generic/gui/scrollview/
H A DScrollView.cpp376 ScrollView::FrameResized(float width, float height) argument
827 float height = childRect.Height(); local
842 } else if (hbar && width >= dataWidth && vbar && height >= dataHeight) {
976 size.height += B_H_SCROLL_BAR_HEIGHT;
984 size.height += fHVisible ? -1 : 0;
991 size.height += 1;
996 size.height += fHVisible ? 0 : 1;
1004 size.height += 2;
1009 size.height += fHVisible ? 1 : 2;
/haiku/src/preferences/locale/
H A DLanguageListView.cpp386 int32 height = (int32)dragBitmap->Bounds().Height() + 1; local
391 for (int32 y = 0; y < height - ALPHA / 2; y++, bits += bpr) {
396 for (int32 y = height - ALPHA / 2; y < height;
400 *line = (height - y) << 1;
403 for (int32 y = 0; y < height; y++, bits += bpr) {
439 // offset where by half of item height
/haiku/headers/libs/agg/
H A Dagg_alpha_mask_u8.h73 y < (int)m_rbuf->height())
86 y < (int)m_rbuf->height())
101 int ymax = m_rbuf->height() - 1;
151 int ymax = m_rbuf->height() - 1;
203 int ymax = m_rbuf->height() - 1;
252 int ymax = m_rbuf->height() - 1;
H A Dagg_pixfmt_transposer.h39 AGG_INLINE unsigned width() const { return m_pixf->height(); }
40 AGG_INLINE unsigned height() const { return m_pixf->width(); } function in class:agg::pixfmt_transposer
/haiku/src/add-ons/print/drivers/pcl6/
H A DPCL6Rasterizer.cpp389 initializeBitmap(BBitmap* bitmap, int width, int height) argument
435 const int height = 4; local
437 fprintf(stderr, "width: %d\nheight: %d\n", width, height);
445 BBitmap bitmap(BRect(0, 0, width - 1, height - 1), B_RGB32);
447 initializeBitmap(&bitmap, width, height);
449 rasterizer.SetBitmap(0, 0, &bitmap, height);
/haiku/src/tests/kits/interface/flatten_picture/
H A DPictureTestCases.cpp49 font_height height; local
50 font.GetHeight(&height);
51 float baseline = frame.bottom - height.descent;
64 font_height height; local
65 font.GetHeight(&height);
66 float baseline = frame.bottom - height.descent;
80 font_height height; local
81 font.GetHeight(&height);
82 float baseline = frame.bottom - height.descent;
108 font_height height; local
617 isBorder(int32 x, int32 y, int32 width, int32 height) argument
622 int32 height = bitmap.Bounds().IntegerHeight()+1; local
[all...]
/haiku/src/apps/deskcalc/
H A DCalcView.cpp736 CalcView::FrameResized(float width, float height) argument
739 fHeight = height;
1015 float height = fHeight; local
1024 window->ResizeTo(width, height * kDisplayScaleY);
1026 ResizeTo(width, height * kDisplayScaleY);
1046 if (height < kMinimumHeightScientific)
1047 height = kMinimumHeightScientific;
1048 else if (height > kMaximumHeightScientific)
1049 height = kMaximumHeightScientific;
1051 if (width != fWidth || height !
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/virtio/
H A Dvirtio_gpu.cpp180 info->displayHeight = displayInfo.pmodes[0].r.height;
181 TRACE("virtio_gpu_get_display_info width %" B_PRIu32 " height %" B_PRIu32 "\n",
213 virtio_gpu_create_2d(virtio_gpu_driver_info* info, int resourceId, int width, int height) argument
223 resource.height = height;
320 uint32 width, uint32 height)
330 set_scanout.r.height = height;
345 uint32 width, uint32 height)
353 transferToHost.r.height
319 virtio_gpu_set_scanout(virtio_gpu_driver_info* info, int scanoutId, int resourceId, uint32 width, uint32 height) argument
344 virtio_gpu_transfer_to_host_2d(virtio_gpu_driver_info* info, int resourceId, uint32 width, uint32 height) argument
368 virtio_gpu_flush_resource(virtio_gpu_driver_info* info, int resourceId, uint32 width, uint32 height) argument
[all...]

Completed in 284 milliseconds

<<11121314151617181920>>