/haiku/src/apps/cortex/MediaRoutingView/ |
H A D | MediaJack.cpp | 205 return BPoint(Frame().left - 1.0, Frame().top + Frame().Height() / 2.0); 209 return BPoint(Frame().right + 1.0, Frame().top + Frame().Height() / 2.0); 393 moveTo(BPoint(offset, rightBottomBoundary - Frame().Height()), updateRegion); 458 p.Set(0.0, Frame().Height() / 2.0 - 2.0); 515 p.y = (Frame().Height() / 2.0) + (fh.ascent / 2.0); 536 p.Set(targetRect.right - 4.0, Frame().Height() / 2.0 - 2.0); 589 p.y = (Frame().Height() / 2.0) + (fh.ascent / 2.0);
|
/haiku/src/preferences/filetypes/ |
H A D | FileTypesWindow.cpp | 185 y += (bitmapRect.Height() - fontHeight.ascent - fontHeight.descent) / 2.0f; 187 y += bitmapRect.Height() + 3.0f; 213 *_height = bitmapRect.Height() + 3.0f + ceilf(fontHeight.ascent 232 float y = ceilf((bitmapRect.Height() - fontHeight.ascent - fontHeight.descent) 239 return BRect(x, 0.0f, x + bitmapRect.Width(), bitmapRect.Height()); 990 / 2.0f, Frame().top + (Frame().Height() - window->Frame().Height())
|
/haiku/src/kits/interface/ |
H A D | ColorControl.cpp | 218 if (rampHeight > fRedText->Frame().Height()) { 222 y = floorf(offset + (offset - fRedText->Frame().Height()) / 2); 575 rampRect.top + rampRect.Height() / 2); 611 return std::max(fRedText->Bounds().Height(), 612 ceilf(_PaletteFrame().Height() / 3)); 960 if (rect.Height() < fBlueText->Frame().bottom) { 971 *_height = rect.Height();
|
H A D | HaikuControlLook.cpp | 722 if (rect.Height() > 0) { 728 if (rect.Height() >= 0) { 734 if (rect.Height() >= 0) { 740 if (rect.Height() >= 0) { 823 float vmiddle = rect.top + rect.Height() / 2; 832 float spacer = rect.Height(); 903 float middle = rect.Height() / 2; 1030 float vInset = rect.Height() / 3; 1049 rect.bottom - rect.Height() / 1.33); 1056 rect.top + 1 + rect.Height() / 1.3 [all...] |
H A D | Window.cpp | 840 ResizeTo(newFrame.Width(), newFrame.Height()); 1018 if (width != fFrame.Width() || height != fFrame.Height()) { 1228 if (width != fFrame.Width() || height != fFrame.Height()) { 1556 maxZoomHeight = std::min(maxZoomHeight, screenFrame.Height()); 1607 if (zoomArea.Height() > maxZoomHeight) 1608 zoomArea.InsetBy(0, roundf((zoomArea.Height() - maxZoomHeight) / 2)); 1628 && fFrame.Height() == zoomArea.Height()) { 1631 fPreviousFrame.Height()); 1640 Zoom(zoomArea.LeftTop(), zoomArea.Width(), zoomArea.Height()); [all...] |
H A D | ViewLayoutItem.cpp | 134 fView->ResizeTo(frame.Width(), frame.Height());
|
H A D | LayoutItem.cpp | 145 frame.bottom = frame.top + max_c(frame.Height(), minHeight);
|
/haiku/src/apps/icon-o-matic/generic/gui/ |
H A D | ListViews.cpp | 75 float height = itemFrame.Height(); 153 BListView::FrameResized(bounds.Width(), bounds.Height()); 430 where.y += rect.Height() / 2; 827 dragRect.bottom += ceilf(item->Height()) + 1; 828 if (dragRect.Height() > MAX_DRAG_HEIGHT) { 850 itemFrame.bottom = itemFrame.top + ceilf(item->Height()); 863 int32 height = (int32)dragBitmap->Bounds().Height() + 1;
|
/haiku/src/apps/softwareupdater/ |
H A D | SoftwareUpdaterWindow.cpp | 131 fDefaultRect.Height(), fDefaultRect.Height()); 648 fDefaultRect.Height() + 4 * fListView->ItemHeight(), 662 ResizeTo(windowFrame.Width(), windowFrame.Height()); 683 ResizeTo(fDefaultRect.Width(), fDefaultRect.Height()); 811 return fPackageMoreIcon->Bounds().Height(); 813 return fPackageLessIcon->Bounds().Height(); 908 float iconSize = icon->Bounds().Height(); 909 float offsetMarginHeight = floor((Height() - iconSize) / 2);
|
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/ |
H A D | SliderView.cpp | 48 6.0 + fButtonRect.Height() + 6.0); 61 mpm.mini.y = mpm.maxi.y = Bounds().Height() + 1.0; 73 ResizeTo(frame.Width(), frame.Height());
|
/haiku/src/tests/servers/app/painter/ |
H A D | main.cpp | 282 float v = bounds.Height() / clipCount; 333 uint32 height = buffer->Height(); 394 BWindow* window = new BWindow(BRect(50.0, 50.0, 50.0 + bounds.Width(), 50.0 + bounds.Height() * 2 + 1), "Painter Test",
|
/haiku/src/apps/diskprobe/ |
H A D | DiskProbe.cpp | 150 && settings.window_frame.Height() < screen.Frame().Height()) 346 if (top + rect.Height() > screenBorder.bottom)
|
/haiku/src/apps/magnify/ |
H A D | Magnify.cpp | 760 float h = Bounds().Height(); 907 || infoHeight > Bounds().Height()) { 975 float h = Bounds().Height(); 981 if (w == Bounds().Width() && h == Bounds().Height()) 1136 float h = Bounds().Height(); 1316 if (Bounds().Width() != r.Width() || Bounds().Height() != r.Height()) 1317 ResizeTo(r.Width(), r.Height()); 1324 fImageView->Resize((int32)r.Width(), (int32)r.Height()); 2026 srcRect.OffsetTo(srcRect.left, scrnframe.bottom - srcRect.Height()); [all...] |
/haiku/src/apps/terminal/ |
H A D | TermWindow.cpp | 242 && frame.Height() <= screenFrame.Height()) 243 ResizeTo(frame.Width(), frame.Height()); 962 float mbHeight = fMenuBar->Bounds().Height() + 1; 977 ResizeTo(screen.Frame().Width() + 1, screen.Frame().Height() + 1); 983 float mbHeight = fMenuBar->Bounds().Height() + 1; 990 ResizeTo(fSavedFrame.Width(), fSavedFrame.Height()); 1288 int pHeight = (int)pageRect.Height(); 1370 minimumHeight += fMenuBar->Bounds().Height() + 1; 1388 viewHeight + fMenuBar->Bounds().Height() [all...] |
/haiku/src/apps/pulse/ |
H A D | NormalPulseView.cpp | 52 fChipRect = BRect(10, (rect.Height() - width - 15) / 2, 25 + width, 53 (rect.Height() + width + 15) / 2); 87 ResizeTo(progressLeft + ProgressBar::PROGRESS_WIDTH + 10, rect.Height());
|
/haiku/src/apps/cortex/DiagramView/ |
H A D | DiagramEndPoint.cpp | 76 return BPoint(Frame().left + Frame().Height() / 2.0, Frame().top + Frame().Width() / 2.0);
|
/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/ |
H A D | OptionValueView.cpp | 67 float center = floorf(b.top + b.Height() / 2.0);
|
/haiku/src/apps/showimage/ |
H A D | SelectionBox.cpp | 190 if (fBounds.Height() <= 0.0 || fBounds.Width() <= 0.0)
|
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/ |
H A D | ColorPreview.cpp | 98 bounds.top + bounds.Height() / 2);
|
H A D | ColorSlider.cpp | 41 FrameResized(Bounds().Width(), Bounds().Height()); 52 FrameResized(Bounds().Width(), Bounds().Height()); 185 float offset = Value() * (r.Height() - 10) / 255.0; 629 SetValue((int)(((where.y - b.top) / b.Height()) * 255.0));
|
/haiku/src/kits/shared/ |
H A D | ToolBar.cpp | 89 ResizeTo(frame.Width(), frame.Height());
|
/haiku/src/preferences/repositories/ |
H A D | RepositoriesWindow.cpp | 42 ResizeTo(frame.Width(), frame.Height());
|
/haiku/src/preferences/appearance/ |
H A D | ColorWhichListView.cpp | 65 float itemHeight = colorWhichItem->Height() - 5;
|
/haiku/src/add-ons/network_settings/dialup/ |
H A D | ConnectionOptionsAddon.cpp | 160 *height = rect.Height();
|
H A D | TextRequestDialog.cpp | 56 fTextView->ResizeBy(0, textHeight - textRect.Height());
|