Searched refs:height (Results 201 - 225 of 838) sorted by relevance

1234567891011>>

/haiku/src/add-ons/accelerants/matrox/
H A DOverlay.c79 const overlay_buffer *ALLOCATE_OVERLAY_BUFFER(color_space cs, uint16 width, uint16 height) argument
189 /* check if the requested buffer height is supported */
190 if (height > 1024) {
191 LOG(4,("Overlay: Sorry, requested buffer height not supported, aborted\n"));
208 /* check if the requested buffer height is supported */
209 if (height > 1080) {
210 LOG(4,("Overlay: Sorry, requested buffer height not supported, aborted\n"));
223 si->overlay.myBuffer[offset].height = height;
256 = si->overlay.myBuffer[offset].bytes_per_row * si->overlay.myBuffer[offset].height;
[all...]
/haiku/src/add-ons/translators/png/
H A DPNGTranslator.cpp350 png_uint_32 width, height; local
352 png_get_IHDR(ppng, pinfo, &width, &height, &bit_depth, &color_type,
415 bitsHeader.bounds.bottom = height - 1;
421 bitsHeader.dataSize = bitsHeader.rowBytes * height;
442 for (png_uint_32 i = 0; i < height; i++) {
456 prows = new(std::nothrow) uint8 *[height];
462 for (nalloc = 0; nalloc < height; nalloc++) {
468 if (nalloc < height)
473 for (png_uint_32 i = 0; i < height; i++)
743 png_uint_32 width, height; local
[all...]
/haiku/src/apps/serialconnect/
H A DTermView.cpp64 font_height height; local
65 GetFontHeight(&height);
73 int y = pos.row * fFontHeight + (int)ceil(height.ascent)
125 FillRect(BRect(x, y - ceil(height.ascent) + 1,
127 y + ceil(height.descent) + ceil(height.leading)),
183 TermView::FrameResized(float width, float height) argument
186 height - 2 * kBorderSpacing));
192 TermView::GetPreferredSize(float* width, float* height) argument
196 if (height !
331 font_height height; local
[all...]
/haiku/src/system/kernel/
H A Dboot_splash.cpp233 int height = min_c(kSplashLogoHeight + iconsHalfHeight, sInfo->height); local
238 int y = kSplashLogoHeight + (sInfo->height - height) * placementY / 100;
243 height = min_c(iconsHalfHeight, sInfo->height);
245 height, kSplashIconsWidth, x, y);
/haiku/src/preferences/network/
H A DNetworkSettingsAddOn.cpp189 font_height height; local
190 font->GetHeight(&height);
192 float lineHeight = ceilf(height.ascent) + ceilf(height.descent)
193 + ceilf(height.leading);
194 fLineOffset = 2 + ceilf(height.ascent + height.leading / 2);
H A DInterfaceListItem.cpp141 font_height height; local
142 font->GetHeight(&height);
144 float lineHeight = ceilf(height.ascent) + ceilf(height.descent)
145 + ceilf(height.leading);
147 fFirstLineOffset = 2 + ceilf(height.ascent + height.leading / 2);
157 // either to the text height or icon height, whichever is taller
/haiku/src/preferences/screensaver/
H A DScreenCornerSelector.cpp46 float height = Bounds().Height(); local
48 if (width / kAspectRatio > height)
49 width = height * kAspectRatio;
50 else if (height * kAspectRatio > width)
51 height = width / kAspectRatio;
54 (Bounds().Height() - height) / 2,
55 (Bounds().Width() + width) / 2, (Bounds().Height() + height) / 2);
/haiku/src/add-ons/accelerants/vesa/
H A Dmode.cpp30 int height; member in struct:nvidia_resolution
83 && modes[i].height == mode->virtual_height
101 && mode->virtual_height == kNVidiaAllowedResolutions[i].height)
129 compute_display_timing(vesaModes[i].width, vesaModes[i].height,
131 fill_display_mode(vesaModes[i].width, vesaModes[i].height,
205 && target->virtual_height == kNVidiaAllowedResolutions[i].height)
228 && modes[i].height == mode.virtual_height
H A Daccelerant_protos.h48 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,
70 uint16 height);
/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);
265 // height
269 fPreferredSize.height = ceilf(fontHeight.ascent + fontHeight.descent
272 if (fPreferredSize.height < B_H_SCROLL_BAR_HEIGHT)
273 fPreferredSize.height = B_H_SCROLL_BAR_HEIGHT;
/haiku/src/kits/interface/
H A DBMCPrivate.cpp191 // - Set the height to the preferred height ignoring the height of the
193 float height; local
194 BMenuBar::GetPreferredSize(NULL, &height);
196 height);
216 _BMCMenuBar_::FrameResized(float width, float height) argument
238 BMenuBar::FrameResized(width, height);
304 BMenuBar::GetPreferredSize(&size.width, &size.height);
320 BMenuBar::GetPreferredSize(&size.width, &size.height);
[all...]
H A DSeparatorView.cpp269 float height = 0.0f; local
272 fLabelView->GetPreferredSize(&width, &height);
277 height = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent);
279 // swap width and height
280 float temp = height;
281 height = width;
291 height = max_c(height, borderSize - 1.0f);
293 height += kMinBorderLength * 2.0f;
301 *_height = height;
[all...]
/haiku/src/tests/kits/interface/layout/widget_layout_test/
H A DGroupView.cpp210 fRowInfos[row].AddConstraints(min.height, max.height,
211 preferred.height);
317 size.height = BLayoutUtils::AddDistances(size.height,
330 size.height = BLayoutUtils::SubtractDistances(size.height,
423 VStrut::VStrut(float height) argument
424 : Strut(-1, height)
/haiku/src/add-ons/accelerants/radeon/
H A Doverlay_management.c68 // width, height - width and height of overlay buffer
69 const overlay_buffer *ALLOCATE_OVERLAY_BUFFER( color_space cs, uint16 width, uint16 height )
137 buffer->height = height;
141 am.size = buffer->bytes_per_row * height;
265 oc->view.height.min = 4;
267 oc->view.height.max = ob->height;
276 oc->window.height
[all...]
/haiku/src/tools/
H A Dgenerate_boot_screen.cpp145 read_png(const char* filename, int& width, int& height, png_bytep*& rowPtrs, argument
187 height = (int)png_get_image_height(pngPtr, infoPtr);
204 rowPtrs = (png_bytep*)malloc(sizeof(png_bytep) * height);
205 for (int y = 0; y < height; y++)
213 write_24bit_image(const char* baseName, int width, int height, png_bytep* rowPtrs) argument
216 fprintf(sOutput, "static const uint16 %sHeight = %d;\n", baseName, height);
224 for (int y = 0; y < height; y++)
235 write_8bit_image(const char* baseName, int width, int height, unsigned char** rowPtrs) argument
246 for (int y = 0; y < height; y++)
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/
H A DUVCCamDevice.h25 uint32 &height);
27 uint32 &height);
50 int32 height);
/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/
H A DBoolValueView.cpp68 BoolValueView::FrameResized(float width, float height) argument
70 float radius = ceilf((height - 6.0) / 2.0);
72 float centerY = floorf(Bounds().top + height / 2.0);
/haiku/src/libs/glut/
H A DglutWindow.cpp58 __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,
100 m_height = height;
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, int height) argument
72 GlutWindow(GlutWindow *nparent, const char *name, int x, int y, int width, int height, ulong options) argument
[all...]
/haiku/src/add-ons/accelerants/nvidia/
H A DOverlay.c73 uint16 height)
150 /* check if the requested buffer height is supported */
151 if (height > 1024) {
152 LOG(4, ("Overlay: Sorry, requested buffer height not supported, aborted\n"));
170 /* check if the requested buffer height is supported */
171 if (height > 1080) {
172 LOG(4, ("Overlay: Sorry, requested buffer height not supported, aborted\n"));
185 si->overlay.myBuffer[offset].height = height;
218 = si->overlay.myBuffer[offset].bytes_per_row * si->overlay.myBuffer[offset].height;
72 ALLOCATE_OVERLAY_BUFFER(color_space cs, uint16 width, uint16 height) argument
[all...]
/haiku/src/apps/deskbar/
H A DShowHideMenuItem.cpp68 TShowHideMenuItem::GetContentSize(float* width, float* height) argument
71 *height = fTitleAscent + fTitleDescent;
72 *height += kVPad * 2;
/haiku/src/tests/kits/opengl/glinfo/
H A DCapabilitiesView.cpp149 int height = 0; local
151 GL_MAX_CONVOLUTION_HEIGHT, &height);
154 convolution << (int32)width << 'x' << (int32)height;
/haiku/src/apps/cortex/DormantNodeView/
H A DDormantNodeWindow.cpp127 float height) {
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/print/drivers/canon_lips/lips3/
H A DLips3.h42 void _RasterGraphics(int size, int widthbyte, int height,
/haiku/src/add-ons/print/drivers/canon_lips/lips4/
H A DLips4.h46 void _RasterGraphics(int size, int widthbyte, int height,
/haiku/src/add-ons/print/drivers/postscript/
H A DPS.h32 int height, int widthByte);

Completed in 182 milliseconds

1234567891011>>