Searched refs:width (Results 176 - 200 of 1334) sorted by relevance

1234567891011>>

/haiku-fatelf/src/kits/interface/
H A DToolTipManager.cpp42 virtual void FrameResized(float width, float height);
108 ToolTipView::FrameResized(float width, float height) argument
187 if (size.width > screenFrame.Width())
188 size.width = screenFrame.Width();
190 if (size.width > where.x - screenFrame.left
191 && size.width > screenFrame.right - where.x) {
211 location.x -= size.width + offset.x;
218 location.x -= size.width / 2 - offset.x;
222 } else if (location.x + size.width > screenFrame.right) {
223 location.x = screenFrame.right - size.width;
[all...]
/haiku-fatelf/src/libs/agg/src/
H A Dagg_line_profile_aa.cpp22 void line_profile_aa::width(double w) function in class:agg::line_profile_aa
62 double width = center_width + smoother_width; local
63 if(width < m_min_width)
65 double k = width / m_min_width;
/haiku-fatelf/src/libs/pdflib/libs/pdcore/
H A Dpc_corefont.h24 /* Code interval width data structure */
28 pdc_ushort width; /* width of glyphs in the code interval */ member in struct:pdc_interwidth_s
/haiku-fatelf/src/preferences/mail/
H A DCenterContainer.cpp34 void CenterContainer::FrameResized(float width,float height) argument
40 void CenterContainer::GetPreferredSize(float *width, float *height) argument
46 if (width)
47 *width = fWidth;
/haiku-fatelf/src/servers/app/drawing/
H A DMallocBuffer.h12 MallocBuffer(uint32 width,
/haiku-fatelf/src/system/boot/arch/arm/
H A Darch_framebuffer_omap3.cpp50 status_t SetVideoMode(int width, int height, int depth);
63 short width, height; member in struct:video_mode
250 if (w <= modes[i].width
260 setreg(DISPC, DISPC_SIZE_LCD, (m->width - 1) | ((m->height - 1) << 16));
278 omap_attach_framebuffer(addr_t data, int width, int height, int depth) argument
281 uint32 gsize = ((height - 1) << 16) | (width - 1);
283 dprintf("omap3: attach bitmap (%d,%d) to screen\n", width, height);
340 gKernelArgs.frame_buffer.width = 1024;
342 gKernelArgs.frame_buffer.bytes_per_row = gKernelArgs.frame_buffer.width * 2;
344 = gKernelArgs.frame_buffer.width
356 SetVideoMode(int width, int height, int depth) argument
[all...]
/haiku-fatelf/src/tests/apps/miniterminal/
H A DViewBuffer.h7 typedef void (*resize_callback)(int32 width, int32 height, void *data);
16 status_t GetSize(int32 *width, int32 *height);
23 void FillGlyph(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr);
31 void Blit(int32 srcx, int32 srcy, int32 width, int32 height, int32 destx, int32 desty);
/haiku-fatelf/src/tools/translation/inspector/
H A DActiveTranslatorsWindow.h43 void FrameResized(float width, float height);
/haiku-fatelf/src/add-ons/accelerants/nvidia/engine/
H A Dnv_bes.c51 if ((si->overlay.ow.h_start + (si->overlay.ow.width / 2)) <
96 /* width < 2 is not allowed */
107 /* width < 2 is not allowed */
108 if (si->overlay.ow.width < 2)
115 if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) > (crtc_hend - 1))
122 if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1))
124 /* width < 2 is not allowed */
130 temp2 = ((uint16)(si->overlay.ow.h_start + si->overlay.ow.width - crtc_hstart - 1)) & 0x7ff;
210 if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1))
212 /* increase 'first contributing pixel' with 'fixed value': (total dest. width
[all...]
/haiku-fatelf/headers/libs/agg/
H A Dagg_vcgen_contour.h54 void width(double w) { m_stroker.width(m_width = w); } function in class:agg::vcgen_contour
60 double width() const { return m_width; } function in class:agg::vcgen_contour
/haiku-fatelf/src/add-ons/mail_daemon/inbound_protocols/pop3/
H A DConfigView.cpp26 void GetPreferredSize(float *width, float *height);
76 POP3ConfigView::GetPreferredSize(float* width, float* height) argument
78 BMailProtocolConfigView::GetPreferredSize(width, height);
/haiku-fatelf/src/add-ons/media/plugins/ffmpeg/
H A Dgfx_conv_c.cpp8 gfx_conv_null(AVFrame *in, AVFrame *out, int width, int height) argument
15 gfx_conv_yuv410p_ycbcr422_c(AVFrame *in, AVFrame *out, int width, int height) argument
78 gfx_conv_yuv411p_ycbcr422_c(AVFrame *in, AVFrame *out, int width, int height) argument
82 gfx_conv_yuv410p_ycbcr422_c(in, out, width, height);
87 gfx_conv_yuv420p_ycbcr422_c(AVFrame *in, AVFrame *out, int width, int height) argument
138 gfx_conv_yuv410p_rgb32_c(AVFrame *in, AVFrame *out, int width, int height) argument
140 gfx_conv_null(in, out, width, height);
145 gfx_conv_yuv411p_rgb32_c(AVFrame *in, AVFrame *out, int width, int height) argument
147 gfx_conv_null(in, out, width, height);
174 gfx_conv_YCbCr422_RGB32_c(AVFrame *in, AVFrame *out, int width, in argument
[all...]
/haiku-fatelf/src/apps/charactermap/
H A DUnicodeBlockView.cpp110 float width = StringWidth(item->Text()); local
111 if (minWidth < width)
112 minWidth = width;
/haiku-fatelf/src/apps/mediaplayer/interface/
H A DPeakView.h52 virtual void FrameResized(float width, float height);
66 void _ResizeBackBitmap(int32 width, int32 channels);
68 void _RenderSpan(uint8* span, uint32 width,
/haiku-fatelf/src/bin/less/
H A Dscrsize.c71 win_attributes.width -= hints.base_width;
75 win_attributes.width -= hints.min_width;
78 *p_width = win_attributes.width / hints.width_inc;
/haiku-fatelf/src/libs/pdflib/bind/pdflib/python/
H A Dquickreference.py14 width = 500.0 variable
48 PDF_begin_page(p, width, height)
63 width/maxcol*col, (row + 1) * height/maxrow, optlist)
/haiku-fatelf/src/tests/kits/interface/bbitmap/
H A DBBitmapTester.cpp33 get_bytes_per_row(color_space colorSpace, int32 width) argument
46 bpr = 4 * width;
51 bpr = 3 * width;
55 bpr = 2 * width;
58 bpr = width;
61 bpr = (width + 7) / 8;
64 bpr = (width + 3) / 4 * 8;
67 bpr = (width + 3) / 4 * 6;
70 bpr = (width + 3) / 4 * 12;
73 bpr = (width
185 int32 width = testCase.bounds.IntegerWidth() + 1; local
[all...]
/haiku-fatelf/src/add-ons/accelerants/vesa/
H A Dhooks.cpp56 vesa_allocate_overlay_buffer(color_space colorSpace, uint16 width, argument
59 debug_printf("allocate_overlay_buffer(width %u, height %u, colorSpace %u)\n",
60 width, height, colorSpace);
67 buffer->width = width;
103 constraints->view.width.min = 4;
105 constraints->view.width.max = buffer->width;
113 constraints->window.width.min = 2;
114 constraints->window.width
167 vesa_set_cursor_shape(uint16 width, uint16 height, uint16 hotX, uint16 hotY, const uint8* andMask, const uint8* xorMask) argument
175 vesa_set_cursor_bitmap(uint16 width, uint16 height, uint16 hotX, uint16 hotY, color_space colorSpace, uint16 bytesPerRow, const uint8* bitmapData) argument
[all...]
/haiku-fatelf/src/add-ons/accelerants/matrox/
H A DOverlay.c78 const overlay_buffer *ALLOCATE_OVERLAY_BUFFER(color_space cs, uint16 width, uint16 height) argument
112 if (width == (width & ~0x0007))
114 si->overlay.myBuffer[offset].width = width;
118 si->overlay.myBuffer[offset].width = (width & ~0x0007) + 8;
120 si->overlay.myBuffer[offset].bytes_per_row = 2 * si->overlay.myBuffer[offset].width;
125 if (si->overlay.myBuffer[offset].width > 4088)
141 /* if (width
[all...]
/haiku-fatelf/src/documentation/docbook-xsl/slides/browser/
H A DxbStyle-css.js147 function cssStyleSetClipWidth(width)
151 rect.setWidth(width);
462 var width = this.getEffectiveValue('width');
464 if (typeof(width) == 'number')
466 // note Opera 6 has a bug in width and offsetWidth where
467 // it returns the page width. Use clientWidth instead.
471 return width;
474 if (width == '' || width
[all...]
/haiku-fatelf/src/tests/servers/app/painter/
H A Dmain.cpp23 test_straight_lines(Surface& s, uint32 width, uint32 height) argument
37 s.StrokeLine(BPoint(0, y), BPoint(width - 1, y), pat);
39 for (uint32 x = 0; x <= width; x += 5) {
51 test_fill_rect(Surface& s, uint32 width, uint32 height) argument
66 for (uint32 x = 10; x <= width; x += 20) {
80 test_ellipses(Surface& s, uint32 width, uint32 height) argument
93 BPoint center(floorf(width / 2.0), floorf(height / 2.0));
94 float xRadius = width / 2.0;
111 test_lines(Surface& s, uint32 width, uint32 height) argument
125 s.StrokeLine(BPoint(0, 0), BPoint(width,
141 test(Surface& s, uint32 width, uint32 height, BBitmap* testBitmap) argument
332 uint32 width = buffer->Width(); local
[all...]
/haiku-fatelf/src/apps/drivesetup/
H A DPartitionList.cpp74 PartitionColumn::PartitionColumn(const char* title, float width, float minWidth, argument
77 Inherited(title, width, minWidth, maxWidth, align),
98 float width = 0.0; local
105 width = rect.right - (x + r.Width()) - (2 * sTextMargin);
106 r.Set(x + r.Width(), rect.top, rect.right - width, rect.bottom);
111 width = (x - rect.left - (2 * sTextMargin));
112 r.Set(rect.left, rect.top, rect.left + width, rect.bottom);
116 if (width != bitmapField->Width()) {
118 parent->TruncateString(&truncatedString, fTruncateMode, width + 2);
120 bitmapField->SetWidth(width);
135 float width = rect.Width() - (2 * sTextMargin); local
158 float width = 0.0; local
[all...]
/haiku-fatelf/src/add-ons/accelerants/skeleton/engine/
H A Dbes.c51 if ((si->overlay.ow.h_start + (si->overlay.ow.width / 2)) <
96 /* width < 2 is not allowed */
107 /* width < 2 is not allowed */
108 if (si->overlay.ow.width < 2)
115 if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) > (crtc_hend - 1))
122 if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1))
124 /* width < 2 is not allowed */
130 temp2 = ((uint16)(si->overlay.ow.h_start + si->overlay.ow.width - crtc_hstart - 1)) & 0x7ff;
210 if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1))
212 /* increase 'first contributing pixel' with 'fixed value': (total dest. width
[all...]
/haiku-fatelf/src/add-ons/translators/ico/
H A DICO.cpp127 get_bytes_per_row(int32 width, int32 bitsPerPixel) argument
129 return (((bitsPerPixel * width + 7) / 8) + 3) & ~3;
254 int32 width, int32 height, int32 bytesPerRow)
257 for (int32 x = 0; x < width; x++) {
278 int32 xorRowBytes = get_bytes_per_row(entry.width, header.bits_per_pixel);
281 andRowBytes = get_bytes_per_row(entry.width, 1);
282 int32 outRowBytes = entry.width * 4;
318 for (uint32 x = 0; x < entry.width; x++) {
390 int32 xorRowBytes = get_bytes_per_row(entry.width, bitsPerPixel);
391 int32 andRowBytes = get_bytes_per_row(entry.width,
253 has_true_alpha_channel(color_space space, uint8 *data, int32 width, int32 height, int32 bytesPerRow) argument
665 int32 width = bitsHeader.bounds.IntegerWidth() + 1; local
[all...]
/haiku-fatelf/src/add-ons/media/media-add-ons/radeon/
H A DVideoIn.cpp42 int width, height; member in struct:__anon2577::__anon2578
46 int width, height; member in struct:__anon2577::__anon2579
50 int width, height; member in struct:__anon2577::__anon2580
148 video_in_capture_mode mode, int width, int height)
153 mode == C_VIDEO_IN_BOB ? "C_VIDEO_IN_BOB" : "C_VIDEO_IN_WEAVE", width, height);
162 width = Clamp(width, 0, kTiming[standard].active.width);
166 width = Clamp(width,
147 Start(video_in_source source, video_in_standard standard, video_in_capture_mode mode, int width, int height) argument
[all...]

Completed in 138 milliseconds

1234567891011>>