Searched refs:width (Results 26 - 50 of 1007) sorted by relevance

1234567891011>>

/haiku/src/apps/deskbar/
H A DTeamMenuItem.h61 float width = -1.0f, float height = -1.0f);
62 TTeamMenuItem(float width = -1.0f,
69 void SetOverrideWidth(float width) argument
70 { fOverrideWidth = width; };
94 void GetContentSize(float* width, float* height);
102 float width = -1.0f, float height = -1.0f);
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dprintf-prs.c38 if (width > 0) \
39 done += _IO_padn (s, Padchar, width)
44 if (width > 0) \
45 { if (__printf_pad (s, Padchar, width) == -1) \
46 return -1; else done += width; }
59 if (width > 0) \
60 done += _IO_wpadn (s, Padchar, width)
65 if (width > 0) \
66 { if (__wprintf_pad (s, Padchar, width) == -1) \
67 return -1; else done += width; }
[all...]
/haiku/src/system/libroot/posix/musl/time/
H A Dstrftime.c52 int width = 2, def_pad = '0'; local
95 else width = 4;
107 width = 3;
129 width = 1;
142 width = 1;
155 width = 1;
173 width = 4;
199 case '_': *l = snprintf(*s, sizeof *s, "%*lld", width, val); break;
201 default: *l = snprintf(*s, sizeof *s, "%0*lld", width, val); break;
224 unsigned long width; local
[all...]
/haiku/src/add-ons/translators/tiff/
H A DTIFFTranslator.cpp276 convert_buffer_bgra_rgba(uint8* buffer, uint32 rows, uint32 width, argument
281 for (uint32 x = 0; x < width; x++) {
293 convert_buffer_argb_rgba(uint8* buffer, uint32 rows, uint32 width, argument
298 for (uint32 x = 0; x < width; x++) {
313 uint32 width, uint32 bytesPerRow)
318 for (uint32 x = 0; x < width; x++) {
327 outBuffer += width * 4;
334 uint32 width, uint32 bytesPerRow)
339 for (uint32 x = 0; x < width; x++) {
348 outBuffer += width *
312 convert_buffers_bgra_rgba(uint8* inBuffer, uint8* outBuffer, uint32 rows, uint32 width, uint32 bytesPerRow) argument
333 convert_buffers_argb_rgba(uint8* inBuffer, uint8* outBuffer, uint32 rows, uint32 width, uint32 bytesPerRow) argument
354 convert_buffers_bgrX_rgb(uint8* inBuffer, uint8* outBuffer, uint32 rows, uint32 width, uint32 bytesPerRow, uint32 samplesPerPixel) argument
377 convert_buffers_rgbX_rgb(uint8* inBuffer, uint8* outBuffer, uint32 rows, uint32 width, uint32 bytesPerRow, uint32 samplesPerPixel) argument
398 convert_buffers_cmap(uint8* inBuffer, uint8* outBuffer, uint32 rows, uint32 width, uint32 bytesPerRow) argument
412 convert_buffer(color_space format, uint8* buffer, uint32 rows, uint32 width, uint32 bytesPerRow) argument
443 convert_buffers(color_space format, uint8* inBuffer, uint8* outBuffer, uint32 rows, uint32 width, uint32 bytesPerRow) argument
481 write_tif_stream(TIFF* tif, BPositionIO* inSource, color_space format, uint32 width, uint32 height, uint32 bytesPerRow, uint32 rowsPerStrip, uint32 dataSize) argument
833 uint32 width = 0, height = 0; local
[all...]
/haiku/src/apps/showimage/
H A DShowImageStatusView.cpp59 *_width = fPreferredSize.width;
69 float width, height; local
70 GetPreferredSize(&width, &height);
72 if (Bounds().Width() > width)
73 width = Bounds().Width();
75 BView::ResizeTo(width, height);
82 if (fPreferredSize.width <= 0)
203 // width
204 fPreferredSize.width = 0.f;
210 float width local
[all...]
/haiku/src/apps/cortex/ParameterView/
H A DParameterContainerView.cpp118 float width,
122 BView::FrameResized(width, height);
130 // fprintf(stderr, "m: %.1f,%.1f c: %.1f,%.1f)\n", width, height, b.Width(),b.Height());
137 if(width > m_boundsRect.Width()) {
139 m_boundsRect.right, m_boundsRect.top, m_boundsRect.left+width, m_boundsRect.bottom));
171 float width = Bounds().Width() - B_V_SCROLL_BAR_WIDTH; local
174 D_INTERNAL((" -> dataRect.Width() = %f scrollView.Width() = %f\n", m_dataRect.Width(), width));
175 if (width > m_dataRect.Width()) {
182 m_hScroll->SetRange(m_dataRect.left, m_dataRect.right - width);
183 m_hScroll->SetProportion(width / m_dataRec
117 FrameResized( float width, float height) argument
[all...]
/haiku/src/apps/expander/
H A DDirectoryFilePanel.cpp82 float width = be_plain_font->StringWidth( local
84 rect.left = width > 75 ? rect.right - width : rect.right - 75;
108 // maximum width is dictated by the window's size limits
128 float width; local
130 fCurrentButton->GetPreferredSize(&width, &height);
131 if (width > maxWidth)
132 width = maxWidth;
134 fCurrentButton->ResizeTo(width, oldBounds.Height());
135 fCurrentButton->MoveBy(oldBounds.Width() - width,
[all...]
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DColorField.cpp180 ColorField::FrameResized(float width, float height) argument
232 float width = Width(); local
239 G = round(fMarkerPosition.x / width * 255.0);
244 R = round(fMarkerPosition.x / width * 255.0);
250 R = round(fMarkerPosition.x / width * 255.0);
257 S = fMarkerPosition.x / width;
262 H = fMarkerPosition.x / width * 6.0;
268 H = fMarkerPosition.x / width * 6.0;
312 float width = Width(); local
317 fMarkerPosition = BPoint(color.green / 255.0 * width,
410 _AllocBitmap(int32 width, int32 height) argument
444 int32 width = bitmap->Bounds().IntegerWidth(); local
[all...]
/haiku/src/apps/processcontroller/
H A DPCWindow.cpp34 int width = 4; local
36 width = info.cpu_count;
38 width *= 2;
41 width += 8;
51 rect.Set(0, 0, width - 1, 15);
/haiku/src/system/boot/platform/generic/
H A Dvideo_blit.cpp29 blit32(addr_t frameBuffer, const uint8 *data, uint16 width, argument
38 for (int32 x = 0; x < width; x++) {
52 blit24(addr_t frameBuffer, const uint8 *data, uint16 width, argument
61 for (int32 x = 0; x < width; x++) {
76 blit16(addr_t frameBuffer, const uint8 *data, uint16 width, argument
85 for (int32 x = 0; x < width; x++) {
101 blit15(addr_t frameBuffer, const uint8 *data, uint16 width, argument
110 for (int32 x = 0; x < width; x++) {
126 blit8(addr_t frameBuffer, const uint8 *data, uint16 width, argument
137 &data[i * imageWidth], width);
143 blit4(addr_t frameBuffer, const uint8 *data, uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top) argument
155 video_blit_image(addr_t frameBuffer, const uint8 *data, uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top) argument
[all...]
/haiku/headers/private/kernel/
H A Dframe_buffer_console.h22 int32 width; member in struct:frame_buffer_boot_info
34 status_t frame_buffer_update(addr_t baseAddress, int32 width, int32 height,
39 status_t _user_frame_buffer_update(addr_t baseAddress, int32 width,
/haiku/src/kits/interface/
H A DSpaceLayoutItem.cpp25 size.width = BControlLook::ComposeSpacing(size.width);
77 BSpaceLayoutItem::CreateHorizontalStrut(float width) argument
80 BSize(width, -1),
81 BSize(width, B_SIZE_UNLIMITED),
82 BSize(width, -1),
130 fMinSize.width = size.width;
142 fMaxSize.width = size.width;
[all...]
H A DLayoutUtils.cpp127 FixSizeConstraints(min.width, max.width, preferred.width);
137 size.width = layoutSize.width;
165 if (maxSize.width < frame.Width()
167 frame.left += (int)((frame.Width() - maxSize.width)
169 frame.right = frame.left + maxSize.width;
189 // The view has height for width, so we do the horizontal alignment
191 if (maxSize.width < fram
[all...]
/haiku/src/kits/tracker/
H A DOverrideAlert.h59 button_width width = B_WIDTH_AS_USUAL,
65 button_width width, button_spacing spacing,
71 static BPoint OverPosition(float width, float height);
/haiku/headers/libs/agg/
H A Dagg_rendering_buffer_dynarow.h62 rendering_buffer_dynarow(unsigned width, unsigned height, argument
65 m_width(width),
74 void init(unsigned width, unsigned height, unsigned byte_width) argument
81 if(width && height)
83 m_width = width;
92 unsigned width() const { return m_width; } function in class:agg::rendering_buffer_dynarow
H A Dagg_conv_contour.h42 void width(double w) { base_type::generator().width(w); } function in struct:agg::conv_contour
51 double width() const { return base_type::generator().width(); } function in struct:agg::conv_contour
/haiku/src/apps/cortex/InfoView/
H A DInfoWindow.cpp74 float width,
99 float width,
113 float width, height; local
114 FindView("InfoView")->GetPreferredSize(&width, &height);
115 width += B_V_SCROLL_BAR_WIDTH;
116 ResizeTo(width, height);
73 FrameResized( float width, float height) argument
97 Zoom( BPoint origin, float width, float height) argument
/haiku/src/apps/debuganalyzer/gui/table/
H A DTableColumn.cpp11 TableColumn::TableColumn(int32 modelIndex, float width, float minWidth, argument
15 fWidth(width),
/haiku/src/apps/icon-o-matic/generic/gui/
H A DGroup.h23 virtual void FrameResized(float width, float height);
24 virtual void GetPreferredSize(float* width, float* height);
/haiku/src/tests/kits/opengl/demos/gears/
H A Dgears.c42 width - width of gear
49 gear(GLfloat inner_radius, GLfloat outer_radius, GLfloat width, argument
71 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
72 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
74 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
75 glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), width * 0.5);
86 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
87 glVertex3f(r2 * cos(angle + da), r2 * sin(angle + da), width * 0.5);
88 glVertex3f(r2 * cos(angle + 2 * da), r2 * sin(angle + 2 * da), width * 0.
317 reshape(int width, int height) argument
[all...]
/haiku/headers/private/interface/
H A DInterfacePrivate.h22 bool get_mode_parameter(uint32 mode, int32& width, int32& height,
24 int32 get_bytes_per_row(color_space colorSpace, int32 width);
/haiku/src/tests/kits/interface/balert/
H A DAlertTest.cpp46 float width; member in struct:GuiInfo
157 ASSERT_DEQUAL(fWinInfo.width, pAlert->Bounds().Width());
186 ASSERT_DEQUAL(fButtonInfo[i].width, btns[i]->Bounds().Width());
228 ASSERT_DEQUAL(fTextInfo.width, textView->Bounds().Width());
365 wi.width = 310.0f;
370 ti.width = 245.0f;
376 bi.width = 75.0f;
394 wi.width = 310.0f;
399 ti.width = 245.0f;
405 bi.width
[all...]
/haiku/src/add-ons/translators/sgi/
H A DSGITranslator.cpp287 uint32 width = bitsHeader.bounds.IntegerWidth() + 1; local
314 status_t ret = sgiImage->SetTo(outDestination, width, height,
326 rows[0] = new(nothrow) uint8[width * channelCount * bytesPerChannel];
332 rows[i] = rows[0] + i * width;
344 for (uint32 x = 0; x < width; x++) {
352 for (uint32 x = 0; x < width; x++) {
362 for (uint32 x = 0; x < width; x++) {
372 for (uint32 x = 0; x < width; x++) {
383 for (uint32 x = 0; x < width; x++) {
394 for (uint32 x = 0; x < width;
470 uint32 width = sgiImage->Width(); local
[all...]
/haiku/src/system/boot/loader/
H A Dpager.cpp29 next_line(const PagerTextSource& textSource, size_t width, size_t offset, argument
47 if (bytesRead > (size_t)width)
48 bytesRead = width;
65 count_lines(const PagerTextSource& textSource, size_t width, char* buffer, argument
72 size_t bytesRead = next_line(textSource, width, offset, buffer,
86 offset_of_line(const PagerTextSource& textSource, size_t width, char* buffer, argument
96 size_t bytesRead = next_line(textSource, width, offset, buffer,
117 int32 width = console_width(); local
122 int32 lineCount = count_lines(textSource, width, lineBuffer,
129 size_t offset = offset_of_line(textSource, width, lineBuffe
[all...]
/haiku/src/add-ons/accelerants/3dfx/
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 ( ! TDFX_LoadCursorImage(width, height, andMask, xorMask))

Completed in 128 milliseconds

1234567891011>>