Lines Matching refs:height
28 MonitorView::MonitorView(BRect rect, const char *name, int32 width, int32 height)
33 fHeight(height),
111 float height = ceilf(fontHeight.ascent + fontHeight.descent);
117 if (width > innerRect.Width() || height > innerRect.Height())
124 innerRect.top + fontHeight.ascent + (innerRect.Height() - height) / 2));
129 MonitorView::SetResolution(int32 width, int32 height)
131 if (fWidth == width && fHeight == height)
135 fHeight = height;
143 MonitorView::SetMaxResolution(int32 width, int32 height)
145 if (fMaxWidth == width && fMaxHeight == height)
149 fMaxHeight = height;
161 int32 width, height;
163 && message->FindInt32("height", &height) == B_OK)
164 SetResolution(width, height);
208 float height = maxHeight * factorY;
211 return BRect((size.width - width) / 2, (size.height - height) / 2,
212 (size.width + width) / 2, (size.height + height) / 2);
227 double y = info.height / 2.54;