/haiku/src/apps/bootmanager/ |
H A D | BootManagerWindow.cpp | 35 float minWidth, maxWidth, minHeight, maxHeight; in BootManagerWindow() local 36 GetSizeLimits(&minWidth, &maxWidth, &minHeight, &maxHeight); in BootManagerWindow() 40 SetSizeLimits(minWidth, maxWidth, minHeight, maxHeight); in BootManagerWindow()
|
/haiku/src/servers/app/stackandtile/ |
H A D | SATWindow.cpp | 255 int32 minHeight, maxHeight; in AdjustSizeLimits() local 256 GetSizeLimits(&minWidth, &maxWidth, &minHeight, &maxHeight); in AdjustSizeLimits() 260 if (maxHeight < targetFrame.Height()) in AdjustSizeLimits() 261 maxHeight = targetFrame.IntegerHeight(); in AdjustSizeLimits() 263 fWindow->SetSizeLimits(minWidth, maxWidth, minHeight, maxHeight); in AdjustSizeLimits() 269 int32* maxHeight) const in GetSizeLimits() 274 *maxHeight = fOriginalMaxHeight; in GetSizeLimits() 294 if (*minHeight > *maxHeight) in GetSizeLimits() 295 *maxHeight = *minHeight; in GetSizeLimits() 301 int32* maxHeight) in AddDecorator() argument [all …]
|
H A D | SATWindow.h | 62 int32 maxHeight); 64 int32* minHeight, int32* maxHeight) const; 66 int32* minHeight, int32* maxHeight);
|
/haiku/src/apps/diskusage/ |
H A D | MainWindow.cpp | 40 float maxHeight = BScreen(this).Frame().Height() - 12; in MainWindow() local 41 fControlsView->SetExplicitMaxSize(BSize(maxHeight, maxHeight)); in MainWindow()
|
/haiku/src/kits/interface/ |
H A D | CardLayout.cpp | 150 float maxHeight = fMax.height; in GetHeightForWidth() local 164 maxHeight = min_c(maxHeight, itemMaxHeight); in GetHeightForWidth() 170 maxHeight = max_c(maxHeight, minHeight); in GetHeightForWidth() 172 preferredHeight = min_c(preferredHeight, maxHeight); in GetHeightForWidth() 177 *max = maxHeight; in GetHeightForWidth()
|
H A D | TwoDimensionalLayout.cpp | 119 float* maxHeight, float* preferredHeight); 164 float* minHeight, float* maxHeight, 549 BTwoDimensionalLayout::AddInsets(float* minHeight, float* maxHeight, in AddInsets() argument 555 if (maxHeight) in AddInsets() 556 *maxHeight = BLayoutUtils::AddDistances(*maxHeight, insets); in AddInsets() 898 float* minHeight, float* maxHeight, float* preferredHeight) in InternalGetHeightForWidth() argument 944 if (maxHeight) in InternalGetHeightForWidth() 945 *maxHeight = fCachedMaxHeightForWidth; in InternalGetHeightForWidth() 957 float minHeight, maxHeight, preferredHeight; in DoLayout() local 959 &maxHeight, &preferredHeight); in DoLayout() [all …]
|
H A D | SplitLayout.cpp | 596 float minHeight, maxHeight, preferredHeight; in DoLayout() local 597 _InternalGetHeightForWidth(size.width, true, &minHeight, &maxHeight, in DoLayout() 951 float minHeight, maxHeight; in _LayoutItem() local 952 item->GetHeightForWidth(size.width, &minHeight, &maxHeight, NULL); in _LayoutItem() 954 info->max.height = min_c(info->max.height, maxHeight); in _LayoutItem() 1320 float* minHeight, float* maxHeight, float* preferredHeight) in _InternalGetHeightForWidth() argument 1380 if (maxHeight) in _InternalGetHeightForWidth() 1381 *maxHeight = fCachedMaxHeightForWidth; in _InternalGetHeightForWidth() 1420 BSplitLayout::_AddInsets(float* minHeight, float* maxHeight, in _AddInsets() argument 1428 if (maxHeight) in _AddInsets() [all …]
|
H A D | SplitLayout.h | 140 float* maxHeight, float* preferredHeight); 145 void _AddInsets(float* minHeight, float* maxHeight,
|
/haiku/src/preferences/screen/ |
H A D | MonitorView.cpp | 193 float maxHeight = Bounds().Height(); in _MonitorBounds() local 194 if (maxWidth / maxHeight > (float)fMaxWidth / fMaxHeight) in _MonitorBounds() 195 maxWidth = maxHeight / fMaxHeight * fMaxWidth; in _MonitorBounds() 197 maxHeight = maxWidth / fMaxWidth * fMaxHeight; in _MonitorBounds() 211 float height = maxHeight * factorY; in _MonitorBounds()
|
/haiku/src/servers/bluetooth/ |
H A D | DeskbarReplicant.cpp | 28 extern "C" _EXPORT BView *instantiate_deskbar_item(float maxWidth, float maxHeight); 232 instantiate_deskbar_item(float maxWidth, float maxHeight) in instantiate_deskbar_item() argument 234 return new DeskbarReplicant(BRect(0, 0, maxHeight - 1, maxHeight - 1), in instantiate_deskbar_item()
|
/haiku/src/tests/kits/opengl/direct_mode/ |
H A D | GLDirectMode.cpp | 80 float maxHeight = 0.0f; in SampleGLWindow() local 82 GetSizeLimits(&minWidth, &maxWidth, &minHeight, &maxHeight); in SampleGLWindow() 83 SetSizeLimits(50.0f, maxWidth, 50.0f, maxHeight); in SampleGLWindow()
|
/haiku/src/add-ons/accelerants/intel_810/ |
H A D | mode.cpp | 27 uint32 maxHeight = mode->virtual_height; in IsThereEnoughFBMemory() local 28 if (mode->timing.v_display > maxHeight) in IsThereEnoughFBMemory() 29 maxHeight = mode->timing.v_display; in IsThereEnoughFBMemory() 33 return (maxWidth * maxHeight * bytesPerPixel in IsThereEnoughFBMemory()
|
/haiku/src/tests/kits/interface/menu/menuworld/ |
H A D | ViewLayoutFactory.cpp | 210 float maxWidth = 0.0f, maxHeight = 0.0f; in ResizeToListMax() local 223 if (curHeight > maxHeight) { in ResizeToListMax() 224 maxHeight = curHeight; in ResizeToListMax() 238 ? maxHeight : frame.Height(); in ResizeToListMax()
|
/haiku/src/add-ons/accelerants/3dfx/ |
H A D | mode.cpp | 27 uint32 maxHeight = mode->virtual_height; in IsThereEnoughFBMemory() local 28 if (mode->timing.v_display > maxHeight) in IsThereEnoughFBMemory() 29 maxHeight = mode->timing.v_display; in IsThereEnoughFBMemory() 33 return (maxWidth * maxHeight * bytesPerPixel in IsThereEnoughFBMemory()
|
/haiku/src/apps/expander/ |
H A D | ExpanderWindow.cpp | 729 float minWidth, maxWidth, minHeight, maxHeight; in _ExpandListingText() local 730 GetSizeLimits(&minWidth, &maxWidth, &minHeight, &maxHeight); in _ExpandListingText() 737 maxHeight)); in _ExpandListingText() 743 maxHeight)); in _ExpandListingText() 751 float minWidth, maxWidth, minHeight, maxHeight; in _UpdateWindowSize() local 752 GetSizeLimits(&minWidth, &maxWidth, &minHeight, &maxHeight); in _UpdateWindowSize() 767 maxHeight = 32767.0; in _UpdateWindowSize() 772 maxHeight = fSizeLimit; in _UpdateWindowSize() 776 SetSizeLimits(minWidth, maxWidth, minHeight, maxHeight); in _UpdateWindowSize()
|
/haiku/src/add-ons/accelerants/ati/ |
H A D | mode.cpp | 65 uint32 maxHeight = mode->virtual_height; in IsThereEnoughFBMemory() local 66 if (mode->timing.v_display > maxHeight) in IsThereEnoughFBMemory() 67 maxHeight = mode->timing.v_display; in IsThereEnoughFBMemory() 71 return (maxWidth * maxHeight * bytesPerPixel < gInfo.sharedInfo->maxFrameBufferSize); in IsThereEnoughFBMemory()
|
/haiku/src/servers/app/ |
H A D | DesktopListener.h | 67 int32 minHeight, int32 maxHeight) = 0; 125 int32 minHeight, int32 maxHeight);
|
/haiku/src/tests/kits/interface/layout/ |
H A D | LayoutTest1.cpp | 148 void GetHeightForWidth(float width, float* minHeight, float* maxHeight, in GetHeightForWidth() argument 153 maxHeight ? maxHeight : &dummy, in GetHeightForWidth() 168 float* maxHeight, float* preferredHeight) = 0; 197 float* maxHeight, float* preferredHeight) in GetHeightForWidth() argument 201 *maxHeight = height; in GetHeightForWidth() 235 float* maxHeight, float* preferredHeight) in GetHeightForWidth() argument 239 *maxHeight = height; in GetHeightForWidth() 273 float* maxHeight, float* preferredHeight) in GetHeightForWidth() argument 277 *maxHeight = height; in GetHeightForWidth()
|
/haiku/src/apps/deskbar/ |
H A D | BarWindow.cpp | 692 float maxHeight; in SetSizeLimits() local 698 maxHeight = B_SIZE_UNLIMITED; in SetSizeLimits() 708 maxHeight = std::max(fBarView->TabHeight(), kGutter in SetSizeLimits() 721 maxHeight = max + iconPadding / 2; in SetSizeLimits() 725 BWindow::SetSizeLimits(minWidth, maxWidth, minHeight, maxHeight); in SetSizeLimits()
|
/haiku/src/add-ons/accelerants/s3/ |
H A D | mode.cpp | 159 uint32 maxHeight = mode->virtual_height; in IsThereEnoughFBMemory() local 160 if (mode->timing.v_display > maxHeight) in IsThereEnoughFBMemory() 161 maxHeight = mode->timing.v_display; in IsThereEnoughFBMemory() 165 return (maxWidth * maxHeight * bytesPerPixel < gInfo.sharedInfo->maxFrameBufferSize); in IsThereEnoughFBMemory()
|
/haiku/src/servers/mail/ |
H A D | DeskbarView.cpp | 60 float maxHeight); 78 instantiate_deskbar_item(float maxWidth, float maxHeight) in instantiate_deskbar_item() argument 80 return new DeskbarView(BRect(0, 0, maxHeight - 1, maxHeight - 1)); in instantiate_deskbar_item()
|
/haiku/src/apps/networkstatus/ |
H A D | NetworkStatusView.cpp | 66 extern "C" _EXPORT BView *instantiate_deskbar_item(float maxWidth, float maxHeight); 592 instantiate_deskbar_item(float maxWidth, float maxHeight) in instantiate_deskbar_item() argument 594 return new NetworkStatusView(BRect(0, 0, maxHeight - 1, maxHeight - 1), in instantiate_deskbar_item()
|
/haiku/src/apps/cortex/RouteApp/ |
H A D | StatusView.cpp | 191 float minWidth, maxWidth, minHeight, maxHeight; in FrameResized() local 192 Window()->GetSizeLimits(&minWidth, &maxWidth, &minHeight, &maxHeight); in FrameResized() 194 Window()->SetSizeLimits(minWidth, maxWidth, minHeight, maxHeight); in FrameResized()
|
/haiku/headers/os/interface/ |
H A D | Window.h | 130 void SetZoomLimits(float maxWidth, float maxHeight); 215 float minHeight, float maxHeight); 217 float* minHeight, float* maxHeight);
|
/haiku/src/apps/drivesetup/ |
H A D | MainWindow.cpp | 1454 float maxHeight = 0; in _UpdateWindowZoomLimits() local 1459 maxHeight += _ColumnListViewHeight(fListView, NULL); in _UpdateWindowZoomLimits() 1467 maxHeight += B_H_SCROLL_BAR_HEIGHT; in _UpdateWindowZoomLimits() 1468 maxHeight += 1.5 * parentRow->Height(); // the label row in _UpdateWindowZoomLimits() 1469 maxHeight += fDiskView->Bounds().Height(); in _UpdateWindowZoomLimits() 1470 maxHeight += fMenuBar->Bounds().Height(); in _UpdateWindowZoomLimits() 1473 SetZoomLimits(maxWidth, maxHeight); in _UpdateWindowZoomLimits()
|