Lines Matching refs:height
28 MonitorView::MonitorView(BRect rect, const char *name, int32 width, int32 height)
33 fHeight(height),
108 float height = ceilf(fontHeight.ascent + fontHeight.descent);
114 if (width > innerRect.Width() || height > innerRect.Height())
121 innerRect.top + fontHeight.ascent + (innerRect.Height() - height) / 2));
126 MonitorView::SetResolution(int32 width, int32 height)
128 if (fWidth == width && fHeight == height)
132 fHeight = height;
140 MonitorView::SetMaxResolution(int32 width, int32 height)
142 if (fMaxWidth == width && fMaxHeight == height)
146 fMaxHeight = height;
164 int32 width, height;
166 && message->FindInt32("height", &height) == B_OK)
167 SetResolution(width, height);
211 float height = maxHeight * factorY;
214 return BRect((size.width - width) / 2, (size.height - height) / 2,
215 (size.width + width) / 2, (size.height + height) / 2);
230 double y = info.height / 2.54;