Searched refs:max (Results 276 - 300 of 424) sorted by relevance

<<11121314151617

/haiku/src/kits/interface/
H A DTextControl.cpp817 BSize max = fLayoutData->min; local
818 max.width = B_SIZE_UNLIMITED;
820 return BLayoutUtils::ComposeSize(ExplicitMaxSize(), max);
972 BTextControl::GetHeightForWidth(data->width, &data->min, &data->max,
H A DListView.cpp593 scrollOffset.y = std::max(0.0f, scrollOffset.y - Bounds().Height());
1527 BListView::GetHeightForWidth(data->width, &data->min, &data->max,
1952 int32 last = std::max(a, b);
1956 std::max(last, fLastSelected));
2038 int32 end = std::max(fLastSelected, index);
2071 from = std::max((int32)0, from);
2143 std::max(index, fLastSelected));
H A DColumnListView.cpp554 fHeight(std::max(kMinRowHeight,
2074 size.height = std::max(kMinTitleHeight,
2273 titleRect.bottom = titleRect.top + std::max(kMinTitleHeight,
2287 vScrollBarRect.top += std::max(kMinTitleHeight,
2843 float min, max; local
2844 hScrollBar->GetRange(&min, &max);
2845 if (max != maxScrollBarValue && position.x > maxScrollBarValue)
4203 float min, max; local
4204 vScrollBar->GetRange(&min, &max);
4207 else if (verticalScroll > max)
4675 float min, max; local
[all...]
H A DGridLayout.cpp37 // kRowSizesField = {min, max}
40 // kColumnSizesField = {min, max}
682 constraints->max = MaxColumnWidth(index);
686 constraints->max = MaxRowHeight(index);
/haiku/src/add-ons/kernel/file_systems/packagefs/indices/
H A DQuery.cpp98 // should be inversely proportional to the index size; max input score
102 std::min(maxFactor, std::max((int32)1, index.index->CountEntries())));
/haiku/src/system/runtime_loader/
H A Delf_tls.cpp281 unsigned size = std::max(minimumSize, kInitialSize);
H A Dimages.cpp507 dataEnd = std::max(dataEnd, end);
516 textEnd = std::max(textEnd, end);
/haiku/headers/private/graphics/nvidia/
H A DDriverInterface.h188 /* max. number of overlay buffers */
347 uint32 max; /* command buffer's useable size in 32-bit words */ member in struct:__anon21::__anon23::__anon25
/haiku/src/kits/tracker/
H A DCountView.cpp317 SetFontSize(std::max(kMinFontSize,
H A DDraggableContainerIcon.cpp127 BRect rect(0, 0, std::max(Bounds().Width(),
/haiku/src/apps/debugger/user_interface/cli/
H A DCommandLineUserInterface.cpp434 = std::max(longestCommandName, entry->Name().Length());
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DQuery.cpp178 // should be inversely proportional to the index size; max input score
182 std::min(maxFactor, std::max((int32)1, index.index->CountEntries())));
/haiku/src/preferences/network/
H A DInterfaceListItem.cpp156 SetHeight(std::max(2 * lineHeight + 4, fIcon->Bounds().Height() + 4));
/haiku/src/preferences/backgrounds/
H A DBackgroundsView.cpp106 // max 5 characters allowed
1248 bool min, max, mustSend = false; local
1250 max = (x < fMode.virtual_width);
1251 if (min && max) {
1261 if (!max && fPoint.x < fMode.virtual_width) {
1269 max = (y < fMode.virtual_height);
1270 if (min && max) {
1280 if (!max && fPoint.y < fMode.virtual_height) {
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DSourceView.cpp432 return std::max(height, kMinViewHeight);
455 minLine = std::max(minLine, (int32)0);
1530 fMaxLineWidth = std::max(fMaxLineWidth, _FormattedLineWidth(line));
1896 float min, max; local
1897 vertical->GetRange(&min, &max);
1898 vertical->SetValue(max);
2363 // std::max(markerSize.height, textSize.height));
2385 std::max(markerSize.height, textSize.height));
2477 float height = std::max(fMarkerView->MinSize().height,
2481 return BSize(std::max(siz
[all...]
/haiku/src/servers/registrar/
H A DAuthenticationManager.cpp171 void SetShadowInfo(const char* password, int lastChanged, int min, int max, argument
177 fMax = max;
222 if (message.FindInt32("max", &intValue) == B_OK)
292 || (error = message.AddInt32("max", fMax)) != B_OK
973 || message.FindInt32("max count", &maxCount) != B_OK
1351 int max; local
1358 lastChanged, min, max, warn, inactive, expiration, flags);
1373 user->SetShadowInfo(password, lastChanged, min, max, warn, inactive,
/haiku/src/add-ons/kernel/network/stack/
H A Dnet_buffer.cpp753 int32 max = atomic_get(&sMaxAllocatedDataHeaderCount); local
754 if (current > max)
755 atomic_test_and_set(&sMaxAllocatedDataHeaderCount, current, max);
768 int32 max = atomic_get(&sMaxAllocatedNetBufferCount); local
769 if (current > max)
770 atomic_test_and_set(&sMaxAllocatedNetBufferCount, current, max);
/haiku/3rdparty/mmu_man/onlinedemo/
H A Dhaiku.php96 // max number of cpus for the VM, no more than 8
321 $cpucount = max(min($cpucount, QEMU_MAX_CPUS), 1);
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DPrepare.cpp208 if (max(LPeak, RPeak) > *pPeakLevel)
209 *pPeakLevel = max(LPeak, RPeak);
/haiku/src/apps/mediaplayer/supplier/
H A DMediaTrackAudioSupplier.cpp146 int64 size = max((int64)0, fCountFrames - pos);
450 int32 startFrame = max(position, buffer->offset);
/haiku/src/tests/servers/app/bitmap_drawing/
H A Dmain.cpp471 morph(double* value, double* direction, double* velocity, double min, double max) argument
478 } else if (*value > max && *direction > 0.0) {
/haiku/src/preferences/repositories/
H A DRepositoriesView.cpp110 float viewWidth = std::max(fListStatusView->StringWidth(templateText),
252 minWidth = std::max(minWidth, StringWidth(repoText.String()));
/haiku/src/apps/mandelbrot/
H A DMandelbrot.cpp186 std::max(fSelectStart.x, fSelectEnd.x),
187 std::max(fSelectStart.y, fSelectEnd.y)),
/haiku/src/apps/charactermap/
H A DCharacterWindow.cpp57 int32 min, int32 max)
58 : BSlider(name, label, NULL, min, max, B_HORIZONTAL)
56 FontSizeSlider(const char* name, const char* label, BMessage* message, int32 min, int32 max) argument
/haiku/src/system/kernel/scheduler/
H A Dscheduler_cpu.cpp242 int32 rest = std::max(pinnedPriority, sharedPriority);
328 int32 load = std::max(threadData->GetLoad(), fCore->GetLoad());
330 B_PRId32 " (max of %" B_PRId32 " %" B_PRId32 ")", load,

Completed in 306 milliseconds

<<11121314151617