/haiku/src/tests/kits/media/ |
H A D | VideoDecoder.cpp | 98 format.Width(), format.Height(), fMediaTrack->CountFrames(), 104 BView* view = new VideoView(fMediaTrack, format.Width(), format.Height());
|
/haiku/src/apps/processcontroller/ |
H A D | IconMenuItem.cpp | 82 loc.y = frame.top + (frame.bottom - frame.top - fIcon->Bounds().Height()) / 2; 105 const float limit = ceilf(fIcon->Bounds().Height() +
|
H A D | Utilities.cpp | 153 float height = frame.Height(); 156 if (screen.Height() < height && !(flags & B_NOT_V_RESIZABLE)) 157 height = screen.Height(); 158 if (width != frame.Width() || height != frame.Height()) { 182 rect.top = frame.top + (frame.Height() - barHeight) / 2; 183 rect.bottom = frame.top + (frame.Height() + barHeight) / 2;
|
/haiku/src/bin/screen_blanker/ |
H A D | PasswordWindow.cpp | 73 screen.Frame().top + (screen.Frame().Height() - Bounds().Height()) / 2);
|
/haiku/headers/os/interface/ |
H A D | Size.h | 27 inline float Height() const; 78 BSize::Height() const function in class:BSize
|
/haiku/src/apps/mediaplayer/interface/ |
H A D | PlayPauseButton.cpp | 61 float spacing = pauseBounds.Height() / 4; 65 offset.y -= pauseBounds.Height() / 2; 90 offset.y += playBounds.Height(); 99 offset.y -= playBounds.Height(); 111 offset.y += playBounds.Height(); 132 size.height = ceilf(fPauseSymbol->Bounds().Height() * 2.5f);
|
/haiku/src/preferences/screensaver/ |
H A D | ScreenCornerSelector.cpp | 46 float height = Bounds().Height(); 54 (Bounds().Height() - height) / 2, 55 (Bounds().Width() + width) / 2, (Bounds().Height() + height) / 2); 191 rect.top = centerRect.top + (centerRect.Height() - size) / 2; 193 size = centerRect.Height(); 247 float centerY = innerFrame.top + innerFrame.Height() / 2;
|
/haiku/src/preferences/appearance/ |
H A D | FakeScrollBar.cpp | 82 BRect buttonFrame(rect.left, rect.top, rect.left + rect.Height(), 87 buttonFrame.OffsetBy(rect.Height() + 1, 0.0f); 91 buttonFrame.OffsetTo(rect.right - ((rect.Height() * 2) + 1), 97 buttonFrame.OffsetTo(rect.right - rect.Height(), rect.top); 105 rect.InsetBy((rect.Height() + 1) * 2, 0.0f); 107 rect.InsetBy(rect.Height() + 1, 0.0f);
|
H A D | CurView.cpp | 469 if(bitmap->Bounds().Height() > bitmap->Bounds().Width()) 471 drawrect.right=(r.Height()*bitmap->Bounds().Width())/bitmap->Bounds().Height(); 472 drawrect.bottom=r.Height(); 478 drawrect.bottom=(r.Width()*bitmap->Bounds().Height())/bitmap->Bounds().Width();
|
/haiku/src/preferences/backgrounds/ |
H A D | ImageFilePanel.cpp | 124 if (bitmap->Bounds().Width() > bitmap->Bounds().Height()) { 125 dest.InsetBy(0, (dest.Height() + 1 126 - ((bitmap->Bounds().Height() + 1) 132 / (bitmap->Bounds().Height() + 1) 133 * (dest.Height() + 1))) / 2, 0); 141 << "x" << (int)(bitmap->Bounds().Height() + 1);
|
/haiku/src/tests/servers/app/look_and_feel/ |
H A D | LookAndFeel.cpp | 113 rect.OffsetBy(0, menuField->Bounds().Height() + 10); 142 rect.OffsetBy(0, menuField->Bounds().Height() + 10); 150 rect.OffsetBy(0, menuField->Bounds().Height() + 10); 163 rect.OffsetBy(0, rect.Height() + 5); 170 rect.OffsetBy(0, rect.Height() + 5); 177 rect.OffsetBy(0, rect.Height() + 5); 187 rect.OffsetBy(0, rect.Height() + 5); 194 rect.OffsetBy(0, rect.Height() + 5); 201 rect.OffsetBy(0, rect.Height() + 5); 210 rect.OffsetBy(0, rect.Height() [all...] |
/haiku/src/servers/app/drawing/ |
H A D | AlphaMask.cpp | 123 && bounds.Height() == fCanvasBounds.Height()) 129 fCanvasBounds = IntRect(0, 0, bounds.Width(), bounds.Height()); 135 || fCanvasBounds.Height() > oldBounds.Height())) { 193 const int32 height = fBits->Height(); 206 if (previousBounds.bottom > fPreviousMask->fBounds.Height()) 207 previousBounds.bottom = fPreviousMask->fBounds.Height(); 376 || fBounds.Height() > canvasBounds.Height()) { [all...] |
/haiku/src/tests/servers/app/playground/ |
H A D | ObjectWindow.cpp | 163 scrollBar->SetRange(0.0, fObjectView->Bounds().Height()); 194 b.OffsetBy(0, fNewB->Bounds().Height() + 5.0); 202 b.OffsetBy(0, fClearB->Bounds().Height() + 5.0); 210 b.OffsetBy(0, radioButton->Bounds().Height() + 5.0); 216 b.OffsetBy(0, radioButton->Bounds().Height() + 5.0); 222 b.OffsetBy(0, radioButton->Bounds().Height() + 5.0); 277 b.OffsetBy(0, radioButton->Bounds().Height() + 10.0); 287 b.OffsetBy(0, fDrawingModeMF->Bounds().Height() + 10.0); 293 b.OffsetBy(0, fColorControl-> Bounds().Height() + 5.0); 307 b.OffsetBy(0, fAlphaTC->Bounds().Height() [all...] |
/haiku/src/tests/servers/app/transformation/ |
H A D | main.cpp | 106 rect.InsetBy(rect.Width() / 3, rect.Height() / 3); 109 rect.top + rect.Height() / 2); 150 rect.top = (rect.Height() - fBitmap->Bounds().Height()) / 2; 152 rect.bottom = rect.top + fBitmap->Bounds().Height(); 156 rect.top + rect.Height() / 2); 197 rect.InsetBy(rect.Width() / 3, rect.Height() / 3); 200 rect.top + rect.Height() / 2); 215 float radius = std::min(rect.Width() / 5, rect.Height() / 5);
|
/haiku/src/apps/showimage/ |
H A D | PrintOptionsWindow.cpp | 69 fHeight = (fBounds.Height() + 1) * w / (fBounds.Width() + 1); 76 fWidth = (fBounds.Width() + 1) * h / (fBounds.Height() + 1); 164 fHeight = AddTextControl("height", B_TRANSLATE("Height: "), 165 fCurrentOptions.Height(), kMsgHeightChanged); 265 SetValue(fHeight, fCurrentOptions.Height()); 269 if (GetValue(fHeight, &value) && fCurrentOptions.Height() != value) {
|
/haiku/src/apps/login/ |
H A D | LoginView.cpp | 54 r.Set(CSEP, CSEP, LW, Bounds().Height() - 3 * CSEP - BH); 102 Bounds().Height() - CSEP - BH); 141 Window()->ResizeTo(bounds.Width(), bounds.Height()); 145 leftTop.y += fHaltButton->Frame().Height() / 2; 146 leftTop.y -= fInfoView->Bounds().Height() / 2;
|
/haiku/src/apps/deskbar/ |
H A D | BarMenuBar.cpp | 153 height = frame.Height(); 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/kits/tracker/ |
H A D | DraggableContainerIcon.cpp | 61 SetExplicitMinSize(BSize(iconSize.Width() + 5, iconSize.Height())); 125 + fontHeight.leading + 2 + Bounds().Height() + 8); 166 view->MovePenTo(BPoint(hIconOffset - leftText + 2, Bounds().Height() 214 float iconOffsetY = (Bounds().Height() - fIconSize.Height()) / 2;
|
/haiku/src/kits/print/ |
H A D | PrintPanel.cpp | 125 ResizeTo(size.Width(), size.Height()); 224 (frame.Height() - bounds.Height()) / 2.0);
|
/haiku/src/tests/kits/interface/balert/alert_manual_test/ |
H A D | AlertTestWindow.cpp | 115 pAlert->Bounds().Width(), pAlert->Bounds().Height()); 127 pTextView->Bounds().Height(), pt.x, pt.y); 142 pb->Bounds().Height(), pt.x, pt.y,
|
/haiku/src/tests/kits/interface/ |
H A D | SliderTest.cpp | 26 rect.bottom = rect.top + view->Bounds().Height() + 10; 27 rect.OffsetBy(0, rect.Height()); 106 rect.bottom = view->Bounds().Height() - 20;
|
/haiku/src/apps/pulse/ |
H A D | PulseWindow.cpp | 53 ResizeTo(rect.Width(), rect.Height()); 57 ResizeTo(r.Width(), r.Height()); 135 ResizeTo(r.Width(), r.Height());
|
/haiku/src/apps/cortex/RouteApp/ |
H A D | RouteWindow.cpp | 244 offset.y -= (r.top - (sr.Height()/2)); 258 offset.y = (sr.Height()*.25) - r.top; 262 offset.y -= (r.top - (sr.Height()/2)); 279 offset.y = (sr.Height()*.125) - r.top; 283 offset.y -= (r.top - (sr.Height()/2)); 356 height += KeyMenuBar()->Frame().Height(); 364 ResizeTo(m_manualSize.Width(), m_manualSize.Height()); 436 ResizeTo(r.Width(), r.Height()); 478 m_dormantNodeWindowFrame.Height()); 496 m_transportWindowFrame.Height()); [all...] |
/haiku/src/add-ons/input_server/devices/virtualkeyboard/ |
H A D | VirtualKeyboardWindow.cpp | 43 ResizeTo(screenRect.Width(), screenRect.Height() / 3); 44 MoveTo(0,screenRect.Height() - screenRect.Height() / 3);
|
/haiku/src/preferences/screen/ |
H A D | MonitorView.cpp | 114 if (width > innerRect.Width() || height > innerRect.Height()) 121 innerRect.top + fontHeight.ascent + (innerRect.Height() - height) / 2)); 193 float maxHeight = Bounds().Height();
|