/haiku/src/apps/deskbar/ |
H A D | TeamMenuItem.h | 61 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 D | printf-prs.c | 38 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 D | strftime.c | 52 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 D | TIFFTranslator.cpp | 276 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 D | ShowImageStatusView.cpp | 59 *_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 D | ParameterContainerView.cpp | 118 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 D | DirectoryFilePanel.cpp | 82 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 D | ColorField.cpp | 180 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 D | PCWindow.cpp | 34 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 D | video_blit.cpp | 29 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 D | frame_buffer_console.h | 22 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 D | SpaceLayoutItem.cpp | 25 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 D | LayoutUtils.cpp | 127 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 D | OverrideAlert.h | 59 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 D | agg_rendering_buffer_dynarow.h | 62 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 D | agg_conv_contour.h | 42 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 D | InfoWindow.cpp | 74 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 D | TableColumn.cpp | 11 TableColumn::TableColumn(int32 modelIndex, float width, float minWidth, argument 15 fWidth(width),
|
/haiku/src/apps/icon-o-matic/generic/gui/ |
H A D | Group.h | 23 virtual void FrameResized(float width, float height); 24 virtual void GetPreferredSize(float* width, float* height);
|
/haiku/src/tests/kits/opengl/demos/gears/ |
H A D | gears.c | 42 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 D | InterfacePrivate.h | 22 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 D | AlertTest.cpp | 46 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 D | SGITranslator.cpp | 287 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 D | pager.cpp | 29 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 D | cursor.cpp | 13 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))
|