Searched refs:width (Results 51 - 75 of 1007) sorted by relevance

1234567891011>>

/haiku/src/add-ons/accelerants/ati/
H A Dcursor.cpp13 SetCursorShape(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, argument
16 // NOTE: Currently, for BeOS, cursor width and height must be equal to 16.
18 if ((width != 16) || (height != 16)) {
20 } else if ((hot_x >= width) || (hot_y >= height)) {
29 if ( ! gInfo.LoadCursorImage(width, height, andMask, xorMask))
/haiku/src/add-ons/accelerants/s3/
H A Dcursor.cpp13 SetCursorShape(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, argument
16 // NOTE: Currently, for BeOS, cursor width and height must be equal to 16.
18 if ((width != 16) || (height != 16)) {
20 } else if ((hot_x >= width) || (hot_y >= height)) {
29 if ( ! gInfo.LoadCursorImage(width, height, andMask, xorMask))
/haiku/src/apps/bootmanager/
H A DUninstallPage.h24 virtual void FrameResized(float width, float height);
/haiku/src/apps/debugger/user_interface/gui/util/
H A DTargetAddressTableColumn.h15 const char* title, float width,
/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/
H A DSwatchValueView.h20 float width = 24.0,
/haiku/src/apps/resedit/
H A DPreviewColumn.h16 PreviewColumn(const char *title, float width,
/haiku/src/libs/glut/
H A Dbeos_x11.h12 * value (x, y, width, height) was found in the parsed string.
31 unsigned int* width, unsigned int* height);
H A Dglutbitmap.h18 const GLsizei width; member in struct:__anon1823
H A Dglut_vidresize.c144 int x, y, width, height; local
147 videoResizeChannel, &x, &y, &width, &height);
154 return width;
196 glutVideoResize(int x, int y, int width, int height) argument
208 videoResizeChannel, x, y, width, height);
215 glutVideoPan(int x, int y, int width, int height) argument
230 videoResizeChannel, x, y, width, height);
/haiku/src/tests/kits/interface/menu/menuworld/
H A DBitmapMenuItem.cpp64 void BitmapMenuItem::GetContentSize(float* width, float* height) argument
66 GetBitmapSize(width, height);
74 void BitmapMenuItem::GetBitmapSize(float* width, float* height) argument
77 *width = r.Width() + 4; // 2-pixel boundary on either side
/haiku/src/apps/haikudepot/textview/
H A DTextView.cpp46 TextView::FrameResized(float width, float height) argument
48 fTextLayout.SetWidth(width);
81 TextView::GetHeightForWidth(float width, float* min, float* max, argument
85 layout.SetWidth(width);
/haiku/src/add-ons/translators/ppm/
H A Dcolorspace.h28 /* Given a specific number of pixels in width in the color space space */
30 int calc_rowbytes(color_space space, int width);
/haiku/src/apps/deskbar/
H A DTruncatableMenuItem.cpp91 TTruncatableMenuItem::Label(float width) argument
103 if (width > 0 && maxWidth > 0 && width > maxWidth) {
107 float offset = width - labelWidth;
/haiku/src/apps/cortex/TipManager/
H A DTipWindow.cpp92 float width, height; local
93 m_tipView->GetPreferredSize(&width, &height);
94 m_tipView->ResizeTo(width, height);
95 ResizeTo(width, height);
/haiku/src/tools/translation/inspector/
H A DInfoWindow.h43 void FrameResized(float width, float height);
/haiku/src/servers/app/
H A DScreen.h36 status_t SetMode(uint16 width, uint16 height,
40 status_t SetBestMode(uint16 width, uint16 height,
45 void GetMode(uint16 &width, uint16 &height,
60 uint32 count, uint16 width, uint16 height,
/haiku/src/apps/stylededit/
H A DStatusView.cpp98 *_width = fPreferredSize.width;
108 float width, height; local
109 GetPreferredSize(&width, &height);
111 if (Bounds().Width() > width)
112 width = Bounds().Width();
114 BView::ResizeTo(width, height);
121 if (fPreferredSize.width <= 0)
248 float orgWidth = fPreferredSize.width;
249 // width
250 fPreferredSize.width
256 float width = ceilf(StringWidth(fCellText[i])); local
[all...]
/haiku/headers/libs/agg/
H A Dagg_rendering_buffer.h53 row_ptr_cache(T* buf, unsigned width, unsigned height, int stride) : argument
60 attach(buf, width, height, stride);
64 void attach(T* buf, unsigned width, unsigned height, int stride) argument
67 m_width = width;
94 unsigned width() const { return m_width; } function in class:agg::row_ptr_cache
124 unsigned w = width();
135 unsigned w = width();
/haiku/src/tests/kits/game/set_mouse_position_test/
H A Dtest_mouse.cpp22 int32 height, width; variable
44 for (int32 t = (width); t > 0; t--)
53 for (int32 t = 0; t < (width); t++)
75 double xplus = (double)width/y;
116 //save screenwidth and screenheight in height and width
118 width = int32(screenBounds.right - screenBounds.left) - 5;
125 mouse_move_diagonal1(width,height);
127 mouse_move_down(width);
/haiku/src/preferences/screen/
H A DRefreshWindow.cpp51 float width, height; local
52 fRefreshSlider->GetPreferredSize(&width, &height);
72 width = stringView->Bounds().Width() + 100;
73 if (width < Bounds().Width())
74 width = Bounds().Width();
77 ResizeTo(width, height);
78 MoveTo(position.x - width / 2.5f, position.y - height / 1.9f);
/haiku/src/add-ons/accelerants/3dfx/
H A D3dfx_overlay.cpp55 if (window->width > buffer->width)
79 int32 dudx = (buffer->width << 20) / window->width;
85 int32 x2 = x1 + window->width - 1;
96 | (buffer->width << 20));
100 // Add width of overlay buffer to stride.
102 stride |= (buffer->width << 1) << 16;
/haiku/src/system/boot/platform/openfirmware/
H A Dvideo.cpp24 uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top)
65 uintptr_t width, height;
66 if (of_call_method(sScreen, "dimensions", 0, 2, &height, &width)
68 if (of_getprop(package, "width", &width, sizeof(int32)) == OF_FAILED)
86 gKernelArgs.frame_buffer.width = width;
95 dprintf("video mode: %ux%ux%u\n", gKernelArgs.frame_buffer.width,
23 platform_blit4(addr_t frameBuffer, const uint8 *data, uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top) argument
/haiku/src/kits/interface/
H A DViewPort.cpp94 // TODO: Support height-for-width!
97 virtual void GetHeightForWidth(float width, float* min, float* max, argument
103 // TODO: Support height-for-width!
128 layoutSize.width = std::min(layoutSize.width, childMax.width);
132 layoutSize.width = std::max(layoutSize.width, childMin.width);
135 // TODO: Support height-for-width!
[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,
404 if (rowbytes < kbytes * width)
405 rowbytes = kbytes * width;
414 bitsHeader.bounds.right = width - 1;
416 bitsHeader.rowBytes = 4 * width;
444 outDestination->Write(prow, width * kbytes);
474 outDestination->Write(prows[i], width * kbytes);
525 // Convert width pixels from pbits to PNG format, storing the
529 uint32 width, cons
528 pix_bits_to_png(uint8 *pbits, uint8 *ppng, color_space fromspace, uint32 width, const color_map *pmap, int32 bitsBytesPerPixel) argument
743 png_uint_32 width, height; local
[all...]
/haiku/src/add-ons/media/plugins/ffmpeg/
H A Dgfx_util.cpp29 resolve_colorspace(color_space colorSpace, AVPixelFormat pixelFormat, int width, argument
50 if (cpu.HasSSSE3() && width % 8 == 0 && height % 2 == 0) {
53 } else if (cpu.HasSSE2() && width % 8 == 0 && height % 2 == 0) {
56 } else if (cpu.HasSSE1() && width % 4 == 0
69 if (cpu.HasSSSE3() && width % 8 == 0) {
72 } else if (cpu.HasSSE2() && width % 8 == 0) {
75 } else if (cpu.HasSSE1() && width % 4 == 0) {
91 if (cpu.HasSSSE3() && width % 8 == 0) {
93 } else if (cpu.HasSSE2() && width % 8 == 0) {
95 } else if (cpu.HasSSE1() && width
[all...]

Completed in 112 milliseconds

1234567891011>>