Searched refs:width (Results 101 - 125 of 1334) sorted by relevance

1234567891011>>

/haiku-fatelf/src/libs/glut/
H A Dglut_vidresize.c142 int x, y, width, height; local
145 videoResizeChannel, &x, &y, &width, &height);
152 return width;
194 glutVideoResize(int x, int y, int width, int height) argument
206 videoResizeChannel, x, y, width, height);
213 glutVideoPan(int x, int y, int width, int height) argument
228 videoResizeChannel, x, y, width, height);
/haiku-fatelf/src/preferences/screen/
H A DRefreshWindow.cpp51 float width, height; local
52 fRefreshSlider->GetPreferredSize(&width, &height);
72 width = stringView->Bounds().Width() + 100;
73 if (width < Bounds().Width())
74 width = Bounds().Width();
77 ResizeTo(width, height);
78 MoveTo(position.x - width / 2.5f, position.y - height / 1.9f);
/haiku-fatelf/src/system/boot/platform/openfirmware/
H A Dvideo.cpp23 uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top)
64 uint32 width, height;
65 if (of_call_method(sScreen, "dimensions", 0, 2, &height, &width)
67 if (of_getprop(package, "width", &width, sizeof(int32)) == OF_FAILED)
85 gKernelArgs.frame_buffer.width = width;
90 dprintf("video mode: %ux%ux%u\n", gKernelArgs.frame_buffer.width,
22 platform_blit4(addr_t frameBuffer, const uint8 *data, uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top) argument
/haiku-fatelf/src/tests/kits/game/set_mouse_position_test/
H A Dtest_mouse.cpp22 int32 height, width; variable
44 for (int32 t = (width); t > 0; t--)
53 for (int32 t = 0; t < (width); t++)
75 double xplus = (double)width/y;
116 //save screenwidth and screenheight in height and width
118 width = int32(screenBounds.right - screenBounds.left) - 5;
125 mouse_move_diagonal1(width,height);
127 mouse_move_down(width);
/haiku-fatelf/src/add-ons/media/plugins/ffmpeg/
H A Dgfx_util.cpp25 resolve_colorspace(color_space colorSpace, PixelFormat pixelFormat, int width, argument
45 if (cpu.HasSSSE3() && width % 8 == 0 && height % 2 == 0) {
48 } else if (cpu.HasSSE2() && width % 8 == 0 && height % 2 == 0) {
51 } else if (cpu.HasSSE1() && width % 4 == 0
63 if (cpu.HasSSSE3() && width % 8 == 0) {
66 } else if (cpu.HasSSE2() && width % 8 == 0) {
69 } else if (cpu.HasSSE1() && width % 4 == 0) {
80 if (cpu.HasSSSE3() && width % 8 == 0) {
82 } else if (cpu.HasSSE2() && width % 8 == 0) {
84 } else if (cpu.HasSSE1() && width
[all...]
/haiku-fatelf/src/add-ons/translators/png/
H A DPNGTranslator.cpp338 png_uint_32 width, height; local
340 png_get_IHDR(ppng, pinfo, &width, &height, &bit_depth, &color_type,
388 if (rowbytes < kbytes * width)
389 rowbytes = kbytes * width;
398 bitsHeader.bounds.right = width - 1;
400 bitsHeader.rowBytes = 4 * width;
428 outDestination->Write(prow, width * kbytes);
461 outDestination->Write(prows[i], width * kbytes);
509 // Convert width pixels from pbits to PNG format, storing the
513 uint32 width, cons
512 pix_bits_to_png(uint8 *pbits, uint8 *ppng, color_space fromspace, uint32 width, const color_map *pmap, int32 bitsBytesPerPixel) argument
727 png_uint_32 width, height; local
[all...]
/haiku-fatelf/src/system/boot/platform/generic/
H A Dvideo_splash.cpp123 int width = min_c(kSplashLogoWidth, gKernelArgs.frame_buffer.width); local
129 int x = (gKernelArgs.frame_buffer.width - width) * placementX / 100;
137 video_blit_image(frameBuffer, uncompressedLogo, width, height,
175 width = min_c(kSplashIconsWidth, gKernelArgs.frame_buffer.width);
181 x = (gKernelArgs.frame_buffer.width - width) * placementX / 100;
186 video_blit_image(frameBuffer, lowerHalfIconImage, width, heigh
[all...]
/haiku-fatelf/headers/private/graphics/
H A Dvideo_overlay.h34 uint16 width; /* width in pixels */ member in struct:__anon976
44 uint16 width; member in struct:__anon977
65 uint16 width; /* un-clipped width of the overlay window */ member in struct:__anon980
95 overlay_uint16_minmax width; /* min and max sizes in each axis */ member in struct:__anon983
111 typedef const overlay_buffer *(*allocate_overlay_buffer)(color_space cs, uint16 width, uint16 height);
/haiku-fatelf/src/add-ons/media/media-add-ons/usb_webcam/
H A DCamSensor.cpp74 CamSensor::AcceptVideoFrame(uint32 &width, uint32 &height) argument
77 if (width < 1)
78 width = MaxWidth();
81 if (width > MaxWidth())
82 width = MaxWidth();
/haiku-fatelf/src/tests/servers/app/bitmap_bounds/
H A Dmain.cpp42 uint32 width = fBitmap->Bounds().IntegerWidth() + 1; local
48 for (uint32 x = 0; x < width; x++) {
59 b[(width - 1) * 4 + 0] = 0;
60 b[(width - 1) * 4 + 1] = 0;
65 for (uint32 x = 0; x < width; x++) {
/haiku-fatelf/src/add-ons/opengl/swpipe/
H A Dbitmap_wrapper.cpp26 create_bitmap(int32 width, int32 height, color_space colorSpace) argument
28 BBitmap *bb = new BBitmap(BRect(0, 0, width, height), colorSpace);
36 get_bitmap_size(const Bitmap* bitmap, int32* width, int32* height) argument
39 if (bb && width && height) {
42 *width = w;
/haiku-fatelf/src/apps/debuganalyzer/gui/table/
H A DTableColumns.cpp18 int32 modelIndex, float width, float minWidth, float maxWidth,
21 TableColumn(modelIndex, width, minWidth, maxWidth, align),
66 float width, float minWidth, float maxWidth, uint32 truncate,
69 DelegateBasedTableColumn(&fColumn, modelIndex, width, minWidth, maxWidth,
71 fColumn(title, width, minWidth, maxWidth, truncate, align),
102 float width, float minWidth, float maxWidth, const BString& trueString,
105 StringTableColumn(modelIndex, title, width, minWidth, maxWidth, truncate,
134 float width, float minWidth, float maxWidth, uint32 truncate,
137 StringTableColumn(modelIndex, title, width, minWidth, maxWidth, truncate,
164 float width, floa
17 DelegateBasedTableColumn(BColumn* columnDelegate, int32 modelIndex, float width, float minWidth, float maxWidth, alignment align) argument
65 StringTableColumn(int32 modelIndex, const char* title, float width, float minWidth, float maxWidth, uint32 truncate, alignment align) argument
101 BoolStringTableColumn(int32 modelIndex, const char* title, float width, float minWidth, float maxWidth, const BString& trueString, const BString& falseString, uint32 truncate, alignment align) argument
133 Int32TableColumn(int32 modelIndex, const char* title, float width, float minWidth, float maxWidth, uint32 truncate, alignment align) argument
163 Int64TableColumn(int32 modelIndex, const char* title, float width, float minWidth, float maxWidth, uint32 truncate, alignment align) argument
196 BigtimeTableColumn(int32 modelIndex, const char* title, float width, float minWidth, float maxWidth, bool invalidFirst, uint32 truncate, alignment align) argument
244 NanotimeTableColumn(int32 modelIndex, const char* title, float width, float minWidth, float maxWidth, bool invalidFirst, uint32 truncate, alignment align) argument
[all...]
/haiku-fatelf/src/system/libroot/posix/glibc/stdio-common/
H A Dvfscanf.c61 #define WIDTH 0x040 /* width was given */
272 register int width; /* Maximum field width. */ local
493 /* Oops; that was actually the field width. */
494 width = argpos;
517 /* We have seen width. */
521 /* Find the maximum field width. */
522 width = 0;
525 width *= 10;
526 width
[all...]
/haiku-fatelf/src/bin/network/tcpdump/libpcap/missing/
H A Dsnprintf.c135 int width, int prec, int flags, int minusp)
166 width -= len;
168 width--;
169 while(width-- > 0){
204 width -= len;
205 while(width-- > 0){
224 int width,
229 width -= prec;
231 width -= strlen((char *)arg);
233 while(width
133 append_number(struct state *state, unsigned long num, unsigned base, char *rep, int width, int prec, int flags, int minusp) argument
222 append_string(struct state *state, unsigned char *arg, int width, int prec, int flags) argument
253 append_char(struct state *state, unsigned char arg, int width, int flags) argument
296 int width = 0; local
[all...]
/haiku-fatelf/src/bin/network/tcpdump/missing/
H A Dsnprintf.c135 int width, int prec, int flags, int minusp)
166 width -= len;
168 width--;
169 while(width-- > 0){
204 width -= len;
205 while(width-- > 0){
224 int width,
229 width -= prec;
231 width -= strlen((char *)arg);
233 while(width
133 append_number(struct state *state, unsigned long num, unsigned base, char *rep, int width, int prec, int flags, int minusp) argument
222 append_string(struct state *state, unsigned char *arg, int width, int prec, int flags) argument
253 append_char(struct state *state, unsigned char arg, int width, int flags) argument
296 int width = 0; local
[all...]
/haiku-fatelf/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_radiotap.c266 size_t align, width; member in struct:__anon4730
270 .width = sizeof(uint64_t),
274 .width = sizeof(uint8_t),
278 .width = sizeof(uint8_t),
282 .width = 2*sizeof(uint16_t),
286 .width = sizeof(uint16_t),
290 .width = sizeof(uint8_t),
294 .width = sizeof(uint8_t),
298 .width = sizeof(uint16_t),
302 .width
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dui-out.c37 int width; member in struct:ui_out_hdr
157 static void default_table_header (struct ui_out *uiout, int width,
166 static void default_field_int (struct ui_out *uiout, int fldno, int width,
170 static void default_field_skip (struct ui_out *uiout, int fldno, int width,
173 static void default_field_string (struct ui_out *uiout, int fldno, int width,
178 int width, enum ui_align align,
233 static void uo_table_header (struct ui_out *uiout, int width,
242 static void uo_field_int (struct ui_out *uiout, int fldno, int width,
244 static void uo_field_skip (struct ui_out *uiout, int fldno, int width,
246 static void uo_field_string (struct ui_out *uiout, int fldno, int width,
340 ui_out_table_header(struct ui_out *uiout, int width, enum ui_align alignment, const char *col_name, const char *colhdr) argument
390 int width; local
461 int width; local
478 int width; local
529 int width; local
543 int width; local
559 int width; local
767 default_table_header(struct ui_out *uiout, int width, enum ui_align alignment, const char *col_name, const char *colhdr) argument
789 default_field_int(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, int value) argument
796 default_field_skip(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname) argument
802 default_field_string(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *string) argument
812 default_field_fmt(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *format, va_list args) argument
876 uo_table_header(struct ui_out *uiout, int width, enum ui_align align, const char *col_name, const char *colhdr) argument
907 uo_field_int(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, int value) argument
917 uo_field_skip(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname) argument
926 uo_field_string(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *string) argument
937 uo_field_fmt(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *format, va_list args) argument
1020 append_header_to_list(struct ui_out *uiout, int width, int alignment, const char *col_name, const char *colhdr) argument
1060 get_next_header(struct ui_out *uiout, int *colno, int *width, int *alignment, char **colhdr) argument
1084 verify_field(struct ui_out *uiout, int *fldno, int *width, int *align) argument
[all...]
/haiku-fatelf/src/add-ons/translators/webp/libwebp/enc/
H A Dpicture.c25 const int width = picture->width; local
27 const int uv_width = (width + 1) / 2;
29 const uint64_t y_size = (uint64_t)width * height;
38 picture->y_stride = width;
66 memcpy(dst->y + y * dst->y_stride, src->y + y * src->y_stride, src->width);
70 src->u + y * src->uv_stride, (src->width + 1) / 2);
72 src->v + y * src->uv_stride, (src->width + 1) / 2);
78 int left, int top, int width, int height) {
83 if (width <
77 WebPPictureCrop(WebPPicture* const pic, int left, int top, int width, int height) argument
267 Encode(const uint8_t* rgb, int width, int height, int stride, Importer import, float quality_factor, uint8_t** output) argument
[all...]
/haiku-fatelf/src/add-ons/accelerants/ati/
H A Drage128_overlay.cpp107 int32 horzInc = (buffer->width << (12 + ecpDiv)) / window->width;
118 int32 x2 = window->h_start + window->width;
149 int32 width = window->width; local
151 OUTREG(R128_OV0_P1_X_START_END, (width - 1) | (left << 16));
152 width >>= 1;
153 OUTREG(R128_OV0_P2_X_START_END, (width - 1) | (left << 16));
154 OUTREG(R128_OV0_P3_X_START_END, (width - 1) | (left << 16));
/haiku-fatelf/src/apps/icon-o-matic/generic/property/view/
H A DPropertyItemView.cpp87 PropertyItemView::FrameResized(float width, float height) argument
91 fEditorView->ResizeTo(width - fLabelWidth, height);
157 float width = 0.0; local
159 width = ceilf(StringWidth(name_for_id(property->Identifier())) + 10.0);
160 return width;
165 PropertyItemView::SetLabelWidth(float width) argument
167 if (width < 0.0)
168 width = 0.0;
169 /* if (fEditorView && width > Bounds().Width() - fEditorView->Bounds().Width())
170 width
[all...]
/haiku-fatelf/src/apps/terminal/
H A DTerminalBuffer.cpp38 TerminalBuffer::Init(int32 width, int32 height, int32 historySize) argument
43 fAlternateScreen = _AllocateLines(width, height);
50 return BasicTerminalBuffer::Init(width, height, historySize);
158 TerminalBuffer::ResizeTo(int32 width, int32 height) argument
166 return ResizeTo(width, height, historyCapacity);
171 TerminalBuffer::ResizeTo(int32 width, int32 height, int32 historyCapacity) argument
182 status_t error = BasicTerminalBuffer::ResizeTo(width, height,
199 error = BasicTerminalBuffer::ResizeTo(width, height, 0);
201 fWidth = width;
/haiku-fatelf/src/bin/coreutils/lib/
H A Dmbsalign.c1 /* Align/Truncate a string in a given screen width
54 /* Truncate wchar string to width cells.
58 wc_truncate (wchar_t *wc, size_t width) argument
71 if (cells + next_cells > width)
132 size_t *width, mbs_align_t align, int flags _UNUSED_PARAMETER_)
168 if (conversion || (n_cols > *width))
176 n_cols = wc_truncate (str_wc, *width);
181 n_cols = *width;
188 if (*width > n_cols)
189 n_spaces = *width
131 mbsalign(const char *src, char *dest, size_t dest_size, size_t *width, mbs_align_t align, int flags _UNUSED_PARAMETER_) argument
[all...]
/haiku-fatelf/src/libs/icon/transformer/
H A DContourTransformer.cpp55 if (archive->FindDouble("width", &value) == B_OK)
56 width(value);
78 clone->width(width());
113 double factor = fabs(width());
139 ret = into->AddDouble("width", width());
158 // width
159 object->AddProperty(new FloatProperty(PROPERTY_WIDTH, width()));
188 // width
[all...]
/haiku-fatelf/src/tests/kits/opengl/direct_mode/
H A DGLDirectMode.cpp28 void gReshape(int width, int height);
30 float width; member in class:SampleGLView
124 width = frame.right-frame.left;
134 gReshape(width, height);
146 width = newWidth;
149 gReshape(width,height);
218 void SampleGLView::gReshape(int width, int height) argument
220 glViewport(0, 0, width, height);
224 gluPerspective(45, width / (float) height, 1, 500);
/haiku-fatelf/src/kits/tracker/
H A DOverrideAlert.cpp48 button_width width, alert_type type)
49 : BAlert(title, text, button1, button2, button3, width, type),
66 button_width width, button_spacing spacing, alert_type type)
67 : BAlert(title, text, button1, button2, button3, width, spacing, type),
100 OverrideAlert::OverPosition(float width, float height) argument
122 desirableRect.left = midX - ceilf(width / 2.0f);
123 desirableRect.right = desirableRect.left+width;
134 desirableRect.left = midX - ceilf(width / 2.0f);
135 desirableRect.right = desirableRect.left + width;
44 OverrideAlert(const char* title, const char* text, const char* button1, uint32 modifiers1, const char* button2, uint32 modifiers2, const char* button3, uint32 modifiers3, button_width width, alert_type type) argument
62 OverrideAlert(const char* title, const char* text, const char* button1, uint32 modifiers1, const char* button2, uint32 modifiers2, const char* button3, uint32 modifiers3, button_width width, button_spacing spacing, alert_type type) argument

Completed in 232 milliseconds

1234567891011>>