Searched refs:height (Results 501 - 525 of 838) sorted by relevance

<<21222324252627282930>>

/haiku/src/tools/hvif2png/
H A Dhvif2png.cpp144 png_uint_32 height = (png_uint_32)rect.Height() + 1; local
146 png_set_IHDR(png, info, width, height, 8, PNG_COLOR_TYPE_RGBA,
157 for (png_uint_32 i = 0; i < height; i++) {
/haiku/src/add-ons/network_settings/dialup/
H A DIPCPAddon.cpp220 IPCPAddon::GetPreferredSize(float *width, float *height) const
229 if(height)
230 *height = rect.Height();
/haiku/src/add-ons/kernel/file_systems/netfs/authentication_server/
H A DAuthenticationPanel.cpp228 float height = frame.Height(); local
234 frame.top = center.y - height / 2.0;
235 frame.bottom = frame.top + height;
/haiku/src/kits/shared/
H A DIconButton.cpp218 BIconButton::GetPreferredSize(float* width, float* height) argument
245 if (height)
246 *height = minHeight + vPadding;
254 GetPreferredSize(&size.width, &size.height);
433 uint32 width, uint32 height, color_space format, bool convertToBW)
436 if (bitsFromQuickRes && width > 0 && height > 0) {
438 width - 1.0, height - 1.0), format);
475 for (uint32 y = 0; y < height; y++) {
518 uint32 height = fNormalBitmap->Bounds().IntegerHeight() + 1; local
520 for (uint32 y = 0; y < height;
432 SetIcon(const unsigned char* bitsFromQuickRes, uint32 width, uint32 height, color_space format, bool convertToBW) argument
594 uint32 height = bitmap->Bounds().IntegerHeight() + 1; local
[all...]
/haiku/src/servers/app/
H A DVirtualScreen.cpp179 uint16 width, height; local
182 screen->GetMode(width, height, colorSpace, frequency);
186 virtualHeight = max_c(virtualHeight, height);
/haiku/src/apps/haiku3d/
H A DRenderView.cpp266 RenderView::FrameResized(float width, float height) argument
269 fNextRes.Set(width, height);
271 BGLView::FrameResized(width, height);
/haiku/src/apps/mail/
H A DSignature.cpp273 TSignatureWindow::FrameResized(float width, float height) argument
275 fSigView->FrameResized(width, height);
514 int32 height; local
532 height = (int32)((up ? r.top - r.bottom : r.bottom - r.top) - 25);
535 ScrollBy(0, height);
/haiku/src/apps/icon-o-matic/generic/gui/
H A DIconButton.cpp128 float height = Bounds().Height(); local
133 float y = floorf((height - bitmap->Bounds().Height()) / 2.0 + 0.5);
226 IconButton::GetPreferredSize(float* width, float* height) argument
232 if (height)
233 *height = mpm.mini.y;
402 uint32 width, uint32 height, color_space format, bool convertToBW)
405 if (bitsFromQuickRes && width > 0 && height > 0) {
406 BBitmap* quickResBitmap = new(nothrow) BBitmap(BRect(0.0, 0.0, width - 1.0, height - 1.0), format);
437 for (uint32 y = 0; y < height; y++) {
479 uint32 height local
401 SetIcon(const unsigned char* bitsFromQuickRes, uint32 width, uint32 height, color_space format, bool convertToBW) argument
[all...]
H A DListViews.cpp75 float height = itemFrame.Height(); local
80 + ceilf(height / 2 - textHeight / 2 + fh.ascent);
165 DragSortableListView::FrameResized(float width, float height) argument
167 BListView::FrameResized(width, height);
428 // offset where by half of item height
863 int32 height = (int32)dragBitmap->Bounds().Height() + 1; local
868 for (int32 y = 0; y < height - ALPHA / 2; y++, bits += bpr) {
873 for (int32 y = height - ALPHA / 2; y < height; y++, bits += bpr) {
876 *line = (height
[all...]
/haiku/src/kits/interface/
H A DWindow.cpp996 int32 width, height; local
998 && message->FindInt32("height", &height) == B_OK) {
1008 if (pendingMessage->FindInt32("height", &nextHeight)
1010 height = nextHeight;
1018 if (width != fFrame.Width() || height != fFrame.Height()) {
1022 fFrame.bottom = fFrame.top + height;
1025 // FrameResized(width, height);
1032 FrameResized(width, height);
1188 float height; local
1530 Zoom(BPoint origin, float width, float height) argument
2255 SetWindowAlignment(window_alignment mode, int32 h, int32 hOffset, int32 width, int32 widthOffset, int32 v, int32 vOffset, int32 height, int32 heightOffset) argument
2292 GetWindowAlignment(window_alignment* mode, int32* h, int32* hOffset, int32* width, int32* widthOffset, int32* v, int32* vOffset, int32* height, int32* heightOffset) const argument
2412 ResizeTo(float width, float height) argument
2458 float height = fTopView->PreferredSize().height; local
3837 float height = Bounds().Height(); local
[all...]
H A DMenuField.cpp210 TRACE("frame.width: %.2f, height: %.2f\n", frame.Width(), frame.Height());
446 TRACE("width: %.2f, height: %.2f\n", Frame().Width(), Frame().Height());
461 TRACE("width: %.2f, height: %.2f\n", Frame().Width(), Frame().Height());
592 // The height changed, which means the label has to move and we
764 TRACE("fMenuBar->Frame().width: %.2f, height: %.2f\n",
769 TRACE("fMenuBar->Frame().width: %.2f, height: %.2f\n",
789 *_height = fLayoutData->min.height;
963 if (size.height < fLayoutData->min.height)
964 size.height
1033 float height; local
1035 fMenuBar->ResizeTo(_MenuBarWidth(), height); local
[all...]
/haiku/src/apps/cortex/RouteApp/
H A DStatusView.cpp66 // width: 8, height:12, color_space: B_CMAP8
82 // width: 8, height:12, color_space: B_CMAP8
173 float height) {
176 allocBackBitmap(width, height);
505 void StatusView::allocBackBitmap(float width, float height) { argument
506 D_OPERATION(("StatusView::allocBackBitmap(%.1f, %.1f)\n", width, height));
509 if(width <= 0.0 || height <= 0.0)
515 if(b.Width() >= width && b.Height() >= height)
522 BRect b(0.0, 0.0, width, height);
171 FrameResized( float width, float height) argument
H A DRouteWindow.cpp315 RouteWindow::FrameResized(float width, float height) argument
337 RouteWindow::Zoom(BPoint origin, float width, float height) argument
351 float width, height; local
352 m_routingView->GetPreferredSize(&width, &height);
354 height += B_H_SCROLL_BAR_HEIGHT;
356 height += KeyMenuBar()->Frame().Height();
358 ResizeTo(width, height);
/haiku/src/apps/mediaplayer/support/
H A DStackBlurFilter.cpp118 int32 height = bitmap->Bounds().IntegerHeight() + 1; local
127 _Filter32(bits, width, height, bpr, r, r);
131 _Filter8(bits, width, height, bpr, r, r);
150 StackBlurFilter::_Filter32(uint8* buffer, unsigned width, unsigned height, argument
177 unsigned h = height;
430 StackBlurFilter::_Filter8(uint8* buffer, unsigned width, unsigned height, argument
446 unsigned h = height;
/haiku/src/apps/people/
H A DPictureView.cpp77 PictureView::PictureView(float width, float height, const entry_ref* ref) argument
94 BSize size(width + 2 * kPictureMargin, height + 2 * kPictureMargin);
102 float size = width < height ? width : height;
279 float frameAspect = size.height / size.width;
282 size.width = srcRect.Width() * size.height / srcRect.Height();
284 size.height = srcRect.Height() * size.width / srcRect.Width();
/haiku/src/tools/translation/inspector/
H A DImageView.cpp119 ImageView::FrameResized(float width, float height) argument
599 float width, height; local
602 height = fpbitmap->Bounds().Height() +
608 if (height > rctscreen.Height())
609 height = rctscreen.Height();
611 pbar->Bounds().Height() + (B_H_SCROLL_BAR_HEIGHT * 4) + 1, height);
612 pwin->SetZoomLimits(width, height);
/haiku/src/add-ons/kernel/drivers/graphics/vesa/
H A Dvesa.cpp297 uint32 height, int8 depth, uint32 bytesPerRow, bool initializing)
304 size_t size = bytesPerRow * height;
325 frame_buffer_update(frameBuffer, width, height, depth,
401 bufferInfo->width, bufferInfo->height, bufferInfo->depth,
407 sharedInfo.current_mode.virtual_height = bufferInfo->height;
491 modeInfo.height, modeInfo.bits_per_pixel, modeInfo.bytes_per_row,
496 info.shared_info->current_mode.virtual_height = modeInfo.height;
296 remap_frame_buffer(vesa_info& info, addr_t physicalBase, uint32 width, uint32 height, int8 depth, uint32 bytesPerRow, bool initializing) argument
/haiku/src/system/boot/platform/generic/
H A Dtext_menu.cpp258 int32 height = menu_height(); local
259 if (menu->CountItems() >= height) {
264 height--;
266 int32 start = sMenuOffset * height / menu->CountItems();
267 int32 end = (sMenuOffset + height) * height / menu->CountItems();
269 for (i = 1; i < height; i++) {
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DAVCodecEncoder.cpp304 fCodecContext->height = fInputFormat.u.raw_video.display.line_count;
322 rawBitRate = (int)(fCodecContext->width * fCodecContext->height * 2
334 fCodecContext->height, 255);
346 fCodecContext->height, pixFmt,
347 fCodecContext->width, fCodecContext->height,
494 fFrame->height = fCodecContext->height;
H A DAVCodecDecoder.cpp1334 - display.line_count copied to fCodecContext->height
1351 fCodecContext->height = containerProperties.display.line_count;
1580 fRawDecodedPicture->height, 1);
1582 fHeader.u.raw_video.display_line_count = fRawDecodedPicture->height;
1591 fHeader.u.raw_video.line_count = fRawDecodedPicture->height;
1630 int displayHeight = fRawDecodedPicture->height;
1741 int32 height)
1753 "[out]buffersink", width, height,
1781 fLastHeight = height;
1799 enum AVPixelFormat pixfmt, int32 width, int32 height)
1740 _InitFilterGraph(enum AVPixelFormat pixfmt, int32 width, int32 height) argument
1798 _ProcessFilterGraph(AVFrame *dst, const AVFrame *src, enum AVPixelFormat pixfmt, int32 width, int32 height) argument
[all...]
/haiku/src/kits/media/
H A DMediaDefs.cpp388 if (a.u.vid.height != 0 && b.u.vid.height != 0
389 && a.u.vid.height != b.u.vid.height) {
423 if (a.u.avi.height != 0 && b.u.avi.height != 0
424 && a.u.avi.height != b.u.avi.height) {
625 if (format->u.vid.height == 0)
626 format->u.vid.height
[all...]
/haiku/src/apps/mediaplayer/playlist/
H A DListViews.cpp71 float height = frame.Height(); local
76 + ceilf(height / 2.0 - textHeight / 2.0
144 DragSortableListView::FrameResized(float width, float height) argument
146 BListView::FrameResized(width, height);
274 int32 height = (int32)dragBitmap->Bounds().Height() + 1; local
279 for ( int32 y = 0; y < height - ALPHA / 2; y++, bits += bpr ) {
284 for ( int32 y = height - ALPHA / 2; y < height; y++, bits += bpr ) {
287 *line = (height - y) << 1;
290 for ( int32 y = 0; y < height;
[all...]
/haiku/src/add-ons/decorators/FlatDecorator/
H A DFlatDecorator.cpp811 bool down, int32 width, int32 height)
818 int32 height; member in struct:decorator_bitmap
838 && current->width == width && current->height == height
853 || sBitmapDrawingEngine->SetSize(width, height) != B_OK)
856 BRect rect(0, 0, width - 1, height - 1);
860 down ? "down" : "up", width, height));
898 UtilityBitmap* bitmap = sBitmapDrawingEngine->ExportToBitmap(width, height,
913 entry->height = height;
810 _GetBitmapForButton(Decorator::Tab* tab, Component item, bool down, int32 width, int32 height) argument
[all...]
/haiku/src/servers/app/drawing/
H A DHWInterface.cpp432 HWInterface::CheckOverlayRestrictions(int32 width, int32 height, argument
440 HWInterface::AllocateOverlayBuffer(int32 width, int32 height, color_space space) argument
555 int32 height = area.bottom - area.top + 1; local
561 uint8* buffer = new(std::nothrow) uint8[width * height * 4];
947 uint32 height = bitmapFrame.IntegerHeight() + 1; local
949 for (uint32 y = 0; y < height; y++) {
964 height = cursorFrame.IntegerHeight() + 1;
966 for (uint32 y = 0; y < height; y++) {
1008 height = combindedBounds.IntegerHeight() + 1;
1012 for (uint32 y = 0; y < height;
[all...]
/haiku/src/servers/app/decorator/
H A DDefaultDecorator.cpp742 bool down, int32 width, int32 height)
749 int32 height; member in struct:decorator_bitmap
769 && current->width == width && current->height == height
784 || sBitmapDrawingEngine->SetSize(width, height) != B_OK)
787 BRect rect(0, 0, width - 1, height - 1);
791 down ? "down" : "up", width, height));
820 UtilityBitmap* bitmap = sBitmapDrawingEngine->ExportToBitmap(width, height,
835 entry->height = height;
741 _GetBitmapForButton(Decorator::Tab* tab, Component item, bool down, int32 width, int32 height) argument
[all...]

Completed in 285 milliseconds

<<21222324252627282930>>