Searched refs:width (Results 201 - 225 of 1007) sorted by relevance

1234567891011>>

/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/
H A DOptionValueView.h23 virtual void FrameResized(float width, float height);
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dvfprintf.c78 if (width > 0) \
79 done += INTUSE(_IO_padn) (s, (Padchar), width)
96 if (width > 0) \
97 done += _IO_wpadn (s, (Padchar), width)
140 if (width > 0) \
141 { ssize_t __res = __printf_pad (s, (Padchar), width); \
347 REF (width), /* for '1'...'9' */ \
370 /* Step 1: after processing width. */ \
725 width -= workend - string + prec; \
729 width
1356 int width = 0; /* Width of output; 0 means none specified. */ local
1793 int width = specs[nspecs_done].info.width; local
[all...]
/haiku/src/tests/servers/app/benchmark/
H A DBenchmark.cpp56 uint32 width = 500; local
60 frame.left = (frame.left + frame.right - width) / 2;
61 frame.top = (frame.top + frame.bottom - width) / 2;
62 frame.right = frame.left + width - 1;
/haiku/src/preferences/shortcuts/
H A DPopUpColumn.h18 float width, float minWidth, float maxWidth,
/haiku/src/apps/deskbar/
H A DTruncatableMenuItem.h53 virtual const char* Label(float width);
H A DBarMenuBar.cpp126 float width = std::max(63.f, ceilf(63 * be_bold_font->Size() / 12.f)); local
128 icon = new BBitmap(BRect(0, 0, width - 1, height - 1), B_RGBA32);
148 TBarMenuBar::SmartResize(float width, float height) argument
150 if (width == -1.0f && height == -1.0f) {
152 width = frame.Width();
155 ResizeTo(width, height);
158 fDeskbarMenuItem->SetContentSize(width - kSepItemWidth, height);
162 fDeskbarMenuItem->SetContentSize(floorf(width / count), height);
164 fAppListMenuItem->SetContentSize(floorf(width / count), height);
/haiku/src/kits/shared/
H A DBitmapButton.cpp27 BBitmapButton::BBitmapButton(const uint8* bits, uint32 width, uint32 height, argument
31 fBitmap(new BBitmap(BRect(0, 0, width - 1, height - 1), 0, format)),
49 min.width = fBitmap->Bounds().Width();
52 min.width += kFrameInset * 2;
/haiku/src/servers/app/drawing/
H A DBitmapDrawingEngine.h25 UtilityBitmap* ExportToBitmap(int32 width, int32 height,
/haiku/src/apps/haikudepot/textview/
H A DParagraphLayout.cpp228 ParagraphLayout::SetWidth(float width) argument
230 if (fWidth != width) {
231 fWidth = width;
374 x2 = lastInfo.x + lastInfo.width;
394 x1 = glyph.x + glyph.width;
409 x2 = x1 + glyph.width;
460 float x2 = x1 + glyph.width;
533 float advanceX = glyph.width;
540 // // Figure out tab width, it's the width betwee
824 _AppendGlyphInfo(uint32 charCode, float width, const CharacterStyle& style) argument
[all...]
/haiku/src/apps/cortex/InfoView/
H A DInfoView.cpp202 float width, height; local
203 GetPreferredSize(&width, &height);
204 Window()->ResizeTo(width + B_V_SCROLL_BAR_WIDTH, height);
288 float width,
292 BRect newFrame = BRect(0.0, 0.0, width, height);
308 Invalidate(BRect(p.x, p.y, width, p.y + fieldHeight));
311 Invalidate(BRect(p.x + m_sideBarWidth, p.y, width, p.y + fieldHeight));
321 updateRect.right = width - M_H_MARGIN;
339 float *width,
343 *width
287 FrameResized( float width, float height) argument
[all...]
/haiku/src/apps/networkstatus/
H A DWirelessNetworkMenuItem.h30 virtual void GetContentSize(float* width, float* height);
/haiku/src/apps/webpositive/
H A DBookmarkBar.h34 void FrameResized(float width, float height);
/haiku/src/apps/processcontroller/
H A DTeamBarMenuItem.h20 virtual void GetContentSize(float* width, float* height);
H A DIconMenuItem.h26 virtual void GetContentSize(float* width, float* height);
/haiku/src/apps/haikudepot/model/
H A DScreenshotCoordinate.h14 recorded against a screenshot in the HDS system and then the width and
21 ScreenshotCoordinate(BString code, uint16 width, uint16 height);
/haiku/src/apps/mediaconverter/
H A DMediaFileInfoView.cpp192 float width = 0; local
194 width = max_c(font.StringWidth(strings[i]), width);
196 return ceilf(width);
214 fMinSize.width = fNoFileLabelWidth + kSpacing * 2;
220 fMinSize.width = ceilf(bold.StringWidth(fRef.name));
226 fMinSize.width = max_c(fMinSize.width, fMaxLabelWidth
228 fMinSize.width += kSpacing;
/haiku/src/apps/icon-o-matic/generic/property/view/
H A DPropertyItemView.cpp99 PropertyItemView::FrameResized(float width, float height) argument
103 fEditorView->ResizeTo(width - fLabelWidth, height);
169 float width = 0.0; local
171 width = ceilf(StringWidth(name_for_id(property->Identifier())) + 10.0);
172 return width;
177 PropertyItemView::SetLabelWidth(float width) argument
179 if (width < 0.0)
180 width = 0.0;
181 /* if (fEditorView && width > Bounds().Width() - fEditorView->Bounds().Width())
182 width
[all...]
/haiku/src/apps/terminal/
H A DTerminalBuffer.cpp49 TerminalBuffer::Init(int32 width, int32 height, int32 historySize) argument
54 fAlternateScreen = _AllocateLines(width, height);
68 return BasicTerminalBuffer::Init(width, height, historySize);
314 TerminalBuffer::ResizeTo(int32 width, int32 height) argument
322 return ResizeTo(width, height, historyCapacity);
327 TerminalBuffer::ResizeTo(int32 width, int32 height, int32 historyCapacity) argument
338 status_t error = BasicTerminalBuffer::ResizeTo(width, height,
355 error = BasicTerminalBuffer::ResizeTo(width, height, 0);
357 fWidth = width;
/haiku/src/kits/interface/
H A DBMCPrivate.cpp184 // Set the width of the menu bar because the menu bar bounds may have
189 // - Set to the minimum of the menu bar width set by the menu frame
190 // and the selected menu item width.
216 _BMCMenuBar_::FrameResized(float width, float height) argument
219 float diff = width - fPreviousWidth;
220 fPreviousWidth = width;
238 BMenuBar::FrameResized(width, height);
281 _BMCMenuBar_::SetMaxContentWidth(float width) argument
287 BMenuBar::SetMaxContentWidth(width - (left + right));
304 BMenuBar::GetPreferredSize(&size.width,
[all...]
/haiku/src/libs/icon/transformer/
H A DStrokeTransformer.cpp57 if (archive->FindDouble("width", &value) == B_OK)
58 width(value);
84 clone->width(width());
126 double factor = fabs(width());
155 ret = into->AddDouble("width", width());
177 // width
178 object->AddProperty(new FloatProperty(PROPERTY_WIDTH, width()));
218 // width
[all...]
/haiku/src/servers/app/
H A DScreen.cpp109 Screen::SetMode(uint16 width, uint16 height, uint32 colorSpace, argument
115 mode.virtual_width = width;
126 Screen::SetBestMode(uint16 width, uint16 height, uint32 colorSpace, argument
138 int32 index = _FindBestMode(modes, count, width, height, colorSpace,
142 ", %g Hz%s) failed\n", width, height, colorSpace, frequency,
200 Screen::GetMode(uint16 &width, uint16 &height, uint32 &colorspace, argument
206 width = mode.virtual_width;
248 The "width" argument is the only hard argument, the rest will be adapted
253 uint16 width, uint16 height, uint32 colorSpace, float frequency) const
259 if (mode.virtual_width != width)
252 _FindBestMode(const display_mode* modes, uint32 count, uint16 width, uint16 height, uint32 colorSpace, float frequency) const argument
[all...]
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DUtilities.h50 - AVCodecContext.width (must)
53 video aspect ratio width. E.g. 16:9 -> 16 is returned here
61 if (contextIn.width <= 0 || contextIn.height <= 0) {
76 av_reduce(&pixelAspectRatio.num, &pixelAspectRatio.den, contextIn.width,
86 contextIn.width * contextIn.sample_aspect_ratio.num,
99 if (parametersIn.width <= 0 || parametersIn.height <= 0) {
114 av_reduce(&pixelAspectRatio.num, &pixelAspectRatio.den, parametersIn.width,
124 parametersIn.width * parametersIn.sample_aspect_ratio.num,
140 ratio width. E.g. 16:9 -> 16 is passed here.
146 - AVCodecContext.width (mus
[all...]
/haiku/src/apps/mediaplayer/supplier/
H A DMediaTrackVideoSupplier.cpp302 uint32 width = fFormat.u.encoded_video.output.display.line_width; local
319 minBytesPerRow = ((width * 2 + 3) / 4) * 4;
321 minBytesPerRow = width * 4;
324 ret = _SetDecodedFormat(width, height, format, bytesPerRow);
330 bytesPerRow = max_c(bytesPerRow, width * 4);
332 ret = _SetDecodedFormat(width, height, format, bytesPerRow);
349 minBytesPerRow = ((width * 2 + 3) / 4) * 4;
351 minBytesPerRow = width * 4;
355 ret = _SetDecodedFormat(width, height, format, minBytesPerRow);
369 MediaTrackVideoSupplier::_SetDecodedFormat(uint32 width, uint3 argument
[all...]
/haiku/src/apps/drivesetup/
H A DPartitionList.cpp88 PartitionColumn::PartitionColumn(const char* title, float width, float minWidth, argument
91 Inherited(title, width, minWidth, maxWidth, align),
112 float width = 0.0; local
119 width = rect.right - (x + r.Width()) - (2 * sTextMargin);
120 r.Set(x + r.Width(), rect.top, rect.right - width, rect.bottom);
125 width = (x - rect.left - (2 * sTextMargin));
126 r.Set(rect.left, rect.top, rect.left + width, rect.bottom);
130 if (width != bitmapField->Width()) {
132 parent->TruncateString(&truncatedString, fTruncateMode, width + 2);
134 bitmapField->SetWidth(width);
149 float width = rect.Width() - (2 * sTextMargin); local
172 float width = 0.0; local
[all...]
/haiku/src/add-ons/accelerants/3dfx/
H A D3dfx_cursor.cpp42 TDFX_LoadCursorImage(int width, int height, uint8* andMask, uint8* xorMask) argument
70 for (int colByte = 0; colByte < width / 8; colByte++) {

Completed in 211 milliseconds

1234567891011>>