Searched refs:height (Results 301 - 325 of 838) sorted by relevance

<<11121314151617181920>>

/haiku/src/apps/webpositive/
H A DDownloadWindow.cpp78 float height = Bounds().Height(); local
79 float max = minSize.height - height;
81 if (minSize.height > 0)
82 scrollBar->SetProportion(height / minSize.height);
110 scrollBar->SetSteps(item->MinSize().height + 1,
111 item->MinSize().height + 1);
401 float viewHeight = view->MinSize().height + 1;
/haiku/src/add-ons/translators/avif/
H A DAVIFTranslator.cpp271 int height = bitsHeader.bounds.IntegerHeight() + 1; local
274 avifImage* image = avifImageCreate(width, height, depth, format);
287 int bitsSize = height * bitsHeader.rowBytes;
308 int bitsSize = height * bitsHeader.rowBytes;
334 int bitsSize = height * bitsHeader.rowBytes;
442 int height = image->height; local
485 uint32 dataSize = rowBytes * height;
489 bitmapHeader.bounds.Set(0, 0, width - 1, height - 1);
/haiku/src/apps/magnify/
H A DMagnify.cpp749 TWindow::Zoom(BPoint /*position*/, float /*width*/, float /*height*/)
785 TWindow::GetPreferredSize(float* width, float* height) argument
788 *height = fVPixelCount * fPixelSize; // calc window height
791 *height += fInfoHeight + 10;
797 *height += fFontHeight;
799 *height += fFontHeight + 5;
809 float width, height; local
810 GetPreferredSize(&width, &height);
812 ResizeTo(width, height);
923 float height; local
937 float height; local
1179 FrameResized(float width, float height) argument
1295 int32 width, height; local
1473 int32 width, height; local
1820 PixelCount(int32* width, int32* height) argument
1965 FrameResized(float width, float height) argument
1973 Resize(int32 width, int32 height) argument
1985 int32 width, height; local
2041 DrawGrid(int32 width, int32 height, BRect destRect, int32 pixelSize) argument
[all...]
/haiku/src/preferences/screen/
H A DScreenMode.cpp153 return width != other.width || height != other.height
166 height = mode.virtual_height;
174 height /= 2;
405 + info.height * info.height) / 0.254) / 10.0;
490 ? mode.height * 2 : mode.height;
539 // For the mode selected by the width, height, and refresh rate, compute
542 compute_display_timing(mode.width, mode.height, mod
[all...]
/haiku/src/add-ons/accelerants/ati/
H A Daccelerant.h55 bool (*LoadCursorImage)(int width, int height, uint8* and_mask,
128 status_t SetCursorShape(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y,
165 uint16 height);
197 bool Mach64_LoadCursorImage(int width, int height, uint8* and_mask,
223 bool Rage128_LoadCursorImage(int width, int height, uint8* and_mask,
H A Drage128_draw.cpp234 int height = pList->height; local
246 src_y += height;
247 dest_y += height;
254 OUTREG(R128_DST_HEIGHT_WIDTH, ((height + 1) << 16) | (width + 1));
H A Dmach64_overlay.cpp41 int32 y2 = window->v_start + window->height - 1;
50 // height < 4; otherwise there is a possibilty of divide by zero when
60 uint32 vertScale = (buffer->height << 12) / (y2 - y1 + 1);
121 OUTREG(SCALER_HEIGHT_WIDTH, (buffer->width << 16) | buffer->height);
/haiku/src/add-ons/accelerants/s3/
H A Daccel.h53 bool (*LoadCursorImage)(int width, int height, uint8* and_mask, uint8* xor_mask);
123 status_t SetCursorShape(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y,
174 bool Savage_LoadCursorImage(int width, int height, uint8* and_mask, uint8* xor_mask);
183 bool Trio64_LoadCursorImage(int width, int height, uint8* and_mask, uint8* xor_mask);
194 bool Virge_LoadCursorImage(int width, int height, uint8* and_mask, uint8* xor_mask);
/haiku/src/apps/workspaces/
H A DWorkspaces.cpp169 virtual void FrameResized(float width, float height);
170 virtual void Zoom(BPoint origin, float width, float height);
756 float height = floor(workspaceHeight * rows); local
761 || height + 2 * borderWidth + GetTabHeight() > screenHeight) {
763 height = floor(0.95 * height);
769 frame.top = frame.bottom - height;
816 WorkspacesWindow::FrameResized(float width, float height) argument
819 BWindow::FrameResized(width, height);
835 if (height !
843 Zoom(BPoint origin, float width, float height) argument
1125 float height = maxHeight; local
[all...]
/haiku/src/add-ons/screen_savers/shelf/
H A DShelf.cpp193 float height = view->Bounds().Height();
197 font.SetSize(height / 2.5);
206 float y = ((height - (rect.Height() * 2 + height / 10)) / 2) + rect.Height();
209 fLine2Start.Set((width - rect.Width()) / 2, y + rect.Height() + height / 10);
/haiku/src/servers/app/drawing/
H A DHWInterface.h154 int32 height, color_space colorSpace);
156 int32 height, color_space space);
224 buffer_clip(int32 width, int32 height) argument
227 if (bpr > 0 && height > 0)
228 buffer = new(std::nothrow) uint8[bpr * height];
/haiku/src/tests/kits/interface/pictureprint/
H A DPreview.cpp121 void PreviewView::FrameResized(float width, float height) { argument
175 float height = PageRect().Height(); local
180 y = height - frame.Height();
194 scroll->SetProportion ((height - y) / height);
/haiku/src/add-ons/translators/ppm/
H A DPPMTranslator.cpp227 status_t read_ppm_header(BDataIO* io, int* width, int* rowbytes, int* height,
230 int* height, int* max, bool* ascii, color_space* space);
233 int height, int max, bool in_ascii, bool out_ascii, color_space in_space,
257 int width, rowbytes, height, max; local
260 status_t err = read_ppm_header(inSource, &width, &rowbytes, &height, &max,
307 int width, rowbytes, height, max; local
313 status_t err = read_ppm_header(inSource, &width, &rowbytes, &height, &max,
384 sprintf(data, "%d %d %d\n", width, height, max);
398 hdr.bounds.bottom = B_HOST_TO_BENDIAN_FLOAT(height - 1);
401 hdr.dataSize = B_HOST_TO_BENDIAN_INT32(out_rowbytes * height);
639 read_ppm_header(BDataIO* inSource, int* width, int* rowbytes, int* height, int* max, bool* ascii, color_space* space, bool* is_ppm, char** comment) argument
769 read_bits_header(BDataIO* io, int skipped, int* width, int* rowbytes, int* height, int* max, bool* ascii, color_space* space) argument
937 copy_data(BDataIO* in, BDataIO* out, int rowbytes, int out_rowbytes, int height, int max, bool in_ascii, bool out_ascii, color_space in_space, color_space out_space) argument
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/framebuffer/
H A Dframebuffer.cpp98 uint32 height, int8 depth, uint32 bytesPerRow, bool initializing)
105 size_t size = bytesPerRow * height;
127 frame_buffer_update(frameBuffer, width, height, depth,
190 bufferInfo->width, bufferInfo->height, bufferInfo->depth,
196 sharedInfo.current_mode.virtual_height = bufferInfo->height;
97 remap_frame_buffer(framebuffer_info& info, addr_t physicalBase, uint32 width, uint32 height, int8 depth, uint32 bytesPerRow, bool initializing) argument
/haiku/src/apps/terminal/
H A DBasicTerminalBuffer.cpp142 BasicTerminalBuffer::Init(int32 width, int32 height, int32 historySize) argument
147 fHeight = height;
162 fScreen = _AllocateLines(width, height);
190 BasicTerminalBuffer::ResizeTo(int32 width, int32 height) argument
192 return ResizeTo(width, height, fHistory != NULL ? fHistory->Capacity() : 0);
197 BasicTerminalBuffer::ResizeTo(int32 width, int32 height, int32 historyCapacity) argument
199 if (height < kMinRowCount || height > kMaxRowCount
204 if (width == fWidth && height == fHeight)
208 return _ResizeSimple(width, height, historyCapacit
1181 _ResizeSimple(int32 width, int32 height, int32 historyCapacity) argument
1263 _ResizeRewrap(int32 width, int32 height, int32 historyCapacity) argument
[all...]
/haiku/src/add-ons/translators/wonderbrush/
H A DCanvas.cpp161 uint32 height = bitmap->Bounds().IntegerHeight() + 1; local
162 while (height > 0) {
173 height--;
H A DWonderBrushView.cpp139 WonderBrushView::GetPreferredSize(float* width, float* height) argument
149 if (height) {
150 // take the height of the bold system font and
156 *height = 7 * ybold;
/haiku/src/kits/interface/
H A DColorMenuItem.cpp120 float height; local
121 BMenuItem::GetContentSize(&labelWidth, &height);
127 *_height = height;
/haiku/headers/libs/agg/
H A Dagg_renderer_base.h41 m_clip_box(0, 0, ren.width() - 1, ren.height() - 1)
46 m_clip_box = rect_i(0, 0, ren.width() - 1, ren.height() - 1);
55 unsigned height() const { return m_ren->height(); } function in class:agg::renderer_base
62 if(cb.clip(rect_i(0, 0, width() - 1, height() - 1)))
82 m_clip_box.y2 = height() - 1;
129 for(y = 0; y < height(); y++)
142 for(y = 0; y < height(); y++)
493 rect_i rsrc(0, 0, src.width(), src.height());
508 rect_i rc = clip_rect_area(rdst, rsrc, src.width(), src.height());
[all...]
/haiku/src/add-ons/network_settings/dialup/
H A DConnectionOptionsAddon.cpp150 ConnectionOptionsAddon::GetPreferredSize(float *width, float *height) const
159 if(height)
160 *height = rect.Height();
/haiku/src/add-ons/tracker/zipomatic/
H A DZipOMaticActivity.cpp189 Activity::FrameResized(float width, float height) argument
203 stripePoints[2].Set(fStripeWidth, height); // bottom right
204 stripePoints[3].Set(0.0, height); // bottom left
/haiku/src/tests/kits/interface/flatten_picture/
H A DPictureTestWindow.cpp68 float width, height; local
69 fHeader->GetPreferredSize(&width, &height);
70 fHeader->ResizeTo(b.Width(), height);
/haiku/src/tools/translation/pnginfo/
H A Dpnginfo.cpp136 png_uint_32 width, height; local
138 png_get_IHDR(ppng, pinfo, &width, &height, &bit_depth, &color_type,
142 printf(" height: %lu\n", height);
/haiku/src/apps/remotedesktop/
H A DRemoteDesktop.cpp28 printf("usage:\t%s <host> [-p <port>] [-w <width>] [-h <height>]\n", app);
30 " [-h <height>] [-c <command>]\n", app);
39 printf("\t-h\t\tmake the virtual desktop use the specified height\n");
40 printf("\nIf no width and height are specified, the window is opened with"
56 int32 height = -1; local
83 if (argc <= i + 1 || sscanf(argv[i + 1], "%" B_SCNd32, &height) != 1) {
193 BRect windowFrame = BRect(0, 0, width - 1, height - 1);
/haiku/src/apps/mediaplayer/
H A DMainWin.h60 void VideoFormatChange(int width, int height,
85 int& height) const;
95 int height);

Completed in 158 milliseconds

<<11121314151617181920>>