Searched refs:height (Results 1 - 25 of 838) sorted by last modified time

1234567891011>>

/haiku/src/system/boot/platform/bios_ia32/
H A Dvideo.cpp44 uint16 width, height, bits_per_pixel; member in struct:video_mode
66 compare = a->height - b->height;
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)
124 The height a
127 closest_video_mode(int32 width, int32 height, int32 depth) argument
314 int32 height = strtol(parameter.values[1], 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/apps/charactermap/
H A DCharacterView.cpp278 CharacterView::FrameResized(float width, float height) argument
297 PreviewItem(const char* text, float width, float height) argument
300 fHeight(height * 2)
304 void GetContentSize(float* width, float* height) argument
307 *height = fHeight;
/haiku/src/servers/app/font/
H A DFontStyle.cpp55 // calculate it because height = ascending + descending + leading
56 fHeight.leading = (double)(face->height - face->ascender
70 fHeight.leading = (double)(metrics.height - metrics.ascender
126 FontStyle::GetHeight(float size, font_height& height) const
128 height.ascent = fHeight.ascent * size;
129 height.descent = fHeight.descent * size;
130 height.leading = fHeight.leading * size;
/haiku/src/servers/app/
H A DServerApp.cpp1324 // 3) uint32 cursor height in number of pixels
2325 font_height height; local
2326 fontStyle->GetHeight(size, height);
2329 fLink.Attach<font_height>(height);
/haiku/src/preferences/screen/
H A DScreenWindow.cpp136 mode.width, mode.height);
195 // we need the "Current Workspace" first to get its height
324 if (mode.width == previousWidth && mode.height == previousHeight)
328 previousHeight = mode.height;
331 if (maxHeight < mode.height)
332 maxHeight = mode.height;
358 if (mode.width == previousWidth && mode.height == previousHeight)
362 previousHeight = mode.height;
366 message->AddInt32("height", mode.height);
[all...]
H A DMonitorView.cpp28 MonitorView::MonitorView(BRect rect, const char *name, int32 width, int32 height) argument
33 fHeight(height),
108 float height = ceilf(fontHeight.ascent + fontHeight.descent); local
114 if (width > innerRect.Width() || height > innerRect.Height())
121 innerRect.top + fontHeight.ascent + (innerRect.Height() - height) / 2));
126 MonitorView::SetResolution(int32 width, int32 height) argument
128 if (fWidth == width && fHeight == height)
132 fHeight = height;
140 MonitorView::SetMaxResolution(int32 width, int32 height) argument
142 if (fMaxWidth == width && fMaxHeight == height)
164 int32 width, height; local
211 float height = maxHeight * factorY; local
[all...]
H A DScreenMode.cpp153 return width != other.width || height != other.height
166 height = mode.virtual_height;
174 height /= 2;
405 + info.height * info.height) / 0.254) / 10.0;
490 ? mode.height * 2 : mode.height;
539 // For the mode selected by the width, height, and refresh rate, compute
542 compute_display_timing(mode.width, mode.height, mod
[all...]
/haiku/src/apps/stylededit/
H A DStatusView.cpp101 *_height = fPreferredSize.height;
108 float width, height; local
109 GetPreferredSize(&width, &height);
114 BView::ResizeTo(width, height);
264 // height
268 fPreferredSize.height = ceilf(fontHeight.ascent + fontHeight.descent
271 if (fPreferredSize.height < B_H_SCROLL_BAR_HEIGHT)
272 fPreferredSize.height = B_H_SCROLL_BAR_HEIGHT;
/haiku/src/apps/poorman/
H A DPoorManWindow.cpp297 PoorManWindow::FrameResized(float width, float height) argument
301 fLastHeight = height;
343 PoorManWindow::Zoom(BPoint origin, float width, float height) argument
/haiku/src/apps/mediaplayer/
H A DController.cpp327 int height; local
328 GetSize(&width, &height);
352 Init(BRect(0, 0, width - 1, height - 1), fVideoFrameRate,
356 FormatChanged(BRect(0, 0, width - 1, height - 1), fVideoFrameRate,
400 Controller::GetSize(int *width, int *height, int* _widthAspect, argument
407 *height = format.u.raw_video.display.line_count;
426 *height = 0;
/haiku/src/apps/installer/
H A DInstallerWindow.cpp130 float height = 0.0; local
133 height = fLogo->Bounds().Height();
138 *_height = height;
200 font_height height; local
201 fStatusView->GetFontHeight(&height);
202 float fontHeight = height.ascent + height.descent + height.leading;
207 // same height, this background will show in the remaining space
/haiku/src/apps/diskprobe/
H A DProbeView.cpp205 virtual void FrameResized(float width, float height);
1058 TypeView::FrameResized(float width, float height) argument
1717 float width, height; local
1718 fDataView->GetPreferredSize(&width, &height);
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp519 if (size.height != B_SIZE_UNSET)
520 size.height -= fCropTop + fCropBottom;
535 if (size.height != B_SIZE_UNSET)
536 size.height -= fCropTop + fCropBottom;
707 // add extra height for dragger: fixed, and insets: font-dependent
743 // width is fixed, height can grow in Pulse()
957 SysInfoView::_ResizeTo(float width, float height) argument
959 _ResizeBy(width - Bounds().Width(), height - Bounds().Height());
1317 // updated when height changes in pulse
1319 // set credits min height t
[all...]
/haiku/src/add-ons/translators/ico/
H A DICOTranslator.cpp171 ICOTranslator::DerivedCanHandleImageSize(float width, float height) const
173 if (!ICO::is_valid_size((int)width) || !ICO::is_valid_size((int)height))
/haiku/src/kits/tracker/
H A DContainerWindow.cpp882 // Count view height is 1px smaller than scroll bar because it has
884 size.height -= 1;
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DAVFormatReader.cpp1162 = codecParams->height - 1;
1177 = codecParams->height;
1178 TRACE(" width/height: %d/%d\n", codecParams->width,
1179 codecParams->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...]
H A DUtilities.h51 - AVCodecContext.height (must)
55 video aspect ratio height. E.g. 16:9 -> 9 is returned here
61 if (contextIn.width <= 0 || contextIn.height <= 0) {
77 contextIn.height, 1024 * 1024);
87 contextIn.height * contextIn.sample_aspect_ratio.den,
99 if (parametersIn.width <= 0 || parametersIn.height <= 0) {
115 parametersIn.height, 1024 * 1024);
125 parametersIn.height * parametersIn.sample_aspect_ratio.den,
142 ratio height. E.g. 16:9 -> 9 is passed here.
147 - AVCodecContext.height (mus
[all...]
/haiku/src/apps/showimage/
H A DShowImageWindow.cpp214 fToolBar->ResizeTo(viewFrame.Width(), fToolBar->MinSize().height);
270 fBar->MinSize().height + gridLayout->MinSize().height, 100000);
547 float height = r.Height() + 1 + fBar->Frame().Height() local
567 if (height < minH)
568 height = minH;
572 if (height > maxHeight)
573 height = maxHeight;
575 ResizeTo(width, height);
632 ShowImageWindow::Zoom(BPoint origin, float width, float height) argument
1152 BString frameText, height, width; local
1635 int32 height = bounds.IntegerHeight() + 1; local
[all...]
H A DShowImageWindow.h65 virtual void Zoom(BPoint origin, float width, float height);
H A DShowImageStatusView.cpp62 *_height = fPreferredSize.height;
69 float width, height; local
70 GetPreferredSize(&width, &height);
75 BView::ResizeTo(width, height);
217 // height
221 fPreferredSize.height = ceilf(fontHeight.ascent + fontHeight.descent
225 if (fPreferredSize.height < scrollBarSize)
226 fPreferredSize.height = scrollBarSize;
/haiku/src/preferences/filetypes/
H A DIconView.cpp807 float width, height; local
808 GetPreferredSize(&width, &height);
809 return BSize(width, height);
/haiku/src/apps/text_search/
H A DGrepWindow.cpp147 void GrepWindow::FrameResized(float width, float height) argument
149 BWindow::FrameResized(width, height);
/haiku/src/apps/terminal/
H A DTermWindow.cpp123 float width, height; local
124 fTermView->GetPreferredSize(&width, &height);
126 *_height = height + 2 * kTermViewOffset;
1365 float width, height; local
1366 view->GetFontSize(&width, &height);
1376 minimumHeight + MIN_ROWS * height - 1,
1377 minimumHeight + MAX_ROWS * height - 1);
1560 TermWindow::Zoom(BPoint leftTop, float width, float height) argument
1563 BWindow::Zoom(leftTop, width, height);
1765 float height; local
[all...]
/haiku/headers/os/interface/
H A DFont.h254 void GetHeight(font_height* height) const;

Completed in 151 milliseconds

1234567891011>>