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

1234567891011>>

/haiku/src/add-ons/accelerants/nvidia/
H A DOverlay.c72 const overlay_buffer *ALLOCATE_OVERLAY_BUFFER(color_space cs, uint16 width, argument
104 si->overlay.myBuffer[offset].width = ((width + 0x000f) & ~0x000f);
109 si->overlay.myBuffer[offset].width = ((width + 0x001f) & ~0x001f);
111 si->overlay.myBuffer[offset].bytes_per_row = 2 * si->overlay.myBuffer[offset].width;
115 if (si->overlay.myBuffer[offset].width > 4088)
142 /* check if the requested buffer width is supported */
143 if (si->overlay.myBuffer[offset].width > 1024) {
144 LOG(4, ("Overlay: Sorry, requested buffer width no
[all...]
H A DCursor.c14 status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask) argument
16 LOG(4,("SET_CURSOR_SHAPE: width %d, height %d, hot_x %d, hot_y %d\n",
17 width, height, hot_x, hot_y));
19 if ((width != 16) || (height != 16))
23 else if ((hot_x >= width) || (hot_y >= height))
34 si->cursor.width = width;
/haiku/src/add-ons/accelerants/matrox/
H A DCursor.c25 status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask) argument
27 LOG(4,("SET_CURSOR_SHAPE: width %d, height %d\n", width, height));
28 if ((width != 16) || (height != 16))
32 else if ((hot_x >= width) || (hot_y >= height))
41 si->cursor.width = width;
/haiku/src/add-ons/accelerants/skeleton/
H A DCursor.c14 status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask) argument
16 LOG(4,("SET_CURSOR_SHAPE: width %d, height %d, hot_x %d, hot_y %d\n",
17 width, height, hot_x, hot_y));
19 if ((width != 16) || (height != 16))
23 else if ((hot_x >= width) || (hot_y >= height))
34 si->cursor.width = width;
/haiku/src/add-ons/accelerants/via/
H A DCursor.c14 status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask) argument
16 LOG(4,("SET_CURSOR_SHAPE: width %d, height %d, hot_x %d, hot_y %d\n",
17 width, height, hot_x, hot_y));
19 if ((width != 16) || (height != 16))
23 else if ((hot_x >= width) || (hot_y >= height))
34 si->cursor.width = width;
/haiku/src/add-ons/kernel/console/vga_text/
H A Dvga_text.c69 get_size(int32 *width, int32 *height) argument
71 *width = COLUMNS;
104 fill_glyph(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr) argument
111 uint16 *p_limit = p + width;
119 blit(int32 srcx, int32 srcy, int32 width, int32 height, int32 destx, int32 desty) argument
121 if ((srcx == 0) && (width == COLUMNS)) {
/haiku/src/apps/icon-o-matic/generic/gui/
H A DGroup.cpp38 Group::FrameResized(float width, float height) argument
48 Group::GetPreferredSize(float* width, float* height) argument
52 if (width)
53 *width = r.Width();
133 float width = resizeWidth ? frame.Width() : view->Bounds().Width(); local
136 view->ResizeTo(width, height);
/haiku/headers/libs/print/libprint/
H A DGraphicsDriver.h62 static void ConvertToRGB24(const void* src, void* dst, int width,
64 static void ConvertToGray(const void* src, void* dst, int width,
90 static void _ConvertRGB32ToRGB24(const void* src, void* dst, int width);
91 static void _ConvertCMAP8ToRGB24(const void* src, void* dst, int width);
93 static void _ConvertRGB32ToGray(const void* src, void* dst, int width);
94 static void _ConvertCMAP8ToGray(const void* src, void* dst, int width);
/haiku/headers/libs/agg/
H A Dagg_gsv_text.h51 void size(double height, double width=0.0);
119 void width(double w) function in class:agg::gsv_text_outline
121 m_polyline.width(w);
/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/
H A DIconValueView.cpp103 uint32 width, uint32 height, color_space format)
106 if (bitsFromQuickRes && width > 0 && height > 0) {
108 fIcon = new BBitmap(BRect(0.0, 0.0, width - 1.0, height - 1.0), format);
102 SetIcon(const unsigned char* bitsFromQuickRes, uint32 width, uint32 height, color_space format) argument
/haiku/src/tests/apps/miniterminal/
H A DArguments.cpp25 " -s <width> <height> - open the terminal window with width <width> and\n"
88 float width, height; local
90 || sscanf(argv[argi++], "%f", &width) != 1
95 fBounds.right = fBounds.left + width;
H A DViewBuffer.cpp78 ViewBuffer::FrameResized(float width, float height) argument
83 fColumns = (int32)width / CHAR_WIDTH;
112 ViewBuffer::GetSize(int32 *width, int32 *height) argument
114 *width = fColumns;
160 ViewBuffer::FillGlyph(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr) argument
165 int32 left = x + width;
256 ViewBuffer::Blit(int32 srcx, int32 srcy, int32 width, int32 height, int32 destx, int32 desty) argument
271 src += width - 1;
291 for (int32 x = 0; x < width; x++) {
302 width *
[all...]
/haiku/src/tools/cppunit/
H A DTestListener.cpp67 cout.width(2);
74 cout.width(2);
81 cout.width(2);
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DColorSlider.h43 virtual void FrameResized(float width, float height);
69 void _AllocBitmap(int32 width, int32 height);
77 static inline void _DrawColorLineY(uint8* bits, int width,
/haiku/src/servers/app/drawing/
H A DBitmapDrawingEngine.cpp83 BitmapDrawingEngine::ExportToBitmap(int32 width, int32 height, argument
86 if (width <= 0 || height <= 0)
90 width - 1, height - 1), space, 0);
/haiku/src/libs/icon/
H A DIconUtils.cpp357 uint32 width = temp.Bounds().IntegerWidth() + 1; local
360 result = ConvertToCMAP8((uint8*)temp.Bits(), width, height,
484 uint32 width = temp->Bounds().IntegerWidth() + 1; local
487 result = ConvertToCMAP8(src, width, height, srcBPR, icon);
702 uint32 width = source->Bounds().IntegerWidth() + 1; local
705 return ConvertFromCMAP8(src, width, height, srcBPR, destination);
727 uint32 width = source->Bounds().IntegerWidth() + 1; local
730 return ConvertToCMAP8(src, width, height, srcBPR, destination);
735 BIconUtils::ConvertFromCMAP8(const uint8* src, uint32 width, uint32 height, argument
757 if (dstWidth < width || dstHeigh
880 ConvertToCMAP8(const uint8* src, uint32 width, uint32 height, uint32 srcBPR, BBitmap* icon) argument
[all...]
/haiku/src/apps/networkstatus/
H A DWirelessNetworkMenuItem.cpp82 WirelessNetworkMenuItem::GetContentSize(float* width, float* height) argument
84 BMenuItem::GetContentSize(width, height);
85 *width += *height + 4;
/haiku/src/apps/mediaconverter/
H A DMediaFileInfoView.cpp192 float width = 0; local
194 width = max_c(font.StringWidth(strings[i]), width);
196 return ceilf(width);
214 fMinSize.width = fNoFileLabelWidth + kSpacing * 2;
220 fMinSize.width = ceilf(bold.StringWidth(fRef.name));
226 fMinSize.width = max_c(fMinSize.width, fMaxLabelWidth
228 fMinSize.width += kSpacing;
/haiku/src/apps/icon-o-matic/generic/property/view/
H A DPropertyItemView.cpp99 PropertyItemView::FrameResized(float width, float height) argument
103 fEditorView->ResizeTo(width - fLabelWidth, height);
169 float width = 0.0; local
171 width = ceilf(StringWidth(name_for_id(property->Identifier())) + 10.0);
172 return width;
177 PropertyItemView::SetLabelWidth(float width) argument
179 if (width < 0.0)
180 width = 0.0;
181 /* if (fEditorView && width > Bounds().Width() - fEditorView->Bounds().Width())
182 width
[all...]
/haiku/src/apps/terminal/
H A DTerminalBuffer.cpp49 TerminalBuffer::Init(int32 width, int32 height, int32 historySize) argument
54 fAlternateScreen = _AllocateLines(width, height);
68 return BasicTerminalBuffer::Init(width, height, historySize);
314 TerminalBuffer::ResizeTo(int32 width, int32 height) argument
322 return ResizeTo(width, height, historyCapacity);
327 TerminalBuffer::ResizeTo(int32 width, int32 height, int32 historyCapacity) argument
338 status_t error = BasicTerminalBuffer::ResizeTo(width, height,
355 error = BasicTerminalBuffer::ResizeTo(width, height, 0);
357 fWidth = width;
/haiku/src/kits/interface/
H A DBMCPrivate.cpp184 // Set the width of the menu bar because the menu bar bounds may have
189 // - Set to the minimum of the menu bar width set by the menu frame
190 // and the selected menu item width.
216 _BMCMenuBar_::FrameResized(float width, float height) argument
219 float diff = width - fPreviousWidth;
220 fPreviousWidth = width;
238 BMenuBar::FrameResized(width, height);
281 _BMCMenuBar_::SetMaxContentWidth(float width) argument
287 BMenuBar::SetMaxContentWidth(width - (left + right));
304 BMenuBar::GetPreferredSize(&size.width,
[all...]
/haiku/src/apps/deskbar/
H A DBarMenuBar.cpp126 float width = std::max(63.f, ceilf(63 * be_bold_font->Size() / 12.f)); local
128 icon = new BBitmap(BRect(0, 0, width - 1, height - 1), B_RGBA32);
148 TBarMenuBar::SmartResize(float width, float height) argument
150 if (width == -1.0f && height == -1.0f) {
152 width = frame.Width();
155 ResizeTo(width, height);
158 fDeskbarMenuItem->SetContentSize(width - kSepItemWidth, height);
162 fDeskbarMenuItem->SetContentSize(floorf(width / count), height);
164 fAppListMenuItem->SetContentSize(floorf(width / count), height);
/haiku/src/libs/icon/transformer/
H A DStrokeTransformer.cpp57 if (archive->FindDouble("width", &value) == B_OK)
58 width(value);
84 clone->width(width());
126 double factor = fabs(width());
155 ret = into->AddDouble("width", width());
177 // width
178 object->AddProperty(new FloatProperty(PROPERTY_WIDTH, width()));
218 // width
[all...]
/haiku/src/servers/app/
H A DScreen.cpp109 Screen::SetMode(uint16 width, uint16 height, uint32 colorSpace, argument
115 mode.virtual_width = width;
126 Screen::SetBestMode(uint16 width, uint16 height, uint32 colorSpace, argument
138 int32 index = _FindBestMode(modes, count, width, height, colorSpace,
142 ", %g Hz%s) failed\n", width, height, colorSpace, frequency,
200 Screen::GetMode(uint16 &width, uint16 &height, uint32 &colorspace, argument
206 width = mode.virtual_width;
248 The "width" argument is the only hard argument, the rest will be adapted
253 uint16 width, uint16 height, uint32 colorSpace, float frequency) const
259 if (mode.virtual_width != width)
252 _FindBestMode(const display_mode* modes, uint32 count, uint16 width, uint16 height, uint32 colorSpace, float frequency) const argument
[all...]
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DUtilities.h50 - AVCodecContext.width (must)
53 video aspect ratio width. E.g. 16:9 -> 16 is returned here
61 if (contextIn.width <= 0 || contextIn.height <= 0) {
76 av_reduce(&pixelAspectRatio.num, &pixelAspectRatio.den, contextIn.width,
86 contextIn.width * contextIn.sample_aspect_ratio.num,
99 if (parametersIn.width <= 0 || parametersIn.height <= 0) {
114 av_reduce(&pixelAspectRatio.num, &pixelAspectRatio.den, parametersIn.width,
124 parametersIn.width * parametersIn.sample_aspect_ratio.num,
140 ratio width. E.g. 16:9 -> 16 is passed here.
146 - AVCodecContext.width (mus
[all...]

Completed in 279 milliseconds

1234567891011>>