Searched refs:Width (Results 76 - 100 of 571) sorted by relevance

1234567891011>>

/haiku/src/tests/servers/app/benchmark/
H A DStringTest.cpp50 while (view->StringWidth(string.String()) < fViewBounds.Width() - 10)
52 while (view->StringWidth(string.String()) > fViewBounds.Width() - 10)
/haiku/src/add-ons/network_settings/dialup/
H A DInterfaceUtils.cpp24 BPoint point((screenFrame.Width() - rect.Width()) / 2.0,
/haiku/src/add-ons/translators/ppm/
H A DPPMMain.cpp58 v->ResizeTo(r.Width(), r.Height());
69 o.x -= r.Width() / 2;
/haiku/src/tests/kits/media/
H A DVideoDecoder.cpp98 format.Width(), format.Height(), fMediaTrack->CountFrames(),
104 BView* view = new VideoView(fMediaTrack, format.Width(), format.Height());
/haiku/src/apps/processcontroller/
H A DIconMenuItem.cpp110 *width += fIcon->Bounds().Width() + be_control_look->DefaultLabelSpacing();
112 *width = fIcon->Bounds().Width() + 1;
/haiku/src/apps/icon-o-matic/gui/
H A DIconView.cpp25 fScale((frame.Width() + 1.0) / 64.0)
29 BSize size(frame.Width(), frame.Height());
/haiku/headers/os/interface/
H A DSize.h26 inline float Width() const;
71 BSize::Width() const function in class:BSize
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/include/
H A Dachware.h264 UINT32 Width);
270 UINT32 Width);
H A Dacpiosxf.h481 UINT32 Width);
489 UINT32 Width);
501 UINT32 Width);
509 UINT32 Width);
524 UINT32 Width);
533 UINT32 Width);
/haiku/src/preferences/screensaver/
H A DScreenCornerSelector.cpp45 float width = Bounds().Width();
53 return BRect((Bounds().Width() - width) / 2,
55 (Bounds().Width() + width) / 2, (Bounds().Height() + height) / 2);
190 rect.left = centerRect.left + (centerRect.Width() - size) / 2;
195 rect.left = centerRect.left + (centerRect.Width() - size) / 2;
246 float centerX = innerFrame.left + innerFrame.Width() / 2;
/haiku/src/add-ons/kernel/file_systems/netfs/authentication_server/
H A DAuthenticationPanel.cpp32 BRect controlFrame(0.0, 0.0, frame.Width(), 15.0);
132 nameFrame.right = nameFrame.left + frame.Width();
133 passFrame.right = passFrame.left + frame.Width();
173 ResizeTo(frame.Width(), frame.Height());
227 float width = frame.Width();
230 center.x = screenFrame.left + screenFrame.Width() / 2.0;
/haiku/src/preferences/backgrounds/
H A DImageFilePanel.cpp124 if (bitmap->Bounds().Width() > bitmap->Bounds().Height()) {
127 / (bitmap->Bounds().Width() + 1)
128 * (dest.Width() + 1))) / 2);
130 dest.InsetBy((dest.Width() + 1
131 - ((bitmap->Bounds().Width() + 1)
140 << (int)(bitmap->Bounds().Width() + 1)
/haiku/src/tests/servers/app/transformation/
H A Dmain.cpp106 rect.InsetBy(rect.Width() / 3, rect.Height() / 3);
108 rect.left + rect.Width() / 2,
149 rect.left = (rect.Width() - fBitmap->Bounds().Width()) / 2;
151 rect.right = rect.left + fBitmap->Bounds().Width();
155 rect.left + rect.Width() / 2,
197 rect.InsetBy(rect.Width() / 3, rect.Height() / 3);
199 rect.left + rect.Width() / 2,
215 float radius = std::min(rect.Width() / 5, rect.Height() / 5);
316 float width = view->Bounds().Width();
[all...]
/haiku/src/servers/app/drawing/
H A DAlphaMask.cpp122 if (origin == fCanvasOrigin && bounds.Width() == fCanvasBounds.Width()
129 fCanvasBounds = IntRect(0, 0, bounds.Width(), bounds.Height());
134 if (fClippedToCanvas && (fCanvasBounds.Width() > oldBounds.Width()
192 const int32 width = fBits->Width();
204 if (previousBounds.right > fPreviousMask->fBounds.Width())
205 previousBounds.right = fPreviousMask->fBounds.Width();
375 if (fBounds.Width() > canvasBounds.Width()
[all...]
/haiku/src/kits/tracker/infowindow/
H A DHeaderView.cpp84 SetExplicitSize(BSize(B_SIZE_UNSET, fIconRect.Width() + 2 * fIconRect.top));
100 Bounds().Width() - labelSpacing);
184 textFrame.right = Bounds().Width() - 5;
236 Bounds().Width() - 5);
288 Bounds().Width() - 5);
290 if (StringWidth(fModel->Name()) > fTitleRect.Width()) {
293 fTitleRect.Width() - 2);
411 BRect rect(0, 0, std::min(fIconRect.Width()
413 fIconRect.Width() * 3), height);
436 float hIconOffset = (rect.Width()
[all...]
/haiku/src/tests/servers/app/newClipping/
H A Dmain.cpp109 f.right = f.left + f.Width() / 3 - 3;
117 f.OffsetBy(f.Width() + 6, 0);
123 f.OffsetBy(f.Width() + 6, 0);
132 f.right = f.left + f.Width() / 3 - 3;
139 f.OffsetBy(f.Width() + 6, 0);
145 f.OffsetBy(f.Width() + 6, 0);
154 f.right = f.left + f.Width() / 3 - 3;
161 f.OffsetBy(f.Width() + 6, 0);
167 f.OffsetBy(f.Width() + 6, 0);
/haiku/src/tests/servers/app/newerClipping/
H A Dmain.cpp385 f.right = f.left + f.Width() / 3 - 3;
393 f.OffsetBy(f.Width() + 6, 0);
399 f.OffsetBy(f.Width() + 6, 0);
408 f.right = f.left + f.Width() / 3 - 3;
415 f.OffsetBy(f.Width() + 6, 0);
421 f.OffsetBy(f.Width() + 6, 0);
430 f.right = f.left + f.Width() / 3 - 3;
437 f.OffsetBy(f.Width() + 6, 0);
444 f.OffsetBy(f.Width() + 6, 0);
/haiku/src/apps/mediaplayer/interface/
H A DPlayPauseButton.cpp64 offset.x -= (pauseBounds.Width() + playBounds.Width() + spacing) / 2;
100 offset.x += ceilf(playBounds.Width() + spacing);
130 (fPlaySymbol->Bounds().Width() + fPauseSymbol->Bounds().Width())
/haiku/src/apps/showimage/
H A DPrintOptionsWindow.cpp69 fHeight = (fBounds.Height() + 1) * w / (fBounds.Width() + 1);
76 fWidth = (fBounds.Width() + 1) * h / (fBounds.Height() + 1);
161 fWidth = AddTextControl("width", B_TRANSLATE("Width:"),
162 fCurrentOptions.Width(), kMsgWidthChanged);
263 if (GetValue(fWidth, &value) && fCurrentOptions.Width() != value) {
271 SetValue(fWidth, fCurrentOptions.Width());
/haiku/src/tests/kits/interface/menu/menuworld/
H A DViewLayoutFactory.cpp79 widthExpand -= control.Bounds().Width();
105 topLeft.x = pos.x - frame.Width();
109 topLeft.x = pos.x - frame.Width();
218 curWidth = frame.Width();
236 ? maxWidth : frame.Width();
/haiku/src/apps/resedit/
H A DMiscEditors.cpp96 r.OffsetBy(r.Width() + 10, 0);
120 fOK->MoveTo(r.right - fOK->Bounds().Width(), r.bottom + 10);
122 r.OffsetBy(-r.Width() - 10, 0);
142 Window()->ResizeTo(Window()->Bounds().Width(), fCancel->Frame().bottom + 10);
148 Window()->SetSizeLimits(Window()->Bounds().Width(), 30000,
/haiku/src/tests/servers/app/copy_bits/
H A Dmain.cpp92 float width = r.Width();
119 BPoint p(r.left + r.Width() / 2.0 - width / 2.0,
126 p.x = r.left + r.Width() / 2.0 - width / 2.0;
133 p.x = r.left + r.Width() / 2.0 - width / 2.0;
140 p.x = r.left + r.Width() / 2.0 - width / 2.0;
/haiku/src/servers/mail/
H A DErrorLogWindow.cpp27 *width = Bounds().Width();
163 BTextView *view = new BTextView(BRect(20, 0, rect.Width(), rect.Height()),
164 "error_display", BRect(0,3,rect.Width() - 20 - 3, LONG_MAX),
191 width = view->Frame().Width();
203 *width = view->Frame().Width() + 20;
/haiku/src/apps/deskbar/
H A DBarMenuBar.cpp152 width = frame.Width();
186 SmartResize(frame.Width() - 1.0f, frame.Height());
188 SmartResize(frame.Width(), frame.Height());
227 SmartResize(frame.Width() - 1.0f, frame.Height());
229 SmartResize(frame.Width(), frame.Height());
/haiku/src/apps/cortex/RouteApp/
H A DStatusView.cpp122 allocBackBitmap(frame.Width(), frame.Height());
148 allocBackBitmap(Bounds().Width(), Bounds().Height());
184 if (be_plain_font->StringWidth(text.String()) > Bounds().Width() - 25.0) {
186 Bounds().Width() - 25.0);
261 if ((Bounds().Width() + x) <= 16.0) {
265 && ((m_scrollBar->Bounds().Width() - x) <= (6 * B_V_SCROLL_BAR_WIDTH))) {
297 D_OPERATION(("StatusView::drawInto(%.1f, %.1f)\n", r.Width(), r.Height()));
378 if (be_plain_font->StringWidth(title.String()) > Bounds().Width() - 25.0) {
380 Bounds().Width() - 25.0);
431 if (be_plain_font->StringWidth(text.String()) > Bounds().Width()
[all...]

Completed in 133 milliseconds

1234567891011>>