Searched refs:viewHeight (Results 1 - 12 of 12) sorted by relevance

/haiku/src/apps/haikudepot/ui_generic/
H A DScrollableGroupView.cpp50 float viewHeight = Bounds().Height(); local
52 float max = layoutHeight- viewHeight;
55 scrollBar->SetProportion(viewHeight / layoutHeight);
/haiku/src/add-ons/screen_savers/debugnow/
H A DDebugNow.cpp62 float viewHeight = view->Bounds().Height(); local
66 font.SetSize(viewHeight / 3);
74 float y = ((viewHeight - (stringRect.Height() * 2 + viewHeight / 10)) / 2)
80 y + stringRect.Height() + viewHeight / 10);
/haiku/src/add-ons/screen_savers/spider/
H A DSpiderView.cpp48 float viewHeight = floorf(frame.Height() / 5.0); local
74 frame.bottom = frame.top + viewHeight;
77 frame.OffsetBy(0.0f, viewHeight);
87 frame.OffsetBy(0.0f, viewHeight);
97 frame.OffsetBy(0.0f, viewHeight);
168 frame.OffsetBy(0.0f, viewHeight);
/haiku/src/apps/webpositive/
H A DDownloadWindow.cpp401 float viewHeight = view->MinSize().height + 1; local
402 float scrollOffset = min + index * viewHeight;
407 else if (scrollOffset + viewHeight > value + scrollBarHeight) {
408 float diff = scrollOffset + viewHeight - (value + scrollBarHeight);
/haiku/src/apps/haikudepot/textview/
H A DTextDocumentView.cpp493 long viewHeight = bounds.IntegerHeight(); local
497 long maxRange = dataHeight - viewHeight;
501 verticalScrollBar->SetProportion((float)viewHeight / dataHeight);
502 verticalScrollBar->SetSteps(kVerticalScrollBarStep, viewHeight);
/haiku/src/tests/kits/interface/menu/menuworld/
H A DMenuView.cpp200 float viewHeight = 16*itemHeight; local
202 viewHeight + B_H_SCROLL_BAR_HEIGHT + 4);
/haiku/src/apps/cortex/TransportView/
H A DTransportView.cpp1311 float viewHeight = row3_y + lineHeight + _control_pad_y + _edge_pad_y; local
1416 float targetHeight = (b.Height() < viewHeight) ?
1417 viewHeight :
/haiku/src/apps/icon-o-matic/import_export/svg/
H A Dnanosvg.h455 float viewMinx, viewMiny, viewWidth, viewHeight; member in struct:NSVGparser
780 return p->viewHeight;
2521 p->viewHeight = nsvg__atof(buf);
2804 if (p->viewHeight == 0) {
2806 p->viewHeight = p->image->height;
2809 p->viewHeight = bounds[3] - bounds[1];
2815 p->image->height = p->viewHeight;
2820 sy = p->viewHeight > 0 ? p->image->height / p->viewHeight : 0;
2829 ty += nsvg__viewAlign(p->viewHeight*s
[all...]
/haiku/src/apps/terminal/
H A DTermWindow.cpp1383 float viewWidth, viewHeight; local
1384 containerView->GetPreferredSize(&viewWidth, &viewHeight);
1388 viewHeight + fMenuBar->Bounds().Height() + 1);
H A DTermView.cpp1282 float viewHeight = fRows * fFontHeight; local
1290 fScrollBar->SetProportion(viewHeight / (viewHeight + historyHeight));
/haiku/src/kits/interface/
H A DTextView.cpp5053 long viewHeight = bounds.IntegerHeight(); local
5056 long maxRange = dataHeight - viewHeight;
5060 verticalScrollBar->SetProportion((float)viewHeight
5063 viewHeight);
5083 long viewHeight = bounds.IntegerHeight(); local
5088 float maxHeight = fTextRect.bottom + fLayoutData->bottomInset - viewHeight;
/haiku/src/apps/mediaplayer/
H A DMainWin.cpp2049 int viewHeight = fVideoView->Bounds().IntegerHeight() + 1; local
2052 int heightPercent = viewHeight * 100 / videoHeight;

Completed in 102 milliseconds