Symbol: width
headers/build/HaikuBuildCompatibility.h
188
float width;
headers/build/os/interface/Bitmap.h
105
BPoint from, BPoint to, int32 width, int32 height);
headers/build/os/interface/Bitmap.h
107
BPoint to, int32 width, int32 height);
headers/cpp/ropeimpl.h
908
size_t __w = __o.width();
headers/cpp/ropeimpl.h
920
if (!__is_simple) __o.width(__w/__rope_len);
headers/cpp/ropeimpl.h
930
__o.width(__w);
headers/cpp/ropeimpl.h
932
__STL_UNWIND(if (!__is_simple) __o.width(__w))
headers/cpp/std/bastring.cc
435
int w = is.width (0);
headers/cpp/stream.h
53
char* chr(char ch, int width = 0);
headers/cpp/stream.h
54
char* str(const char* s, int width = 0);
headers/cpp/streambuf.h
198
int width() const { return _width; }
headers/cpp/streambuf.h
199
int width(int val) { int save = _width; _width = val; return save; }
headers/glibc/printf.h
36
int width; /* Width. */
headers/libs/agg/agg_alpha_mask_u8.h
100
int xmax = m_rbuf->width() - 1;
headers/libs/agg/agg_alpha_mask_u8.h
150
int xmax = m_rbuf->width() - 1;
headers/libs/agg/agg_alpha_mask_u8.h
202
int xmax = m_rbuf->width() - 1;
headers/libs/agg/agg_alpha_mask_u8.h
251
int xmax = m_rbuf->width() - 1;
headers/libs/agg/agg_alpha_mask_u8.h
72
x < (int)m_rbuf->width() &&
headers/libs/agg/agg_alpha_mask_u8.h
85
x < (int)m_rbuf->width() &&
headers/libs/agg/agg_blur.h
1077
if(img.width() < 3) return;
headers/libs/agg/agg_blur.h
110
unsigned w = img.width();
headers/libs/agg/agg_blur.h
1107
int w = img.width();
headers/libs/agg/agg_blur.h
369
unsigned w = img.width();
headers/libs/agg/agg_blur.h
549
unsigned w = img.width();
headers/libs/agg/agg_blur.h
807
unsigned w = img.width();
headers/libs/agg/agg_conv_contour.h
42
void width(double w) { base_type::generator().width(w); }
headers/libs/agg/agg_conv_contour.h
51
double width() const { return base_type::generator().width(); }
headers/libs/agg/agg_conv_stroke.h
50
void width(double w) { base_type::generator().width(w); }
headers/libs/agg/agg_conv_stroke.h
56
double width() const { return base_type::generator().width(); }
headers/libs/agg/agg_glyph_raster_bin.h
58
double width(const CharT* str) const
headers/libs/agg/agg_gsv_text.h
119
void width(double w)
headers/libs/agg/agg_gsv_text.h
121
m_polyline.width(w);
headers/libs/agg/agg_gsv_text.h
51
void size(double height, double width=0.0);
headers/libs/agg/agg_image_accessors.h
176
if(x >= (int)m_pixf->width()) x = m_pixf->width() - 1;
headers/libs/agg/agg_image_accessors.h
187
x >= 0 && (int)(x+len) <= (int)m_pixf->width())
headers/libs/agg/agg_image_accessors.h
238
m_wrap_x(pixf.width()),
headers/libs/agg/agg_image_accessors.h
55
m_x >= 0 && m_x < (int)m_pixf->width())
headers/libs/agg/agg_image_accessors.h
68
x >= 0 && x+(int)len <= (int)m_pixf->width())
headers/libs/agg/agg_math_stroke.h
136
template<class VC> void math_stroke<VC>::width(double w)
headers/libs/agg/agg_math_stroke.h
72
void width(double w);
headers/libs/agg/agg_math_stroke.h
78
double width() const { return m_width * 2.0; }
headers/libs/agg/agg_pixfmt_amask_adaptor.h
77
unsigned width() const { return m_pixf->width(); }
headers/libs/agg/agg_pixfmt_gray.h
186
if(r.clip(rect_i(0, 0, pixf.width()-1, pixf.height()-1)))
headers/libs/agg/agg_pixfmt_gray.h
199
AGG_INLINE unsigned width() const { return m_rbuf->width(); }
headers/libs/agg/agg_pixfmt_rgb.h
244
if(r.clip(rect_i(0, 0, pixf.width()-1, pixf.height()-1)))
headers/libs/agg/agg_pixfmt_rgb.h
260
AGG_INLINE unsigned width() const { return m_rbuf->width(); }
headers/libs/agg/agg_pixfmt_rgb_packed.h
839
if(r.clip(rect_i(0, 0, pixf.width()-1, pixf.height()-1)))
headers/libs/agg/agg_pixfmt_rgb_packed.h
854
AGG_INLINE unsigned width() const { return m_rbuf->width(); }
headers/libs/agg/agg_pixfmt_rgba.h
1783
if(r.clip(rect_i(0, 0, pixf.width()-1, pixf.height()-1)))
headers/libs/agg/agg_pixfmt_rgba.h
1796
AGG_INLINE unsigned width() const { return m_rbuf->width(); }
headers/libs/agg/agg_pixfmt_rgba.h
2368
if(r.clip(rect_i(0, 0, pixf.width()-1, pixf.height()-1)))
headers/libs/agg/agg_pixfmt_rgba.h
2381
AGG_INLINE unsigned width() const { return m_rbuf->width(); }
headers/libs/agg/agg_pixfmt_transposer.h
39
AGG_INLINE unsigned width() const { return m_pixf->height(); }
headers/libs/agg/agg_pixfmt_transposer.h
40
AGG_INLINE unsigned height() const { return m_pixf->width(); }
headers/libs/agg/agg_renderer_base.h
127
if(width())
headers/libs/agg/agg_renderer_base.h
131
m_ren->copy_hline(0, y, width(), c);
headers/libs/agg/agg_renderer_base.h
140
if(width())
headers/libs/agg/agg_renderer_base.h
144
m_ren->blend_hline(0, y, width(), c, cover_mask);
headers/libs/agg/agg_renderer_base.h
41
m_clip_box(0, 0, ren.width() - 1, ren.height() - 1)
headers/libs/agg/agg_renderer_base.h
46
m_clip_box = rect_i(0, 0, ren.width() - 1, ren.height() - 1);
headers/libs/agg/agg_renderer_base.h
493
rect_i rsrc(0, 0, src.width(), src.height());
headers/libs/agg/agg_renderer_base.h
508
rect_i rc = clip_rect_area(rdst, rsrc, src.width(), src.height());
headers/libs/agg/agg_renderer_base.h
54
unsigned width() const { return m_ren->width(); }
headers/libs/agg/agg_renderer_base.h
540
rect_i rsrc(0, 0, src.width(), src.height());
headers/libs/agg/agg_renderer_base.h
554
rect_i rc = clip_rect_area(rdst, rsrc, src.width(), src.height());
headers/libs/agg/agg_renderer_base.h
62
if(cb.clip(rect_i(0, 0, width() - 1, height() - 1)))
headers/libs/agg/agg_renderer_base.h
81
m_clip_box.x2 = width() - 1;
headers/libs/agg/agg_renderer_mclip.h
110
if(cb.clip(rect_i(0, 0, width() - 1, height() - 1)))
headers/libs/agg/agg_renderer_mclip.h
56
unsigned width() const { return m_ren.width(); }
headers/libs/agg/agg_renderer_outline_aa.h
1294
width(w);
headers/libs/agg/agg_renderer_outline_aa.h
1312
void width(double w);
headers/libs/agg/agg_renderer_outline_aa.h
544
int width() const { return m_width; }
headers/libs/agg/agg_renderer_outline_image.h
109
m_width = uceil(src.width());
headers/libs/agg/agg_renderer_outline_image.h
110
m_width_hr = uround(src.width() * line_subpixel_scale);
headers/libs/agg/agg_renderer_outline_image.h
168
double width() const { return m_height; }
headers/libs/agg/agg_renderer_outline_image.h
41
double width() const { return m_source.width(); }
headers/libs/agg/agg_renderer_outline_image.h
772
int width() const { return m_width; }
headers/libs/agg/agg_renderer_outline_image.h
855
double width() const { return double(subpixel_width()) / line_subpixel_scale; }
headers/libs/agg/agg_rendering_buffer.h
124
unsigned w = width();
headers/libs/agg/agg_rendering_buffer.h
135
unsigned w = width();
headers/libs/agg/agg_rendering_buffer.h
53
row_ptr_cache(T* buf, unsigned width, unsigned height, int stride) :
headers/libs/agg/agg_rendering_buffer.h
60
attach(buf, width, height, stride);
headers/libs/agg/agg_rendering_buffer.h
64
void attach(T* buf, unsigned width, unsigned height, int stride)
headers/libs/agg/agg_rendering_buffer.h
67
m_width = width;
headers/libs/agg/agg_rendering_buffer.h
94
unsigned width() const { return m_width; }
headers/libs/agg/agg_rendering_buffer_dynarow.h
62
rendering_buffer_dynarow(unsigned width, unsigned height,
headers/libs/agg/agg_rendering_buffer_dynarow.h
65
m_width(width),
headers/libs/agg/agg_rendering_buffer_dynarow.h
74
void init(unsigned width, unsigned height, unsigned byte_width)
headers/libs/agg/agg_rendering_buffer_dynarow.h
81
if(width && height)
headers/libs/agg/agg_rendering_buffer_dynarow.h
83
m_width = width;
headers/libs/agg/agg_rendering_buffer_dynarow.h
92
unsigned width() const { return m_width; }
headers/libs/agg/agg_span_image_filter_gray.h
194
int maxx = base_type::source().width() - 1;
headers/libs/agg/agg_span_image_filter_rgb.h
224
int maxx = base_type::source().width() - 1;
headers/libs/agg/agg_span_image_filter_rgba.h
230
int maxx = base_type::source().width() - 1;
headers/libs/agg/agg_vcgen_contour.h
54
void width(double w) { m_stroker.width(m_width = w); }
headers/libs/agg/agg_vcgen_contour.h
60
double width() const { return m_width; }
headers/libs/agg/agg_vcgen_stroke.h
62
void width(double w) { m_stroker.width(w); }
headers/libs/agg/agg_vcgen_stroke.h
68
double width() const { return m_stroker.width(); }
headers/libs/agg/util/agg_color_conv.h
39
unsigned width = src->width();
headers/libs/agg/util/agg_color_conv.h
42
if(dst->width() < width) width = dst->width();
headers/libs/agg/util/agg_color_conv.h
45
if(width)
headers/libs/agg/util/agg_color_conv.h
50
copy_row_functor(dst->row(y), src->row(y), width);
headers/libs/agg/util/agg_color_conv.h
60
unsigned width,
headers/libs/agg/util/agg_color_conv.h
63
copy_row_functor(dst, src, width);
headers/libs/agg/util/agg_color_conv.h
73
unsigned width) const
headers/libs/agg/util/agg_color_conv.h
75
memmove(dst, src, width*BPP);
headers/libs/agg/util/agg_color_conv_rgb8.h
116
unsigned width) const
headers/libs/agg/util/agg_color_conv_rgb8.h
126
while(--width);
headers/libs/agg/util/agg_color_conv_rgb8.h
149
unsigned width) const
headers/libs/agg/util/agg_color_conv_rgb8.h
158
while(--width);
headers/libs/agg/util/agg_color_conv_rgb8.h
181
unsigned width) const
headers/libs/agg/util/agg_color_conv_rgb8.h
192
while(--width);
headers/libs/agg/util/agg_color_conv_rgb8.h
208
unsigned width) const
headers/libs/agg/util/agg_color_conv_rgb8.h
218
while(--width);
headers/libs/agg/util/agg_color_conv_rgb8.h
234
unsigned width) const
headers/libs/agg/util/agg_color_conv_rgb8.h
245
while(--width);
headers/libs/agg/util/agg_color_conv_rgb8.h
261
unsigned width) const
headers/libs/agg/util/agg_color_conv_rgb8.h
271
while(--width);
headers/libs/agg/util/agg_color_conv_rgb8.h
288
unsigned width) const
headers/libs/agg/util/agg_color_conv_rgb8.h
300
while(--width);
headers/libs/agg/util/agg_color_conv_rgb8.h
318
unsigned width) const
headers/libs/agg/util/agg_color_conv_rgb8.h
329
while(--width);
headers/libs/agg/util/agg_color_conv_rgb8.h
348
unsigned width) const
headers/libs/agg/util/agg_color_conv_rgb8.h
360
while(--width);
headers/libs/agg/util/agg_color_conv_rgb8.h
378
unsigned width) const
headers/libs/agg/util/agg_color_conv_rgb8.h
388
while(--width);
headers/libs/agg/util/agg_color_conv_rgb8.h
406
unsigned width) const
headers/libs/agg/util/agg_color_conv_rgb8.h
415
while(--width);
headers/libs/agg/util/agg_color_conv_rgb8.h
426
unsigned width) const
headers/libs/agg/util/agg_color_conv_rgb8.h
435
while(--width);
headers/libs/agg/util/agg_color_conv_rgb8.h
47
unsigned width) const
headers/libs/agg/util/agg_color_conv_rgb8.h
56
while(--width);
headers/libs/agg/util/agg_color_conv_rgb8.h
74
unsigned width) const
headers/libs/agg/util/agg_color_conv_rgb8.h
84
while(--width);
headers/libs/glut/GL/glut.h
556
GLUTAPI void GLUTAPIENTRY glutInitWindowSize(int width, int height);
headers/libs/glut/GL/glut.h
568
GLUTAPI int GLUTAPIENTRY glutCreateSubWindow(int win, int x, int y, int width, int height);
headers/libs/glut/GL/glut.h
580
GLUTAPI void GLUTAPIENTRY glutReshapeWindow(int width, int height);
headers/libs/glut/GL/glut.h
627
GLUTAPI void GLUTAPIENTRY glutReshapeFunc(void (GLUTCALLBACK *func)(int width, int height));
headers/libs/glut/GL/glut.h
716
GLUTAPI void GLUTAPIENTRY glutVideoResize(int x, int y, int width, int height);
headers/libs/glut/GL/glut.h
717
GLUTAPI void GLUTAPIENTRY glutVideoPan(int x, int y, int width, int height);
headers/libs/print/libprint/GraphicsDriver.h
62
static void ConvertToRGB24(const void* src, void* dst, int width,
headers/libs/print/libprint/GraphicsDriver.h
64
static void ConvertToGray(const void* src, void* dst, int width,
headers/libs/print/libprint/GraphicsDriver.h
90
static void _ConvertRGB32ToRGB24(const void* src, void* dst, int width);
headers/libs/print/libprint/GraphicsDriver.h
91
static void _ConvertCMAP8ToRGB24(const void* src, void* dst, int width);
headers/libs/print/libprint/GraphicsDriver.h
93
static void _ConvertRGB32ToGray(const void* src, void* dst, int width);
headers/libs/print/libprint/GraphicsDriver.h
94
static void _ConvertCMAP8ToGray(const void* src, void* dst, int width);
headers/libs/print/libprint/Halftone.h
102
void SetupErrorBuffer(int x, int y, int width);
headers/libs/print/libprint/Halftone.h
104
const uchar* source, int x, int y, int width);
headers/libs/print/libprint/Halftone.h
35
int x, int y, int width);
headers/libs/print/libprint/Halftone.h
74
int y, int width);
headers/libs/print/libprint/Halftone.h
97
int x, int y, int width);
headers/libs/print/libprint/PagesView.h
16
void GetPreferredSize(float *width, float *height);
headers/libs/print/libprint/Preview.h
61
virtual void FrameResized(float width, float height);
headers/os/add-ons/graphics/Accelerant.h
174
float width;
headers/os/add-ons/graphics/Accelerant.h
220
uint16 width; /* 0 to N, where zero means */
headers/os/add-ons/graphics/Accelerant.h
315
typedef status_t (*set_cursor_shape)(uint16 width, uint16 height,
headers/os/add-ons/graphics/Accelerant.h
317
typedef status_t (*set_cursor_bitmap)(uint16 width, uint16 height,
headers/os/add-ons/graphics/GraphicsCard.h
114
int16 width;
headers/os/add-ons/graphics/GraphicsCard.h
55
int16 width;
headers/os/drivers/usb/USB_video.h
675
uint16 width;
headers/os/drivers/usb/USB_video.h
744
uint16 width;
headers/os/game/WindowScreen.h
48
status_t SetFrameBuffer(int32 width, int32 height);
headers/os/interface/Alert.h
105
button_width width, button_spacing spacing,
headers/os/interface/Alert.h
44
button_width width = B_WIDTH_AS_USUAL,
headers/os/interface/Alert.h
48
const char* button3, button_width width,
headers/os/interface/Alert.h
64
void SetButtonWidth(button_width width);
headers/os/interface/Alert.h
93
static BPoint AlertPosition(float width, float height);
headers/os/interface/Bitmap.h
124
BPoint from, BPoint to, int32 width, int32 height);
headers/os/interface/Bitmap.h
126
BPoint to, int32 width, int32 height);
headers/os/interface/Box.h
49
virtual void FrameResized(float width, float height);
headers/os/interface/CardLayout.h
28
virtual void GetHeightForWidth(float width, float* min,
headers/os/interface/ChannelControl.h
43
virtual void GetPreferredSize(float* width,
headers/os/interface/ChannelSlider.h
52
virtual void FrameResized(float width, float height);
headers/os/interface/Font.h
190
void SetFalseBoldWidth(float width);
headers/os/interface/Font.h
221
float width) const;
headers/os/interface/Font.h
223
int32 numStrings, uint32 mode, float width,
headers/os/interface/Font.h
227
float width, char* resultArray[]) const;
headers/os/interface/GridLayout.h
34
void SetMinColumnWidth(int32 column, float width);
headers/os/interface/GridLayout.h
37
void SetMaxColumnWidth(int32 column, float width);
headers/os/interface/IconUtils.h
47
uint32 width, uint32 height,
headers/os/interface/IconUtils.h
51
uint32 width, uint32 height,
headers/os/interface/LayoutItem.h
46
virtual void GetHeightForWidth(float width, float* min,
headers/os/interface/ListItem.h
40
void SetWidth(float width);
headers/os/interface/Menu.h
231
bool moveItems, float* width,
headers/os/interface/Menu.h
52
BMenu(const char* name, float width,
headers/os/interface/Menu.h
80
virtual void FrameResized(float width, float height);
headers/os/interface/MenuField.h
57
virtual void FrameResized(float width, float height);
headers/os/interface/MenuField.h
83
virtual void GetPreferredSize(float* width, float* height);
headers/os/interface/Rect.h
169
right(leftTop.x + size.width),
headers/os/interface/Rect.h
187
BRect::BRect(float width, float height)
headers/os/interface/Rect.h
191
right(width),
headers/os/interface/Rect.h
29
BRect(float width, float height);
headers/os/interface/SeparatorView.h
55
virtual void GetPreferredSize(float* width, float* height);
headers/os/interface/Size.h
109
return (int32)width;
headers/os/interface/Size.h
123
return width != B_SIZE_UNSET;
headers/os/interface/Size.h
137
return (width == other.width && height == other.height);
headers/os/interface/Size.h
151
width = other.width;
headers/os/interface/Size.h
19
float width;
headers/os/interface/Size.h
24
inline BSize(float width, float height);
headers/os/interface/Size.h
29
inline void Set(float width, float height);
headers/os/interface/Size.h
30
inline void SetWidth(float width);
headers/os/interface/Size.h
48
: width(B_SIZE_UNSET),
headers/os/interface/Size.h
56
: width(other.width),
headers/os/interface/Size.h
63
BSize::BSize(float width, float height)
headers/os/interface/Size.h
64
: width(width),
headers/os/interface/Size.h
73
return width;
headers/os/interface/Size.h
85
BSize::Set(float width, float height)
headers/os/interface/Size.h
87
this->width = width;
headers/os/interface/Size.h
93
BSize::SetWidth(float width)
headers/os/interface/Size.h
95
this->width = width;
headers/os/interface/Slider.h
69
virtual void FrameResized(float width, float height);
headers/os/interface/SpaceLayoutItem.h
19
static BSpaceLayoutItem* CreateHorizontalStrut(float width);
headers/os/interface/TabView.h
105
button_width width = B_WIDTH_FROM_WIDEST,
headers/os/interface/TabView.h
110
button_width width = B_WIDTH_AS_USUAL,
headers/os/interface/TabView.h
174
virtual void SetTabWidth(button_width width);
headers/os/interface/TabView.h
210
void _InitObject(bool layouted, button_width width);
headers/os/interface/TextView.h
190
void SetTabWidth(float width);
headers/os/interface/TextView.h
255
virtual void GetHeightForWidth(float width, float* min,
headers/os/interface/TwoDimensionalLayout.h
36
virtual void GetHeightForWidth(float width, float* min,
headers/os/interface/TwoDimensionalLayout.h
55
int32 width;
headers/os/interface/View.h
561
float width) const;
headers/os/interface/View.h
612
void ResizeTo(float width, float height);
headers/os/interface/View.h
666
virtual void GetHeightForWidth(float width, float* min,
headers/os/interface/Window.h
128
virtual void Zoom(BPoint origin, float width, float height);
headers/os/interface/Window.h
173
void ResizeTo(float width, float height);
headers/os/interface/Window.h
255
int32 width = 0, int32 widthOffset = 0,
headers/os/interface/Window.h
261
int32* width = NULL,
headers/os/media/MediaDefs.h
502
uint16 width;
headers/os/media/MediaDefs.h
513
uint16 width;
headers/posix/search.h
41
size_t width, int (*compareFunction)(const void *, const void *));
headers/posix/search.h
43
size_t width, int (*compareFunction)(const void *, const void *));
headers/private/binary_compatibility/Interface.h
34
float width;
headers/private/drivers/mmc.h
107
void (*set_bus_width)(device_node* controller, void* cookie, int width);
headers/private/drivers/mmc.h
89
void (*set_bus_width)(void* controller, int width);
headers/private/graphics/ati/DriverInterface.h
153
uint16 width;
headers/private/graphics/common/compute_display_timing.h
17
status_t compute_display_timing(uint32 width, uint32 height, float refresh,
headers/private/graphics/common/create_display_modes.h
26
void fill_display_mode(uint32 width, uint32 height, display_mode* mode);
headers/private/graphics/intel_extreme/intel_extreme.h
1137
#define DDI_PORT_WIDTH(width) (((width) - 1) << 1)
headers/private/graphics/intel_extreme/intel_extreme.h
1703
#define FDI_DP_PORT_WIDTH(width) (((width) - 1) << FDI_DP_PORT_WIDTH_SHIFT)
headers/private/graphics/matrox/DriverInterface.h
147
uint16 width; /* Width and height of the cursor shape (always 16!) */
headers/private/graphics/neomagic/DriverInterface.h
144
uint16 width; /* Width and height of the cursor shape (always 16!) */
headers/private/graphics/nvidia/DriverInterface.h
312
uint16 width; /* Width and height of the cursor shape (always 16!) */
headers/private/graphics/radeon/radeon_interface.h
273
uint16 width;
headers/private/graphics/skeleton/DriverInterface.h
147
uint16 width; /* Width and height of the cursor shape (always 16!) */
headers/private/graphics/vesa/vesa.h
59
uint16 width;
headers/private/graphics/vesa/vesa_info.h
21
uint16 width;
headers/private/graphics/via/DriverInterface.h
214
uint16 width; /* Width and height of the cursor shape (always 16!) */
headers/private/graphics/video_overlay.h
111
typedef const overlay_buffer *(*allocate_overlay_buffer)(color_space cs, uint16 width, uint16 height);
headers/private/graphics/video_overlay.h
34
uint16 width; /* width in pixels */
headers/private/graphics/video_overlay.h
44
uint16 width;
headers/private/graphics/video_overlay.h
65
uint16 width; /* un-clipped width of the overlay window */
headers/private/graphics/video_overlay.h
95
overlay_uint16_minmax width; /* min and max sizes in each axis */
headers/private/input/keyboard_mouse_driver.h
141
uint16 width;
headers/private/interface/AboutWindow.h
32
BPoint AboutPosition(float width, float height);
headers/private/interface/AbstractSpinner.h
60
virtual void FrameResized(float width, float height);
headers/private/interface/BMCPrivate.h
49
virtual void FrameResized(float width, float height);
headers/private/interface/BMCPrivate.h
52
virtual void SetMaxContentWidth(float width);
headers/private/interface/ColorConversion.h
17
color_space srcColorSpace, color_space dstColorSpace, int32 width,
headers/private/interface/ColorConversion.h
22
BPoint dstOffset, int32 width, int32 height);
headers/private/interface/ColumnListView.h
169
BColumn(float width, float minWidth,
headers/private/interface/ColumnListView.h
175
void SetWidth(float width);
headers/private/interface/ColumnListView.h
373
void SetLatchWidth(float width);
headers/private/interface/ColumnTypes.h
124
BDateColumn(const char* title, float width,
headers/private/interface/ColumnTypes.h
157
BSizeColumn(const char* title, float width,
headers/private/interface/ColumnTypes.h
185
BIntegerColumn(const char* title, float width,
headers/private/interface/ColumnTypes.h
213
BBitmapColumn(const char* title, float width,
headers/private/interface/ColumnTypes.h
228
GraphColumn(const char* name, float width,
headers/private/interface/ColumnTypes.h
33
BTitledColumn(const char* title, float width, float minWidth,
headers/private/interface/ColumnTypes.h
83
BStringColumn(const char* title, float width,
headers/private/interface/InterfacePrivate.h
22
bool get_mode_parameter(uint32 mode, int32& width, int32& height,
headers/private/interface/InterfacePrivate.h
24
int32 get_bytes_per_row(color_space colorSpace, int32 width);
headers/private/interface/PictureDataWriter.h
119
const BRect& dstRect, const int32& width,
headers/private/interface/PicturePlayer.h
159
virtual void DrawPixels(const BRect& source, const BRect& destination, uint32 width,
headers/private/interface/PicturePlayer.h
62
/* 18 */ void (*draw_pixels)(void* user, BRect src, BRect dest, int32 width, int32 height,
headers/private/interface/truncate_string.h
10
void truncate_string(BString& string, uint32 mode, float width,
headers/private/kernel/arch/arm/reg.h
34
#define RMWREG64(addr, startbit, width, val) *REG64(addr) = (*REG64(addr) & ~(((1<<(width)) - 1) << (startbit))) | ((val) << (startbit))
headers/private/kernel/arch/arm/reg.h
35
#define RMWREG32(addr, startbit, width, val) *REG32(addr) = (*REG32(addr) & ~(((1<<(width)) - 1) << (startbit))) | ((val) << (startbit))
headers/private/kernel/arch/arm/reg.h
36
#define RMWREG16(addr, startbit, width, val) *REG16(addr) = (*REG16(addr) & ~(((1<<(width)) - 1) << (startbit))) | ((val) << (startbit))
headers/private/kernel/arch/arm/reg.h
37
#define RMWREG8(addr, startbit, width, val) *REG8(addr) = (*REG8(addr) & ~(((1<<(width)) - 1) << (startbit))) | ((val) << (startbit))
headers/private/kernel/boot/kernel_args.h
78
uint16 width;
headers/private/kernel/boot/platform/generic/video.h
19
uint16 width, uint16 height, uint16 imageWidth,
headers/private/kernel/boot/platform/generic/video.h
24
uint16 width, uint16 height, uint16 imageWidth,
headers/private/kernel/boot/platform/generic/video_splash.h
14
int& width, int& height, int& x, int& y)
headers/private/kernel/boot/platform/generic/video_splash.h
18
width = min_c(kSplashLogoWidth, screenWidth);
headers/private/kernel/boot/platform/generic/video_splash.h
24
x = (screenWidth - width) * placementX / 100;
headers/private/kernel/boot/platform/generic/video_splash.h
33
int& width, int& height, int& x, int& y)
headers/private/kernel/boot/platform/generic/video_splash.h
37
width = min_c(kSplashIconsWidth, screenWidth);
headers/private/kernel/boot/platform/generic/video_splash.h
43
x = (screenWidth - width) * placementX / 100;
headers/private/kernel/console.h
23
void (*fill_glyph)(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr);
headers/private/kernel/console.h
24
void (*blit)(int32 srcx, int32 srcy, int32 width, int32 height, int32 destx, int32 desty);
headers/private/kernel/frame_buffer_console.h
22
int32 width;
headers/private/kernel/frame_buffer_console.h
34
status_t frame_buffer_update(addr_t baseAddress, int32 width, int32 height,
headers/private/kernel/frame_buffer_console.h
40
status_t _user_frame_buffer_update(addr_t baseAddress, int32 width,
headers/private/kernel/platform/efi/protocol/graphics-output.h
73
size_t width, size_t height, size_t delta) EFIAPI;
headers/private/kernel/platform/efi/protocol/pci-root-bridge-io.h
34
efi_pci_root_bridge_io_width width,
headers/private/kernel/platform/efi/protocol/pci-root-bridge-io.h
37
efi_pci_root_bridge_io_width width,
headers/private/kernel/platform/efi/protocol/pci-root-bridge-io.h
70
efi_pci_root_bridge_io_width width,
headers/private/kernel/platform/efi/protocol/pci-root-bridge-io.h
75
efi_pci_root_bridge_io_width width,
headers/private/kernel/platform/efi/protocol/pci-root-bridge-io.h
84
efi_pci_root_bridge_io_width width,
headers/private/print/PictureIterator.h
62
virtual void DrawPixels(BRect src, BRect dest, int32 width, int32 height, int32 bytesPerRow, int32 pixelFormat, int32 flags, void *data) { }
headers/private/print/PicturePrinter.h
61
virtual void DrawPixels(BRect src, BRect dest, int32 width, int32 height, int32 bytesPerRow, int32 pixelFormat, int32 flags, void *data);
headers/private/print/Template.h
56
virtual void DrawPixels(BRect src, BRect dest, int32 width, int32 height, int32 bytesPerRow, int32 pixelFormat, int32 flags, void *data);
headers/private/shared/BarberPole.h
34
virtual void FrameResized(float width, float height);
headers/private/shared/BitmapButton.h
27
BBitmapButton(const uint8* bits, uint32 width,
headers/private/shared/CalendarView.h
149
void _GetPreferredSize(float* width, float* height);
headers/private/shared/CalendarView.h
46
virtual void FrameResized(float width, float height);
headers/private/shared/CalendarView.h
77
virtual void GetPreferredSize(float* width, float* height);
headers/private/shared/ColorQuantizer.h
49
bool ProcessImage(const uint8* const * rowPtrs, int width,
headers/private/shared/IconButton.h
53
virtual void GetPreferredSize(float* width,
headers/private/shared/IconButton.h
79
uint32 width, uint32 height,
headers/private/shared/ToolBar.h
46
virtual void FrameResized(float width, float height);
headers/private/system/syscalls.h
561
extern status_t _kern_frame_buffer_update(addr_t baseAddress, int32 width,
headers/private/tracker/IconMenuItem.h
68
virtual void GetContentSize(float* width, float* height);
headers/private/tracker/IconMenuItem.h
96
virtual void GetContentSize(float* width, float* height);
src/add-ons/accelerants/3dfx/3dfx_cursor.cpp
42
TDFX_LoadCursorImage(int width, int height, uint8* andMask, uint8* xorMask)
src/add-ons/accelerants/3dfx/3dfx_cursor.cpp
70
for (int colByte = 0; colByte < width / 8; colByte++) {
src/add-ons/accelerants/3dfx/3dfx_draw.cpp
127
int width = list->width;
src/add-ons/accelerants/3dfx/3dfx_draw.cpp
134
src_x += width;
src/add-ons/accelerants/3dfx/3dfx_draw.cpp
135
dest_x += width;
src/add-ons/accelerants/3dfx/3dfx_draw.cpp
146
OUTREG32(DST_SIZE, (width + 1) | ((height + 1) << 16));
src/add-ons/accelerants/3dfx/3dfx_overlay.cpp
102
stride |= (buffer->width << 1) << 16;
src/add-ons/accelerants/3dfx/3dfx_overlay.cpp
55
if (window->width > buffer->width)
src/add-ons/accelerants/3dfx/3dfx_overlay.cpp
79
int32 dudx = (buffer->width << 20) / window->width;
src/add-ons/accelerants/3dfx/3dfx_overlay.cpp
85
int32 x2 = x1 + window->width - 1;
src/add-ons/accelerants/3dfx/3dfx_overlay.cpp
96
| (buffer->width << 20));
src/add-ons/accelerants/3dfx/accelerant.h
116
const overlay_buffer* AllocateOverlayBuffer(color_space cs, uint16 width,
src/add-ons/accelerants/3dfx/accelerant.h
153
bool TDFX_LoadCursorImage(int width, int height, uint8* and_mask,
src/add-ons/accelerants/3dfx/accelerant.h
88
status_t SetCursorShape(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y,
src/add-ons/accelerants/3dfx/cursor.cpp
13
SetCursorShape(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y,
src/add-ons/accelerants/3dfx/cursor.cpp
18
if ((width != 16) || (height != 16)) {
src/add-ons/accelerants/3dfx/cursor.cpp
20
} else if ((hot_x >= width) || (hot_y >= height)) {
src/add-ons/accelerants/3dfx/cursor.cpp
29
if ( ! TDFX_LoadCursorImage(width, height, andMask, xorMask))
src/add-ons/accelerants/3dfx/overlay.cpp
147
ovBuff->width = width;
src/add-ons/accelerants/3dfx/overlay.cpp
149
ovBuff->bytes_per_row = width * bytesPerPixel;
src/add-ons/accelerants/3dfx/overlay.cpp
229
constraints->view.width.min = 4;
src/add-ons/accelerants/3dfx/overlay.cpp
231
constraints->view.width.max = buffer->width;
src/add-ons/accelerants/3dfx/overlay.cpp
239
constraints->window.width.min = 2;
src/add-ons/accelerants/3dfx/overlay.cpp
240
constraints->window.width.max = mode->virtual_width;
src/add-ons/accelerants/3dfx/overlay.cpp
48
AllocateOverlayBuffer(color_space colorSpace, uint16 width, uint16 height)
src/add-ons/accelerants/3dfx/overlay.cpp
53
width, height, colorSpace);
src/add-ons/accelerants/3dfx/overlay.cpp
78
uint32 buffSize = (width * bytesPerPixel * height + 0x3ff) & ~0x3ff;
src/add-ons/accelerants/ati/accelerant.h
128
status_t SetCursorShape(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y,
src/add-ons/accelerants/ati/accelerant.h
164
const overlay_buffer* AllocateOverlayBuffer(color_space cs, uint16 width,
src/add-ons/accelerants/ati/accelerant.h
197
bool Mach64_LoadCursorImage(int width, int height, uint8* and_mask,
src/add-ons/accelerants/ati/accelerant.h
223
bool Rage128_LoadCursorImage(int width, int height, uint8* and_mask,
src/add-ons/accelerants/ati/accelerant.h
55
bool (*LoadCursorImage)(int width, int height, uint8* and_mask,
src/add-ons/accelerants/ati/cursor.cpp
13
SetCursorShape(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y,
src/add-ons/accelerants/ati/cursor.cpp
18
if ((width != 16) || (height != 16)) {
src/add-ons/accelerants/ati/cursor.cpp
20
} else if ((hot_x >= width) || (hot_y >= height)) {
src/add-ons/accelerants/ati/cursor.cpp
29
if ( ! gInfo.LoadCursorImage(width, height, andMask, xorMask))
src/add-ons/accelerants/ati/mach64_cursor.cpp
53
Mach64_LoadCursorImage(int width, int height, uint8* andMask, uint8* xorMask)
src/add-ons/accelerants/ati/mach64_cursor.cpp
76
for (int colByte = 0; colByte < width / 8; colByte++) {
src/add-ons/accelerants/ati/mach64_draw.cpp
210
int width = pList->width;
src/add-ons/accelerants/ati/mach64_draw.cpp
216
src_x += width;
src/add-ons/accelerants/ati/mach64_draw.cpp
217
dest_x += width;
src/add-ons/accelerants/ati/mach64_draw.cpp
230
OUTREG(SRC_HEIGHT1_WIDTH1, ((width + 1) << 16) | (height + 1));
src/add-ons/accelerants/ati/mach64_draw.cpp
232
OUTREG(DST_HEIGHT_WIDTH, ((width + 1) << 16) | (height + 1));
src/add-ons/accelerants/ati/mach64_overlay.cpp
121
OUTREG(SCALER_HEIGHT_WIDTH, (buffer->width << 16) | buffer->height);
src/add-ons/accelerants/ati/mach64_overlay.cpp
129
OUTREG(BUF0_PITCH, buffer->width);
src/add-ons/accelerants/ati/mach64_overlay.cpp
132
OUTREG(SCALER_BUF0_PITCH, buffer->width);
src/add-ons/accelerants/ati/mach64_overlay.cpp
40
int32 x2 = window->h_start + window->width - 1;
src/add-ons/accelerants/ati/mach64_overlay.cpp
59
uint32 horzScale = (buffer->width << 12) / (x2 - x1 + 1);
src/add-ons/accelerants/ati/mode.cpp
18
FindDisplayMode(int width, int height, int refreshRate, uint32 colorDepth)
src/add-ons/accelerants/ati/mode.cpp
35
if (mode.timing.h_display == width && mode.timing.v_display == height) {
src/add-ons/accelerants/ati/mode.cpp
89
if (vesaMode.width == mode.timing.h_display
src/add-ons/accelerants/ati/overlay.cpp
143
ovBuff->width = width;
src/add-ons/accelerants/ati/overlay.cpp
145
ovBuff->bytes_per_row = width * bytesPerPixel;
src/add-ons/accelerants/ati/overlay.cpp
221
constraints->view.width.min = 4;
src/add-ons/accelerants/ati/overlay.cpp
223
constraints->view.width.max = buffer->width;
src/add-ons/accelerants/ati/overlay.cpp
231
constraints->window.width.min = 2;
src/add-ons/accelerants/ati/overlay.cpp
232
constraints->window.width.max = mode->virtual_width;
src/add-ons/accelerants/ati/overlay.cpp
48
AllocateOverlayBuffer(color_space colorSpace, uint16 width, uint16 height)
src/add-ons/accelerants/ati/overlay.cpp
53
width, height, colorSpace);
src/add-ons/accelerants/ati/overlay.cpp
58
if (height > 2048 || width > 768
src/add-ons/accelerants/ati/overlay.cpp
59
|| (width > 384 && si.chipType < MACH64_264VTB)
src/add-ons/accelerants/ati/overlay.cpp
60
|| (width > 720 && (si.chipType < MACH64_264GTPRO
src/add-ons/accelerants/ati/overlay.cpp
83
uint32 buffSize = (width * bytesPerPixel * height + 0x3ff) & ~0x3ff;
src/add-ons/accelerants/ati/rage128_cursor.cpp
57
Rage128_LoadCursorImage(int width, int height, uint8* andMask, uint8* xorMask)
src/add-ons/accelerants/ati/rage128_cursor.cpp
87
for (int colByte = 0; colByte < width / 8; colByte++) {
src/add-ons/accelerants/ati/rage128_draw.cpp
233
int width = pList->width;
src/add-ons/accelerants/ati/rage128_draw.cpp
239
src_x += width;
src/add-ons/accelerants/ati/rage128_draw.cpp
240
dest_x += width;
src/add-ons/accelerants/ati/rage128_draw.cpp
254
OUTREG(R128_DST_HEIGHT_WIDTH, ((height + 1) << 16) | (width + 1));
src/add-ons/accelerants/ati/rage128_overlay.cpp
107
int32 horzInc = (buffer->width << (12 + ecpDiv)) / window->width;
src/add-ons/accelerants/ati/rage128_overlay.cpp
118
int32 x2 = window->h_start + window->width;
src/add-ons/accelerants/ati/rage128_overlay.cpp
149
int32 width = window->width;
src/add-ons/accelerants/ati/rage128_overlay.cpp
151
OUTREG(R128_OV0_P1_X_START_END, (width - 1) | (left << 16));
src/add-ons/accelerants/ati/rage128_overlay.cpp
152
width >>= 1;
src/add-ons/accelerants/ati/rage128_overlay.cpp
153
OUTREG(R128_OV0_P2_X_START_END, (width - 1) | (left << 16));
src/add-ons/accelerants/ati/rage128_overlay.cpp
154
OUTREG(R128_OV0_P3_X_START_END, (width - 1) | (left << 16));
src/add-ons/accelerants/common/compute_display_timing.cpp
140
compute_display_timing(uint32 width, uint32 height, float refresh,
src/add-ons/accelerants/common/compute_display_timing.cpp
143
if (width < 320 || height < 200 || width > 65536 || height > 65536
src/add-ons/accelerants/common/compute_display_timing.cpp
154
width = (uint32)(rint(width / CELL_GRANULARITY) * CELL_GRANULARITY);
src/add-ons/accelerants/common/compute_display_timing.cpp
218
float leftMargin = margins ? rint(width * MARGIN_PERCENT / 100.0
src/add-ons/accelerants/common/compute_display_timing.cpp
225
float rightMargin = margins ? rint(width * MARGIN_PERCENT / 100.0
src/add-ons/accelerants/common/compute_display_timing.cpp
232
float totalActivePixels = width + leftMargin + rightMargin;
src/add-ons/accelerants/common/compute_display_timing.cpp
278
timing->h_display = (uint16)width;
src/add-ons/accelerants/common/compute_display_timing.cpp
279
timing->h_sync_start = (uint16)(width + horizontalFrontPorch);
src/add-ons/accelerants/common/compute_display_timing.cpp
281
= (uint16)(width + horizontalFrontPorch + horizontalSync);
src/add-ons/accelerants/common/create_display_modes.cpp
111
void _AddBaseMode(uint16 width, uint16 height,
src/add-ons/accelerants/common/create_display_modes.cpp
113
display_mode* _FindMode(uint16 width, uint16 height) const;
src/add-ons/accelerants/common/create_display_modes.cpp
393
ModeList::_AddBaseMode(uint16 width, uint16 height, uint32 refresh)
src/add-ons/accelerants/common/create_display_modes.cpp
406
if (mode.timing.h_display == width && mode.timing.v_display == height
src/add-ons/accelerants/common/create_display_modes.cpp
415
if (compute_display_timing(width, height, refresh, false, &mode.timing)
src/add-ons/accelerants/common/create_display_modes.cpp
419
fill_display_mode(width, height, &mode);
src/add-ons/accelerants/common/create_display_modes.cpp
426
ModeList::_FindMode(uint16 width, uint16 height) const
src/add-ons/accelerants/common/create_display_modes.cpp
431
if (mode.timing.h_display == width && mode.timing.v_display == height)
src/add-ons/accelerants/common/create_display_modes.cpp
538
fill_display_mode(uint32 width, uint32 height, display_mode* mode)
src/add-ons/accelerants/common/create_display_modes.cpp
541
mode->virtual_width = width;
src/add-ons/accelerants/et6x00/Acceleration.c
102
width = list->width;
src/add-ons/accelerants/et6x00/Acceleration.c
114
*((vuint16 *)(mmRegs+0x98)) = (width + 1) * bpp - 1;
src/add-ons/accelerants/et6x00/Acceleration.c
126
srcAddr = (src_top * screenWidth + src_left + width) * bpp + bpp-1;
src/add-ons/accelerants/et6x00/Acceleration.c
127
destAddr = (dest_top * screenWidth + dest_left + width) * bpp + bpp-1;
src/add-ons/accelerants/et6x00/Acceleration.c
136
srcAddr = ((src_top + height)*screenWidth + src_left + width) * bpp + bpp-1;
src/add-ons/accelerants/et6x00/Acceleration.c
137
destAddr = ((dest_top + height)*screenWidth + dest_left + width) * bpp + bpp-1;
src/add-ons/accelerants/et6x00/Acceleration.c
82
uint16 src_left, src_top, dest_left, dest_top, width, height;
src/add-ons/accelerants/intel_extreme/accelerant.h
34
uint16 width;
src/add-ons/accelerants/intel_extreme/accelerant_protos.h
56
status_t intel_set_cursor_shape(uint16 width, uint16 height, uint16 hotX,
src/add-ons/accelerants/intel_extreme/accelerant_protos.h
85
uint16 width, uint16 height);
src/add-ons/accelerants/intel_extreme/cursor.cpp
17
intel_set_cursor_shape(uint16 width, uint16 height, uint16 hotX, uint16 hotY,
src/add-ons/accelerants/intel_extreme/cursor.cpp
20
if (width > 64 || height > 64)
src/add-ons/accelerants/intel_extreme/cursor.cpp
38
uint8 byteWidth = (width + 7) / 8;
src/add-ons/accelerants/intel_extreme/cursor.cpp
55
write32(INTEL_CURSOR_SIZE, height << 12 | width);
src/add-ons/accelerants/intel_extreme/engine.cpp
306
blit.dest_right = params[i].dest_left + params[i].width + 1;
src/add-ons/accelerants/intel_extreme/overlay.cpp
348
intel_allocate_overlay_buffer(color_space colorSpace, uint16 width,
src/add-ons/accelerants/intel_extreme/overlay.cpp
351
TRACE("%s(width %u, height %u, colorSpace %lu)\n", __func__, width,
src/add-ons/accelerants/intel_extreme/overlay.cpp
388
buffer->width = width;
src/add-ons/accelerants/intel_extreme/overlay.cpp
390
buffer->bytes_per_row = (width * bytesPerPixel + alignment) & ~alignment;
src/add-ons/accelerants/intel_extreme/overlay.cpp
486
constraints->view.width.min = 4; // make 4-tap filter happy
src/add-ons/accelerants/intel_extreme/overlay.cpp
488
constraints->view.width.max = buffer->width;
src/add-ons/accelerants/intel_extreme/overlay.cpp
496
constraints->window.width.min = 2;
src/add-ons/accelerants/intel_extreme/overlay.cpp
497
constraints->window.width.max = mode->virtual_width;
src/add-ons/accelerants/intel_extreme/overlay.cpp
503
constraints->h_scale.max = buffer->width * 7;
src/add-ons/accelerants/intel_extreme/overlay.cpp
586
right = window->h_start + window->width;
src/add-ons/accelerants/intel_extreme/overlay.cpp
608
uint32 horizontalScale = (view->width << 12) / window->width;
src/add-ons/accelerants/intel_extreme/overlay.cpp
621
right = view->h_start + view->width;
src/add-ons/accelerants/intel_extreme/overlay.cpp
636
+ (view->width << 1) + 0x1f) >> 5)
src/add-ons/accelerants/intel_extreme/overlay.cpp
640
int yswidth = view->width << 1;
src/add-ons/accelerants/matrox/Cursor.c
25
status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask)
src/add-ons/accelerants/matrox/Cursor.c
27
LOG(4,("SET_CURSOR_SHAPE: width %d, height %d\n", width, height));
src/add-ons/accelerants/matrox/Cursor.c
28
if ((width != 16) || (height != 16))
src/add-ons/accelerants/matrox/Cursor.c
32
else if ((hot_x >= width) || (hot_y >= height))
src/add-ons/accelerants/matrox/Cursor.c
41
si->cursor.width = width;
src/add-ons/accelerants/matrox/InitAccelerant.c
154
si->cursor.width = 16;
src/add-ons/accelerants/matrox/Overlay.c
113
if (width == (width & ~0x0007))
src/add-ons/accelerants/matrox/Overlay.c
115
si->overlay.myBuffer[offset].width = width;
src/add-ons/accelerants/matrox/Overlay.c
119
si->overlay.myBuffer[offset].width = (width & ~0x0007) + 8;
src/add-ons/accelerants/matrox/Overlay.c
121
si->overlay.myBuffer[offset].bytes_per_row = 2 * si->overlay.myBuffer[offset].width;
src/add-ons/accelerants/matrox/Overlay.c
126
if (si->overlay.myBuffer[offset].width > 4088)
src/add-ons/accelerants/matrox/Overlay.c
180
if (si->overlay.myBuffer[offset].width > 1024) {
src/add-ons/accelerants/matrox/Overlay.c
199
if (si->overlay.myBuffer[offset].width > 1920) {
src/add-ons/accelerants/matrox/Overlay.c
220
si->overlay.myBufInfo[offset].slopspace = si->overlay.myBuffer[offset].width - width;
src/add-ons/accelerants/matrox/Overlay.c
479
oc->view.width.min = 1;
src/add-ons/accelerants/matrox/Overlay.c
481
oc->view.width.max = ob->width;
src/add-ons/accelerants/matrox/Overlay.c
489
oc->window.width.min = 2;
src/add-ons/accelerants/matrox/Overlay.c
493
oc->window.width.max = 2048;
src/add-ons/accelerants/matrox/Overlay.c
497
oc->window.width.max = dm->virtual_width;
src/add-ons/accelerants/matrox/Overlay.c
516
oc->h_scale.max = (16384 * 2)/(float)(ob->width - si->overlay.myBufInfo[offset].slopspace);
src/add-ons/accelerants/matrox/Overlay.c
521
oc->h_scale.max = 16384/(float)(ob->width - si->overlay.myBufInfo[offset].slopspace);
src/add-ons/accelerants/matrox/Overlay.c
79
const overlay_buffer *ALLOCATE_OVERLAY_BUFFER(color_space cs, uint16 width, uint16 height)
src/add-ons/accelerants/matrox/be_driver_proto.h
35
status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask);
src/add-ons/accelerants/matrox/be_driver_proto.h
50
const overlay_buffer *ALLOCATE_OVERLAY_BUFFER(color_space cs, uint16 width, uint16 height);
src/add-ons/accelerants/matrox/engine/mga_acc.c
228
t_end += list[i].width;
src/add-ons/accelerants/matrox/engine/mga_acc.c
232
b_end += list[i].width;
src/add-ons/accelerants/matrox/engine/mga_acc.c
269
ACCW(FXBNDRY,((list[i].dest_left + list[i].width) << 16) | list[i].dest_left);
src/add-ons/accelerants/matrox/engine/mga_acc.c
295
t_end += list[i].width;
src/add-ons/accelerants/matrox/engine/mga_acc.c
299
b_end += list[i].width;
src/add-ons/accelerants/matrox/engine/mga_acc.c
336
ACCW(FXBNDRY,((list[i].dest_left + list[i].width) << 16) | list[i].dest_left);
src/add-ons/accelerants/matrox/engine/mga_bes.c
103
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1))
src/add-ons/accelerants/matrox/engine/mga_bes.c
111
temp2 = ((uint16)(si->overlay.ow.h_start + si->overlay.ow.width - crtc_hstart - 1)) & 0x7ff;
src/add-ons/accelerants/matrox/engine/mga_bes.c
191
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1))
src/add-ons/accelerants/matrox/engine/mga_bes.c
194
moi->hsrcstv += (si->overlay.ow.width - 2);
src/add-ons/accelerants/matrox/engine/mga_bes.c
222
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) > (crtc_hend - 1))
src/add-ons/accelerants/matrox/engine/mga_bes.c
229
moi->hsrcendv += (si->overlay.ow.width - 2);
src/add-ons/accelerants/matrox/engine/mga_bes.c
234
moi->hsrcendv += ((si->overlay.ow.h_start + si->overlay.ow.width - 1) - (crtc_hend - 1));
src/add-ons/accelerants/matrox/engine/mga_bes.c
242
moi->hsrcendv = (((uint32)((si->overlay.my_ov.h_start + si->overlay.my_ov.width) - 1)) << 16) - moi->hsrcendv;
src/add-ons/accelerants/matrox/engine/mga_bes.c
247
moi->hsrcendv = (((uint32)((si->overlay.my_ov.h_start + si->overlay.my_ov.width) - 1)) << 16);
src/add-ons/accelerants/matrox/engine/mga_bes.c
417
if (my_ov.width == 0) my_ov.width++;
src/add-ons/accelerants/matrox/engine/mga_bes.c
419
if (my_ov.h_start > ((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1))
src/add-ons/accelerants/matrox/engine/mga_bes.c
420
my_ov.h_start = ((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1);
src/add-ons/accelerants/matrox/engine/mga_bes.c
421
if (((my_ov.h_start + my_ov.width) - 1) > ((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1))
src/add-ons/accelerants/matrox/engine/mga_bes.c
422
my_ov.width = ((((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1) - my_ov.h_start) + 1);
src/add-ons/accelerants/matrox/engine/mga_bes.c
429
my_ov.h_start, my_ov.v_start, my_ov.width, my_ov.height));
src/add-ons/accelerants/matrox/engine/mga_bes.c
442
(ob->width - si->overlay.myBufInfo[offset].slopspace), ob->height));
src/add-ons/accelerants/matrox/engine/mga_bes.c
443
LOG(6,("Overlay: output picture width = %d, height = %d\n", ow->width, ow->height));
src/add-ons/accelerants/matrox/engine/mga_bes.c
449
if ((my_ov.width == ow->width) | (ow->width < 2))
src/add-ons/accelerants/matrox/engine/mga_bes.c
462
if ((ow->width < my_ov.width) & (ow->width >= 2))
src/add-ons/accelerants/matrox/engine/mga_bes.c
476
ifactor = (((uint32)(my_ov.width - intrep)) << 16) / (ow->width - intrep);
src/add-ons/accelerants/matrox/engine/mga_bes.c
489
if (((((uint32)my_ov.width) << 16) / 16384) > hiscalv)
src/add-ons/accelerants/matrox/engine/mga_bes.c
492
hiscalv = ((((uint32)my_ov.width) << 16) / 16384);
src/add-ons/accelerants/matrox/engine/mga_bes.c
580
hsrclstv = ((ob->width - 1) - si->overlay.myBufInfo[offset].slopspace) << 16;
src/add-ons/accelerants/matrox/engine/mga_bes.c
671
if ((ow->flags & B_OVERLAY_VERTICAL_FILTERING) && (viscalv < (0x01 << 16)) && (ob->width <= 1024)) {
src/add-ons/accelerants/matrox/engine/mga_bes.c
768
BESW(PITCH, (ob->width & 0x00000fff));
src/add-ons/accelerants/matrox/engine/mga_bes.c
89
if (si->overlay.ow.width < 2)
src/add-ons/accelerants/matrox/engine/mga_bes.c
96
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) > (crtc_hend - 1))
src/add-ons/accelerants/neomagic/Acceleration.c
26
list[i].width,
src/add-ons/accelerants/neomagic/Acceleration.c
68
list[i].width,
src/add-ons/accelerants/neomagic/Cursor.c
13
status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask)
src/add-ons/accelerants/neomagic/Cursor.c
16
width, height, hot_x, hot_y));
src/add-ons/accelerants/neomagic/Cursor.c
18
if ((width != 16) || (height != 16))
src/add-ons/accelerants/neomagic/Cursor.c
22
else if ((hot_x >= width) || (hot_y >= height))
src/add-ons/accelerants/neomagic/Cursor.c
31
si->cursor.width = width;
src/add-ons/accelerants/neomagic/InitAccelerant.c
180
si->cursor.width = 16;
src/add-ons/accelerants/neomagic/Overlay.c
103
si->overlay.myBuffer[offset].width = (width & ~0x0007) + 8;
src/add-ons/accelerants/neomagic/Overlay.c
105
si->overlay.myBuffer[offset].bytes_per_row = 2 * si->overlay.myBuffer[offset].width;
src/add-ons/accelerants/neomagic/Overlay.c
109
if (si->overlay.myBuffer[offset].width > 2048)
src/add-ons/accelerants/neomagic/Overlay.c
131
if (si->overlay.myBuffer[offset].width > 1024)
src/add-ons/accelerants/neomagic/Overlay.c
152
si->overlay.myBufInfo[offset].slopspace = si->overlay.myBuffer[offset].width - width;
src/add-ons/accelerants/neomagic/Overlay.c
392
oc->view.width.min = 1;
src/add-ons/accelerants/neomagic/Overlay.c
394
oc->view.width.max = ob->width;
src/add-ons/accelerants/neomagic/Overlay.c
402
oc->window.width.min = 2;
src/add-ons/accelerants/neomagic/Overlay.c
407
oc->window.width.max = 2048;
src/add-ons/accelerants/neomagic/Overlay.c
411
oc->window.width.max = dm->virtual_width;
src/add-ons/accelerants/neomagic/Overlay.c
68
const overlay_buffer *ALLOCATE_OVERLAY_BUFFER(color_space cs, uint16 width, uint16 height)
src/add-ons/accelerants/neomagic/Overlay.c
97
if (width == (width & ~0x0007))
src/add-ons/accelerants/neomagic/Overlay.c
99
si->overlay.myBuffer[offset].width = width;
src/add-ons/accelerants/neomagic/be_driver_proto.h
35
status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask);
src/add-ons/accelerants/neomagic/be_driver_proto.h
57
const overlay_buffer *ALLOCATE_OVERLAY_BUFFER(color_space cs, uint16 width, uint16 height);
src/add-ons/accelerants/neomagic/engine/nm_bes.c
178
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1))
src/add-ons/accelerants/neomagic/engine/nm_bes.c
181
hsrcstv += (si->overlay.ow.width - 2);
src/add-ons/accelerants/neomagic/engine/nm_bes.c
208
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) > (crtc_hend - 1))
src/add-ons/accelerants/neomagic/engine/nm_bes.c
215
moi->hsrcendv += (si->overlay.ow.width - 2);
src/add-ons/accelerants/neomagic/engine/nm_bes.c
220
moi->hsrcendv += ((si->overlay.ow.h_start + si->overlay.ow.width - 1) - (crtc_hend - 1));
src/add-ons/accelerants/neomagic/engine/nm_bes.c
228
moi->hsrcendv = (((uint32)((si->overlay.my_ov.h_start + si->overlay.my_ov.width) - 1)) << 16) - moi->hsrcendv;
src/add-ons/accelerants/neomagic/engine/nm_bes.c
233
moi->hsrcendv = (((uint32)((si->overlay.my_ov.h_start + si->overlay.my_ov.width) - 1)) << 16);
src/add-ons/accelerants/neomagic/engine/nm_bes.c
423
if (my_ov.width == 0) my_ov.width++;
src/add-ons/accelerants/neomagic/engine/nm_bes.c
425
if (my_ov.h_start > ((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1))
src/add-ons/accelerants/neomagic/engine/nm_bes.c
426
my_ov.h_start = ((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1);
src/add-ons/accelerants/neomagic/engine/nm_bes.c
427
if (((my_ov.h_start + my_ov.width) - 1) > ((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1))
src/add-ons/accelerants/neomagic/engine/nm_bes.c
428
my_ov.width = ((((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1) - my_ov.h_start) + 1);
src/add-ons/accelerants/neomagic/engine/nm_bes.c
435
my_ov.h_start, my_ov.v_start, my_ov.width, my_ov.height));
src/add-ons/accelerants/neomagic/engine/nm_bes.c
448
(ob->width - si->overlay.myBufInfo[offset].slopspace), ob->height));
src/add-ons/accelerants/neomagic/engine/nm_bes.c
449
LOG(6,("Overlay: output picture width = %d, height = %d\n", ow->width, ow->height));
src/add-ons/accelerants/neomagic/engine/nm_bes.c
452
ifactor = ((((uint32)my_ov.width) << 12) / ow->width);
src/add-ons/accelerants/neomagic/engine/nm_bes.c
571
uint16 buf_pitch = ob->width;
src/add-ons/accelerants/neomagic/engine/nm_bes.c
678
bi.ob_width = ob->width;
src/add-ons/accelerants/neomagic/engine/nm_bes.c
75
if (si->overlay.ow.width < 2)
src/add-ons/accelerants/neomagic/engine/nm_bes.c
82
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) > (crtc_hend - 1))
src/add-ons/accelerants/neomagic/engine/nm_bes.c
89
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1))
src/add-ons/accelerants/neomagic/engine/nm_bes.c
97
temp2 = ((uint16)(si->overlay.ow.h_start + si->overlay.ow.width - crtc_hstart - 1));
src/add-ons/accelerants/neomagic/engine/nm_crtc.c
318
uint8 width;
src/add-ons/accelerants/neomagic/engine/nm_crtc.c
327
width = (3 << 5);
src/add-ons/accelerants/neomagic/engine/nm_crtc.c
330
width = (2 << 5);
src/add-ons/accelerants/neomagic/engine/nm_crtc.c
333
width = (1 << 5);
src/add-ons/accelerants/neomagic/engine/nm_crtc.c
337
width = (0 << 5);
src/add-ons/accelerants/neomagic/engine/nm_crtc.c
348
ISAGRPHW(PANELCTRL1, ((temp & ~0x20) | (width & 0x20)));
src/add-ons/accelerants/neomagic/engine/nm_crtc.c
352
ISAGRPHW(PANELCTRL1, ((temp & ~0x60) | (width & 0x60)));
src/add-ons/accelerants/nvidia/Acceleration.c
43
list[i].width,
src/add-ons/accelerants/nvidia/Acceleration.c
87
list[i].width,
src/add-ons/accelerants/nvidia/Cursor.c
14
status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask)
src/add-ons/accelerants/nvidia/Cursor.c
17
width, height, hot_x, hot_y));
src/add-ons/accelerants/nvidia/Cursor.c
19
if ((width != 16) || (height != 16))
src/add-ons/accelerants/nvidia/Cursor.c
23
else if ((hot_x >= width) || (hot_y >= height))
src/add-ons/accelerants/nvidia/Cursor.c
34
si->cursor.width = width;
src/add-ons/accelerants/nvidia/InitAccelerant.c
150
si->cursor.width = 16;
src/add-ons/accelerants/nvidia/Overlay.c
104
si->overlay.myBuffer[offset].width = ((width + 0x000f) & ~0x000f);
src/add-ons/accelerants/nvidia/Overlay.c
109
si->overlay.myBuffer[offset].width = ((width + 0x001f) & ~0x001f);
src/add-ons/accelerants/nvidia/Overlay.c
111
si->overlay.myBuffer[offset].bytes_per_row = 2 * si->overlay.myBuffer[offset].width;
src/add-ons/accelerants/nvidia/Overlay.c
115
if (si->overlay.myBuffer[offset].width > 4088)
src/add-ons/accelerants/nvidia/Overlay.c
143
if (si->overlay.myBuffer[offset].width > 1024) {
src/add-ons/accelerants/nvidia/Overlay.c
163
if (si->overlay.myBuffer[offset].width > 1920) {
src/add-ons/accelerants/nvidia/Overlay.c
182
si->overlay.myBufInfo[offset].slopspace = si->overlay.myBuffer[offset].width - width;
src/add-ons/accelerants/nvidia/Overlay.c
445
oc->view.width.min = 1;
src/add-ons/accelerants/nvidia/Overlay.c
447
oc->view.width.max = ob->width;
src/add-ons/accelerants/nvidia/Overlay.c
455
oc->window.width.min = 2;
src/add-ons/accelerants/nvidia/Overlay.c
460
oc->window.width.max = 2046;
src/add-ons/accelerants/nvidia/Overlay.c
464
oc->window.width.max = dm->virtual_width;
src/add-ons/accelerants/nvidia/Overlay.c
72
const overlay_buffer *ALLOCATE_OVERLAY_BUFFER(color_space cs, uint16 width,
src/add-ons/accelerants/nvidia/be_driver_proto.h
41
status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask);
src/add-ons/accelerants/nvidia/be_driver_proto.h
65
const overlay_buffer *ALLOCATE_OVERLAY_BUFFER(color_space cs, uint16 width, uint16 height);
src/add-ons/accelerants/nvidia/engine/nv_acc_dma.c
1713
((((list[i].height) + 1) << 16) | ((list[i].width) + 1)); /* HeightWidth */
src/add-ons/accelerants/nvidia/engine/nv_acc_dma.c
2023
list[i].dest_cliplist[j].width + 1, list[i].dest_cliplist[j].height + 1));
src/add-ons/accelerants/nvidia/engine/nv_acc_dma.c
2031
((list[i].dest_cliplist[j].height + 1) << 16) | (list[i].dest_cliplist[j].width + 1); /* DestHeightWidthClipRect */
src/add-ons/accelerants/nvidia/engine/nv_bes.c
108
if (si->overlay.ow.width < 2)
src/add-ons/accelerants/nvidia/engine/nv_bes.c
115
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) > (crtc_hend - 1))
src/add-ons/accelerants/nvidia/engine/nv_bes.c
122
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1))
src/add-ons/accelerants/nvidia/engine/nv_bes.c
130
temp2 = ((uint16)(si->overlay.ow.h_start + si->overlay.ow.width - crtc_hstart - 1)) & 0x7ff;
src/add-ons/accelerants/nvidia/engine/nv_bes.c
210
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1))
src/add-ons/accelerants/nvidia/engine/nv_bes.c
213
moi->hsrcstv += (si->overlay.ow.width - 2);
src/add-ons/accelerants/nvidia/engine/nv_bes.c
461
if (my_ov.width == 0) my_ov.width++;
src/add-ons/accelerants/nvidia/engine/nv_bes.c
463
if (my_ov.h_start > ((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1))
src/add-ons/accelerants/nvidia/engine/nv_bes.c
464
my_ov.h_start = ((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1);
src/add-ons/accelerants/nvidia/engine/nv_bes.c
465
if (((my_ov.h_start + my_ov.width) - 1) > ((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1))
src/add-ons/accelerants/nvidia/engine/nv_bes.c
466
my_ov.width = ((((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1) - my_ov.h_start) + 1);
src/add-ons/accelerants/nvidia/engine/nv_bes.c
473
my_ov.h_start, my_ov.v_start, my_ov.width, my_ov.height));
src/add-ons/accelerants/nvidia/engine/nv_bes.c
485
(ob->width - si->overlay.myBufInfo[offset].slopspace), ob->height));
src/add-ons/accelerants/nvidia/engine/nv_bes.c
486
LOG(4,("Overlay: output picture width = %d, height = %d\n", ow->width, ow->height));
src/add-ons/accelerants/nvidia/engine/nv_bes.c
492
if ((my_ov.width == ow->width) | (ow->width < 2))
src/add-ons/accelerants/nvidia/engine/nv_bes.c
505
if ((ow->width < my_ov.width) & (ow->width >= 2))
src/add-ons/accelerants/nvidia/engine/nv_bes.c
51
if ((si->overlay.ow.h_start + (si->overlay.ow.width / 2)) <
src/add-ons/accelerants/nvidia/engine/nv_bes.c
519
ifactor = (((uint32)(my_ov.width - intrep)) << 16) / (ow->width - intrep);
src/add-ons/accelerants/nvidia/engine/nv_bes.c
723
BESW(NV04_0SRCPTCH, (ob->width * 2));
src/add-ons/accelerants/nvidia/engine/nv_bes.c
724
BESW(NV04_1SRCPTCH, (ob->width * 2));
src/add-ons/accelerants/nvidia/engine/nv_bes.c
789
BESW(NV10_0SRCSIZE, ((ob->height << 16) | ob->width));
src/add-ons/accelerants/nvidia/engine/nv_bes.c
795
BESW(NV10_0SRCPTCH, (((ob->width * 2) & 0x0000ffff) | (1 << 16) | (1 << 20) | (0 << 24)));
src/add-ons/accelerants/nvidia/engine/nv_bes.c
797
BESW(NV10_0SRCPTCH, (((ob->width * 2) & 0x0000ffff) | (1 << 16) | (0 << 20) | (0 << 24)));
src/add-ons/accelerants/nvidia/engine/nv_info.c
2330
uint16 width = ((DACR(FP_HDISPEND) & 0x0000ffff) + 1);
src/add-ons/accelerants/nvidia/engine/nv_info.c
2332
if ((width >= 640) && (height >= 480))
src/add-ons/accelerants/nvidia/engine/nv_info.c
2336
si->ps.p1_timing.h_display = width;
src/add-ons/accelerants/nvidia/engine/nv_info.c
2343
uint16 width = ((DAC2R(FP_HDISPEND) & 0x0000ffff) + 1);
src/add-ons/accelerants/nvidia/engine/nv_info.c
2345
if ((width >= 640) && (height >= 480))
src/add-ons/accelerants/nvidia/engine/nv_info.c
2349
si->ps.p2_timing.h_display = width;
src/add-ons/accelerants/nvidia/engine/nv_info.c
2357
uint16 width = ((DACR(FP_HDISPEND) & 0x0000ffff) + 1);
src/add-ons/accelerants/nvidia/engine/nv_info.c
2359
if ((width >= 640) && (height >= 480))
src/add-ons/accelerants/nvidia/engine/nv_info.c
2363
si->ps.p1_timing.h_display = width;
src/add-ons/accelerants/nvidia/engine/nv_info.c
2371
uint16 width = ((DAC2R(FP_HDISPEND) & 0x0000ffff) + 1);
src/add-ons/accelerants/nvidia/engine/nv_info.c
2373
if ((width >= 640) && (height >= 480))
src/add-ons/accelerants/nvidia/engine/nv_info.c
2377
si->ps.p2_timing.h_display = width;
src/add-ons/accelerants/nvidia/engine/nv_proto.h
133
uint16 width; /* 0 to N, where zero means one */
src/add-ons/accelerants/radeon/Acceleration.c
100
OUTREG( ai->regs, RADEON_DST_HEIGHT_WIDTH, ((list->height + 1) << 16 ) | (list->width + 1));
src/add-ons/accelerants/radeon/Acceleration.c
298
uint16 y, x, width;
src/add-ons/accelerants/radeon/Acceleration.c
302
width = *list++ - x + 1;
src/add-ons/accelerants/radeon/Acceleration.c
305
*buffer++ = (width << 16) | 1;
src/add-ons/accelerants/radeon/Acceleration.c
325
uint16 y, x, width;
src/add-ons/accelerants/radeon/Acceleration.c
350
width = *list++ - x + 1;
src/add-ons/accelerants/radeon/Acceleration.c
353
OUTREG( ai->regs, RADEON_DST_LINE_END, ((y) << 16) | (x + width));
src/add-ons/accelerants/radeon/Acceleration.c
50
*buffer++ = ((list->width + 1) << 16) | (list->height + 1);
src/add-ons/accelerants/radeon/Acceleration.c
89
if (xdir < 0) list->src_left += list->width , list->dest_left += list->width ;
src/add-ons/accelerants/radeon/Cursor.c
34
status_t SET_CURSOR_SHAPE( uint16 width, uint16 height, uint16 hot_x, uint16 hot_y,
src/add-ons/accelerants/radeon/Cursor.c
45
if( hot_x >= width || hot_y >= height )
src/add-ons/accelerants/radeon/Cursor.c
55
if( row < height && col_byte < (width + 7) / 8 ) {
src/add-ons/accelerants/radeon/generic.h
37
status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask);
src/add-ons/accelerants/radeon/generic.h
69
const overlay_buffer *ALLOCATE_OVERLAY_BUFFER(color_space cs, uint16 width, uint16 height);
src/add-ons/accelerants/radeon/overlay.c
1041
right = left + ow->width;
src/add-ons/accelerants/radeon/overlay.c
1133
si->active_overlay.ob.width != si->pending_overlay.ob.width ||
src/add-ons/accelerants/radeon/overlay.c
118
si->active_overlay.ob.width = -1;
src/add-ons/accelerants/radeon/overlay.c
578
src_width = overlay->ov.width;
src/add-ons/accelerants/radeon/overlay.c
583
h_inc = (src_width << (12 + ecp_div)) / overlay->ow.width;
src/add-ons/accelerants/radeon/overlay.c
588
src_h_inc = (src_width << 16) / overlay->ow.width;
src/add-ons/accelerants/radeon/overlay.c
597
src_right = ((overlay->ov.h_start + overlay->ov.width) << 16) -
src/add-ons/accelerants/radeon/overlay.c
603
dest_right = overlay->ow.h_start + overlay->ow.width - overlay->ow.offset_right;
src/add-ons/accelerants/radeon/overlay.c
608
overlay->ow.width, overlay->ow.height );
src/add-ons/accelerants/radeon/overlay_management.c
136
buffer->width = width;
src/add-ons/accelerants/radeon/overlay_management.c
138
buffer->bytes_per_row = (width * bpp + 0xf) & ~0xf;
src/add-ons/accelerants/radeon/overlay_management.c
264
oc->view.width.min = 4; // make 4-tap filter happy
src/add-ons/accelerants/radeon/overlay_management.c
266
oc->view.width.max = ob->width;
src/add-ons/accelerants/radeon/overlay_management.c
274
oc->window.width.min = 2;
src/add-ons/accelerants/radeon/overlay_management.c
275
oc->window.width.max = dm->virtual_width;
src/add-ons/accelerants/radeon/overlay_management.c
69
const overlay_buffer *ALLOCATE_OVERLAY_BUFFER( color_space cs, uint16 width, uint16 height )
src/add-ons/accelerants/s3/accel.h
123
status_t SetCursorShape(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y,
src/add-ons/accelerants/s3/accel.h
174
bool Savage_LoadCursorImage(int width, int height, uint8* and_mask, uint8* xor_mask);
src/add-ons/accelerants/s3/accel.h
183
bool Trio64_LoadCursorImage(int width, int height, uint8* and_mask, uint8* xor_mask);
src/add-ons/accelerants/s3/accel.h
194
bool Virge_LoadCursorImage(int width, int height, uint8* and_mask, uint8* xor_mask);
src/add-ons/accelerants/s3/accel.h
53
bool (*LoadCursorImage)(int width, int height, uint8* and_mask, uint8* xor_mask);
src/add-ons/accelerants/s3/cursor.cpp
13
SetCursorShape(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y,
src/add-ons/accelerants/s3/cursor.cpp
18
if ((width != 16) || (height != 16)) {
src/add-ons/accelerants/s3/cursor.cpp
20
} else if ((hot_x >= width) || (hot_y >= height)) {
src/add-ons/accelerants/s3/cursor.cpp
29
if ( ! gInfo.LoadCursorImage(width, height, andMask, xorMask))
src/add-ons/accelerants/s3/mode.cpp
112
FindDisplayMode(int width, int height, int refreshRate, uint32 colorDepth)
src/add-ons/accelerants/s3/mode.cpp
129
if (mode.timing.h_display == width && mode.timing.v_display == height) {
src/add-ons/accelerants/s3/savage_cursor.cpp
111
for (int colByte = 0; colByte < width / 8; colByte++) {
src/add-ons/accelerants/s3/savage_cursor.cpp
83
Savage_LoadCursorImage(int width, int height, uint8* andMask, uint8* xorMask)
src/add-ons/accelerants/s3/savage_draw.cpp
134
int width = pList->width;
src/add-ons/accelerants/s3/savage_draw.cpp
145
src_x += width;
src/add-ons/accelerants/s3/savage_draw.cpp
146
dest_x += width;
src/add-ons/accelerants/s3/savage_draw.cpp
168
BCI_SEND(BCI_W_H(width + 1, height + 1));
src/add-ons/accelerants/s3/savage_mode.cpp
726
int width = mode.bytesPerRow / 8;
src/add-ons/accelerants/s3/savage_mode.cpp
727
regRec.CR91 = 0xff & width;
src/add-ons/accelerants/s3/savage_mode.cpp
728
regRec.CR51 = (0x300 & width) >> 4;
src/add-ons/accelerants/s3/savage_mode.cpp
729
regRec.CR90 = 0x80 | (width >> 8);
src/add-ons/accelerants/s3/savage_mode.cpp
740
width = mode.timing.h_display; // width of display in pixels
src/add-ons/accelerants/s3/savage_mode.cpp
742
if (width == 640)
src/add-ons/accelerants/s3/savage_mode.cpp
744
else if (width == 800)
src/add-ons/accelerants/s3/savage_mode.cpp
746
else if (width == 1024)
src/add-ons/accelerants/s3/savage_mode.cpp
748
else if (width == 1152)
src/add-ons/accelerants/s3/savage_mode.cpp
750
else if (width == 1280)
src/add-ons/accelerants/s3/savage_mode.cpp
752
else if (width == 1600)
src/add-ons/accelerants/s3/trio64_cursor.cpp
60
Trio64_LoadCursorImage(int width, int height, uint8* andMask, uint8* xorMask)
src/add-ons/accelerants/s3/trio64_cursor.cpp
88
for (int colByte = 0; colByte < width / 8; colByte++) {
src/add-ons/accelerants/s3/trio64_draw.cpp
124
int width = pList->width;
src/add-ons/accelerants/s3/trio64_draw.cpp
133
src_x += width;
src/add-ons/accelerants/s3/trio64_draw.cpp
134
dest_x += width;
src/add-ons/accelerants/s3/trio64_draw.cpp
149
WriteReg16(CUR_WIDTH, width);
src/add-ons/accelerants/s3/virge_cursor.cpp
60
Virge_LoadCursorImage(int width, int height, uint8* andMask, uint8* xorMask)
src/add-ons/accelerants/s3/virge_cursor.cpp
88
for (int colByte = 0; colByte < width / 8; colByte++) {
src/add-ons/accelerants/s3/virge_draw.cpp
132
int width = pList->width;
src/add-ons/accelerants/s3/virge_draw.cpp
141
src_x += width;
src/add-ons/accelerants/s3/virge_draw.cpp
142
dest_x += width;
src/add-ons/accelerants/s3/virge_draw.cpp
153
WriteReg32(RWIDTH_HEIGHT, ((width) << 16) | (height + 1));
src/add-ons/accelerants/s3/virge_mode.cpp
625
int width = mode.bytesPerRow >> 3;
src/add-ons/accelerants/s3/virge_mode.cpp
626
regRec.CRTC[0x13] = 0xFF & width;
src/add-ons/accelerants/s3/virge_mode.cpp
627
regRec.CR51 = (0x300 & width) >> 4; // Extension bits
src/add-ons/accelerants/skeleton/Acceleration.c
29
list[i].width,
src/add-ons/accelerants/skeleton/Acceleration.c
71
list[i].width,
src/add-ons/accelerants/skeleton/Cursor.c
14
status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask)
src/add-ons/accelerants/skeleton/Cursor.c
17
width, height, hot_x, hot_y));
src/add-ons/accelerants/skeleton/Cursor.c
19
if ((width != 16) || (height != 16))
src/add-ons/accelerants/skeleton/Cursor.c
23
else if ((hot_x >= width) || (hot_y >= height))
src/add-ons/accelerants/skeleton/Cursor.c
34
si->cursor.width = width;
src/add-ons/accelerants/skeleton/InitAccelerant.c
142
si->cursor.width = 16;
src/add-ons/accelerants/skeleton/Overlay.c
102
si->overlay.myBuffer[offset].width = ((width + 0x000f) & ~0x000f);
src/add-ons/accelerants/skeleton/Overlay.c
109
si->overlay.myBuffer[offset].width = ((width + 0x001f) & ~0x001f);
src/add-ons/accelerants/skeleton/Overlay.c
111
si->overlay.myBuffer[offset].bytes_per_row = 2 * si->overlay.myBuffer[offset].width;
src/add-ons/accelerants/skeleton/Overlay.c
115
if (si->overlay.myBuffer[offset].width > 4088)
src/add-ons/accelerants/skeleton/Overlay.c
137
if (si->overlay.myBuffer[offset].width > 1024)
src/add-ons/accelerants/skeleton/Overlay.c
158
si->overlay.myBufInfo[offset].slopspace = si->overlay.myBuffer[offset].width - width;
src/add-ons/accelerants/skeleton/Overlay.c
410
oc->view.width.min = 1;
src/add-ons/accelerants/skeleton/Overlay.c
412
oc->view.width.max = ob->width;
src/add-ons/accelerants/skeleton/Overlay.c
420
oc->window.width.min = 2;
src/add-ons/accelerants/skeleton/Overlay.c
425
oc->window.width.max = 2046;
src/add-ons/accelerants/skeleton/Overlay.c
429
oc->window.width.max = dm->virtual_width;
src/add-ons/accelerants/skeleton/Overlay.c
71
const overlay_buffer *ALLOCATE_OVERLAY_BUFFER(color_space cs, uint16 width, uint16 height)
src/add-ons/accelerants/skeleton/be_driver_proto.h
37
status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask);
src/add-ons/accelerants/skeleton/be_driver_proto.h
59
const overlay_buffer *ALLOCATE_OVERLAY_BUFFER(color_space cs, uint16 width, uint16 height);
src/add-ons/accelerants/skeleton/engine/bes.c
108
if (si->overlay.ow.width < 2)
src/add-ons/accelerants/skeleton/engine/bes.c
115
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) > (crtc_hend - 1))
src/add-ons/accelerants/skeleton/engine/bes.c
122
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1))
src/add-ons/accelerants/skeleton/engine/bes.c
130
temp2 = ((uint16)(si->overlay.ow.h_start + si->overlay.ow.width - crtc_hstart - 1)) & 0x7ff;
src/add-ons/accelerants/skeleton/engine/bes.c
210
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1))
src/add-ons/accelerants/skeleton/engine/bes.c
213
moi->hsrcstv += (si->overlay.ow.width - 2);
src/add-ons/accelerants/skeleton/engine/bes.c
458
if (my_ov.width == 0) my_ov.width++;
src/add-ons/accelerants/skeleton/engine/bes.c
460
if (my_ov.h_start > ((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1))
src/add-ons/accelerants/skeleton/engine/bes.c
461
my_ov.h_start = ((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1);
src/add-ons/accelerants/skeleton/engine/bes.c
462
if (((my_ov.h_start + my_ov.width) - 1) > ((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1))
src/add-ons/accelerants/skeleton/engine/bes.c
463
my_ov.width = ((((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1) - my_ov.h_start) + 1);
src/add-ons/accelerants/skeleton/engine/bes.c
470
my_ov.h_start, my_ov.v_start, my_ov.width, my_ov.height));
src/add-ons/accelerants/skeleton/engine/bes.c
482
(ob->width - si->overlay.myBufInfo[offset].slopspace), ob->height));
src/add-ons/accelerants/skeleton/engine/bes.c
483
LOG(4,("Overlay: output picture width = %d, height = %d\n", ow->width, ow->height));
src/add-ons/accelerants/skeleton/engine/bes.c
489
if ((my_ov.width == ow->width) | (ow->width < 2))
src/add-ons/accelerants/skeleton/engine/bes.c
502
if ((ow->width < my_ov.width) & (ow->width >= 2))
src/add-ons/accelerants/skeleton/engine/bes.c
51
if ((si->overlay.ow.h_start + (si->overlay.ow.width / 2)) <
src/add-ons/accelerants/skeleton/engine/bes.c
516
ifactor = (((uint32)(my_ov.width - intrep)) << 16) / (ow->width - intrep);
src/add-ons/accelerants/skeleton/engine/bes.c
720
BESW(NV04_0SRCPTCH, (ob->width * 2));
src/add-ons/accelerants/skeleton/engine/bes.c
721
BESW(NV04_1SRCPTCH, (ob->width * 2));
src/add-ons/accelerants/skeleton/engine/bes.c
784
BESW(NV10_0SRCSIZE, ((ob->height << 16) | ob->width));
src/add-ons/accelerants/skeleton/engine/bes.c
789
BESW(NV10_0SRCPTCH, (((ob->width * 2) & 0x0000ffff) | (1 << 16) | (1 << 20) | (0 << 24)));
src/add-ons/accelerants/skeleton/engine/info.c
2195
uint16 width = ((DACR(FP_HDISPEND) & 0x0000ffff) + 1);
src/add-ons/accelerants/skeleton/engine/info.c
2197
if ((width >= 640) && (height >= 480))
src/add-ons/accelerants/skeleton/engine/info.c
2201
si->ps.p1_timing.h_display = width;
src/add-ons/accelerants/skeleton/engine/info.c
2208
uint16 width = ((DAC2R(FP_HDISPEND) & 0x0000ffff) + 1);
src/add-ons/accelerants/skeleton/engine/info.c
2210
if ((width >= 640) && (height >= 480))
src/add-ons/accelerants/skeleton/engine/info.c
2214
si->ps.p2_timing.h_display = width;
src/add-ons/accelerants/skeleton/engine/info.c
2222
uint16 width = ((DACR(FP_HDISPEND) & 0x0000ffff) + 1);
src/add-ons/accelerants/skeleton/engine/info.c
2224
if ((width >= 640) && (height >= 480))
src/add-ons/accelerants/skeleton/engine/info.c
2228
si->ps.p1_timing.h_display = width;
src/add-ons/accelerants/skeleton/engine/info.c
2236
uint16 width = ((DAC2R(FP_HDISPEND) & 0x0000ffff) + 1);
src/add-ons/accelerants/skeleton/engine/info.c
2238
if ((width >= 640) && (height >= 480))
src/add-ons/accelerants/skeleton/engine/info.c
2242
si->ps.p2_timing.h_display = width;
src/add-ons/accelerants/vesa/accelerant_protos.h
48
status_t vesa_set_cursor_shape(uint16 width, uint16 height, uint16 hotX,
src/add-ons/accelerants/vesa/accelerant_protos.h
50
status_t vesa_set_cursor_bitmap(uint16 width, uint16 height, uint16 hotX,
src/add-ons/accelerants/vesa/accelerant_protos.h
69
const overlay_buffer *vesa_allocate_overlay_buffer(color_space cs, uint16 width,
src/add-ons/accelerants/vesa/hooks.cpp
103
constraints->view.width.min = 4;
src/add-ons/accelerants/vesa/hooks.cpp
105
constraints->view.width.max = buffer->width;
src/add-ons/accelerants/vesa/hooks.cpp
113
constraints->window.width.min = 2;
src/add-ons/accelerants/vesa/hooks.cpp
114
constraints->window.width.max = mode->virtual_width;
src/add-ons/accelerants/vesa/hooks.cpp
119
constraints->h_scale.max = buffer->width * 7;
src/add-ons/accelerants/vesa/hooks.cpp
167
vesa_set_cursor_shape(uint16 width, uint16 height, uint16 hotX, uint16 hotY,
src/add-ons/accelerants/vesa/hooks.cpp
175
vesa_set_cursor_bitmap(uint16 width, uint16 height, uint16 hotX, uint16 hotY,
src/add-ons/accelerants/vesa/hooks.cpp
56
vesa_allocate_overlay_buffer(color_space colorSpace, uint16 width,
src/add-ons/accelerants/vesa/hooks.cpp
60
width, height, colorSpace);
src/add-ons/accelerants/vesa/hooks.cpp
67
buffer->width = width;
src/add-ons/accelerants/vesa/mode.cpp
100
if (mode->virtual_width == kNVidiaAllowedResolutions[i].width
src/add-ons/accelerants/vesa/mode.cpp
129
compute_display_timing(vesaModes[i].width, vesaModes[i].height,
src/add-ons/accelerants/vesa/mode.cpp
131
fill_display_mode(vesaModes[i].width, vesaModes[i].height,
src/add-ons/accelerants/vesa/mode.cpp
204
if (target->virtual_width == kNVidiaAllowedResolutions[i].width
src/add-ons/accelerants/vesa/mode.cpp
227
if (modes[i].width == mode.virtual_width
src/add-ons/accelerants/vesa/mode.cpp
29
int width;
src/add-ons/accelerants/vesa/mode.cpp
82
if (modes[i].width == mode->virtual_width
src/add-ons/accelerants/via/Acceleration.c
29
list[i].width,
src/add-ons/accelerants/via/Acceleration.c
71
list[i].width,
src/add-ons/accelerants/via/Cursor.c
14
status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask)
src/add-ons/accelerants/via/Cursor.c
17
width, height, hot_x, hot_y));
src/add-ons/accelerants/via/Cursor.c
19
if ((width != 16) || (height != 16))
src/add-ons/accelerants/via/Cursor.c
23
else if ((hot_x >= width) || (hot_y >= height))
src/add-ons/accelerants/via/Cursor.c
34
si->cursor.width = width;
src/add-ons/accelerants/via/InitAccelerant.c
143
si->cursor.width = 16;
src/add-ons/accelerants/via/Overlay.c
100
si->overlay.myBuffer[offset].bytes_per_row = 2 * si->overlay.myBuffer[offset].width;
src/add-ons/accelerants/via/Overlay.c
104
if (si->overlay.myBuffer[offset].width > 4088)
src/add-ons/accelerants/via/Overlay.c
126
if (si->overlay.myBuffer[offset].width > 1024)
src/add-ons/accelerants/via/Overlay.c
147
si->overlay.myBufInfo[offset].slopspace = si->overlay.myBuffer[offset].width - width;
src/add-ons/accelerants/via/Overlay.c
389
oc->view.width.min = 1;
src/add-ons/accelerants/via/Overlay.c
391
oc->view.width.max = ob->width;
src/add-ons/accelerants/via/Overlay.c
399
oc->window.width.min = 2;
src/add-ons/accelerants/via/Overlay.c
404
oc->window.width.max = 2046;
src/add-ons/accelerants/via/Overlay.c
408
oc->window.width.max = dm->virtual_width;
src/add-ons/accelerants/via/Overlay.c
70
const overlay_buffer *ALLOCATE_OVERLAY_BUFFER(color_space cs, uint16 width, uint16 height)
src/add-ons/accelerants/via/Overlay.c
99
si->overlay.myBuffer[offset].width = ((width + 0x0007) & ~0x0007);
src/add-ons/accelerants/via/be_driver_proto.h
37
status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x, uint16 hot_y, uint8 *andMask, uint8 *xorMask);
src/add-ons/accelerants/via/be_driver_proto.h
59
const overlay_buffer *ALLOCATE_OVERLAY_BUFFER(color_space cs, uint16 width, uint16 height);
src/add-ons/accelerants/via/engine/bes.c
126
if ((si->overlay.ow.h_start + (si->overlay.ow.width / 2)) <
src/add-ons/accelerants/via/engine/bes.c
183
if (si->overlay.ow.width < 2)
src/add-ons/accelerants/via/engine/bes.c
190
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) > (crtc_hend - 1))
src/add-ons/accelerants/via/engine/bes.c
197
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1))
src/add-ons/accelerants/via/engine/bes.c
205
temp2 = ((uint16)(si->overlay.ow.h_start + si->overlay.ow.width - crtc_hstart - 1)) & 0x7ff;
src/add-ons/accelerants/via/engine/bes.c
285
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) < (crtc_hstart + 1))
src/add-ons/accelerants/via/engine/bes.c
288
moi->hsrcstv += (si->overlay.ow.width - 2);
src/add-ons/accelerants/via/engine/bes.c
317
if ((si->overlay.ow.h_start + si->overlay.ow.width - 1) > (crtc_hend - 1))
src/add-ons/accelerants/via/engine/bes.c
324
moi->hsrcendv += (si->overlay.ow.width - 2);
src/add-ons/accelerants/via/engine/bes.c
329
moi->hsrcendv += ((si->overlay.ow.h_start + si->overlay.ow.width - 1) - (crtc_hend - 1));
src/add-ons/accelerants/via/engine/bes.c
337
moi->hsrcendv = (((uint32)((si->overlay.my_ov.h_start + si->overlay.my_ov.width) - 1)) << 16) - moi->hsrcendv;
src/add-ons/accelerants/via/engine/bes.c
342
moi->hsrcendv = (((uint32)((si->overlay.my_ov.h_start + si->overlay.my_ov.width) - 1)) << 16);
src/add-ons/accelerants/via/engine/bes.c
578
if (my_ov.width == 0) my_ov.width++;
src/add-ons/accelerants/via/engine/bes.c
580
if (my_ov.h_start > ((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1))
src/add-ons/accelerants/via/engine/bes.c
581
my_ov.h_start = ((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1);
src/add-ons/accelerants/via/engine/bes.c
582
if (((my_ov.h_start + my_ov.width) - 1) > ((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1))
src/add-ons/accelerants/via/engine/bes.c
583
my_ov.width = ((((ob->width - si->overlay.myBufInfo[offset].slopspace) - 1) - my_ov.h_start) + 1);
src/add-ons/accelerants/via/engine/bes.c
590
my_ov.h_start, my_ov.v_start, my_ov.width, my_ov.height));
src/add-ons/accelerants/via/engine/bes.c
602
(ob->width - si->overlay.myBufInfo[offset].slopspace), ob->height));
src/add-ons/accelerants/via/engine/bes.c
603
LOG(4,("Overlay: output picture width = %d, height = %d\n", ow->width, ow->height));
src/add-ons/accelerants/via/engine/bes.c
611
if ((my_ov.width == ow->width) | (ow->width < 2))
src/add-ons/accelerants/via/engine/bes.c
624
if ((ow->width < my_ov.width) & (ow->width >= 2))
src/add-ons/accelerants/via/engine/bes.c
638
ifactor = (((uint32)(my_ov.width - intrep)) << 16) / (ow->width - intrep);
src/add-ons/accelerants/via/engine/bes.c
882
BESW(V1_SOURCE_WH, ((ob->height << 16) | (ob->width)));
src/add-ons/accelerants/via/engine/bes.c
885
BESW(VID1_STRIDE, (ob->width * 2));
src/add-ons/accelerants/via/engine/bes.c
952
BESW(V3_SRC_WIDTH, (ob->width));
src/add-ons/accelerants/via/engine/bes.c
955
BESW(VID3_STRIDE, (ob->width * 2));
src/add-ons/accelerants/via/engine/info.c
257
uint16 width = ((DACR(FP_HDISPEND) & 0x0000ffff) + 1);
src/add-ons/accelerants/via/engine/info.c
259
if ((width >= 640) && (height >= 480))
src/add-ons/accelerants/via/engine/info.c
263
si->ps.p1_timing.h_display = width;
src/add-ons/accelerants/via/engine/info.c
270
uint16 width = ((DAC2R(FP_HDISPEND) & 0x0000ffff) + 1);
src/add-ons/accelerants/via/engine/info.c
272
if ((width >= 640) && (height >= 480))
src/add-ons/accelerants/via/engine/info.c
276
si->ps.p2_timing.h_display = width;
src/add-ons/accelerants/via/engine/info.c
284
uint16 width = ((DACR(FP_HDISPEND) & 0x0000ffff) + 1);
src/add-ons/accelerants/via/engine/info.c
286
if ((width >= 640) && (height >= 480))
src/add-ons/accelerants/via/engine/info.c
290
si->ps.p1_timing.h_display = width;
src/add-ons/accelerants/via/engine/info.c
298
uint16 width = ((DAC2R(FP_HDISPEND) & 0x0000ffff) + 1);
src/add-ons/accelerants/via/engine/info.c
300
if ((width >= 640) && (height >= 480))
src/add-ons/accelerants/via/engine/info.c
304
si->ps.p2_timing.h_display = width;
src/add-ons/control_look/BeControlLook/BeControlLook.cpp
2331
float width = 0;
src/add-ons/control_look/BeControlLook/BeControlLook.cpp
2337
width = icon->Bounds().Width() + DefaultLabelSpacing() + 1;
src/add-ons/control_look/BeControlLook/BeControlLook.cpp
2339
textOffset = width;
src/add-ons/control_look/BeControlLook/BeControlLook.cpp
2350
width += ceilf(font.StringWidth(truncatedLabel.String()));
src/add-ons/control_look/BeControlLook/BeControlLook.cpp
2359
BSize(width - 1, height - 1), alignment));
src/add-ons/decorators/BeDecorator/BeDecorator.cpp
1131
bigRect.left += floorf(width * 3.0f / 14.0f);
src/add-ons/decorators/BeDecorator/BeDecorator.cpp
1136
smallRect.right -= floorf(width * 5.0f / 14.0f);
src/add-ons/decorators/BeDecorator/BeDecorator.cpp
1331
UtilityBitmap* bitmap = sBitmapDrawingEngine->ExportToBitmap(width, height,
src/add-ons/decorators/BeDecorator/BeDecorator.cpp
1345
entry->width = width;
src/add-ons/decorators/BeDecorator/BeDecorator.cpp
884
bool down, int32 width, int32 height)
src/add-ons/decorators/BeDecorator/BeDecorator.cpp
894
int32 width;
src/add-ons/decorators/BeDecorator/BeDecorator.cpp
944
&& current->width == width && current->height == height
src/add-ons/decorators/BeDecorator/BeDecorator.cpp
959
|| sBitmapDrawingEngine->SetSize(width, height) != B_OK) {
src/add-ons/decorators/BeDecorator/BeDecorator.cpp
963
BRect rect(0, 0, width - 1, height - 1);
src/add-ons/decorators/BeDecorator/BeDecorator.cpp
967
down ? "down" : "up", width, height));
src/add-ons/decorators/BeDecorator/BeDecorator.h
70
Component item, bool down, int32 width,
src/add-ons/decorators/FlatDecorator/FlatDecorator.cpp
811
bool down, int32 width, int32 height)
src/add-ons/decorators/FlatDecorator/FlatDecorator.cpp
817
int32 width;
src/add-ons/decorators/FlatDecorator/FlatDecorator.cpp
838
&& current->width == width && current->height == height
src/add-ons/decorators/FlatDecorator/FlatDecorator.cpp
853
|| sBitmapDrawingEngine->SetSize(width, height) != B_OK)
src/add-ons/decorators/FlatDecorator/FlatDecorator.cpp
856
BRect rect(0, 0, width - 1, height - 1);
src/add-ons/decorators/FlatDecorator/FlatDecorator.cpp
860
down ? "down" : "up", width, height));
src/add-ons/decorators/FlatDecorator/FlatDecorator.cpp
874
float inset = floorf(width / 4.0);
src/add-ons/decorators/FlatDecorator/FlatDecorator.cpp
883
inset = floorf(width / 2.1);
src/add-ons/decorators/FlatDecorator/FlatDecorator.cpp
898
UtilityBitmap* bitmap = sBitmapDrawingEngine->ExportToBitmap(width, height,
src/add-ons/decorators/FlatDecorator/FlatDecorator.cpp
912
entry->width = width;
src/add-ons/decorators/FlatDecorator/FlatDecorator.h
66
Component item, bool down, int32 width,
src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
1003
AcpiOsReadPort(ACPI_IO_ADDRESS address, UINT32 *value, UINT32 width)
src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
1006
DEBUG_FUNCTION_F("addr: 0x%08lx; width: %" B_PRIu32, (addr_t)address, (uint32)width);
src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
1007
switch (width) {
src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
1045
AcpiOsWritePort(ACPI_IO_ADDRESS address, UINT32 value, UINT32 width)
src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
1049
(addr_t)address, (uint32)value, (uint32)width);
src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
1050
switch (width) {
src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
1088
AcpiOsReadMemory(ACPI_PHYSICAL_ADDRESS address, UINT64 *value, UINT32 width)
src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
1091
if (vm_memcpy_from_physical(value, (phys_addr_t)address, width / 8, false)
src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
1116
AcpiOsWriteMemory(ACPI_PHYSICAL_ADDRESS address, UINT64 value, UINT32 width)
src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
1119
if (vm_memcpy_to_physical((phys_addr_t)address, &value, width / 8, false)
src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
938
UINT32 width)
src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
943
switch (width) {
src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
948
pciId->Bus, pciId->Device, pciId->Function, reg, width / 8);
src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
976
ACPI_INTEGER value, UINT32 width)
src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
981
pciId->Bus, pciId->Device, pciId->Function, reg, width / 8, value);
src/add-ons/kernel/bus_managers/acpi/EmbeddedController.cpp
641
EcSpaceHandler(uint32 function, acpi_physical_address address, uint32 width,
src/add-ons/kernel/bus_managers/acpi/EmbeddedController.cpp
649
if (width % 8 != 0 || value == NULL || context == NULL)
src/add-ons/kernel/bus_managers/acpi/EmbeddedController.cpp
651
if (address + width / 8 > 256)
src/add-ons/kernel/bus_managers/acpi/EmbeddedController.cpp
698
} while (ecAddr < address + width / 8);
src/add-ons/kernel/bus_managers/acpi/EmbeddedController.h
217
uint32 width, int *value,
src/add-ons/kernel/bus_managers/acpi/acpica/include/acmacros.h
454
#define ACPI_MASK_BITS_ABOVE_32(width) ((UINT32) ACPI_MASK_BITS_ABOVE(width))
src/add-ons/kernel/bus_managers/acpi/acpica/include/acmacros.h
455
#define ACPI_MASK_BITS_BELOW_32(width) ((UINT32) ACPI_MASK_BITS_BELOW(width))
src/add-ons/kernel/bus_managers/acpi/acpica/include/acmacros.h
456
#define ACPI_MASK_BITS_ABOVE_64(width) ((width) == ACPI_INTEGER_BIT_SIZE ? \
src/add-ons/kernel/bus_managers/acpi/acpica/include/acmacros.h
458
ACPI_MASK_BITS_ABOVE(width))
src/add-ons/kernel/bus_managers/acpi/acpica/include/acmacros.h
459
#define ACPI_MASK_BITS_BELOW_64(width) ((width) == ACPI_INTEGER_BIT_SIZE ? \
src/add-ons/kernel/bus_managers/acpi/acpica/include/acmacros.h
461
ACPI_MASK_BITS_BELOW(width))
src/add-ons/kernel/bus_managers/mmc/mmc_bus.cpp
114
MMCBus::SetBusWidth(int width)
src/add-ons/kernel/bus_managers/mmc/mmc_bus.cpp
116
fController->set_bus_width(fCookie, width);
src/add-ons/kernel/bus_managers/mmc/mmc_bus.h
51
void SetBusWidth(int width);
src/add-ons/kernel/bus_managers/mmc/mmc_module.cpp
112
mmc_bus_set_width(device_node* node, void* cookie, int width)
src/add-ons/kernel/bus_managers/mmc/mmc_module.cpp
117
bus->SetBusWidth(width);
src/add-ons/kernel/bus_managers/ps2/ps2_elantech.cpp
1139
uint32* y_max, uint32 *width)
src/add-ons/kernel/bus_managers/ps2/ps2_elantech.cpp
1148
*width = 0;
src/add-ons/kernel/bus_managers/ps2/ps2_elantech.cpp
1199
*width = 0;
src/add-ons/kernel/bus_managers/ps2/ps2_elantech.cpp
1212
*width = *x_max / (cookie->capabilities[1] - 1);
src/add-ons/kernel/bus_managers/ps2/ps2_elantech.cpp
1284
uint32 x_min = 0, x_max = 0, y_min = 0, y_max = 0, width = 0;
src/add-ons/kernel/bus_managers/ps2/ps2_elantech.cpp
1380
if (get_range(cookie, &x_min, &y_min, &x_max, &y_max, &width) != B_OK) {
src/add-ons/kernel/bus_managers/ps2/ps2_elantech.cpp
1386
"-%" B_PRIu32 " (%" B_PRIu32 ")\n", x_min, x_max, y_min, y_max, width);
src/add-ons/kernel/busses/mmc/sdhci.cpp
562
SdhciBus::SetBusWidth(int width)
src/add-ons/kernel/busses/mmc/sdhci.cpp
565
switch(width) {
src/add-ons/kernel/busses/mmc/sdhci.cpp
900
set_bus_width(void* controller, int width)
src/add-ons/kernel/busses/mmc/sdhci.cpp
903
return bus->SetBusWidth(width);
src/add-ons/kernel/busses/mmc/sdhci.h
343
void SetDataTransferWidth(uint8_t width)
src/add-ons/kernel/busses/mmc/sdhci.h
345
value = (value & ~kDataTransferWidthMask) | width;
src/add-ons/kernel/busses/mmc/sdhci.h
36
void SetBusWidth(int width);
src/add-ons/kernel/busses/mmc/sdhci.h
518
void set_bus_width(void* controller, int width);
src/add-ons/kernel/console/vga_text/vga_text.c
104
fill_glyph(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr)
src/add-ons/kernel/console/vga_text/vga_text.c
111
uint16 *p_limit = p + width;
src/add-ons/kernel/console/vga_text/vga_text.c
119
blit(int32 srcx, int32 srcy, int32 width, int32 height, int32 destx, int32 desty)
src/add-ons/kernel/console/vga_text/vga_text.c
121
if ((srcx == 0) && (width == COLUMNS)) {
src/add-ons/kernel/console/vga_text/vga_text.c
69
get_size(int32 *width, int32 *height)
src/add-ons/kernel/console/vga_text/vga_text.c
71
*width = COLUMNS;
src/add-ons/kernel/debugger/qrencode/module.cpp
40
if (x >= qrCode->width || y >= qrCode->width)
src/add-ons/kernel/debugger/qrencode/module.cpp
43
return (qrCode->data[y * qrCode->width + x] & 0x01) == 1;
src/add-ons/kernel/debugger/qrencode/module.cpp
58
for (int y = 0; y < qrCode->width; y += 2) {
src/add-ons/kernel/debugger/qrencode/module.cpp
62
for (int x = 0; x < qrCode->width; x++) {
src/add-ons/kernel/debugger/qrencode/module.cpp
72
move_to_and_clear_line(qrCode->width / 2 + 2);
src/add-ons/kernel/debugger/qrencode/module.cpp
73
move_to_and_clear_line(qrCode->width / 2 + 3);
src/add-ons/kernel/drivers/graphics/et6x00/setmode.c
32
uint16 width, height, bpp, refreshRate;
src/add-ons/kernel/drivers/graphics/et6x00/setmode.c
330
if ((clock0MN[m].width == mi->VisScreenWidth) &&
src/add-ons/kernel/drivers/graphics/et6x00/setmode.c
417
if ((clock0MN[m].width == mode->virtual_width) &&
src/add-ons/kernel/drivers/graphics/framebuffer/framebuffer.cpp
112
bufferInfo->width, bufferInfo->height, bufferInfo->depth,
src/add-ons/kernel/drivers/graphics/framebuffer/framebuffer.cpp
117
sharedInfo.current_mode.virtual_width = bufferInfo->width;
src/add-ons/kernel/drivers/graphics/framebuffer/framebuffer.cpp
51
remap_frame_buffer(framebuffer_info& info, addr_t physicalBase, uint32 width,
src/add-ons/kernel/drivers/graphics/framebuffer/framebuffer.cpp
66
frame_buffer_update(frameBuffer, width, height, depth,
src/add-ons/kernel/drivers/graphics/radeon/CP_setup.c
869
if (di->ram.width == 64) {
src/add-ons/kernel/drivers/graphics/radeon/bios.c
1019
di->local_mem_size / 1024 / 1024, di->ram_type, di->ram.width);
src/add-ons/kernel/drivers/graphics/radeon/bios.c
969
case 0: di->ram.width = 64; break;
src/add-ons/kernel/drivers/graphics/radeon/bios.c
970
case 1: di->ram.width = 128; break;
src/add-ons/kernel/drivers/graphics/radeon/bios.c
971
case 2: di->ram.width = 256; break;
src/add-ons/kernel/drivers/graphics/radeon/bios.c
972
default: di->ram.width = 128; break;
src/add-ons/kernel/drivers/graphics/radeon/bios.c
978
di->ram.width = 32;
src/add-ons/kernel/drivers/graphics/radeon/bios.c
980
di->ram.width = 64;
src/add-ons/kernel/drivers/graphics/radeon/bios.c
983
di->ram.width = 128;
src/add-ons/kernel/drivers/graphics/radeon/bios.c
985
di->ram.width = 64;
src/add-ons/kernel/drivers/graphics/radeon/radeon_driver.h
70
int width;
src/add-ons/kernel/drivers/graphics/vesa/patch.cpp
108
uint32 width;
src/add-ons/kernel/drivers/graphics/vesa/patch.cpp
184
if (allowedModes[i].width == mode.timing.h_display
src/add-ons/kernel/drivers/graphics/vesa/patch.cpp
417
if (modeInfo.width == mode.timing.h_display && modeInfo.height == mode.timing.v_display
src/add-ons/kernel/drivers/graphics/vesa/patch.cpp
429
B_PRIx32 "\n", modeInfo.width, modeInfo.height, modeIndex);
src/add-ons/kernel/drivers/graphics/vesa/patch.cpp
447
status = remap_frame_buffer(info, modeInfo.physical_base, modeInfo.width,
src/add-ons/kernel/drivers/graphics/vesa/patch.cpp
453
info.shared_info->current_mode.virtual_width = modeInfo.width;
src/add-ons/kernel/drivers/graphics/vesa/vesa.cpp
299
remap_frame_buffer(vesa_info& info, addr_t physicalBase, uint32 width,
src/add-ons/kernel/drivers/graphics/vesa/vesa.cpp
324
frame_buffer_update(frameBuffer, width, height, depth,
src/add-ons/kernel/drivers/graphics/vesa/vesa.cpp
400
bufferInfo->width, bufferInfo->height, bufferInfo->depth,
src/add-ons/kernel/drivers/graphics/vesa/vesa.cpp
405
sharedInfo.current_mode.virtual_width = bufferInfo->width;
src/add-ons/kernel/drivers/graphics/vesa/vesa.cpp
511
status = remap_frame_buffer(info, modeInfo.physical_base, modeInfo.width,
src/add-ons/kernel/drivers/graphics/vesa/vesa.cpp
516
info.shared_info->current_mode.virtual_width = modeInfo.width;
src/add-ons/kernel/drivers/graphics/vesa/vesa_private.h
58
status_t remap_frame_buffer(vesa_info& info, addr_t physicalBase, uint32 width,
src/add-ons/kernel/drivers/graphics/virtio/viogpu.h
165
__le32 width;
src/add-ons/kernel/drivers/graphics/virtio/viogpu.h
181
__le32 width;
src/add-ons/kernel/drivers/graphics/virtio/viogpu.h
267
__le32 width;
src/add-ons/kernel/drivers/graphics/virtio/viogpu.h
415
__le32 width;
src/add-ons/kernel/drivers/graphics/virtio/virtio_gpu.cpp
179
info->displayWidth = displayInfo.pmodes[0].r.width;
src/add-ons/kernel/drivers/graphics/virtio/virtio_gpu.cpp
213
virtio_gpu_create_2d(virtio_gpu_driver_info* info, int resourceId, int width, int height)
src/add-ons/kernel/drivers/graphics/virtio/virtio_gpu.cpp
222
resource.width = width;
src/add-ons/kernel/drivers/graphics/virtio/virtio_gpu.cpp
320
uint32 width, uint32 height)
src/add-ons/kernel/drivers/graphics/virtio/virtio_gpu.cpp
329
set_scanout.r.width = width;
src/add-ons/kernel/drivers/graphics/virtio/virtio_gpu.cpp
345
uint32 width, uint32 height)
src/add-ons/kernel/drivers/graphics/virtio/virtio_gpu.cpp
352
transferToHost.r.width = width;
src/add-ons/kernel/drivers/graphics/virtio/virtio_gpu.cpp
368
virtio_gpu_flush_resource(virtio_gpu_driver_info* info, int resourceId, uint32 width,
src/add-ons/kernel/drivers/graphics/virtio/virtio_gpu.cpp
376
resourceFlush.r.width = width;
src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/igc_hw.h
489
enum igc_bus_width width;
src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/e1000_82542.c
181
hw->bus.width = e1000_bus_width_unknown;
src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/e1000_hw.h
922
enum e1000_bus_width width;
src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/e1000_ich8lan.c
4962
if (bus->width == e1000_bus_width_unknown)
src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/e1000_ich8lan.c
4963
bus->width = e1000_bus_width_pcie_x1;
src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/e1000_mac.c
221
bus->width = (status & E1000_STATUS_BUS64)
src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/e1000_mac.c
253
bus->width = e1000_bus_width_unknown;
src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/e1000_mac.c
268
bus->width = (enum e1000_bus_width)((pcie_link_status &
src/add-ons/kernel/drivers/network/ether/nforce/dev/nfe/if_nfe.c
385
uint16_t v, width;
src/add-ons/kernel/drivers/network/ether/nforce/dev/nfe/if_nfe.c
396
width = pci_read_config(dev, reg + 0x12, 2);
src/add-ons/kernel/drivers/network/ether/nforce/dev/nfe/if_nfe.c
398
width = (width >> 4) & 0x3f;
src/add-ons/kernel/drivers/network/ether/nforce/dev/nfe/if_nfe.c
399
if (v != width)
src/add-ons/kernel/drivers/network/ether/nforce/dev/nfe/if_nfe.c
402
"max. width of link(x%d)\n", width, v);
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/if_ath_tx_ht.c
408
int width, half_gi;
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/if_ath_tx_ht.c
481
width = !! (flags & ATH_RC_CW40_FLAG);
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/if_ath_tx_ht.c
496
nsymbits = bits_per_symbol[HT_RC_2_MCS(rc)][width];
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/if_ath_tx_ht.c
510
__func__, pktlen, minlen, rix, rc, width, half_gi, ndelim);
src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/if_iwx.c
5703
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE80;
src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/if_iwx.c
5708
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE40;
src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/if_iwx.c
5712
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE40;
src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/if_iwx.c
5714
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE20;
src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/if_iwx.c
5718
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE20;
src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/if_iwx.c
5763
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE80;
src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/if_iwx.c
5768
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE40;
src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/if_iwx.c
5772
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE40;
src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/if_iwx.c
5774
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE20;
src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/if_iwx.c
5778
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE20;
src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/if_iwxreg.h
3340
uint8_t width;
src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/if_iwxreg.h
3356
uint8_t width;
src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/if_iwm.c
6141
cmd->ci.width = IWM_PHY_VHT_CHANNEL_MODE80;
src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/if_iwm.c
6146
cmd->ci.width = IWM_PHY_VHT_CHANNEL_MODE40;
src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/if_iwm.c
6150
cmd->ci.width = IWM_PHY_VHT_CHANNEL_MODE40;
src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/if_iwm.c
6152
cmd->ci.width = IWM_PHY_VHT_CHANNEL_MODE20;
src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/if_iwm.c
6156
cmd->ci.width = IWM_PHY_VHT_CHANNEL_MODE20;
src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/if_iwm.c
6226
cmd.ci.width = IWM_PHY_VHT_CHANNEL_MODE80;
src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/if_iwm.c
6231
cmd.ci.width = IWM_PHY_VHT_CHANNEL_MODE40;
src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/if_iwm.c
6235
cmd.ci.width = IWM_PHY_VHT_CHANNEL_MODE40;
src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/if_iwm.c
6237
cmd.ci.width = IWM_PHY_VHT_CHANNEL_MODE20;
src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/if_iwm.c
6241
cmd.ci.width = IWM_PHY_VHT_CHANNEL_MODE20;
src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/if_iwmreg.h
3075
uint8_t width;
src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/if_iwmreg.h
3091
uint8_t width;
src/add-ons/kernel/file_systems/netfs/authentication_server/AuthenticationPanel.cpp
227
float width = frame.Width();
src/add-ons/kernel/file_systems/netfs/authentication_server/AuthenticationPanel.cpp
232
frame.left = center.x - width / 2.0;
src/add-ons/kernel/file_systems/netfs/authentication_server/AuthenticationPanel.cpp
233
frame.right = frame.left + width;
src/add-ons/media/media-add-ons/finepix_webcam/FinePixJpeg/finepix-jpeg.c
240
int jpeg_check_size(unsigned char *buf, int width, int height)
src/add-ons/media/media-add-ons/finepix_webcam/FinePixJpeg/finepix-jpeg.c
248
if (height != getword() || width != getword())
src/add-ons/media/media-add-ons/finepix_webcam/FinePixJpeg/finepix-jpeg.c
254
int width, int height, int depth, struct jpeg_decdata *decdata)
src/add-ons/media/media-add-ons/finepix_webcam/FinePixJpeg/finepix-jpeg.c
275
if (((getword() + 15) & ~15) != width) ; //return ERR_WIDTH_MISMATCH;
src/add-ons/media/media-add-ons/finepix_webcam/FinePixJpeg/finepix-jpeg.c
276
if ((height & 15) || (width & 15)) ; //return ERR_BAD_WIDTH_OR_HEIGHT;
src/add-ons/media/media-add-ons/finepix_webcam/FinePixJpeg/finepix-jpeg.c
329
mcusx = width >> 4;
src/add-ons/media/media-add-ons/finepix_webcam/FinePixJpeg/finepix-jpeg.c
886
static void col211111(int *out, unsigned char *pic, int width)
src/add-ons/media/media-add-ons/finepix_webcam/FinePixJpeg/finepix-jpeg.c
894
pic1 = pic + width;
src/add-ons/media/media-add-ons/finepix_webcam/FinePixJpeg/finepix-jpeg.c
903
pic0 += 2 * width;
src/add-ons/media/media-add-ons/finepix_webcam/FinePixJpeg/finepix-jpeg.c
904
pic1 += 2 * width;
src/add-ons/media/media-add-ons/radeon/CC.cpp
101
const int nbits = (width + (bit == 0 ? 0 : bit == 15 ? C_RADEON_CC_BIT_DURATION :
src/add-ons/media/media-add-ons/radeon/CC.cpp
82
int width = 1;
src/add-ons/media/media-add-ons/radeon/CC.cpp
97
width++;
src/add-ons/media/media-add-ons/radeon/Radeon.cpp
106
void CRadeonRect::ResizeTo(int width, int height)
src/add-ons/media/media-add-ons/radeon/Radeon.cpp
108
fRight = fLeft + width - 1;
src/add-ons/media/media-add-ons/radeon/Radeon.h
323
void ResizeTo(int width, int height);
src/add-ons/media/media-add-ons/radeon/VideoIn.cpp
148
video_in_capture_mode mode, int width, int height)
src/add-ons/media/media-add-ons/radeon/VideoIn.cpp
153
mode == C_VIDEO_IN_BOB ? "C_VIDEO_IN_BOB" : "C_VIDEO_IN_WEAVE", width, height);
src/add-ons/media/media-add-ons/radeon/VideoIn.cpp
162
width = Clamp(width, 0, kTiming[standard].active.width);
src/add-ons/media/media-add-ons/radeon/VideoIn.cpp
166
width = Clamp(width, 0, kTiming[standard].active.width);
src/add-ons/media/media-add-ons/radeon/VideoIn.cpp
171
fBufferBytesPerRow = (2 * width + 15) & ~15;
src/add-ons/media/media-add-ons/radeon/VideoIn.cpp
196
fTheater->SetSize(width, (mode != C_VIDEO_IN_WEAVE ? 2 * height : height));
src/add-ons/media/media-add-ons/radeon/VideoIn.cpp
199
fCapture.SetClip(0, kTiming[standard].vbi.height, width - 1, kTiming[standard].vbi.height + (mode != C_VIDEO_IN_WEAVE ? height : height >> 1) - 1);
src/add-ons/media/media-add-ons/radeon/VideoIn.cpp
42
int width, height;
src/add-ons/media/media-add-ons/radeon/VideoIn.cpp
46
int width, height;
src/add-ons/media/media-add-ons/radeon/VideoIn.cpp
477
kTiming[standard].active.left + kTiming[standard].active.width - 1,
src/add-ons/media/media-add-ons/radeon/VideoIn.cpp
50
int width, height;
src/add-ons/media/media-add-ons/radeon/VideoIn.h
94
video_in_capture_mode mode, int width, int height);
src/add-ons/media/media-add-ons/usb_webcam/CamDevice.cpp
196
CamDevice::SuggestVideoFrame(uint32 &width, uint32 &height)
src/add-ons/media/media-add-ons/usb_webcam/CamDevice.cpp
199
width = Sensor()->MaxWidth();
src/add-ons/media/media-add-ons/usb_webcam/CamDevice.cpp
208
CamDevice::AcceptVideoFrame(uint32 &width, uint32 &height)
src/add-ons/media/media-add-ons/usb_webcam/CamDevice.cpp
212
err = Sensor()->AcceptVideoFrame(width, height);
src/add-ons/media/media-add-ons/usb_webcam/CamDevice.cpp
215
SetVideoFrame(BRect(0, 0, width - 1, height - 1));
src/add-ons/media/media-add-ons/usb_webcam/CamDevice.h
64
virtual status_t SuggestVideoFrame(uint32 &width, uint32 &height);
src/add-ons/media/media-add-ons/usb_webcam/CamDevice.h
65
virtual status_t AcceptVideoFrame(uint32 &width, uint32 &height);
src/add-ons/media/media-add-ons/usb_webcam/CamSensor.cpp
74
CamSensor::AcceptVideoFrame(uint32 &width, uint32 &height)
src/add-ons/media/media-add-ons/usb_webcam/CamSensor.cpp
77
if (width < 1)
src/add-ons/media/media-add-ons/usb_webcam/CamSensor.cpp
78
width = MaxWidth();
src/add-ons/media/media-add-ons/usb_webcam/CamSensor.cpp
81
if (width > (uint32)MaxWidth())
src/add-ons/media/media-add-ons/usb_webcam/CamSensor.cpp
82
width = MaxWidth();
src/add-ons/media/media-add-ons/usb_webcam/CamSensor.h
38
virtual status_t AcceptVideoFrame(uint32 &width, uint32 &height);
src/add-ons/media/media-add-ons/usb_webcam/Producer.cpp
344
uint32 width, height;
src/add-ons/media/media-add-ons/usb_webcam/Producer.cpp
345
if (fCamDevice && fCamDevice->SuggestVideoFrame(width, height) == B_OK) {
src/add-ons/media/media-add-ons/usb_webcam/Producer.cpp
346
format->u.raw_video.display.line_width = width;
src/add-ons/media/media-add-ons/usb_webcam/Producer.cpp
372
uint32 width = format->u.raw_video.display.line_width;
src/add-ons/media/media-add-ons/usb_webcam/Producer.cpp
378
err = fCamDevice->AcceptVideoFrame(width, height);
src/add-ons/media/media-add-ons/usb_webcam/Producer.cpp
380
format->u.raw_video.display.line_width = width;
src/add-ons/media/media-add-ons/usb_webcam/addons/sonix/SonixCamDevice.cpp
459
uint16 x, y, width, height;
src/add-ons/media/media-add-ons/usb_webcam/addons/sonix/SonixCamDevice.cpp
462
width = (uint16)(frame.right - frame.left + 1) / 16;
src/add-ons/media/media-add-ons/usb_webcam/addons/sonix/SonixCamDevice.cpp
464
PRINT((CH "(%u, %u, %u, %u)" CT, x, y, width, height));
src/add-ons/media/media-add-ons/usb_webcam/addons/sonix/SonixCamDevice.cpp
468
WriteReg8(SN9C102_H_SIZE, width);
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1279
int32 width, int32 height)
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1287
size = width*height;
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1290
if ( (i/width) % 2 == 0 ) {
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1293
if ( (i > width) && ((i % width) > 0) ) {
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1294
*scanpt++ = (*(rawpt-width-1)+*(rawpt-width+1)
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1295
+ *(rawpt+width-1)+*(rawpt+width+1))/4; /* R */
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1297
+ *(rawpt+width)+*(rawpt-width))/4; /* G */
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1301
*scanpt++ = *(rawpt+width+1); /* R */
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1302
*scanpt++ = (*(rawpt+1)+*(rawpt+width))/2; /* G */
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1307
if ( (i > width) && ((i % width) < (width-1)) ) {
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1308
*scanpt++ = (*(rawpt+width)+*(rawpt-width))/2; /* R */
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1313
*scanpt++ = *(rawpt+width); /* R */
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1321
if ( (i < (width*(height-1))) && ((i % width) > 0) ) {
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1324
*scanpt++ = (*(rawpt+width)+*(rawpt-width))/2; /* B */
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1329
*scanpt++ = *(rawpt-width); /* B */
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1333
if ( i < (width*(height-1)) && ((i % width) < (width-1)) ) {
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1336
+ *(rawpt-width)+*(rawpt+width))/4; /* G */
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1337
*scanpt++ = (*(rawpt-width-1)+*(rawpt-width+1)
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1338
+ *(rawpt+width-1)+*(rawpt+width+1))/4; /* B */
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1342
*scanpt++ = (*(rawpt-1)+*(rawpt-width))/2; /* G */
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
1343
*scanpt++ = *(rawpt-width-1); /* B */
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
238
descriptor->width, descriptor->height,
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
325
descriptor->_pattern_size[i].width,
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
567
UVCCamDevice::SuggestVideoFrame(uint32& width, uint32& height)
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
569
printf("UVCCamDevice::SuggestVideoFrame(%" B_PRIu32 ", %" B_PRIu32 ")\n", width, height);
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
573
width = 320;
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
575
if (!AcceptVideoFrame(width, height)) {
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
578
width = (*descriptor).width;
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
586
UVCCamDevice::AcceptVideoFrame(uint32& width, uint32& height)
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
588
printf("UVCCamDevice::AcceptVideoFrame(%" B_PRIu32 ", %" B_PRIu32 ")\n", width, height);
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
589
if (width <= 0 || height <= 0) {
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
601
width = 320;
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
608
if ((*descriptor).width == width && (*descriptor).height == height) {
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.cpp
610
SetVideoFrame(BRect(0, 0, width - 1, height - 1));
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.h
25
virtual status_t SuggestVideoFrame(uint32 &width,
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.h
27
virtual status_t AcceptVideoFrame(uint32 &width,
src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/UVCCamDevice.h
50
unsigned char *src, int32 width,
src/add-ons/media/media-add-ons/usb_webcam/sensors/tas5110c1b.cpp
135
TAS5110C1BSensor::AcceptVideoFrame(uint32 &width, uint32 &height)
src/add-ons/media/media-add-ons/usb_webcam/sensors/tas5110c1b.cpp
138
status_t err = CamSensor::AcceptVideoFrame(width, height);
src/add-ons/media/media-add-ons/usb_webcam/sensors/tas5110c1b.cpp
142
width /= 16;
src/add-ons/media/media-add-ons/usb_webcam/sensors/tas5110c1b.cpp
143
width *= 16;
src/add-ons/media/media-add-ons/usb_webcam/sensors/tas5110c1b.cpp
30
virtual status_t AcceptVideoFrame(uint32 &width, uint32 &height);
src/add-ons/media/media-add-ons/usb_webcam/sensors/tas5130d1b.cpp
138
TAS5130D1BSensor::AcceptVideoFrame(uint32 &width, uint32 &height)
src/add-ons/media/media-add-ons/usb_webcam/sensors/tas5130d1b.cpp
141
status_t err = CamSensor::AcceptVideoFrame(width, height);
src/add-ons/media/media-add-ons/usb_webcam/sensors/tas5130d1b.cpp
145
width /= 16;
src/add-ons/media/media-add-ons/usb_webcam/sensors/tas5130d1b.cpp
146
width *= 16;
src/add-ons/media/media-add-ons/usb_webcam/sensors/tas5130d1b.cpp
32
virtual status_t AcceptVideoFrame(uint32 &width, uint32 &height);
src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.cpp
1350
fCodecContext->width = containerProperties.display.line_width;
src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.cpp
1579
colorspace_to_pixfmt(fOutputColorSpace), fRawDecodedPicture->width,
src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.cpp
1581
fHeader.u.raw_video.display_line_width = fRawDecodedPicture->width;
src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.cpp
1585
fRawDecodedPicture->width);
src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.cpp
1629
int displayWidth = fRawDecodedPicture->width;
src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.cpp
1740
AVCodecDecoder::_InitFilterGraph(enum AVPixelFormat pixfmt, int32 width,
src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.cpp
1753
"[out]buffersink", width, height,
src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.cpp
1780
fLastWidth = width;
src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.cpp
1799
enum AVPixelFormat pixfmt, int32 width, int32 height)
src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.cpp
1801
if (fFilterGraph == NULL || width != fLastWidth
src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.cpp
1804
status_t err = _InitFilterGraph(pixfmt, width, height);
src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.cpp
1811
fFilterFrame->width = width;
src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.cpp
1824
fFilterFrame->linesize, pixfmt, width, height);
src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.h
105
int32 width, int32 height);
src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.h
108
int32 width, int32 height);
src/add-ons/media/plugins/ffmpeg/AVCodecEncoder.cpp
303
fCodecContext->width = fInputFormat.u.raw_video.display.line_width;
src/add-ons/media/plugins/ffmpeg/AVCodecEncoder.cpp
322
rawBitRate = (int)(fCodecContext->width * fCodecContext->height * 2
src/add-ons/media/plugins/ffmpeg/AVCodecEncoder.cpp
333
&fCodecContext->sample_aspect_ratio.den, fCodecContext->width,
src/add-ons/media/plugins/ffmpeg/AVCodecEncoder.cpp
340
= fCodecContext->width * 4;
src/add-ons/media/plugins/ffmpeg/AVCodecEncoder.cpp
345
fSwsContext = sws_getContext(fCodecContext->width,
src/add-ons/media/plugins/ffmpeg/AVCodecEncoder.cpp
347
fCodecContext->width, fCodecContext->height,
src/add-ons/media/plugins/ffmpeg/AVCodecEncoder.cpp
493
fFrame->width = fCodecContext->width;
src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp
1175
= codecParams->width;
src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp
1178
TRACE(" width/height: %d/%d\n", codecParams->width,
src/add-ons/media/plugins/ffmpeg/AVFormatWriter.cpp
144
fStream->codecpar->width = format->u.raw_video.display.line_width;
src/add-ons/media/plugins/ffmpeg/AVFormatWriter.cpp
154
&fStream->sample_aspect_ratio.den, fStream->codecpar->width,
src/add-ons/media/plugins/ffmpeg/Utilities.h
114
av_reduce(&pixelAspectRatio.num, &pixelAspectRatio.den, parametersIn.width,
src/add-ons/media/plugins/ffmpeg/Utilities.h
124
parametersIn.width * parametersIn.sample_aspect_ratio.num,
src/add-ons/media/plugins/ffmpeg/Utilities.h
157
if (contextInOut.width <= 0 || contextInOut.height <= 0) {
src/add-ons/media/plugins/ffmpeg/Utilities.h
170
&pureVideoDimensionAspectRatio.den, contextInOut.width,
src/add-ons/media/plugins/ffmpeg/Utilities.h
185
contextInOut.width * pixelHeightAspectIn,
src/add-ons/media/plugins/ffmpeg/Utilities.h
61
if (contextIn.width <= 0 || contextIn.height <= 0) {
src/add-ons/media/plugins/ffmpeg/Utilities.h
76
av_reduce(&pixelAspectRatio.num, &pixelAspectRatio.den, contextIn.width,
src/add-ons/media/plugins/ffmpeg/Utilities.h
86
contextIn.width * contextIn.sample_aspect_ratio.num,
src/add-ons/media/plugins/ffmpeg/Utilities.h
99
if (parametersIn.width <= 0 || parametersIn.height <= 0) {
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.cpp
15
gfx_conv_yuv410p_ycbcr422_c(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.cpp
160
gfx_conv_yuv420p10le_rgb32_c(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.cpp
172
for (int32 j=0; j < width; j += 2) {
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.cpp
215
gfx_conv_yuv410p_rgb32_c(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.cpp
227
for (int32 j=0; j < width; j+=4) {
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.cpp
254
gfx_conv_yuv411p_rgb32_c(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.cpp
256
gfx_conv_null(in, out, width, height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.cpp
261
gfx_conv_YCbCr422_RGB32_c(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.cpp
275
for (int32 j = 0; j < width; j += 2) {
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.cpp
294
width * 4);
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.cpp
301
gfx_conv_GBRP_RGB32_c(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.cpp
311
for (int32 j = 0; j < width; j ++) {
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.cpp
78
gfx_conv_yuv411p_ycbcr422_c(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.cpp
8
gfx_conv_null(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.cpp
82
gfx_conv_yuv410p_ycbcr422_c(in, out, width, height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.cpp
87
gfx_conv_yuv420p_ycbcr422_c(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.h
12
void gfx_conv_null(AVFrame *in, AVFrame *out, int width, int height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.h
15
void gfx_conv_yuv410p_ycbcr422_c(AVFrame *in, AVFrame *out, int width,
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.h
17
void gfx_conv_yuv411p_ycbcr422_c(AVFrame *in, AVFrame *out, int width,
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.h
19
void gfx_conv_yuv420p_ycbcr422_c(AVFrame *in, AVFrame *out, int width,
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.h
23
void gfx_conv_yuv420p10le_rgb32_c(AVFrame *in, AVFrame *out, int width,
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.h
25
void gfx_conv_yuv410p_rgb32_c(AVFrame *in, AVFrame *out, int width,
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.h
27
void gfx_conv_yuv411p_rgb32_c(AVFrame *in, AVFrame *out, int width,
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.h
29
void gfx_conv_YCbCr420p_RGB32_c(AVFrame *in, AVFrame *out, int width,
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.h
31
void gfx_conv_YCbCr422_RGB32_c(AVFrame *in, AVFrame *out, int width,
src/add-ons/media/plugins/ffmpeg/gfx_conv_c.h
33
void gfx_conv_GBRP_RGB32_c(AVFrame *in, AVFrame *out, int width,
src/add-ons/media/plugins/ffmpeg/gfx_conv_c_lookup.cpp
101
width * 4);
src/add-ons/media/plugins/ffmpeg/gfx_conv_c_lookup.cpp
30
gfx_conv_YCbCr420p_RGB32_c(AVFrame* in, AVFrame* out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_c_lookup.cpp
53
for (uint32 j = 0; j < (uint32)width; j+= 2) {
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
10
int width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
100
gfx_conv_YCbCr420p_RGB32_c(in, out, width, height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
116
_Convert_YUV420P_RGBA32_SSSE3(ybase, ubase, vbase, rgbbase, width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
121
_Convert_YUV420P_RGBA32_SSSE3(ybase, ubase, vbase, rgbbase, width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
131
gfx_conv_yuv422p_rgba32_sse(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
136
gfx_conv_YCbCr422_RGB32_c(in, out, width, height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
14
void *fromVPtr, void *toPtr, int width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
151
_Convert_YUV420P_RGBA32_SSE(ybase, ubase, vbase, rgbbase, width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
16
void *fromVPtr, void *toPtr, int width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
161
gfx_conv_yuv422p_rgba32_sse2(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
166
gfx_conv_YCbCr422_RGB32_c(in, out, width, height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
18
void *fromVPtr, void *toPtr, int width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
181
_Convert_YUV420P_RGBA32_SSE2(ybase, ubase, vbase, rgbbase, width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
191
gfx_conv_yuv422p_rgba32_ssse3(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
196
gfx_conv_YCbCr422_RGB32_c(in, out, width, height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
211
_Convert_YUV420P_RGBA32_SSSE3(ybase, ubase, vbase, rgbbase, width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
221
gfx_conv_yuv422_rgba32_sse(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
226
gfx_conv_YCbCr422_RGB32_c(in, out, width, height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
23
gfx_conv_yuv420p_rgba32_sse(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
234
_Convert_YUV422_RGBA32_SSE(ybase, rgbbase, width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
242
gfx_conv_yuv422_rgba32_sse2(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
247
gfx_conv_YCbCr422_RGB32_c(in, out, width, height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
255
_Convert_YUV422_RGBA32_SSE2(ybase, rgbbase, width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
263
gfx_conv_yuv422_rgba32_ssse3(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
268
gfx_conv_YCbCr422_RGB32_c(in, out, width, height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
276
_Convert_YUV422_RGBA32_SSSE3(ybase, rgbbase, width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
28
gfx_conv_YCbCr420p_RGB32_c(in, out, width, height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
44
_Convert_YUV420P_RGBA32_SSE(ybase, ubase, vbase, rgbbase, width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
49
_Convert_YUV420P_RGBA32_SSE(ybase, ubase, vbase, rgbbase, width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
59
gfx_conv_yuv420p_rgba32_sse2(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
6
int width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
64
gfx_conv_YCbCr420p_RGB32_c(in, out, width, height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
8
int width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
80
_Convert_YUV420P_RGBA32_SSE2(ybase, ubase, vbase, rgbbase, width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
85
_Convert_YUV420P_RGBA32_SSE2(ybase, ubase, vbase, rgbbase, width);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.cpp
95
gfx_conv_yuv420p_rgba32_ssse3(AVFrame *in, AVFrame *out, int width, int height)
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.h
11
void gfx_conv_yuv420p_rgba32_sse(AVFrame *in, AVFrame *out, int width, int height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.h
12
void gfx_conv_yuv420p_rgba32_sse2(AVFrame *in, AVFrame *out, int width, int height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.h
13
void gfx_conv_yuv420p_rgba32_ssse3(AVFrame *in, AVFrame *out, int width, int height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.h
14
void gfx_conv_yuv422p_rgba32_sse(AVFrame *in, AVFrame *out, int width, int height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.h
15
void gfx_conv_yuv422p_rgba32_sse2(AVFrame *in, AVFrame *out, int width, int height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.h
16
void gfx_conv_yuv422p_rgba32_ssse3(AVFrame *in, AVFrame *out, int width, int height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.h
19
void gfx_conv_yuv422_rgba32_sse(AVFrame *in, AVFrame *out, int width, int height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.h
20
void gfx_conv_yuv422_rgba32_sse2(AVFrame *in, AVFrame *out, int width, int height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.h
21
void gfx_conv_yuv422_rgba32_ssse3(AVFrame *in, AVFrame *out, int width, int height);
src/add-ons/media/plugins/ffmpeg/gfx_conv_mmx.h
8
void gfx_conv_null_mmx(AVFrame *in, AVFrame *out, int width, int height);
src/add-ons/media/plugins/ffmpeg/gfx_util.cpp
29
resolve_colorspace(color_space colorSpace, AVPixelFormat pixelFormat, int width,
src/add-ons/media/plugins/ffmpeg/gfx_util.cpp
50
if (cpu.HasSSSE3() && width % 8 == 0 && height % 2 == 0) {
src/add-ons/media/plugins/ffmpeg/gfx_util.cpp
53
} else if (cpu.HasSSE2() && width % 8 == 0 && height % 2 == 0) {
src/add-ons/media/plugins/ffmpeg/gfx_util.cpp
56
} else if (cpu.HasSSE1() && width % 4 == 0
src/add-ons/media/plugins/ffmpeg/gfx_util.cpp
69
if (cpu.HasSSSE3() && width % 8 == 0) {
src/add-ons/media/plugins/ffmpeg/gfx_util.cpp
72
} else if (cpu.HasSSE2() && width % 8 == 0) {
src/add-ons/media/plugins/ffmpeg/gfx_util.cpp
75
} else if (cpu.HasSSE1() && width % 4 == 0) {
src/add-ons/media/plugins/ffmpeg/gfx_util.cpp
91
if (cpu.HasSSSE3() && width % 8 == 0) {
src/add-ons/media/plugins/ffmpeg/gfx_util.cpp
93
} else if (cpu.HasSSE2() && width % 8 == 0) {
src/add-ons/media/plugins/ffmpeg/gfx_util.cpp
95
} else if (cpu.HasSSE1() && width % 4 == 0
src/add-ons/media/plugins/ffmpeg/gfx_util.h
38
typedef void (*gfx_convert_func) (AVFrame *in, AVFrame *out, int width, int height);
src/add-ons/media/plugins/ffmpeg/gfx_util.h
42
gfx_convert_func resolve_colorspace(color_space cs, AVPixelFormat pixelFormat, int width, int height);
src/add-ons/network_settings/dialup/ConnectionOptionsAddon.cpp
150
ConnectionOptionsAddon::GetPreferredSize(float *width, float *height) const
src/add-ons/network_settings/dialup/ConnectionOptionsAddon.cpp
157
if(width)
src/add-ons/network_settings/dialup/ConnectionOptionsAddon.cpp
158
*width = rect.Width();
src/add-ons/network_settings/dialup/ConnectionOptionsAddon.h
49
virtual bool GetPreferredSize(float *width, float *height) const;
src/add-ons/network_settings/dialup/DialUpAddon.h
107
virtual bool GetPreferredSize(float *width, float *height) const
src/add-ons/network_settings/dialup/GeneralAddon.cpp
302
GeneralAddon::GetPreferredSize(float *width, float *height) const
src/add-ons/network_settings/dialup/GeneralAddon.cpp
309
if(width)
src/add-ons/network_settings/dialup/GeneralAddon.cpp
310
*width = rect.Width();
src/add-ons/network_settings/dialup/GeneralAddon.h
71
virtual bool GetPreferredSize(float *width, float *height) const;
src/add-ons/network_settings/dialup/IPCPAddon.cpp
220
IPCPAddon::GetPreferredSize(float *width, float *height) const
src/add-ons/network_settings/dialup/IPCPAddon.cpp
227
if(width)
src/add-ons/network_settings/dialup/IPCPAddon.cpp
228
*width = rect.Width();
src/add-ons/network_settings/dialup/IPCPAddon.h
54
virtual bool GetPreferredSize(float *width, float *height) const;
src/add-ons/network_settings/dialup/PPPoEAddon.cpp
197
PPPoEAddon::GetPreferredSize(float *width, float *height) const
src/add-ons/network_settings/dialup/PPPoEAddon.cpp
204
if(width)
src/add-ons/network_settings/dialup/PPPoEAddon.cpp
205
*width = viewWidth;
src/add-ons/network_settings/dialup/PPPoEAddon.cpp
217
float width;
src/add-ons/network_settings/dialup/PPPoEAddon.cpp
218
if(!Addons()->FindFloat(DUN_DEVICE_VIEW_WIDTH, &width))
src/add-ons/network_settings/dialup/PPPoEAddon.cpp
219
width = 270;
src/add-ons/network_settings/dialup/PPPoEAddon.cpp
222
BRect rect(0, 0, width, fHeight);
src/add-ons/network_settings/dialup/PPPoEAddon.h
53
virtual bool GetPreferredSize(float *width, float *height) const;
src/add-ons/print/drivers/canon_lips/lips3/Lips3.cpp
140
int width = rc.right - rc.left + 1;
src/add-ons/print/drivers/canon_lips/lips3/Lips3.cpp
141
int widthByte = (width + 7) / 8;
src/add-ons/print/drivers/canon_lips/lips3/Lips3.cpp
148
DBGMSG(("width = %d\n", width));
src/add-ons/print/drivers/canon_lips/lips3/Lips3.cpp
175
fHalftone->Dither(ptr2, ptr, x, y, width);
src/add-ons/print/drivers/canon_lips/lips3/Lips3.cpp
271
int width = 0;
src/add-ons/print/drivers/canon_lips/lips3/Lips3.cpp
321
width = GetJobData()->GetPaperRect().IntegerWidth();
src/add-ons/print/drivers/canon_lips/lips3/Lips3.cpp
332
WriteSpoolString("\033[%d;%d;%dp", i, height, width);
src/add-ons/print/drivers/canon_lips/lips4/Lips4.cpp
151
int width = rc.right - rc.left + 1;
src/add-ons/print/drivers/canon_lips/lips4/Lips4.cpp
152
int widthByte = (width + 7) / 8;
src/add-ons/print/drivers/canon_lips/lips4/Lips4.cpp
158
DBGMSG(("width = %d\n", width));
src/add-ons/print/drivers/canon_lips/lips4/Lips4.cpp
185
fHalftone->Dither(ptr2, ptr, x, y, width);
src/add-ons/print/drivers/gutenprint/GPCapabilityExtractor.cpp
195
BRect(0, 0, pageSize.width, pageSize.height),
src/add-ons/print/drivers/gutenprint/GPDriver.cpp
266
int width = rc.right - rc.left + 1;
src/add-ons/print/drivers/gutenprint/GPDriver.cpp
270
x, y, width, height);
src/add-ons/print/drivers/gutenprint/GPJob.cpp
280
int width = fPrintRect.Width() + 1;
src/add-ons/print/drivers/gutenprint/GPJob.cpp
285
left, top, width, height);
src/add-ons/print/drivers/gutenprint/GPJob.cpp
308
double width = right - left;
src/add-ons/print/drivers/gutenprint/GPJob.cpp
316
coordinateSystem.SizeFromGutenprint(width, height, printRectWidth,
src/add-ons/print/drivers/gutenprint/GPJob.cpp
323
int width = fPrintRect.Width() + 1;
src/add-ons/print/drivers/gutenprint/GPJob.cpp
328
left, top, width, height);
src/add-ons/print/drivers/gutenprint/GPJob.cpp
470
int width = band->fValidRect.IntegerWidth() + 1 - sourcePixelsToSkip;
src/add-ons/print/drivers/gutenprint/GPJob.cpp
472
if (width <= 0)
src/add-ons/print/drivers/gutenprint/GPJob.cpp
478
if (width > maxWidth)
src/add-ons/print/drivers/gutenprint/GPJob.cpp
479
width = maxWidth;
src/add-ons/print/drivers/gutenprint/GPJob.cpp
482
ASSERT((dataLeft + width) * kTargetBytesPerPixel <= size);
src/add-ons/print/drivers/gutenprint/GPJob.cpp
484
for (int i = 0; i < width; i ++) {
src/add-ons/print/drivers/gutenprint/GPJob.cpp
63
void RoundUpToWholeInches(int32& width, int32& height) {
src/add-ons/print/drivers/gutenprint/GPJob.cpp
64
width = ((width + kGutenprintUnit - 1) / kGutenprintUnit)
src/add-ons/print/drivers/gutenprint/GPJob.cpp
90
fImage.width = ImageWidth;
src/add-ons/print/drivers/gutenprint/GPParameterVisitor.cpp
206
stp_dimension_t width;
src/add-ons/print/drivers/gutenprint/GPParameterVisitor.cpp
208
stp_get_media_size(fVariables, &width, &height);
src/add-ons/print/drivers/gutenprint/GPParameterVisitor.cpp
209
BSize pageSize(width, height);
src/add-ons/print/drivers/pcl5/PCL5.cpp
127
int width = rc.right - rc.left + 1;
src/add-ons/print/drivers/pcl5/PCL5.cpp
128
int widthByte = (width + 7) / 8;
src/add-ons/print/drivers/pcl5/PCL5.cpp
135
DBGMSG(("width = %d\n", width));
src/add-ons/print/drivers/pcl5/PCL5.cpp
157
_StartRasterGraphics(width, height);
src/add-ons/print/drivers/pcl5/PCL5.cpp
171
fHalftone->Dither(&in_buffer[0], ptr, x, y, width);
src/add-ons/print/drivers/pcl5/PCL5.cpp
252
PCL5Driver::_StartRasterGraphics(int width, int height)
src/add-ons/print/drivers/pcl5/PCL5.cpp
255
WriteSpoolString("\033*r%dS", width);
src/add-ons/print/drivers/pcl5/PCL5.h
30
void _StartRasterGraphics(int width, int height);
src/add-ons/print/drivers/pcl6/PCL6.cpp
170
int width = rasterizer->GetWidth();
src/add-ons/print/drivers/pcl6/PCL6.cpp
173
width, height, deltaRowSize);
src/add-ons/print/drivers/pcl6/PCL6.cpp
196
int y, int width, int height, int deltaRowSize)
src/add-ons/print/drivers/pcl6/PCL6.cpp
222
_StartRasterGraphics(x, y, width, height, compressionMethod);
src/add-ons/print/drivers/pcl6/PCL6.cpp
301
PCL6Driver::_StartRasterGraphics(int x, int y, int width, int height,
src/add-ons/print/drivers/pcl6/PCL6.cpp
316
fWriter->BeginImage(PCL6Writer::kDirectPixel, colorDepth, width, height,
src/add-ons/print/drivers/pcl6/PCL6.cpp
317
width, height);
src/add-ons/print/drivers/pcl6/PCL6.h
42
int x, int y, int width, int height, int deltaRowSize);
src/add-ons/print/drivers/pcl6/PCL6.h
43
void _StartRasterGraphics(int x, int y, int width, int height,
src/add-ons/print/drivers/pcl6/PCL6Rasterizer.cpp
102
int width = GetWidth();
src/add-ons/print/drivers/pcl6/PCL6Rasterizer.cpp
103
for (int w = width; w > 0; w --) {
src/add-ons/print/drivers/pcl6/PCL6Rasterizer.cpp
378
fill(uchar* _row, int width, ColorRGB32Little color)
src/add-ons/print/drivers/pcl6/PCL6Rasterizer.cpp
381
for (int i = 0; i < width; i ++) {
src/add-ons/print/drivers/pcl6/PCL6Rasterizer.cpp
389
initializeBitmap(BBitmap* bitmap, int width, int height)
src/add-ons/print/drivers/pcl6/PCL6Rasterizer.cpp
401
fill(row, width, black);
src/add-ons/print/drivers/pcl6/PCL6Rasterizer.cpp
405
fill(row, width, white);
src/add-ons/print/drivers/pcl6/PCL6Rasterizer.cpp
409
fill(row, width, red);
src/add-ons/print/drivers/pcl6/PCL6Rasterizer.cpp
414
for (int i = 0; i < width; i++) {
src/add-ons/print/drivers/pcl6/PCL6Rasterizer.cpp
434
const int width = 10;
src/add-ons/print/drivers/pcl6/PCL6Rasterizer.cpp
437
fprintf(stderr, "width: %d\nheight: %d\n", width, height);
src/add-ons/print/drivers/pcl6/PCL6Rasterizer.cpp
445
BBitmap bitmap(BRect(0, 0, width - 1, height - 1), B_RGB32);
src/add-ons/print/drivers/pcl6/PCL6Rasterizer.cpp
447
initializeBitmap(&bitmap, width, height);
src/add-ons/print/drivers/postscript/PS.cpp
245
int width = rc.right - rc.left + 1;
src/add-ons/print/drivers/postscript/PS.cpp
246
int widthByte = (width + 7) / 8;
src/add-ons/print/drivers/postscript/PS.cpp
249
int in_size = color ? width : widthByte;
src/add-ons/print/drivers/postscript/PS.cpp
250
int out_size = color ? width * 6: widthByte * 2;
src/add-ons/print/drivers/postscript/PS.cpp
253
DBGMSG(("width = %d\n", width));
src/add-ons/print/drivers/postscript/PS.cpp
276
int size = color ? width * 3 : in_size;
src/add-ons/print/drivers/postscript/PS.cpp
277
_StartRasterGraphics(x, y, width, height, size);
src/add-ons/print/drivers/postscript/PS.cpp
283
for (int w = width; w > 0; w --) {
src/add-ons/print/drivers/postscript/PS.cpp
293
fHalftone->Dither(&in_buffer[0], ptr, x, y, width);
src/add-ons/print/drivers/postscript/PS.cpp
368
PSDriver::_StartRasterGraphics(int x, int y, int width, int height,
src/add-ons/print/drivers/postscript/PS.cpp
376
_WritePSString("%d %d scale\n", width, height);
src/add-ons/print/drivers/postscript/PS.cpp
378
_WritePSString("%d %d 8\n", width, height); // 8 bpp
src/add-ons/print/drivers/postscript/PS.cpp
380
_WritePSString("%d %d 1\n", width, height); // 1 bpp
src/add-ons/print/drivers/postscript/PS.cpp
381
_WritePSString("[%d 0 0 %d 0 0]\n", width, height);
src/add-ons/print/drivers/postscript/PS.h
31
void _StartRasterGraphics(int x, int y, int width,
src/add-ons/print/drivers/preview/PageSetupWindow.cpp
113
float width = letter_width;
src/add-ons/print/drivers/preview/PageSetupWindow.cpp
116
width = page.Width();
src/add-ons/print/drivers/preview/PageSetupWindow.cpp
119
page.Set(0, 0, width, height);
src/add-ons/print/drivers/preview/PageSetupWindow.cpp
143
fMarginView = new MarginView(int32(width), int32(height), margin,
src/add-ons/print/drivers/preview/PageSetupWindow.cpp
154
message->AddFloat("width", pageFormat[i].width);
src/add-ons/print/drivers/preview/PageSetupWindow.cpp
63
float width;
src/add-ons/print/transports/hp_jetdirect/SetupWindow.cpp
104
fServerAddress->SetDivider(width);
src/add-ons/print/transports/hp_jetdirect/SetupWindow.cpp
110
fQueuePort->SetDivider(width);
src/add-ons/print/transports/hp_jetdirect/SetupWindow.cpp
98
float width = MAX(StringWidth(SERVER_TEXT), StringWidth(QUEUE_TEXT)) + 10;
src/add-ons/print/transports/lpr/LprSetupDlg.cpp
101
float width = max(StringWidth(SERVER_TEXT), StringWidth(QUEUE_TEXT)) + 10;
src/add-ons/print/transports/lpr/LprSetupDlg.cpp
109
fServer->SetDivider(width);
src/add-ons/print/transports/lpr/LprSetupDlg.cpp
117
fQueue->SetDivider(width);
src/add-ons/screen_savers/flurry/Flurry.h
26
virtual void FrameResized(float width, float height);
src/add-ons/screen_savers/flurry/Smoke.cpp
254
float width;
src/add-ons/screen_savers/flurry/Smoke.cpp
267
width = (streamSize + 2.5f * info->streamExpansion) * screenRatio;
src/add-ons/screen_savers/flurry/Smoke.cpp
279
if (thisWidth >= width) {
src/add-ons/screen_savers/flurry/Smoke.cpp
336
cm = (1.375f - thisWidth / width);
src/add-ons/screen_savers/flurry/Spark.cpp
57
float width;
src/add-ons/screen_savers/flurry/Spark.cpp
67
width = 60000.0f * info->sys_glWidth / 1024.0f;
src/add-ons/screen_savers/flurry/Spark.cpp
72
w = width*4.0f / z;
src/add-ons/screen_savers/message/Message.cpp
217
int width = (int) offscreen.Bounds().Width();
src/add-ons/screen_savers/message/Message.cpp
235
int x = (rand() % width) - (rand() % width/((rand() % 8)+1));
src/add-ons/screen_savers/message/Message.cpp
243
int drawingLength = (int) (strLength * (width / strWidth));
src/add-ons/screen_savers/message/Message.cpp
274
box.OffsetTo((width - box.Width()) / 2, height - box.Height() - 40);
src/add-ons/screen_savers/shelf/Shelf.cpp
192
float width = view->Bounds().Width();
src/add-ons/screen_savers/shelf/Shelf.cpp
207
fLine1Start.Set((width - rect.Width()) / 2, y);
src/add-ons/screen_savers/shelf/Shelf.cpp
209
fLine2Start.Set((width - rect.Width()) / 2, y + rect.Height() + height / 10);
src/add-ons/screen_savers/simpleclock/SimpleClock.cpp
100
centerX = width / 2.0;
src/add-ons/screen_savers/simpleclock/SimpleClock.cpp
162
float coeff, float width)
src/add-ons/screen_savers/simpleclock/SimpleClock.cpp
164
float alpha = width / length;
src/add-ons/screen_savers/simpleclock/SimpleClock.cpp
31
float length, float coeff, float width);
src/add-ons/screen_savers/simpleclock/SimpleClock.cpp
82
float width = view->Bounds().Width();
src/add-ons/screen_savers/slideshowsaver/SlideShowSaver.cpp
473
float width, height;
src/add-ons/screen_savers/slideshowsaver/SlideShowSaver.cpp
476
width = font.StringWidth(fCaption.String()) + 1; // 1 for text shadow
src/add-ons/screen_savers/slideshowsaver/SlideShowSaver.cpp
480
pos.x = (bounds.left + bounds.right - width)/2;
src/add-ons/screen_savers/slideshowsaver/SlideShowSaver.cpp
485
rect.Set(0, 0, (width-1)+2, (height-1)+2+1); // 2 for border and 1 for text shadow
src/add-ons/screen_savers/spider/SpiderSaver.cpp
230
SpiderSaver::_AllocBackBitmap(float width, float height)
src/add-ons/screen_savers/spider/SpiderSaver.cpp
233
if (width <= 0.0 || height <= 0.0)
src/add-ons/screen_savers/spider/SpiderSaver.cpp
236
BRect b(0.0, 0.0, width, height);
src/add-ons/screen_savers/spider/SpiderSaver.h
65
void _AllocBackBitmap(float width, float height);
src/add-ons/tracker/zipomatic/ZipOMaticActivity.cpp
189
Activity::FrameResized(float width, float height)
src/add-ons/tracker/zipomatic/ZipOMaticActivity.cpp
196
fStripeWidth = (width / (fIsRunning ? 4 : 6)) + 5;
src/add-ons/tracker/zipomatic/ZipOMaticActivity.cpp
208
fNumStripes = (int32)ceilf((width) / fStripeWidth) + 1 + fNumColors;
src/add-ons/tracker/zipomatic/ZipOMaticActivity.h
26
virtual void FrameResized(float width, float height);
src/add-ons/tracker/zipomatic/ZipOMaticWindow.cpp
373
float width = rect->Width();
src/add-ons/tracker/zipomatic/ZipOMaticWindow.cpp
386
rect->OffsetBy(-(width * 1.5), 0);
src/add-ons/tracker/zipomatic/ZipOMaticWindow.cpp
390
rect->OffsetBy(width * 1.5, 0);
src/add-ons/translators/avif/AVIFTranslator.cpp
270
int width = bitsHeader.bounds.IntegerWidth() + 1;
src/add-ons/translators/avif/AVIFTranslator.cpp
274
avifImage* image = avifImageCreate(width, height, depth, format);
src/add-ons/translators/avif/AVIFTranslator.cpp
441
int width = image->width;
src/add-ons/translators/avif/AVIFTranslator.cpp
489
bitmapHeader.bounds.Set(0, 0, width - 1, height - 1);
src/add-ons/translators/bmp/BMPTranslator.cpp
1025
msheader.width =
src/add-ons/translators/bmp/BMPTranslator.cpp
1057
msheader.imagesize = get_rowbytes(msheader.width, 24) *
src/add-ons/translators/bmp/BMPTranslator.cpp
1072
msheader.imagesize = get_rowbytes(msheader.width,
src/add-ons/translators/bmp/BMPTranslator.cpp
1086
msheader.imagesize = get_rowbytes(msheader.width,
src/add-ons/translators/bmp/BMPTranslator.cpp
1213
int32 bitsRowBytes = msheader.width * 4;
src/add-ons/translators/bmp/BMPTranslator.cpp
1216
get_rowbytes(msheader.width, msheader.bitsperpixel);
src/add-ons/translators/bmp/BMPTranslator.cpp
1269
for (int32 i = 0; i < msheader.width; i++) {
src/add-ons/translators/bmp/BMPTranslator.cpp
1340
get_rowbytes(msheader.width, msheader.bitsperpixel);
src/add-ons/translators/bmp/BMPTranslator.cpp
1346
int32 bitsRowBytes = msheader.width * 4;
src/add-ons/translators/bmp/BMPTranslator.cpp
1368
for (int32 i = 0; i < msheader.width; i++) {
src/add-ons/translators/bmp/BMPTranslator.cpp
1466
int32 bitsRowBytes = msheader.width * 4;
src/add-ons/translators/bmp/BMPTranslator.cpp
1489
if (bmppixcol == msheader.width) {
src/add-ons/translators/bmp/BMPTranslator.cpp
1497
if (count + bmppixcol > msheader.width)
src/add-ons/translators/bmp/BMPTranslator.cpp
1498
count = msheader.width - bmppixcol;
src/add-ons/translators/bmp/BMPTranslator.cpp
1524
if (bmppixcol < msheader.width)
src/add-ons/translators/bmp/BMPTranslator.cpp
1526
defaultcolor, msheader.width - bmppixcol);
src/add-ons/translators/bmp/BMPTranslator.cpp
1537
if (bmppixcol == msheader.width) {
src/add-ons/translators/bmp/BMPTranslator.cpp
1547
msheader.width - bmppixcol);
src/add-ons/translators/bmp/BMPTranslator.cpp
1572
if ((dx + bmppixcol >= msheader.width) ||
src/add-ons/translators/bmp/BMPTranslator.cpp
1584
msheader.width - bmppixcol);
src/add-ons/translators/bmp/BMPTranslator.cpp
1606
if (bmppixcol == msheader.width) {
src/add-ons/translators/bmp/BMPTranslator.cpp
1614
if (code + bmppixcol > msheader.width)
src/add-ons/translators/bmp/BMPTranslator.cpp
1615
code = msheader.width - bmppixcol;
src/add-ons/translators/bmp/BMPTranslator.cpp
1754
bitsHeader.bounds.right = msheader.width - 1;
src/add-ons/translators/bmp/BMPTranslator.cpp
179
get_padding(uint32 width, uint16 bitsperpixel)
src/add-ons/translators/bmp/BMPTranslator.cpp
1793
bitsHeader.rowBytes = msheader.width * 4;
src/add-ons/translators/bmp/BMPTranslator.cpp
185
padding = (width * bytesPerPixel) % 4;
src/add-ons/translators/bmp/BMPTranslator.cpp
188
if (!(width % pixelsPerByte))
src/add-ons/translators/bmp/BMPTranslator.cpp
189
padding = (width / pixelsPerByte) % 4;
src/add-ons/translators/bmp/BMPTranslator.cpp
191
padding = ((width + pixelsPerByte -
src/add-ons/translators/bmp/BMPTranslator.cpp
192
(width % pixelsPerByte)) /
src/add-ons/translators/bmp/BMPTranslator.cpp
221
get_rowbytes(uint32 width, uint16 bitsperpixel)
src/add-ons/translators/bmp/BMPTranslator.cpp
224
int32 padding = get_padding(width, bitsperpixel);
src/add-ons/translators/bmp/BMPTranslator.cpp
228
rowbytes = (width * bytesPerPixel) + padding;
src/add-ons/translators/bmp/BMPTranslator.cpp
231
rowbytes = (width / pixelsPerByte) +
src/add-ons/translators/bmp/BMPTranslator.cpp
232
((width % pixelsPerByte) ? 1 : 0) + padding;
src/add-ons/translators/bmp/BMPTranslator.cpp
345
if (msheader.width == 0 || msheader.height == 0)
src/add-ons/translators/bmp/BMPTranslator.cpp
393
pmsheader->width = abs(msheader.width);
src/add-ons/translators/bmp/BMPTranslator.cpp
428
if (os2header.width == 0 || os2header.height == 0)
src/add-ons/translators/bmp/BMPTranslator.cpp
454
pmsheader->width = os2header.width;
src/add-ons/translators/bmp/BMPTranslator.cpp
472
pmsheader->imagesize = get_rowbytes(pmsheader->width,
src/add-ons/translators/bmp/BMPTranslator.cpp
492
pmsheader->imagesize = get_rowbytes(pmsheader->width,
src/add-ons/translators/bmp/BMPTranslator.cpp
624
int32 bitsRowBytes = msheader.width * bitsBytesPerPixel;
src/add-ons/translators/bmp/BMPTranslator.cpp
625
int32 padding = get_padding(msheader.width, msheader.bitsperpixel);
src/add-ons/translators/bmp/BMPTranslator.cpp
627
get_rowbytes(msheader.width, msheader.bitsperpixel);
src/add-ons/translators/bmp/BMPTranslator.cpp
651
for (int32 i = 0; i < msheader.width; i++) {
src/add-ons/translators/bmp/BMPTranslator.cpp
811
int32 padding = get_padding(msheader.width, msheader.bitsperpixel);
src/add-ons/translators/bmp/BMPTranslator.cpp
813
get_rowbytes(msheader.width, msheader.bitsperpixel);
src/add-ons/translators/bmp/BMPTranslator.cpp
828
memcpy(bmpRowData, bitsRowData, msheader.width);
src/add-ons/translators/bmp/BMPTranslator.cpp
878
get_rowbytes(msheader.width, msheader.bitsperpixel);
src/add-ons/translators/bmp/BMPTranslator.cpp
894
for (int32 i = 0; (bmppixcol < msheader.width) &&
src/add-ons/translators/bmp/BMPTranslator.cpp
898
for (uint8 compbit = 128; (bmppixcol < msheader.width) &&
src/add-ons/translators/bmp/BMPTranslator.h
70
int32 width; // bitmap width
src/add-ons/translators/bmp/BMPTranslator.h
84
uint16 width; // bitmap width
src/add-ons/translators/gif/GIFSave.cpp
102
green_error = new(std::nothrow) int32[width + 2];
src/add-ons/translators/gif/GIFSave.cpp
112
blue_error = new(std::nothrow) int32[width + 2];
src/add-ons/translators/gif/GIFSave.cpp
124
for (int32 x = -1; x < width + 1; x++) {
src/add-ons/translators/gif/GIFSave.cpp
247
header[6] = width & 0xff;
src/add-ons/translators/gif/GIFSave.cpp
248
header[7] = (width & 0xff00) >> 8;
src/add-ons/translators/gif/GIFSave.cpp
297
header[5] = width & 0xff;
src/add-ons/translators/gif/GIFSave.cpp
298
header[6] = (width & 0xff00) >> 8;
src/add-ons/translators/gif/GIFSave.cpp
357
int area = height * width;
src/add-ons/translators/gif/GIFSave.cpp
562
if (pixel % width == 0)
src/add-ons/translators/gif/GIFSave.cpp
593
int x = pixel % width;
src/add-ons/translators/gif/GIFSave.cpp
596
if (prefs->interlaced && x == width - 1) {
src/add-ons/translators/gif/GIFSave.cpp
597
for (int32 y = -1; y < width + 1; y++) {
src/add-ons/translators/gif/GIFSave.cpp
636
int x = pixel % width;
src/add-ons/translators/gif/GIFSave.cpp
639
if (fSettings->SetGetBool(GIF_SETTING_INTERLACED) && x == width - 1) {
src/add-ons/translators/gif/GIFSave.cpp
640
for (int32 y = -1; y < width + 1; y++) {
src/add-ons/translators/gif/GIFSave.cpp
82
width = bitmap->Bounds().IntegerWidth() + 1;
src/add-ons/translators/gif/GIFSave.cpp
86
"Image dimensions are %d by %d\n", width, height);
src/add-ons/translators/gif/GIFSave.cpp
93
red_error = new(std::nothrow) int32[width + 2];
src/add-ons/translators/gif/GIFSave.h
90
int width;
src/add-ons/translators/gif/SavePalette.cpp
293
uint32 width = rect.IntegerWidth() + 1;
src/add-ons/translators/gif/SavePalette.cpp
304
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/gif/SavePalette.cpp
324
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/icns/ICNSLoader.cpp
23
ICNSFormat(float width, float height, color_space colors)
src/add-ons/translators/icns/ICNSLoader.cpp
25
int imageWidth = (int)ceil(width);
src/add-ons/translators/icns/ICNSLoader.h
35
icns_type_t ICNSFormat(float width, float height, color_space colors);
src/add-ons/translators/icns/ICNSTranslator.cpp
214
ICNSTranslator::DerivedCanHandleImageSize(float width, float height) const
src/add-ons/translators/icns/ICNSTranslator.cpp
216
if (ICNSFormat(width, height, B_RGBA32) == ICNS_NULL_TYPE)
src/add-ons/translators/icns/ICNSTranslator.h
51
virtual status_t DerivedCanHandleImageSize(float width,
src/add-ons/translators/ico/ICO.cpp
127
get_bytes_per_row(int32 width, int32 bitsPerPixel)
src/add-ons/translators/ico/ICO.cpp
129
return (((bitsPerPixel * width + 7) / 8) + 3) & ~3;
src/add-ons/translators/ico/ICO.cpp
254
int32 width, int32 height, int32 bytesPerRow)
src/add-ons/translators/ico/ICO.cpp
257
for (int32 x = 0; x < width; x++) {
src/add-ons/translators/ico/ICO.cpp
278
int32 xorRowBytes = get_bytes_per_row(entry.width, header.bits_per_pixel);
src/add-ons/translators/ico/ICO.cpp
281
andRowBytes = get_bytes_per_row(entry.width, 1);
src/add-ons/translators/ico/ICO.cpp
282
int32 outRowBytes = entry.width * 4;
src/add-ons/translators/ico/ICO.cpp
318
for (uint32 x = 0; x < entry.width; x++) {
src/add-ons/translators/ico/ICO.cpp
390
int32 xorRowBytes = get_bytes_per_row(entry.width, bitsPerPixel);
src/add-ons/translators/ico/ICO.cpp
391
int32 andRowBytes = get_bytes_per_row(entry.width, 1);
src/add-ons/translators/ico/ICO.cpp
409
for (uint32 x = 0; x < entry.width; x++) {
src/add-ons/translators/ico/ICO.cpp
470
for (uint32 x = 0; x < entry.width; x++) {
src/add-ons/translators/ico/ICO.cpp
543
entry.width, entry.height, entry.planes, entry.color_count, entry.bits_per_pixel,
src/add-ons/translators/ico/ICO.cpp
552
bitmapHeader.size, bitmapHeader.width, bitmapHeader.height, bitmapHeader.bits_per_pixel,
src/add-ons/translators/ico/ICO.cpp
626
if (entry.size != 0 && 2 * entry.width == entry.height && numColors != 0
src/add-ons/translators/ico/ICO.cpp
627
&& sizeof(rgba32_color) * numColors + entry.width * entry.height > entry.size)
src/add-ons/translators/ico/ICO.cpp
628
entry.height = entry.width;
src/add-ons/translators/ico/ICO.cpp
634
bitsHeader.bounds.right = entry.width - 1;
src/add-ons/translators/ico/ICO.cpp
636
bitsHeader.bounds.Set(0, 0, entry.width - 1, entry.height - 1);
src/add-ons/translators/ico/ICO.cpp
637
bitsHeader.rowBytes = entry.width * 4;
src/add-ons/translators/ico/ICO.cpp
665
int32 width = bitsHeader.bounds.IntegerWidth() + 1;
src/add-ons/translators/ico/ICO.cpp
667
if (!is_valid_size(width) || !is_valid_size(height))
src/add-ons/translators/ico/ICO.cpp
707
width, height, bitsHeader.rowBytes)) {
src/add-ons/translators/ico/ICO.cpp
735
entry.width = width;
src/add-ons/translators/ico/ICO.cpp
745
int32 xorRowBytes = get_bytes_per_row(width, bitsPerPixel);
src/add-ons/translators/ico/ICO.cpp
748
andRowBytes = get_bytes_per_row(width, 1);
src/add-ons/translators/ico/ICO.cpp
750
entry.size = sizeof(ico_bitmap_header) + width * (xorRowBytes + andRowBytes);
src/add-ons/translators/ico/ICO.cpp
759
bitmapHeader.width = width;
src/add-ons/translators/ico/ICO.h
36
uint8 width;
src/add-ons/translators/ico/ICO.h
53
uint32 width;
src/add-ons/translators/ico/ICOTranslator.cpp
171
ICOTranslator::DerivedCanHandleImageSize(float width, float height) const
src/add-ons/translators/ico/ICOTranslator.cpp
173
if (!ICO::is_valid_size((int)width) || !ICO::is_valid_size((int)height))
src/add-ons/translators/ico/ICOTranslator.h
47
virtual status_t DerivedCanHandleImageSize(float width,
src/add-ons/translators/jpeg/JPEGTranslator.cpp
133
dest_index(uint32 width, uint32 height, uint32 x, uint32 y, int32 orientation)
src/add-ons/translators/jpeg/JPEGTranslator.cpp
143
x = width - 1 - x;
src/add-ons/translators/jpeg/JPEGTranslator.cpp
145
return y * width + x;
src/add-ons/translators/jpeg/JPEGTranslator.cpp
855
int width = bounds.IntegerWidth() + 1;
src/add-ons/translators/jpeg/JPEGTranslator.cpp
872
padding = in_row_bytes - width;
src/add-ons/translators/jpeg/JPEGTranslator.cpp
883
padding = in_row_bytes - (width / 8);
src/add-ons/translators/jpeg/JPEGTranslator.cpp
889
padding = in_row_bytes - width;
src/add-ons/translators/jpeg/JPEGTranslator.cpp
895
padding = in_row_bytes - (width * 2);
src/add-ons/translators/jpeg/JPEGTranslator.cpp
901
padding = in_row_bytes - (width * 2);
src/add-ons/translators/jpeg/JPEGTranslator.cpp
906
padding = in_row_bytes - (width * 2);
src/add-ons/translators/jpeg/JPEGTranslator.cpp
911
padding = in_row_bytes - (width * 2);
src/add-ons/translators/jpeg/JPEGTranslator.cpp
916
padding = in_row_bytes - (width * 3);
src/add-ons/translators/jpeg/JPEGTranslator.cpp
920
padding = in_row_bytes - (width * 3);
src/add-ons/translators/jpeg/JPEGTranslator.cpp
926
padding = in_row_bytes - (width * 4);
src/add-ons/translators/jpeg/JPEGTranslator.cpp
932
padding = in_row_bytes - (width * 4);
src/add-ons/translators/jpeg/JPEGTranslator.cpp
938
padding = in_row_bytes - (width * 4);
src/add-ons/translators/jpeg/JPEGTranslator.cpp
945
out_row_bytes = jpg_input_components * width;
src/add-ons/translators/jpeg/JPEGTranslator.cpp
955
cinfo.image_width = width;
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
1018
component_info[i].width = (unsigned int)width;
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
1033
pixels[i] = jas_matrix_create(1, (unsigned int)width);
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
1048
converter(pixels, in_scanline, width);
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
105
read_rgb24_to_rgb32(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
1052
(unsigned int)width, 1, pixels[i]);
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
109
while (x < width) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
1107
int width) = NULL;
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
1146
float width = (float)jas_image_width(image);
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
1150
int64 out_row_bytes = (int32)width * out_color_components;
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
1154
BRect bounds(0, 0, width - 1, height - 1);
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
1181
pixels[i] = jas_matrix_create(1, (unsigned int)width);
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
1190
(unsigned int)width, 1, pixels[i]);
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
1193
converter(pixels, out_scanline, (int32)width);
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
121
read_gray_to_rgb32(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
126
while (x < width) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
141
read_rgba32(jas_matrix_t** pixels, uchar *scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
145
while (x < width) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
160
read_gray(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
163
while (x < width) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
172
write_gray1_to_gray(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
176
while (x < (width/8)) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
190
write_gray1_to_rgb24(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
194
while (x < (width / 8)) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
214
write_cmap8_to_rgb24(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
218
while (x < width) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
234
write_gray(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
237
while (x < width) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
249
write_rgb15_to_rgb24(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
254
while (x < width) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
274
write_rgb15b_to_rgb24(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
279
while (x < width) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
299
write_rgb16_to_rgb24(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
304
while (x < width) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
324
write_rgb16b_to_rgb24(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
329
while (x < width) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
349
write_rgb24(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
353
while (x < width) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
367
write_rgb24b(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
371
while (x < width) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
385
write_rgb32_to_rgb24(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
389
while (x < width) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
404
write_rgb32b_to_rgb24(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
408
while (x < width) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
424
write_rgba32(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
428
while (x < width) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
444
write_rgba32b(jas_matrix_t** pixels, uchar* scanline, int width)
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
448
while (x < width) {
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
904
int width = bounds.IntegerWidth() + 1;
src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp
910
int width) = write_rgba32;
src/add-ons/translators/pcx/PCX.cpp
162
for (uint32 i = 0; i < width; i++) {
src/add-ons/translators/pcx/PCX.cpp
176
for (uint32 i = 0; i < width; i++) {
src/add-ons/translators/pcx/PCX.cpp
197
for (uint32 i = 0; i < width; i++) {
src/add-ons/translators/pcx/PCX.cpp
213
for (uint32 i = 0; i < width; i++) {
src/add-ons/translators/pcx/PCX.cpp
274
uint16 width = header.xMax - header.xMin + 1;
src/add-ons/translators/pcx/PCX.cpp
281
bitsHeader.bounds.right = width - 1;
src/add-ons/translators/pcx/PCX.cpp
283
bitsHeader.bounds.Set(0, 0, width - 1, height - 1);
src/add-ons/translators/pcx/PCX.cpp
284
bitsHeader.rowBytes = width * 4;
src/add-ons/translators/pcx/PCX.cpp
80
uint32 width = header.xMax - header.xMin + 1;
src/add-ons/translators/png/PNGTranslator.cpp
350
png_uint_32 width, height;
src/add-ons/translators/png/PNGTranslator.cpp
352
png_get_IHDR(ppng, pinfo, &width, &height, &bit_depth, &color_type,
src/add-ons/translators/png/PNGTranslator.cpp
404
if (rowbytes < kbytes * width)
src/add-ons/translators/png/PNGTranslator.cpp
405
rowbytes = kbytes * width;
src/add-ons/translators/png/PNGTranslator.cpp
414
bitsHeader.bounds.right = width - 1;
src/add-ons/translators/png/PNGTranslator.cpp
416
bitsHeader.rowBytes = 4 * width;
src/add-ons/translators/png/PNGTranslator.cpp
444
outDestination->Write(prow, width * kbytes);
src/add-ons/translators/png/PNGTranslator.cpp
474
outDestination->Write(prows[i], width * kbytes);
src/add-ons/translators/png/PNGTranslator.cpp
529
uint32 width, const color_map *pmap, int32 bitsBytesPerPixel)
src/add-ons/translators/png/PNGTranslator.cpp
536
bytescopied = width * bitsBytesPerPixel;
src/add-ons/translators/png/PNGTranslator.cpp
542
bytescopied = width * bitsBytesPerPixel;
src/add-ons/translators/png/PNGTranslator.cpp
543
while (width--) {
src/add-ons/translators/png/PNGTranslator.cpp
551
bytescopied = width * 4;
src/add-ons/translators/png/PNGTranslator.cpp
552
while (width--) {
src/add-ons/translators/png/PNGTranslator.cpp
564
bytescopied = width * 4;
src/add-ons/translators/png/PNGTranslator.cpp
565
while (width--) {
src/add-ons/translators/png/PNGTranslator.cpp
579
bytescopied = width * 3;
src/add-ons/translators/png/PNGTranslator.cpp
580
while (width--) {
src/add-ons/translators/png/PNGTranslator.cpp
598
bytescopied = width * 3;
src/add-ons/translators/png/PNGTranslator.cpp
599
while (width--) {
src/add-ons/translators/png/PNGTranslator.cpp
611
bytescopied = width * 3;
src/add-ons/translators/png/PNGTranslator.cpp
612
while (width--) {
src/add-ons/translators/png/PNGTranslator.cpp
632
bytescopied = width * 3;
src/add-ons/translators/png/PNGTranslator.cpp
633
while (width--) {
src/add-ons/translators/png/PNGTranslator.cpp
652
bytescopied = width * 4;
src/add-ons/translators/png/PNGTranslator.cpp
653
while (width--) {
src/add-ons/translators/png/PNGTranslator.cpp
672
bytescopied = width * 3;
src/add-ons/translators/png/PNGTranslator.cpp
673
while (width--) {
src/add-ons/translators/png/PNGTranslator.cpp
684
bytescopied = width * 3;
src/add-ons/translators/png/PNGTranslator.cpp
685
while (width--) {
src/add-ons/translators/png/PNGTranslator.cpp
698
bytescopied = width * 3;
src/add-ons/translators/png/PNGTranslator.cpp
699
while (width--) {
src/add-ons/translators/png/PNGTranslator.cpp
712
bytescopied = width;
src/add-ons/translators/png/PNGTranslator.cpp
743
png_uint_32 width, height;
src/add-ons/translators/png/PNGTranslator.cpp
744
width = static_cast<png_uint_32>(bitsHeader.bounds.Width() + 1);
src/add-ons/translators/png/PNGTranslator.cpp
863
prow = new(std::nothrow) uint8[width * pngBytesPerPixel];
src/add-ons/translators/png/PNGTranslator.cpp
877
new(std::nothrow) uint8[width * pngBytesPerPixel];
src/add-ons/translators/png/PNGTranslator.cpp
892
png_set_IHDR(ppng, pinfo, width, height, bit_depth, color_type,
src/add-ons/translators/png/PNGTranslator.cpp
903
pix_bits_to_png(pbitsrow, prow, bitsHeader.colors, width,
src/add-ons/translators/png/PNGTranslator.cpp
913
width, pmap, bitsBytesPerPixel);
src/add-ons/translators/ppm/PPMTranslator.cpp
227
status_t read_ppm_header(BDataIO* io, int* width, int* rowbytes, int* height,
src/add-ons/translators/ppm/PPMTranslator.cpp
229
status_t read_bits_header(BDataIO* io, int skipped, int* width, int* rowbytes,
src/add-ons/translators/ppm/PPMTranslator.cpp
257
int width, rowbytes, height, max;
src/add-ons/translators/ppm/PPMTranslator.cpp
260
status_t err = read_ppm_header(inSource, &width, &rowbytes, &height, &max,
src/add-ons/translators/ppm/PPMTranslator.cpp
307
int width, rowbytes, height, max;
src/add-ons/translators/ppm/PPMTranslator.cpp
313
status_t err = read_ppm_header(inSource, &width, &rowbytes, &height, &max,
src/add-ons/translators/ppm/PPMTranslator.cpp
339
out_rowbytes = 3 * width;
src/add-ons/translators/ppm/PPMTranslator.cpp
362
out_rowbytes = calc_rowbytes(out_space, width);
src/add-ons/translators/ppm/PPMTranslator.cpp
384
sprintf(data, "%d %d %d\n", width, height, max);
src/add-ons/translators/ppm/PPMTranslator.cpp
397
hdr.bounds.right = B_HOST_TO_BENDIAN_FLOAT(width - 1);
src/add-ons/translators/ppm/PPMTranslator.cpp
403
out_rowbytes, width, out_space, space));
src/add-ons/translators/ppm/PPMTranslator.cpp
409
= new BBitmap(BRect(0, 0, width - 1, height - 1), out_space);
src/add-ons/translators/ppm/PPMTranslator.cpp
639
read_ppm_header(BDataIO* inSource, int* width, int* rowbytes, int* height,
src/add-ons/translators/ppm/PPMTranslator.cpp
654
inSource, 2, width, rowbytes, height, max, ascii, space);
src/add-ons/translators/ppm/PPMTranslator.cpp
720
scan = width;
src/add-ons/translators/ppm/PPMTranslator.cpp
724
*rowbytes = (*width + 7) / 8;
src/add-ons/translators/ppm/PPMTranslator.cpp
726
*rowbytes = *width;
src/add-ons/translators/ppm/PPMTranslator.cpp
728
*rowbytes = *width * 3;
src/add-ons/translators/ppm/PPMTranslator.cpp
769
read_bits_header(BDataIO* io, int skipped, int* width, int* rowbytes,
src/add-ons/translators/ppm/PPMTranslator.cpp
801
*width = (int) hdr.bounds.Width() + 1;
src/add-ons/translators/ppm/colorspace.cpp
587
calc_rowbytes(color_space space, int width)
src/add-ons/translators/ppm/colorspace.cpp
589
int v = width * 4;
src/add-ons/translators/ppm/colorspace.cpp
597
v = width * 3;
src/add-ons/translators/ppm/colorspace.cpp
605
v = width * 2;
src/add-ons/translators/ppm/colorspace.cpp
609
v = width;
src/add-ons/translators/ppm/colorspace.cpp
612
v = (width + 7) / 8; /* whole bytes only, please */
src/add-ons/translators/ppm/colorspace.h
30
int calc_rowbytes(color_space space, int width);
src/add-ons/translators/psd/PSDTranslator.cpp
174
PSDTranslator::DerivedCanHandleImageSize(float width, float height) const
src/add-ons/translators/psd/PSDTranslator.h
52
virtual status_t DerivedCanHandleImageSize(float width,
src/add-ons/translators/raw/LibRAW.cpp
311
info.width = S.width;
src/add-ons/translators/raw/LibRAW.h
43
uint32 width;
src/add-ons/translators/raw/RAW.cpp
2338
uint32 rawWidth = _Raw().width;
src/add-ons/translators/raw/RAW.cpp
2363
uint32 rawWidth = _Raw().width;
src/add-ons/translators/raw/RAW.cpp
2478
uint32 rawWidth = _Raw().width;
src/add-ons/translators/raw/RAW.cpp
2530
if (pnum++ % _Raw().width == 0)
src/add-ons/translators/raw/RAW.cpp
2538
fRead.Seek(26 + row * _Raw().width / 4, SEEK_SET);
src/add-ons/translators/raw/RAW.cpp
2581
uint32 rawWidth = _Raw().width;
src/add-ons/translators/raw/RAW.cpp
2608
if (_Raw().width == 3984 && (col -= 2) < 0) {
src/add-ons/translators/raw/RAW.cpp
2682
uint32 width = image.flip > 4 ? fOutputHeight : fOutputWidth;
src/add-ons/translators/raw/RAW.cpp
2684
uint32 outputRow = (4 * fOutputBitsPerSample / 8) * width;
src/add-ons/translators/raw/RAW.cpp
2699
- _FlipIndex(0, width, image.flip);
src/add-ons/translators/raw/RAW.cpp
2703
colStep, rowStep, fInputWidth, fInputHeight, width,
src/add-ons/translators/raw/RAW.cpp
2708
for (uint32 col = 0; col < width; col++, sourceOffset += colStep) {
src/add-ons/translators/raw/RAW.cpp
2725
swab (ppm2, ppm2, width*colors*2);
src/add-ons/translators/raw/RAW.cpp
2726
fwrite (ppm, colors*output_bps/8, width, ofp);
src/add-ons/translators/raw/RAW.cpp
2904
image.width = fRead.Next(tag.type);
src/add-ons/translators/raw/RAW.cpp
2941
image.width = jh.wide << (jh.clrs == 2);
src/add-ons/translators/raw/RAW.cpp
2990
if (!strcmp(fMeta.model, "DSLR-A100") && image.width == 3872) {
src/add-ons/translators/raw/RAW.cpp
3142
width = raw_width - left_margin - (get4() & 7);
src/add-ons/translators/raw/RAW.cpp
3149
if (width * height * 6 == ima_len) {
src/add-ons/translators/raw/RAW.cpp
3150
if (flip % 180 == 90) SWAP(width,height);
src/add-ons/translators/raw/RAW.cpp
3386
_Thumb().width = jh.wide;
src/add-ons/translators/raw/RAW.cpp
3403
if (fRawIndex < 0 || fImages[i].width * fImages[i].height
src/add-ons/translators/raw/RAW.cpp
3404
> _Raw().width * _Raw().height) {
src/add-ons/translators/raw/RAW.cpp
3416
fMeta.raw_width = _Raw().width;
src/add-ons/translators/raw/RAW.cpp
3498
fInputWidth = _Raw().width;
src/add-ons/translators/raw/RAW.cpp
3503
if ((_Raw().width | _Raw().height) < 0)
src/add-ons/translators/raw/RAW.cpp
3504
_Raw().width = _Raw().height = 0;
src/add-ons/translators/raw/RAW.cpp
3527
if (fImages[i].width == 0 || fImages[i].height == 0
src/add-ons/translators/raw/RAW.cpp
3628
for (i=0; i < height*width; i++)
src/add-ons/translators/raw/RAW.cpp
533
_Raw().width = fRead.Next<uint16>();
src/add-ons/translators/raw/RAW.cpp
762
_Raw().width = fRead.Next<uint32>();
src/add-ons/translators/raw/RAW.cpp
825
switch (_Raw().width) {
src/add-ons/translators/raw/RAW.h
40
uint32 width;
src/add-ons/translators/raw/main.cpp
91
data.width, data.height, data.bits_per_sample, data.compression);
src/add-ons/translators/sgi/SGIImage.cpp
152
uint16 width, uint16 height,
src/add-ons/translators/sgi/SGIImage.cpp
158
width < 1 || height < 1 || channels < 1 ||
src/add-ons/translators/sgi/SGIImage.cpp
170
_WriteShort(fWidth = width);
src/add-ons/translators/sgi/SGIImage.h
96
uint16 width, uint16 height,
src/add-ons/translators/sgi/SGITranslator.cpp
287
uint32 width = bitsHeader.bounds.IntegerWidth() + 1;
src/add-ons/translators/sgi/SGITranslator.cpp
314
status_t ret = sgiImage->SetTo(outDestination, width, height,
src/add-ons/translators/sgi/SGITranslator.cpp
326
rows[0] = new(nothrow) uint8[width * channelCount * bytesPerChannel];
src/add-ons/translators/sgi/SGITranslator.cpp
332
rows[i] = rows[0] + i * width;
src/add-ons/translators/sgi/SGITranslator.cpp
344
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
352
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
362
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
372
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
383
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
394
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
405
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
470
uint32 width = sgiImage->Width();
src/add-ons/translators/sgi/SGITranslator.cpp
481
bytesPerRow = width * 4;
src/add-ons/translators/sgi/SGITranslator.cpp
485
bytesPerRow = width * 4;
src/add-ons/translators/sgi/SGITranslator.cpp
488
bytesPerRow = width * 4;
src/add-ons/translators/sgi/SGITranslator.cpp
491
bytesPerRow = width * 4;
src/add-ons/translators/sgi/SGITranslator.cpp
501
bitsHeader.bounds.right = width - 1;
src/add-ons/translators/sgi/SGITranslator.cpp
525
rows[0] = new(nothrow) uint8[width * channelCount * bytesPerChannel];
src/add-ons/translators/sgi/SGITranslator.cpp
531
rows[i] = rows[0] + i * width * bytesPerChannel;
src/add-ons/translators/sgi/SGITranslator.cpp
548
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
556
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
567
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
575
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
588
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
596
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
617
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
625
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
636
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
644
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
657
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/sgi/SGITranslator.cpp
665
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/shared/BaseTranslator.cpp
718
BaseTranslator::DerivedCanHandleImageSize(float width, float height) const
src/add-ons/translators/shared/BaseTranslator.h
106
virtual status_t DerivedCanHandleImageSize(float width, float height) const;
src/add-ons/translators/tga/TGATranslator.cpp
1002
for (int32 i = 0; (tgapixcol < imagespec.width) &&
src/add-ons/translators/tga/TGATranslator.cpp
1006
for (uint8 compbit = 128; (tgapixcol < imagespec.width) &&
src/add-ons/translators/tga/TGATranslator.cpp
1022
imagespec.width, NULL, 1);
src/add-ons/translators/tga/TGATranslator.cpp
1087
outImagespec.width = B_HOST_TO_LENDIAN_INT16(imagespec.width);
src/add-ons/translators/tga/TGATranslator.cpp
1104
memcpy(tgaheaders + 12, &outImagespec.width, 2);
src/add-ons/translators/tga/TGATranslator.cpp
1217
imagespec.width = static_cast<uint16> (bitsHeader.bounds.Width() + 1);
src/add-ons/translators/tga/TGATranslator.cpp
1404
uint16 width, uint8 depth, uint8 tgaBytesPerPixel,
src/add-ons/translators/tga/TGATranslator.cpp
1412
memcpy(pbits, ptga, 4 * width);
src/add-ons/translators/tga/TGATranslator.cpp
1415
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
1420
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
1430
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
1442
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
1456
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
1475
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
1491
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
1544
int32 bitsRowBytes = imagespec.width * 4;
src/add-ons/translators/tga/TGATranslator.cpp
1547
int32 tgaRowBytes = (imagespec.width * tgaBytesPerPixel);
src/add-ons/translators/tga/TGATranslator.cpp
1579
imagespec.width, imagespec.depth,
src/add-ons/translators/tga/TGATranslator.cpp
1642
int32 bitsRowBytes = imagespec.width * 4;
src/add-ons/translators/tga/TGATranslator.cpp
1678
if (tgapixcol + rlecount > imagespec.width) {
src/add-ons/translators/tga/TGATranslator.cpp
1699
if (tgapixcol + rawcount > imagespec.width) {
src/add-ons/translators/tga/TGATranslator.cpp
1717
if (tgapixcol == imagespec.width) {
src/add-ons/translators/tga/TGATranslator.cpp
1739
uint16 width, uint8 depth, uint8 *pmap)
src/add-ons/translators/tga/TGATranslator.cpp
1746
for (uint16 i = 0; i < width; i++) {
src/add-ons/translators/tga/TGATranslator.cpp
1757
for (uint16 i = 0; i < width; i++) {
src/add-ons/translators/tga/TGATranslator.cpp
1768
for (uint16 i = 0; i < width; i++) {
src/add-ons/translators/tga/TGATranslator.cpp
1787
for (uint16 i = 0; i < width; i++) {
src/add-ons/translators/tga/TGATranslator.cpp
1847
int32 bitsRowBytes = imagespec.width * 4;
src/add-ons/translators/tga/TGATranslator.cpp
1850
int32 tgaRowBytes = (imagespec.width * tgaBytesPerPixel);
src/add-ons/translators/tga/TGATranslator.cpp
1882
imagespec.width, mapspec.entrysize, pmap);
src/add-ons/translators/tga/TGATranslator.cpp
1945
int32 bitsRowBytes = imagespec.width * 4;
src/add-ons/translators/tga/TGATranslator.cpp
1983
if (tgapixcol + rlecount > imagespec.width) {
src/add-ons/translators/tga/TGATranslator.cpp
2006
if (tgapixcol + rawcount > imagespec.width) {
src/add-ons/translators/tga/TGATranslator.cpp
2023
if (tgapixcol == imagespec.width) {
src/add-ons/translators/tga/TGATranslator.cpp
2119
bitsHeader.bounds.right = imagespec.width - 1;
src/add-ons/translators/tga/TGATranslator.cpp
2137
bitsHeader.rowBytes = imagespec.width * 4;
src/add-ons/translators/tga/TGATranslator.cpp
314
memcpy(&imagespec.width, buf + 12, 2);
src/add-ons/translators/tga/TGATranslator.cpp
315
imagespec.width = B_LENDIAN_TO_HOST_INT16(imagespec.width);
src/add-ons/translators/tga/TGATranslator.cpp
316
if (imagespec.width == 0)
src/add-ons/translators/tga/TGATranslator.cpp
384
pimagespec->width = imagespec.width;
src/add-ons/translators/tga/TGATranslator.cpp
447
uint16 width, const color_map *pmap, int32 bitsBytesPerPixel)
src/add-ons/translators/tga/TGATranslator.cpp
453
bytescopied = width * 4;
src/add-ons/translators/tga/TGATranslator.cpp
458
bytescopied = width * 4;
src/add-ons/translators/tga/TGATranslator.cpp
459
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
471
bytescopied = width * 4;
src/add-ons/translators/tga/TGATranslator.cpp
472
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
485
bytescopied = width * 3;
src/add-ons/translators/tga/TGATranslator.cpp
486
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
497
bytescopied = width * 3;
src/add-ons/translators/tga/TGATranslator.cpp
498
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
516
bytescopied = width * 3;
src/add-ons/translators/tga/TGATranslator.cpp
517
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
534
bytescopied = width * 3;
src/add-ons/translators/tga/TGATranslator.cpp
535
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
555
bytescopied = width * 2;
src/add-ons/translators/tga/TGATranslator.cpp
560
bytescopied = width * 2;
src/add-ons/translators/tga/TGATranslator.cpp
561
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
571
bytescopied = width * 2;
src/add-ons/translators/tga/TGATranslator.cpp
572
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
583
bytescopied = width * 2;
src/add-ons/translators/tga/TGATranslator.cpp
584
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
595
bytescopied = width * 3;
src/add-ons/translators/tga/TGATranslator.cpp
596
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
607
bytescopied = width * 3;
src/add-ons/translators/tga/TGATranslator.cpp
608
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
621
bytescopied = width * 3;
src/add-ons/translators/tga/TGATranslator.cpp
622
while (width--) {
src/add-ons/translators/tga/TGATranslator.cpp
638
bytescopied = width;
src/add-ons/translators/tga/TGATranslator.cpp
689
uint16 width, const color_map *pmap, int32 bitsBytesPerPixel)
src/add-ons/translators/tga/TGATranslator.cpp
691
if (width == 0)
src/add-ons/translators/tga/TGATranslator.cpp
708
if (width == 1) {
src/add-ons/translators/tga/TGATranslator.cpp
724
while (nread < width) {
src/add-ons/translators/tga/TGATranslator.cpp
726
if (nread < width - 1) {
src/add-ons/translators/tga/TGATranslator.cpp
736
if (next != aftnext || nread == width || rlecount == 128) {
src/add-ons/translators/tga/TGATranslator.cpp
757
if (nread == width) {
src/add-ons/translators/tga/TGATranslator.cpp
779
nread == width || rawcount == 128) {
src/add-ons/translators/tga/TGATranslator.cpp
870
int32 bitsRowBytes = imagespec.width * bitsBytesPerPixel;
src/add-ons/translators/tga/TGATranslator.cpp
873
int32 tgaRowBytes = (imagespec.width * tgaBytesPerPixel) +
src/add-ons/translators/tga/TGATranslator.cpp
874
(imagespec.width / 2);
src/add-ons/translators/tga/TGATranslator.cpp
889
color_space fromspace, uint16 width, const color_map *pmap,
src/add-ons/translators/tga/TGATranslator.cpp
910
imagespec.width, pmap, bitsBytesPerPixel);
src/add-ons/translators/tga/TGATranslator.cpp
966
int32 tgaRowBytes = (imagespec.width * tgaBytesPerPixel) +
src/add-ons/translators/tga/TGATranslator.cpp
967
(imagespec.width / 2);
src/add-ons/translators/tga/TGATranslator.cpp
973
uint8 *medRowData = new(std::nothrow) uint8[imagespec.width];
src/add-ons/translators/tga/TGATranslator.cpp
991
color_space fromspace, uint16 width, const color_map *pmap,
src/add-ons/translators/tga/TGATranslator.h
98
uint16 width;
src/add-ons/translators/tiff/TIFFTranslator.cpp
276
convert_buffer_bgra_rgba(uint8* buffer, uint32 rows, uint32 width,
src/add-ons/translators/tiff/TIFFTranslator.cpp
281
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/tiff/TIFFTranslator.cpp
293
convert_buffer_argb_rgba(uint8* buffer, uint32 rows, uint32 width,
src/add-ons/translators/tiff/TIFFTranslator.cpp
298
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/tiff/TIFFTranslator.cpp
313
uint32 width, uint32 bytesPerRow)
src/add-ons/translators/tiff/TIFFTranslator.cpp
318
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/tiff/TIFFTranslator.cpp
327
outBuffer += width * 4;
src/add-ons/translators/tiff/TIFFTranslator.cpp
334
uint32 width, uint32 bytesPerRow)
src/add-ons/translators/tiff/TIFFTranslator.cpp
339
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/tiff/TIFFTranslator.cpp
348
outBuffer += width * 4;
src/add-ons/translators/tiff/TIFFTranslator.cpp
355
uint32 width, uint32 bytesPerRow, uint32 samplesPerPixel)
src/add-ons/translators/tiff/TIFFTranslator.cpp
360
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/tiff/TIFFTranslator.cpp
371
outBuffer += width * 3;
src/add-ons/translators/tiff/TIFFTranslator.cpp
378
uint32 width, uint32 bytesPerRow, uint32 samplesPerPixel)
src/add-ons/translators/tiff/TIFFTranslator.cpp
383
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/tiff/TIFFTranslator.cpp
391
outBuffer += width * 3;
src/add-ons/translators/tiff/TIFFTranslator.cpp
399
uint32 width, uint32 bytesPerRow)
src/add-ons/translators/tiff/TIFFTranslator.cpp
404
_TIFFmemcpy(outBuffer, inBuffer, width);
src/add-ons/translators/tiff/TIFFTranslator.cpp
406
outBuffer += width;
src/add-ons/translators/tiff/TIFFTranslator.cpp
412
convert_buffer(color_space format, uint8* buffer, uint32 rows, uint32 width,
src/add-ons/translators/tiff/TIFFTranslator.cpp
417
convert_buffer_bgra_rgba(buffer, rows, width, bytesPerRow);
src/add-ons/translators/tiff/TIFFTranslator.cpp
420
convert_buffer_argb_rgba(buffer, rows, width, bytesPerRow);
src/add-ons/translators/tiff/TIFFTranslator.cpp
427
convert_buffers_bgrX_rgb(buffer, buffer, rows, width, bytesPerRow, 3);
src/add-ons/translators/tiff/TIFFTranslator.cpp
444
uint32 rows, uint32 width, uint32 bytesPerRow)
src/add-ons/translators/tiff/TIFFTranslator.cpp
448
convert_buffers_bgra_rgba(inBuffer, outBuffer, rows, width, bytesPerRow);
src/add-ons/translators/tiff/TIFFTranslator.cpp
451
convert_buffers_argb_rgba(inBuffer, outBuffer, rows, width, bytesPerRow);
src/add-ons/translators/tiff/TIFFTranslator.cpp
454
convert_buffers_bgrX_rgb(inBuffer, outBuffer, rows, width, bytesPerRow, 4);
src/add-ons/translators/tiff/TIFFTranslator.cpp
457
convert_buffers_rgbX_rgb(inBuffer, outBuffer, rows, width, bytesPerRow, 4);
src/add-ons/translators/tiff/TIFFTranslator.cpp
460
convert_buffers_bgrX_rgb(inBuffer, outBuffer, rows, width, bytesPerRow, 3);
src/add-ons/translators/tiff/TIFFTranslator.cpp
463
convert_buffers_rgbX_rgb(inBuffer, outBuffer, rows, width, bytesPerRow, 3);
src/add-ons/translators/tiff/TIFFTranslator.cpp
467
convert_buffers_cmap(inBuffer, outBuffer, rows, width, bytesPerRow);
src/add-ons/translators/tiff/TIFFTranslator.cpp
482
uint32 width, uint32 height, uint32 bytesPerRow,
src/add-ons/translators/tiff/TIFFTranslator.cpp
496
bytesPerStrip = width * 4 * rowsPerStrip;
src/add-ons/translators/tiff/TIFFTranslator.cpp
504
bytesPerStrip = width * 3 * rowsPerStrip;
src/add-ons/translators/tiff/TIFFTranslator.cpp
508
bytesPerStrip = width * rowsPerStrip;
src/add-ons/translators/tiff/TIFFTranslator.cpp
537
rowsPerStrip, width, bytesPerRow);
src/add-ons/translators/tiff/TIFFTranslator.cpp
552
read / bytesPerRow, width, bytesPerRow);
src/add-ons/translators/tiff/TIFFTranslator.cpp
572
rowsPerStrip, width, bytesPerRow);
src/add-ons/translators/tiff/TIFFTranslator.cpp
587
read / bytesPerRow, width, bytesPerRow);
src/add-ons/translators/tiff/TIFFTranslator.cpp
666
uint32 width = bitsHeader.bounds.IntegerWidth() + 1;
src/add-ons/translators/tiff/TIFFTranslator.cpp
671
TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, width);
src/add-ons/translators/tiff/TIFFTranslator.cpp
729
width, height, bytesPerRow,
src/add-ons/translators/tiff/TIFFTranslator.cpp
765
width, height, bytesPerRow,
src/add-ons/translators/tiff/TIFFTranslator.cpp
777
width, height, bytesPerRow,
src/add-ons/translators/tiff/TIFFTranslator.cpp
833
uint32 width = 0, height = 0;
src/add-ons/translators/tiff/TIFFTranslator.cpp
834
if (!TIFFGetField(ptif, TIFFTAG_IMAGEWIDTH, &width)) {
src/add-ons/translators/tiff/TIFFTranslator.cpp
843
npixels = width * height;
src/add-ons/translators/tiff/TIFFTranslator.cpp
845
if (praster && TIFFReadRGBAImage(ptif, width, height, (TIFF_UINT32_TYPE*)praster, 0)) {
src/add-ons/translators/tiff/TIFFTranslator.cpp
852
bitsHeader.bounds.right = width - 1;
src/add-ons/translators/tiff/TIFFTranslator.cpp
854
bitsHeader.rowBytes = 4 * width;
src/add-ons/translators/tiff/TIFFTranslator.cpp
868
uint8 *pbitsrow = new uint8[width * 4];
src/add-ons/translators/tiff/TIFFTranslator.cpp
877
prgba = pras8 + ((height - (i + 1)) * width * 4);
src/add-ons/translators/tiff/TIFFTranslator.cpp
879
for (uint32 k = 0; k < width; k++) {
src/add-ons/translators/tiff/TIFFTranslator.cpp
888
outDestination->Write(pbitsrow, width * 4);
src/add-ons/translators/webp/WebPTranslator.cpp
273
picture.width = bitsHeader.bounds.IntegerWidth() + 1;
src/add-ons/translators/webp/WebPTranslator.cpp
333
int width, height;
src/add-ons/translators/webp/WebPTranslator.cpp
334
uint8* out = WebPDecodeBGRA((const uint8*)streamData, streamSize, &width,
src/add-ons/translators/webp/WebPTranslator.cpp
343
uint32 dataSize = width * 4 * height;
src/add-ons/translators/webp/WebPTranslator.cpp
347
bitmapHeader.bounds.Set(0, 0, width - 1, height - 1);
src/add-ons/translators/webp/WebPTranslator.cpp
348
bitmapHeader.rowBytes = width * 4;
src/add-ons/translators/webp/WebPTranslator.cpp
350
bitmapHeader.dataSize = width * 4 * height;
src/add-ons/translators/wonderbrush/Canvas.cpp
160
uint32 width = bitmap->Bounds().IntegerWidth() + 1;
src/add-ons/translators/wonderbrush/Canvas.cpp
164
for (uint32 x = 0; x < width; x++) {
src/add-ons/translators/wonderbrush/WonderBrushTranslator.cpp
214
uint32 width = bitmap->Bounds().IntegerWidth() + 1;
src/add-ons/translators/wonderbrush/WonderBrushTranslator.cpp
225
bitsHeader.bounds.right = width - 1;
src/add-ons/translators/wonderbrush/WonderBrushView.cpp
139
WonderBrushView::GetPreferredSize(float* width, float* height)
src/add-ons/translators/wonderbrush/WonderBrushView.cpp
141
if (width) {
src/add-ons/translators/wonderbrush/WonderBrushView.cpp
146
*width = max_c(width1, width2);
src/add-ons/translators/wonderbrush/WonderBrushView.h
29
virtual void GetPreferredSize(float* width, float* height);
src/apps/aboutsystem/AboutSystem.cpp
407
float width = Bounds().IntegerWidth();
src/apps/aboutsystem/AboutSystem.cpp
408
if (width * 0.618 > Bounds().Height())
src/apps/aboutsystem/AboutSystem.cpp
409
ResizeTo(width, width * 0.618);
src/apps/aboutsystem/AboutSystem.cpp
522
if (size.width != B_SIZE_UNSET)
src/apps/aboutsystem/AboutSystem.cpp
523
size.width -= fCropLeft + fCropRight;
src/apps/aboutsystem/AboutSystem.cpp
538
if (size.width != B_SIZE_UNSET)
src/apps/aboutsystem/AboutSystem.cpp
539
size.width -= fCropLeft + fCropRight;
src/apps/aboutsystem/AboutSystem.cpp
887
SysInfoView::_ResizeTo(float width, float height)
src/apps/aboutsystem/AboutSystem.cpp
889
_ResizeBy(width - Bounds().Width(), height - Bounds().Height());
src/apps/activitymonitor/ActivityView.cpp
114
void Update(DataHistory* history, int32 width,
src/apps/activitymonitor/ActivityView.cpp
1363
uint32 width = frame.IntegerWidth() - 10;
src/apps/activitymonitor/ActivityView.cpp
1364
uint32 steps = width / step;
src/apps/activitymonitor/ActivityView.cpp
1503
float width = StringWidth(text.String());
src/apps/activitymonitor/ActivityView.cpp
1506
float possibleLabelWidth = frame.right - colorBox.right - 12 - width;
src/apps/activitymonitor/ActivityView.cpp
1513
DrawString(text.String(), BPoint(frame.right - width, y));
src/apps/activitymonitor/ActivityView.cpp
1519
Parent()->ViewColor(), 0, BPoint(frame.right - width, y), &parentHigh);
src/apps/activitymonitor/ActivityView.cpp
230
ViewHistory::Update(DataHistory* history, int32 width, int32 resolution,
src/apps/activitymonitor/ActivityView.cpp
233
if (width > 16384) {
src/apps/activitymonitor/ActivityView.cpp
239
if ((int32)fValues.Size() != width
src/apps/activitymonitor/ActivityView.cpp
242
fValues.SetSize(width);
src/apps/activitymonitor/ActivityView.cpp
513
size.width = 80;
src/apps/activitymonitor/ActivityView.cpp
524
size.width = B_SIZE_UNLIMITED;
src/apps/activitymonitor/ActivityView.h
89
virtual void FrameResized(float width, float height);
src/apps/bootmanager/DefaultPartitionPage.cpp
116
DefaultPartitionPage::FrameResized(float width, float height)
src/apps/bootmanager/DefaultPartitionPage.cpp
118
WizardPageView::FrameResized(width, height);
src/apps/bootmanager/DefaultPartitionPage.h
29
virtual void FrameResized(float width, float height);
src/apps/bootmanager/DrivesPage.cpp
232
float width = 8 + boldFont.StringWidth(fPath.Path())
src/apps/bootmanager/DrivesPage.cpp
235
if (width < pathWidth)
src/apps/bootmanager/DrivesPage.cpp
236
width = pathWidth;
src/apps/bootmanager/DrivesPage.cpp
238
SetWidth(width);
src/apps/bootmanager/FileSelectionPage.cpp
150
float width = fSelect->Frame().left - kSpacing - left;
src/apps/bootmanager/FileSelectionPage.cpp
151
fFile->ResizeTo(width, fileHeight);
src/apps/bootmanager/FileSelectionPage.cpp
48
FileSelectionPage::FrameResized(float width, float height)
src/apps/bootmanager/FileSelectionPage.cpp
50
WizardPageView::FrameResized(width, height);
src/apps/bootmanager/FileSelectionPage.h
30
virtual void FrameResized(float width, float height);
src/apps/bootmanager/UninstallPage.cpp
41
UninstallPage::FrameResized(float width, float height)
src/apps/bootmanager/UninstallPage.cpp
43
WizardPageView::FrameResized(width, height);
src/apps/bootmanager/UninstallPage.h
24
virtual void FrameResized(float width, float height);
src/apps/bootmanager/WizardPageView.cpp
108
float width = view->Bounds().Width();
src/apps/bootmanager/WizardPageView.cpp
110
view->ResizeTo(width, height);
src/apps/charactermap/CharacterView.cpp
276
CharacterView::FrameResized(float width, float height)
src/apps/charactermap/CharacterView.cpp
295
PreviewItem(const char* text, float width, float height)
src/apps/charactermap/CharacterView.cpp
297
fWidth(width * 2),
src/apps/charactermap/CharacterView.cpp
302
void GetContentSize(float* width, float* height)
src/apps/charactermap/CharacterView.cpp
304
*width = fWidth;
src/apps/charactermap/CharacterView.h
52
virtual void FrameResized(float width, float height);
src/apps/charactermap/UnicodeBlockView.cpp
135
float width = StringWidth(item->Text());
src/apps/charactermap/UnicodeBlockView.cpp
136
if (minWidth < width)
src/apps/charactermap/UnicodeBlockView.cpp
137
minWidth = width;
src/apps/cortex/DiagramView/DiagramItem.h
134
float width,
src/apps/cortex/DiagramView/DiagramItem.h
136
{ ResizeBy(width - Frame().Width(), height - Frame().Height()); }
src/apps/cortex/DiagramView/DiagramView.cpp
153
float width,
src/apps/cortex/DiagramView/DiagramView.cpp
161
float *width,
src/apps/cortex/DiagramView/DiagramView.cpp
165
*width = m_dataRect.Width() + 10.0;
src/apps/cortex/DiagramView/DiagramView.h
140
float width,
src/apps/cortex/DiagramView/DiagramView.h
145
float *width,
src/apps/cortex/DormantNodeView/DormantNodeView.cpp
111
float* width,
src/apps/cortex/DormantNodeView/DormantNodeView.cpp
116
*width = 0;
src/apps/cortex/DormantNodeView/DormantNodeView.cpp
123
if (r.Width() > *width) {
src/apps/cortex/DormantNodeView/DormantNodeView.cpp
124
*width = r.Width();
src/apps/cortex/DormantNodeView/DormantNodeView.h
80
float* width,
src/apps/cortex/DormantNodeView/DormantNodeWindow.cpp
126
float width,
src/apps/cortex/DormantNodeView/DormantNodeWindow.cpp
140
m_listView->GetPreferredSize(&width, &height);
src/apps/cortex/DormantNodeView/DormantNodeWindow.cpp
141
ResizeTo(width + B_V_SCROLL_BAR_WIDTH, height);
src/apps/cortex/DormantNodeView/DormantNodeWindow.h
63
float width,
src/apps/cortex/InfoView/InfoView.cpp
202
float width, height;
src/apps/cortex/InfoView/InfoView.cpp
203
GetPreferredSize(&width, &height);
src/apps/cortex/InfoView/InfoView.cpp
204
Window()->ResizeTo(width + B_V_SCROLL_BAR_WIDTH, height);
src/apps/cortex/InfoView/InfoView.cpp
288
float width,
src/apps/cortex/InfoView/InfoView.cpp
292
BRect newFrame = BRect(0.0, 0.0, width, height);
src/apps/cortex/InfoView/InfoView.cpp
308
Invalidate(BRect(p.x, p.y, width, p.y + fieldHeight));
src/apps/cortex/InfoView/InfoView.cpp
311
Invalidate(BRect(p.x + m_sideBarWidth, p.y, width, p.y + fieldHeight));
src/apps/cortex/InfoView/InfoView.cpp
321
updateRect.right = width - M_H_MARGIN;
src/apps/cortex/InfoView/InfoView.cpp
339
float *width,
src/apps/cortex/InfoView/InfoView.cpp
343
*width = 0;
src/apps/cortex/InfoView/InfoView.cpp
353
if (tfw > *width) {
src/apps/cortex/InfoView/InfoView.cpp
354
*width = tfw;
src/apps/cortex/InfoView/InfoView.cpp
358
*width += B_LARGE_ICON + 2 * M_H_MARGIN;
src/apps/cortex/InfoView/InfoView.cpp
581
float width = be_plain_font->StringWidth(m_text.String());
src/apps/cortex/InfoView/InfoView.cpp
582
width += m_parent->getSideBarWidth();
src/apps/cortex/InfoView/InfoView.cpp
584
return width;
src/apps/cortex/InfoView/InfoView.h
105
float *width,
src/apps/cortex/InfoView/InfoView.h
117
float width)
src/apps/cortex/InfoView/InfoView.h
118
{ m_sideBarWidth = width; }
src/apps/cortex/InfoView/InfoView.h
99
float width,
src/apps/cortex/InfoView/InfoWindow.cpp
113
float width, height;
src/apps/cortex/InfoView/InfoWindow.cpp
114
FindView("InfoView")->GetPreferredSize(&width, &height);
src/apps/cortex/InfoView/InfoWindow.cpp
115
width += B_V_SCROLL_BAR_WIDTH;
src/apps/cortex/InfoView/InfoWindow.cpp
116
ResizeTo(width, height);
src/apps/cortex/InfoView/InfoWindow.cpp
74
float width,
src/apps/cortex/InfoView/InfoWindow.cpp
99
float width,
src/apps/cortex/InfoView/InfoWindow.h
63
float width,
src/apps/cortex/InfoView/InfoWindow.h
74
float width,
src/apps/cortex/ParameterView/ParameterContainerView.cpp
118
float width,
src/apps/cortex/ParameterView/ParameterContainerView.cpp
122
BView::FrameResized(width, height);
src/apps/cortex/ParameterView/ParameterContainerView.cpp
137
if(width > m_boundsRect.Width()) {
src/apps/cortex/ParameterView/ParameterContainerView.cpp
139
m_boundsRect.right, m_boundsRect.top, m_boundsRect.left+width, m_boundsRect.bottom));
src/apps/cortex/ParameterView/ParameterContainerView.cpp
171
float width = Bounds().Width() - B_V_SCROLL_BAR_WIDTH;
src/apps/cortex/ParameterView/ParameterContainerView.cpp
174
D_INTERNAL((" -> dataRect.Width() = %f scrollView.Width() = %f\n", m_dataRect.Width(), width));
src/apps/cortex/ParameterView/ParameterContainerView.cpp
175
if (width > m_dataRect.Width()) {
src/apps/cortex/ParameterView/ParameterContainerView.cpp
182
m_hScroll->SetRange(m_dataRect.left, m_dataRect.right - width);
src/apps/cortex/ParameterView/ParameterContainerView.cpp
183
m_hScroll->SetProportion(width / m_dataRect.Width());
src/apps/cortex/ParameterView/ParameterContainerView.h
70
float width,
src/apps/cortex/ParameterView/ParameterWindow.cpp
148
float width,
src/apps/cortex/ParameterView/ParameterWindow.cpp
229
float width,
src/apps/cortex/ParameterView/ParameterWindow.h
110
float width,
src/apps/cortex/ParameterView/ParameterWindow.h
124
float width,
src/apps/cortex/Persistence/Wrappers/MediaFormatIO.cpp
1131
f.width = atol(value);
src/apps/cortex/Persistence/Wrappers/MediaFormatIO.cpp
1167
f.width = atol(value);
src/apps/cortex/Persistence/Wrappers/MediaFormatIO.cpp
687
context.writeAttr(gKey_width, (uint32)f.width);
src/apps/cortex/Persistence/Wrappers/MediaFormatIO.cpp
728
context.writeAttr(gKey_width, (uint32)f.width);
src/apps/cortex/RouteApp/RouteWindow.cpp
315
RouteWindow::FrameResized(float width, float height)
src/apps/cortex/RouteApp/RouteWindow.cpp
337
RouteWindow::Zoom(BPoint origin, float width, float height)
src/apps/cortex/RouteApp/RouteWindow.cpp
351
float width, height;
src/apps/cortex/RouteApp/RouteWindow.cpp
352
m_routingView->GetPreferredSize(&width, &height);
src/apps/cortex/RouteApp/RouteWindow.cpp
353
width += B_V_SCROLL_BAR_WIDTH;
src/apps/cortex/RouteApp/RouteWindow.cpp
358
ResizeTo(width, height);
src/apps/cortex/RouteApp/RouteWindow.h
116
float width,
src/apps/cortex/RouteApp/RouteWindow.h
124
float width,
src/apps/cortex/RouteApp/StatusView.cpp
172
float width,
src/apps/cortex/RouteApp/StatusView.cpp
176
allocBackBitmap(width, height);
src/apps/cortex/RouteApp/StatusView.cpp
193
minWidth = width + 6 * B_V_SCROLL_BAR_WIDTH;
src/apps/cortex/RouteApp/StatusView.cpp
505
void StatusView::allocBackBitmap(float width, float height) {
src/apps/cortex/RouteApp/StatusView.cpp
506
D_OPERATION(("StatusView::allocBackBitmap(%.1f, %.1f)\n", width, height));
src/apps/cortex/RouteApp/StatusView.cpp
509
if(width <= 0.0 || height <= 0.0)
src/apps/cortex/RouteApp/StatusView.cpp
515
if(b.Width() >= width && b.Height() >= height)
src/apps/cortex/RouteApp/StatusView.cpp
522
BRect b(0.0, 0.0, width, height);
src/apps/cortex/RouteApp/StatusView.h
124
float width,
src/apps/cortex/RouteApp/StatusView.h
85
float width,
src/apps/cortex/TipManager/TipView.cpp
124
float width,
src/apps/cortex/TipManager/TipView.cpp
127
_inherited::FrameResized(width, height);
src/apps/cortex/TipManager/TipView.cpp
128
_updateLayout(width, height);
src/apps/cortex/TipManager/TipView.cpp
180
float width,
src/apps/cortex/TipManager/TipView.cpp
184
m_offset.x = (width - _maxTextWidth()) / 2;
src/apps/cortex/TipManager/TipView.h
104
float width,
src/apps/cortex/TipManager/TipView.h
74
float width,
src/apps/cortex/TipManager/TipWindow.cpp
92
float width, height;
src/apps/cortex/TipManager/TipWindow.cpp
93
m_tipView->GetPreferredSize(&width, &height);
src/apps/cortex/TipManager/TipWindow.cpp
94
m_tipView->ResizeTo(width, height);
src/apps/cortex/TipManager/TipWindow.cpp
95
ResizeTo(width, height);
src/apps/cortex/TransportView/TransportView.cpp
104
float width,
src/apps/cortex/TransportView/TransportView.cpp
107
_inherited::FrameResized(width, height);
src/apps/cortex/TransportView/TransportView.cpp
113
float* width,
src/apps/cortex/TransportView/TransportView.cpp
118
*width = 0.0;
src/apps/cortex/TransportView/TransportView.cpp
321
float width,
src/apps/cortex/TransportView/TransportView.cpp
324
_inherited::FrameResized(width, height);
src/apps/cortex/TransportView/TransportView.h
87
float width,
src/apps/cortex/ValControl/ValControl.cpp
315
ValControl::FrameResized(float width, float height)
src/apps/cortex/ValControl/ValControl.cpp
317
_Inherited::FrameResized(width,height);
src/apps/cortex/ValControl/ValControl.cpp
319
_AllocBackBuffer(width, height);
src/apps/cortex/ValControl/ValControl.cpp
579
ValControl::_AllocBackBuffer(float width, float height)
src/apps/cortex/ValControl/ValControl.cpp
582
if (fBackBuffer && fBackBuffer->Bounds().Width() >= width
src/apps/cortex/ValControl/ValControl.cpp
592
BRect bounds(0, 0, width, height);
src/apps/cortex/ValControl/ValControl.h
264
virtual void FrameResized(float width, float height);
src/apps/cortex/ValControl/ValControl.h
309
void _AllocBackBuffer(float width, float height);
src/apps/cortex/ValControl/ValControlDigitSegment.cpp
303
float width = (m_digitCount*MaxDigitWidth(m_font)) +
src/apps/cortex/ValControl/ValControlDigitSegment.cpp
306
width += (m_minusSignWidth + m_digitPadding);
src/apps/cortex/ValControl/ValControlDigitSegment.cpp
308
return width;
src/apps/cortex/ValControl/ValControlSegment.cpp
187
ValControlSegment::FrameResized(float width, float height)
src/apps/cortex/ValControl/ValControlSegment.cpp
189
_Inherited::FrameResized(width, height);
src/apps/cortex/ValControl/ValControlSegment.h
140
virtual void FrameResized(float width, float height);
src/apps/debuganalyzer/gui/HeaderView.cpp
1057
entry->width = header->Width();
src/apps/debuganalyzer/gui/HeaderView.cpp
1060
entry->width = 0;
src/apps/debuganalyzer/gui/HeaderView.cpp
1062
position = entry->position + entry->width;
src/apps/debuganalyzer/gui/HeaderView.cpp
168
Header::Header(float width, float minWidth, float maxWidth,
src/apps/debuganalyzer/gui/HeaderView.cpp
171
fWidth(width),
src/apps/debuganalyzer/gui/HeaderView.cpp
212
Header::SetWidth(float width)
src/apps/debuganalyzer/gui/HeaderView.cpp
214
if (width != fWidth) {
src/apps/debuganalyzer/gui/HeaderView.cpp
215
fWidth = width;
src/apps/debuganalyzer/gui/HeaderView.cpp
222
Header::SetMinWidth(float width)
src/apps/debuganalyzer/gui/HeaderView.cpp
224
if (width != fMinWidth) {
src/apps/debuganalyzer/gui/HeaderView.cpp
225
fMinWidth = width;
src/apps/debuganalyzer/gui/HeaderView.cpp
232
Header::SetMaxWidth(float width)
src/apps/debuganalyzer/gui/HeaderView.cpp
234
if (width != fMaxWidth) {
src/apps/debuganalyzer/gui/HeaderView.cpp
235
fMaxWidth = width;
src/apps/debuganalyzer/gui/HeaderView.cpp
242
Header::SetPreferredWidth(float width)
src/apps/debuganalyzer/gui/HeaderView.cpp
244
if (width != fPreferredWidth) {
src/apps/debuganalyzer/gui/HeaderView.cpp
245
fPreferredWidth = width;
src/apps/debuganalyzer/gui/HeaderView.cpp
534
float width;
src/apps/debuganalyzer/gui/HeaderView.cpp
709
float width = fStartWidth + where.x - fStartX;
src/apps/debuganalyzer/gui/HeaderView.cpp
710
width = std::max(width, fHeader->MinWidth());
src/apps/debuganalyzer/gui/HeaderView.cpp
711
width = std::min(width, fHeader->MaxWidth());
src/apps/debuganalyzer/gui/HeaderView.cpp
712
fHeader->SetWidth(width);
src/apps/debuganalyzer/gui/HeaderView.cpp
763
BRect frame(entry->position, 0, entry->position + entry->width - 1,
src/apps/debuganalyzer/gui/HeaderView.cpp
768
left = entry->position + entry->width;
src/apps/debuganalyzer/gui/HeaderView.cpp
90
float width = view->StringWidth(value.ToString());
src/apps/debuganalyzer/gui/HeaderView.cpp
906
return BRect(entry->position, 0, entry->position + entry->width - 1,
src/apps/debuganalyzer/gui/HeaderView.cpp
91
return width + be_control_look->DefaultLabelSpacing() * 2.0f;
src/apps/debuganalyzer/gui/HeaderView.cpp
920
if (x >= entry->position && x < entry->position + entry->width)
src/apps/debuganalyzer/gui/HeaderView.h
66
Header(float width, float minWidth,
src/apps/debuganalyzer/gui/HeaderView.h
75
void SetWidth(float width);
src/apps/debuganalyzer/gui/HeaderView.h
76
void SetMinWidth(float width);
src/apps/debuganalyzer/gui/HeaderView.h
77
void SetMaxWidth(float width);
src/apps/debuganalyzer/gui/HeaderView.h
78
void SetPreferredWidth(float width);
src/apps/debuganalyzer/gui/chart/Chart.cpp
448
int32 width = size.IntegerWidth() + 1;
src/apps/debuganalyzer/gui/chart/Chart.cpp
468
fChartFrame = BRect(left, top, width - right - 1, height - bottom - 1);
src/apps/debuganalyzer/gui/chart/Chart.cpp
474
fRightAxis.SetFrame(fChartFrame.right + 1, fChartFrame.top + 1, width - 1,
src/apps/debuganalyzer/gui/chart/LegendChartAxis.cpp
212
otherSizeField = &BSize::width;
src/apps/debuganalyzer/gui/chart/LegendChartAxis.cpp
214
sizeField = &BSize::width;
src/apps/debuganalyzer/gui/chart/LegendChartAxis.cpp
259
otherSizeField = &BSize::width;
src/apps/debuganalyzer/gui/chart/LegendChartAxis.cpp
267
sizeField = &BSize::width;
src/apps/debuganalyzer/gui/chart/LegendChartAxis.cpp
353
int32 width = fFrame.IntegerWidth() + 1;
src/apps/debuganalyzer/gui/chart/LegendChartAxis.cpp
390
_FilterLegends(width, fHorizontalSpacing, &BSize::width);
src/apps/debuganalyzer/gui/chart/LineChartRenderer.cpp
223
int32 width = fFrame.IntegerWidth() + 1;
src/apps/debuganalyzer/gui/chart/LineChartRenderer.cpp
224
if (width <= 0)
src/apps/debuganalyzer/gui/chart/LineChartRenderer.cpp
228
if (!info->UpdateSamples(fDomain, width))
src/apps/debuganalyzer/gui/chart/StringChartLegend.cpp
58
float width = ceilf(fFont.StringWidth(legend->String()));
src/apps/debuganalyzer/gui/chart/StringChartLegend.cpp
59
return BSize(width, fFontHeight);
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
1611
Header* header = new Header((int32)fThreadsView->PreferredSize().width,
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
1612
(int32)fThreadsView->MinSize().width,
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
1613
(int32)fThreadsView->MaxSize().width,
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
1614
(int32)fThreadsView->PreferredSize().width, 0);
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
1672
threadsViewSize.width + kViewSeparationMargin,
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
1673
schedulingViewSize.width),
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
1679
float width = Bounds().Width();
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
1686
fThreadsView->MinSize().width);
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
1688
fThreadsView->MaxSize().width);
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
1691
float schedulingViewWidth = width - schedulingViewLeft;
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
244
return fAxis.PreferredSize(view, view->Frame().Size()).width;
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
694
float width = Frame().Width();
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
695
float dataWidth = std::max(width, MinSize().width);
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
698
float range = dataWidth - width;
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
701
scrollBar->SetProportion((width + 1) / (dataWidth + 1));
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
702
scrollBar->SetSteps(fFontInfo.lineHeight, width + 1);
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
718
float width = std::max(float(timeSpan / fNSecsPerPixel), 100.0f);
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
719
return BSize(width, TotalHeight());
src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp
724
return BSize(MinSize().width, B_SIZE_UNLIMITED);
src/apps/debuganalyzer/gui/table/TableColumn.cpp
11
TableColumn::TableColumn(int32 modelIndex, float width, float minWidth,
src/apps/debuganalyzer/gui/table/TableColumn.cpp
15
fWidth(width),
src/apps/debuganalyzer/gui/table/TableColumn.h
20
TableColumn(int32 modelIndex, float width,
src/apps/debuganalyzer/gui/table/TableColumns.cpp
103
float width, float minWidth, float maxWidth, const BString& trueString,
src/apps/debuganalyzer/gui/table/TableColumns.cpp
106
StringTableColumn(modelIndex, title, width, minWidth, maxWidth, truncate,
src/apps/debuganalyzer/gui/table/TableColumns.cpp
135
float width, float minWidth, float maxWidth, uint32 truncate,
src/apps/debuganalyzer/gui/table/TableColumns.cpp
138
StringTableColumn(modelIndex, title, width, minWidth, maxWidth, truncate,
src/apps/debuganalyzer/gui/table/TableColumns.cpp
165
float width, float minWidth, float maxWidth, uint32 truncate,
src/apps/debuganalyzer/gui/table/TableColumns.cpp
168
StringTableColumn(modelIndex, title, width, minWidth, maxWidth, truncate,
src/apps/debuganalyzer/gui/table/TableColumns.cpp
19
int32 modelIndex, float width, float minWidth, float maxWidth,
src/apps/debuganalyzer/gui/table/TableColumns.cpp
198
float width, float minWidth, float maxWidth, bool invalidFirst,
src/apps/debuganalyzer/gui/table/TableColumns.cpp
201
StringTableColumn(modelIndex, title, width, minWidth, maxWidth, truncate,
src/apps/debuganalyzer/gui/table/TableColumns.cpp
22
TableColumn(modelIndex, width, minWidth, maxWidth, align),
src/apps/debuganalyzer/gui/table/TableColumns.cpp
246
float width, float minWidth, float maxWidth, bool invalidFirst,
src/apps/debuganalyzer/gui/table/TableColumns.cpp
249
StringTableColumn(modelIndex, title, width, minWidth, maxWidth, truncate,
src/apps/debuganalyzer/gui/table/TableColumns.cpp
67
float width, float minWidth, float maxWidth, uint32 truncate,
src/apps/debuganalyzer/gui/table/TableColumns.cpp
70
DelegateBasedTableColumn(&fColumn, modelIndex, width, minWidth, maxWidth,
src/apps/debuganalyzer/gui/table/TableColumns.cpp
72
fColumn(title, width, minWidth, maxWidth, truncate, align),
src/apps/debuganalyzer/gui/table/TableColumns.h
101
const char* title, float width,
src/apps/debuganalyzer/gui/table/TableColumns.h
117
const char* title, float width,
src/apps/debuganalyzer/gui/table/TableColumns.h
137
const char* title, float width,
src/apps/debuganalyzer/gui/table/TableColumns.h
18
int32 modelIndex, float width,
src/apps/debuganalyzer/gui/table/TableColumns.h
42
const char* title, float width,
src/apps/debuganalyzer/gui/table/TableColumns.h
63
const char* title, float width,
src/apps/debuganalyzer/gui/table/TableColumns.h
85
const char* title, float width,
src/apps/debugger/user_interface/gui/inspector_window/MemoryView.cpp
321
MemoryView::FrameResized(float width, float height)
src/apps/debugger/user_interface/gui/inspector_window/MemoryView.cpp
323
BView::FrameResized(width, height);
src/apps/debugger/user_interface/gui/inspector_window/MemoryView.cpp
876
float width = Bounds().Width() - left;
src/apps/debugger/user_interface/gui/inspector_window/MemoryView.cpp
884
float hexWidth = width * hexProportion;
src/apps/debugger/user_interface/gui/inspector_window/MemoryView.cpp
893
fHexRight = left + width;
src/apps/debugger/user_interface/gui/inspector_window/MemoryView.cpp
897
fTextRight = left + width;
src/apps/debugger/user_interface/gui/inspector_window/MemoryView.h
74
virtual void FrameResized(float width, float height);
src/apps/debugger/user_interface/gui/team_window/ImageFunctionsView.cpp
198
HighlightingTableColumn(int32 modelIndex, const char* title, float width,
src/apps/debugger/user_interface/gui/team_window/ImageFunctionsView.cpp
202
StringTableColumn(modelIndex, title, width, minWidth, maxWidth,
src/apps/debugger/user_interface/gui/team_window/RegistersView.cpp
61
RegisterValueColumn(int32 modelIndex, const char* title, float width,
src/apps/debugger/user_interface/gui/team_window/RegistersView.cpp
65
StringTableColumn(modelIndex, title, width, minWidth, maxWidth,
src/apps/debugger/user_interface/gui/team_window/SourceView.cpp
1007
FillEllipse(BPoint(width - 8, y), 2, 2);
src/apps/debugger/user_interface/gui/team_window/SourceView.cpp
2418
return BSize(BLayoutUtils::AddDistances(markerSize.width, textSize.width),
src/apps/debugger/user_interface/gui/team_window/SourceView.cpp
2428
float markerWidth = fMarkerView->MinSize().width;
src/apps/debugger/user_interface/gui/team_window/SourceView.cpp
2434
fTextView->ResizeTo(size.width - markerWidth - 1, size.height);
src/apps/debugger/user_interface/gui/team_window/SourceView.cpp
2480
float range = dataRectSize.width - size.width;
src/apps/debugger/user_interface/gui/team_window/SourceView.cpp
2484
(size.width + 1) / (dataRectSize.width + 1));
src/apps/debugger/user_interface/gui/team_window/SourceView.cpp
2485
scrollBar->SetSteps(fFontInfo.lineHeight, size.width + 1);
src/apps/debugger/user_interface/gui/team_window/SourceView.cpp
2510
float width = fMarkerView->MinSize().width + fTextView->MinSize().width + 1;
src/apps/debugger/user_interface/gui/team_window/SourceView.cpp
2515
return BSize(std::max(size.width, width), std::max(size.height, height));
src/apps/debugger/user_interface/gui/team_window/SourceView.cpp
564
float left = tip.x - size.width;
src/apps/debugger/user_interface/gui/team_window/SourceView.cpp
565
float middle = left + base.width;
src/apps/debugger/user_interface/gui/team_window/SourceView.cpp
958
return BSize(MinSize().width, B_SIZE_UNLIMITED);
src/apps/debugger/user_interface/gui/team_window/SourceView.cpp
978
float width = Bounds().Width();
src/apps/debugger/user_interface/gui/team_window/VariablesView.cpp
617
VariableValueColumn(int32 modelIndex, const char* title, float width,
src/apps/debugger/user_interface/gui/team_window/VariablesView.cpp
621
StringTableColumn(modelIndex, title, width, minWidth, maxWidth,
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
103
width = rect.right - (x + r.Width()) - (2 * sTextMargin);
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
104
r.Set(x + r.Width(), rect.top, rect.right - width, rect.bottom);
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
109
width = (x - rect.left - (2 * sTextMargin));
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
110
r.Set(rect.left, rect.top, rect.left + width, rect.bottom);
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
114
if (width != bitmapField->Width()) {
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
116
parent->TruncateString(&truncatedString, fTruncateMode, width + 2);
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
118
bitmapField->SetWidth(width);
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
133
float width = rect.Width() - (2 * sTextMargin);
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
135
if (width != stringField->Width()) {
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
138
parent->TruncateString(&truncatedString, fTruncateMode, width + 2);
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
140
stringField->SetWidth(width);
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
156
float width = 0.0;
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
162
width = font.StringWidth(bitmapField->String()) + 3 * sTextMargin;
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
164
width += bitmap->Bounds().Width();
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
166
width += 16;
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
170
width = font.StringWidth(stringField->String()) + 2 * sTextMargin;
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
172
return max_c(width, parentWidth);
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
72
TeamsColumn::TeamsColumn(const char* title, float width, float minWidth,
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
75
Inherited(title, width, minWidth, maxWidth, align),
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
96
float width = 0.0;
src/apps/debugger/user_interface/gui/teams_window/TeamsListView.h
49
float width, float minWidth,
src/apps/debugger/user_interface/gui/teams_window/TeamsWindow.h
36
virtual void Zoom(BPoint origin, float width, float height);
src/apps/debugger/user_interface/gui/util/AlertWithCheckbox.cpp
59
float width = message->StringWidth("W") * 40;
src/apps/debugger/user_interface/gui/util/AlertWithCheckbox.cpp
60
if (width < textRect.Width()) {
src/apps/debugger/user_interface/gui/util/AlertWithCheckbox.cpp
61
message->SetExplicitMinSize(BSize(width, B_SIZE_UNSET));
src/apps/debugger/user_interface/gui/util/TargetAddressTableColumn.cpp
13
const char* title, float width, float minWidth, float maxWidth,
src/apps/debugger/user_interface/gui/util/TargetAddressTableColumn.cpp
16
StringTableColumn(modelIndex, title, width, minWidth, maxWidth, truncate,
src/apps/debugger/user_interface/gui/util/TargetAddressTableColumn.h
15
const char* title, float width,
src/apps/deskbar/BarApp.cpp
206
prefs.AddFloat("width", fSettings.width);
src/apps/deskbar/BarApp.cpp
271
settings.width = fDefaultSettings.width = gMinimumWindowWidth;
src/apps/deskbar/BarApp.cpp
327
settings.width = prefs.GetFloat("width",
src/apps/deskbar/BarApp.cpp
328
fDefaultSettings.width);
src/apps/deskbar/BarApp.cpp
370
if (settings.width < gMinimumWindowWidth)
src/apps/deskbar/BarApp.cpp
371
settings.width = gMinimumWindowWidth;
src/apps/deskbar/BarApp.cpp
372
else if (settings.width > gMaximumWindowWidth)
src/apps/deskbar/BarApp.cpp
373
settings.width = gMaximumWindowWidth;
src/apps/deskbar/BarMenuBar.cpp
126
float width = std::max(63.f, ceilf(63 * be_bold_font->Size() / 12.f));
src/apps/deskbar/BarMenuBar.cpp
128
icon = new BBitmap(BRect(0, 0, width - 1, height - 1), B_RGBA32);
src/apps/deskbar/BarMenuBar.cpp
148
TBarMenuBar::SmartResize(float width, float height)
src/apps/deskbar/BarMenuBar.cpp
150
if (width == -1.0f && height == -1.0f) {
src/apps/deskbar/BarMenuBar.cpp
152
width = frame.Width();
src/apps/deskbar/BarMenuBar.cpp
155
ResizeTo(width, height);
src/apps/deskbar/BarMenuBar.cpp
158
fDeskbarMenuItem->SetContentSize(width - kSepItemWidth, height);
src/apps/deskbar/BarMenuBar.cpp
162
fDeskbarMenuItem->SetContentSize(floorf(width / count), height);
src/apps/deskbar/BarMenuBar.cpp
164
fAppListMenuItem->SetContentSize(floorf(width / count), height);
src/apps/deskbar/BarMenuBar.h
69
void SmartResize(float width = -1.0f,
src/apps/deskbar/BarMenuTitle.cpp
50
TBarMenuTitle::TBarMenuTitle(float width, float height, const BBitmap* icon,
src/apps/deskbar/BarMenuTitle.cpp
54
fWidth(width),
src/apps/deskbar/BarMenuTitle.cpp
74
TBarMenuTitle::SetContentSize(float width, float height)
src/apps/deskbar/BarMenuTitle.cpp
76
fWidth = width;
src/apps/deskbar/BarMenuTitle.cpp
82
TBarMenuTitle::GetContentSize(float* width, float* height)
src/apps/deskbar/BarMenuTitle.cpp
84
*width = fWidth;
src/apps/deskbar/BarMenuTitle.h
51
TBarMenuTitle(float width, float height, const BBitmap* icon,
src/apps/deskbar/BarMenuTitle.h
55
void SetContentSize(float width, float height);
src/apps/deskbar/BarMenuTitle.h
62
void GetContentSize(float* width, float* height);
src/apps/deskbar/BarSettings.h
44
float width;
src/apps/deskbar/BarView.cpp
462
float width = 0;
src/apps/deskbar/BarView.cpp
468
width = static_cast<TBarApp*>(be_app)->Settings()->width;
src/apps/deskbar/BarView.cpp
473
width = gMinimumWindowWidth;
src/apps/deskbar/BarView.cpp
477
width = gMinimumWindowWidth / 2
src/apps/deskbar/BarView.cpp
504
fBarMenuBar->SmartResize(width, height);
src/apps/deskbar/BarView.cpp
572
fLeft ? fBarApp->Settings()->width - gDragWidth : 0, 1);
src/apps/deskbar/BarView.cpp
615
expandoFrame.right = fBarApp->Settings()->width;
src/apps/deskbar/BarView.cpp
638
TBarView::GetPreferredWindowSize(BRect screenFrame, float* width,
src/apps/deskbar/BarView.cpp
672
windowWidth = fBarApp->Settings()->width;
src/apps/deskbar/BarView.cpp
688
*width = windowWidth;
src/apps/deskbar/BarView.h
162
float* width, float* height);
src/apps/deskbar/BarView.h
81
bool top, int32 state, float width);
src/apps/deskbar/BarWindow.cpp
104
settings->top, settings->state, settings->width);
src/apps/deskbar/BarWindow.cpp
247
TBarWindow::FrameResized(float width, float height)
src/apps/deskbar/BarWindow.cpp
250
return BWindow::FrameResized(width, height);
src/apps/deskbar/BarWindow.cpp
257
if (width < gMinimumWindowWidth)
src/apps/deskbar/BarWindow.cpp
259
else if (width > gMaximumWindowWidth)
src/apps/deskbar/BarWindow.cpp
262
newWidth = width;
src/apps/deskbar/BarWindow.cpp
264
float oldWidth = fBarApp->Settings()->width;
src/apps/deskbar/BarWindow.cpp
267
fBarApp->Settings()->width = newWidth;
src/apps/deskbar/BarWindow.cpp
270
fBarView->ResizeTo(width, fBarView->Bounds().Height());
src/apps/deskbar/BarWindow.cpp
272
fBarView->ExpandoMenuBar()->SetMaxContentWidth(width);
src/apps/deskbar/BarWindow.cpp
581
reply.AddFloat("width", size.width);
src/apps/deskbar/BarWindow.h
59
virtual void FrameResized(float width, float height);
src/apps/deskbar/CalendarMenuWindow.cpp
103
float width, height;
src/apps/deskbar/CalendarMenuWindow.cpp
104
fMonthLabel->GetPreferredSize(&width, &height);
src/apps/deskbar/CalendarMenuWindow.cpp
152
where.x -= size.width;
src/apps/deskbar/CalendarMenuWindow.cpp
156
where.x -= size.width;
src/apps/deskbar/ExpandoMenuBar.cpp
465
itemWidth = settings->width;
src/apps/deskbar/ScreenCornerSelector.cpp
44
float width = Bounds().Width();
src/apps/deskbar/ScreenCornerSelector.cpp
47
if (width / kAspectRatio > height)
src/apps/deskbar/ScreenCornerSelector.cpp
48
width = height * kAspectRatio;
src/apps/deskbar/ScreenCornerSelector.cpp
49
else if (height * kAspectRatio > width)
src/apps/deskbar/ScreenCornerSelector.cpp
50
height = width / kAspectRatio;
src/apps/deskbar/ScreenCornerSelector.cpp
52
return BRect((Bounds().Width() - width) / 2, (Bounds().Height() - height) / 2,
src/apps/deskbar/ScreenCornerSelector.cpp
53
(Bounds().Width() + width) / 2, (Bounds().Height() + height) / 2);
src/apps/deskbar/ShowHideMenuItem.cpp
74
TShowHideMenuItem::GetContentSize(float* width, float* height)
src/apps/deskbar/ShowHideMenuItem.cpp
76
*width = kHPad + fTitleWidth + kHPad;
src/apps/deskbar/ShowHideMenuItem.h
56
virtual void GetContentSize(float* width, float* height);
src/apps/deskbar/StatusView.cpp
1063
float width, height;
src/apps/deskbar/StatusView.cpp
1064
GetPreferredSize(&width, &height);
src/apps/deskbar/StatusView.cpp
1065
if (oldWidth != width || oldHeight != height) {
src/apps/deskbar/StatusView.cpp
1378
TDragRegion::GetPreferredSize(float* width, float* height)
src/apps/deskbar/StatusView.cpp
1381
*width = fReplicantTray->Bounds().Width();
src/apps/deskbar/StatusView.cpp
1385
*width += gDragWidth + kGutter;
src/apps/deskbar/StatusView.cpp
1387
*width += 6;
src/apps/deskbar/StatusView.cpp
233
float width = 0;
src/apps/deskbar/StatusView.cpp
237
width = static_cast<TBarApp*>(be_app)->Settings()->width - gDragWidth - kGutter;
src/apps/deskbar/StatusView.cpp
238
width = std::max(gMinimumTrayWidth, width);
src/apps/deskbar/StatusView.cpp
257
width = fRightBottomReplicant.right + fClockMargin
src/apps/deskbar/StatusView.cpp
260
width = fRightBottomReplicant.right + sIconGap + kGutter;
src/apps/deskbar/StatusView.cpp
264
width = std::max(gMinimumTrayWidth, width);
src/apps/deskbar/StatusView.cpp
274
*preferredWidth = width;
src/apps/deskbar/StatusView.cpp
287
float width, height;
src/apps/deskbar/StatusView.cpp
288
GetPreferredSize(&width, &height);
src/apps/deskbar/StatusView.cpp
290
if (width == bounds.Width() && height == bounds.Height()) {
src/apps/deskbar/StatusView.cpp
997
float width, height;
src/apps/deskbar/StatusView.cpp
998
GetPreferredSize(&width, &height);
src/apps/deskbar/StatusView.cpp
999
if (oldWidth != width || oldHeight != height)
src/apps/deskbar/TeamMenuItem.cpp
202
TTeamMenuItem::GetContentSize(float* width, float* height)
src/apps/deskbar/TeamMenuItem.cpp
204
BMenuItem::GetContentSize(width, height);
src/apps/deskbar/TeamMenuItem.cpp
207
*width = fOverrideWidth;
src/apps/deskbar/TeamMenuItem.cpp
217
*width = iconOnlyWidth;
src/apps/deskbar/TeamMenuItem.cpp
219
*width = gMinimumWindowWidth - (gDragRegionWidth + kGutter) * 2;
src/apps/deskbar/TeamMenuItem.cpp
222
*width = menu->MaxHorizontalItemWidth();
src/apps/deskbar/TeamMenuItem.cpp
224
*width = static_cast<TBarApp*>(be_app)->Settings()->width;
src/apps/deskbar/TeamMenuItem.cpp
489
float width, float height)
src/apps/deskbar/TeamMenuItem.cpp
510
fOverrideWidth = width;
src/apps/deskbar/TeamMenuItem.cpp
74
char* signature, float width, float height)
src/apps/deskbar/TeamMenuItem.cpp
78
_Init(team, icon, name, signature, width, height);
src/apps/deskbar/TeamMenuItem.cpp
82
TTeamMenuItem::TTeamMenuItem(float width, float height)
src/apps/deskbar/TeamMenuItem.cpp
86
_Init(NULL, NULL, strdup(""), strdup(""), width, height);
src/apps/deskbar/TeamMenuItem.h
102
float width = -1.0f, float height = -1.0f);
src/apps/deskbar/TeamMenuItem.h
61
float width = -1.0f, float height = -1.0f);
src/apps/deskbar/TeamMenuItem.h
62
TTeamMenuItem(float width = -1.0f,
src/apps/deskbar/TeamMenuItem.h
69
void SetOverrideWidth(float width)
src/apps/deskbar/TeamMenuItem.h
70
{ fOverrideWidth = width; };
src/apps/deskbar/TeamMenuItem.h
94
void GetContentSize(float* width, float* height);
src/apps/deskbar/TimeView.cpp
189
TTimeView::GetPreferredSize(float* width, float* height)
src/apps/deskbar/TimeView.cpp
200
float appWidth = static_cast<TBarApp*>(be_app)->Settings()->width;
src/apps/deskbar/TimeView.cpp
201
*width = fMaxWidth
src/apps/deskbar/TimeView.cpp
204
*width = fMaxWidth = timeWidth;
src/apps/deskbar/TimeView.cpp
307
float width;
src/apps/deskbar/TimeView.cpp
312
GetPreferredSize(&width, &height);
src/apps/deskbar/TimeView.cpp
313
if (height != oldHeight || width != oldWidth) {
src/apps/deskbar/TimeView.cpp
314
ResizeTo(width, height);
src/apps/deskbar/TimeView.cpp
315
MoveBy(oldWidth - width, 0);
src/apps/deskbar/TimeView.h
94
void GetPreferredSize(float* width, float* height);
src/apps/deskbar/TruncatableMenuItem.cpp
103
if (width > 0 && maxWidth > 0 && width > maxWidth) {
src/apps/deskbar/TruncatableMenuItem.cpp
107
float offset = width - labelWidth;
src/apps/deskbar/TruncatableMenuItem.cpp
91
TTruncatableMenuItem::Label(float width)
src/apps/deskbar/TruncatableMenuItem.h
53
virtual const char* Label(float width);
src/apps/deskbar/WindowMenuItem.cpp
79
TWindowMenuItem::GetContentSize(float* width, float* height)
src/apps/deskbar/WindowMenuItem.cpp
81
if (width != NULL) {
src/apps/deskbar/WindowMenuItem.cpp
83
*width = sHPad + fLabelWidth + sHPad;
src/apps/deskbar/WindowMenuItem.cpp
85
*width += fBitmap->Bounds().Width() + sLabelOffset;
src/apps/deskbar/WindowMenuItem.cpp
87
*width = Frame().Width()/* - sHPad*/;
src/apps/deskbar/WindowMenuItem.h
71
virtual void GetContentSize(float* width, float* height);
src/apps/deskcalc/CalcView.cpp
1014
float width = fWidth;
src/apps/deskcalc/CalcView.cpp
1024
window->ResizeTo(width, height * kDisplayScaleY);
src/apps/deskcalc/CalcView.cpp
1026
ResizeTo(width, height * kDisplayScaleY);
src/apps/deskcalc/CalcView.cpp
1041
if (width < kMinimumWidthScientific)
src/apps/deskcalc/CalcView.cpp
1042
width = kMinimumWidthScientific;
src/apps/deskcalc/CalcView.cpp
1043
else if (width > kMaximumWidthScientific)
src/apps/deskcalc/CalcView.cpp
1044
width = kMaximumWidthScientific;
src/apps/deskcalc/CalcView.cpp
1051
if (width != fWidth || height != fHeight)
src/apps/deskcalc/CalcView.cpp
1052
ResizeTo(width, height);
src/apps/deskcalc/CalcView.cpp
1069
if (width < kMinimumWidthBasic)
src/apps/deskcalc/CalcView.cpp
1070
width = kMinimumWidthBasic;
src/apps/deskcalc/CalcView.cpp
1071
else if (width > kMaximumWidthBasic)
src/apps/deskcalc/CalcView.cpp
1072
width = kMaximumWidthBasic;
src/apps/deskcalc/CalcView.cpp
1079
if (width != fWidth || height != fHeight)
src/apps/deskcalc/CalcView.cpp
1080
ResizeTo(width, height);
src/apps/deskcalc/CalcView.cpp
736
CalcView::FrameResized(float width, float height)
src/apps/deskcalc/CalcView.cpp
738
fWidth = width;
src/apps/deskcalc/CalcView.h
62
virtual void FrameResized(float width, float height);
src/apps/diskprobe/AttributeWindow.cpp
37
button_width width = B_WIDTH_FROM_WIDEST,
src/apps/diskprobe/AttributeWindow.cpp
48
EditorTabView::EditorTabView(const char *name, button_width width, uint32 flags)
src/apps/diskprobe/AttributeWindow.cpp
49
: BTabView(name, width, flags)
src/apps/diskprobe/DataView.cpp
1036
const int32 width = kBlockSize - 1;
src/apps/diskprobe/DataView.cpp
1037
int32 first = fStart & ~width;
src/apps/diskprobe/DataView.cpp
1038
int32 last = ((fEnd + width) & ~width) - 1;
src/apps/diskprobe/DataView.cpp
1039
if (first == (last & ~width))
src/apps/diskprobe/DataView.cpp
469
float width = fCharWidth;
src/apps/diskprobe/DataView.cpp
473
if (point.x < left - width / 2)
src/apps/diskprobe/DataView.cpp
485
left -= width / 2;
src/apps/diskprobe/DataView.cpp
486
width *= kHexByteWidth;
src/apps/diskprobe/DataView.cpp
488
left += hexWidth + (kBlockSpace * width);
src/apps/diskprobe/DataView.cpp
491
int32 column = int32((point.x - left) / width);
src/apps/diskprobe/DataView.cpp
505
float width = fCharWidth;
src/apps/diskprobe/DataView.cpp
511
left = width * (kPositionLength + kBlockSpace);
src/apps/diskprobe/DataView.cpp
512
width *= kHexByteWidth;
src/apps/diskprobe/DataView.cpp
515
left = width * (kPositionLength + 2 * kBlockSpace + kHexByteWidth * kBlockSize);
src/apps/diskprobe/DataView.cpp
518
float startInLine = (start % kBlockSize) * width;
src/apps/diskprobe/DataView.cpp
519
float endInLine = (end % kBlockSize) * width + byteWidth - 1;
src/apps/diskprobe/DataView.cpp
952
float width, height;
src/apps/diskprobe/DataView.cpp
953
GetPreferredSize(&width, &height);
src/apps/diskprobe/DataView.cpp
957
SetExplicitPreferredSize(BSize(width, height));
src/apps/diskprobe/DataView.cpp
961
float delta = width - Bounds().Width();
src/apps/diskprobe/DataView.cpp
967
bar->SetProportion(Bounds().Width() / width);
src/apps/diskprobe/DataView.cpp
982
DataView::FrameResized(float width, float height)
src/apps/diskprobe/DataView.cpp
992
if (preferredWidth > width)
src/apps/diskprobe/DataView.h
49
virtual void FrameResized(float width, float height);
src/apps/diskprobe/ProbeView.cpp
1683
float width, height;
src/apps/diskprobe/ProbeView.cpp
1684
fDataView->GetPreferredSize(&width, &height);
src/apps/diskprobe/ProbeView.cpp
1688
fDataView->SetScale(rect.Width() / width);
src/apps/diskusage/ControlsView.cpp
159
float width = 0.0f;
src/apps/diskusage/ControlsView.cpp
176
width += tabWidth;
src/apps/diskusage/ControlsView.cpp
180
float toShave = width - Frame().Width();
src/apps/diskusage/StatusView.cpp
54
float width, height;
src/apps/diskusage/StatusView.cpp
55
fCountView->GetPreferredSize(&width, &height);
src/apps/diskusage/StatusView.cpp
61
fPathView->GetPreferredSize(&width, &height);
src/apps/drivesetup/DiskView.cpp
196
float width;
src/apps/drivesetup/DiskView.cpp
209
width = b.Width();
src/apps/drivesetup/DiskView.cpp
214
width = b.Height();
src/apps/drivesetup/DiskView.cpp
220
font.TruncateString(&name, B_TRUNCATE_END, width);
src/apps/drivesetup/DiskView.cpp
537
float width = StringWidth(helpfulMessage);
src/apps/drivesetup/DiskView.cpp
541
messageBounds.InsetBy((bounds.Width() - width - fh.ascent * 2) / 2.0,
src/apps/drivesetup/MainWindow.cpp
740
float enlargeWidthBy = fListView->PreferredSize().width
src/apps/drivesetup/PartitionList.cpp
112
float width = 0.0;
src/apps/drivesetup/PartitionList.cpp
119
width = rect.right - (x + r.Width()) - (2 * sTextMargin);
src/apps/drivesetup/PartitionList.cpp
120
r.Set(x + r.Width(), rect.top, rect.right - width, rect.bottom);
src/apps/drivesetup/PartitionList.cpp
125
width = (x - rect.left - (2 * sTextMargin));
src/apps/drivesetup/PartitionList.cpp
126
r.Set(rect.left, rect.top, rect.left + width, rect.bottom);
src/apps/drivesetup/PartitionList.cpp
130
if (width != bitmapField->Width()) {
src/apps/drivesetup/PartitionList.cpp
132
parent->TruncateString(&truncatedString, fTruncateMode, width + 2);
src/apps/drivesetup/PartitionList.cpp
134
bitmapField->SetWidth(width);
src/apps/drivesetup/PartitionList.cpp
149
float width = rect.Width() - (2 * sTextMargin);
src/apps/drivesetup/PartitionList.cpp
151
if (width != stringField->Width()) {
src/apps/drivesetup/PartitionList.cpp
154
parent->TruncateString(&truncatedString, fTruncateMode, width + 2);
src/apps/drivesetup/PartitionList.cpp
156
stringField->SetWidth(width);
src/apps/drivesetup/PartitionList.cpp
172
float width = 0.0;
src/apps/drivesetup/PartitionList.cpp
178
width = font.StringWidth(bitmapField->String()) + 3 * sTextMargin;
src/apps/drivesetup/PartitionList.cpp
180
width += bitmap->Bounds().Width();
src/apps/drivesetup/PartitionList.cpp
182
width += 16;
src/apps/drivesetup/PartitionList.cpp
186
width = font.StringWidth(stringField->String()) + 2 * sTextMargin;
src/apps/drivesetup/PartitionList.cpp
188
return max_c(width, parentWidth);
src/apps/drivesetup/PartitionList.cpp
572
size.width -= ColumnAt(kParametersColumn)->Width()
src/apps/drivesetup/PartitionList.cpp
88
PartitionColumn::PartitionColumn(const char* title, float width, float minWidth,
src/apps/drivesetup/PartitionList.cpp
91
Inherited(title, width, minWidth, maxWidth, align),
src/apps/drivesetup/PartitionList.h
46
float width, float minWidth,
src/apps/expander/DirectoryFilePanel.cpp
131
float width;
src/apps/expander/DirectoryFilePanel.cpp
133
fCurrentButton->GetPreferredSize(&width, &height);
src/apps/expander/DirectoryFilePanel.cpp
134
if (width > maxWidth)
src/apps/expander/DirectoryFilePanel.cpp
135
width = maxWidth;
src/apps/expander/DirectoryFilePanel.cpp
137
fCurrentButton->ResizeTo(width, oldBounds.Height());
src/apps/expander/DirectoryFilePanel.cpp
138
fCurrentButton->MoveBy(oldBounds.Width() - width, 0);
src/apps/expander/DirectoryFilePanel.cpp
82
float width = be_plain_font->StringWidth(
src/apps/expander/DirectoryFilePanel.cpp
84
rect.left = width > 75 ? rect.right - width : rect.right - 75;
src/apps/expander/ExpanderWindow.cpp
113
size.width = std::max(size.width, fSourceButton->PreferredSize().width);
src/apps/expander/ExpanderWindow.cpp
114
size.width = std::max(size.width, fExpandButton->PreferredSize().width);
src/apps/firstbootprompt/BootPromptWindow.cpp
204
float width = 640 * be_plain_font->Size() / 12 - (labelWidth + 64);
src/apps/firstbootprompt/BootPromptWindow.cpp
206
fInfoTextView->SetExplicitMinSize(BSize(width, height));
src/apps/firstbootprompt/BootPromptWindow.cpp
207
fInfoTextView->SetExplicitMaxSize(BSize(width, B_SIZE_UNSET));
src/apps/fontdemo/FontDemoView.cpp
57
FontDemoView::FrameResized(float width, float height)
src/apps/fontdemo/FontDemoView.cpp
62
BView::FrameResized(width, height);
src/apps/fontdemo/FontDemoView.h
27
virtual void FrameResized(float width, float height);
src/apps/glteapot/ObjectView.cpp
558
ObjectView::FrameResized(float width, float height)
src/apps/glteapot/ObjectView.cpp
560
BGLView::FrameResized(width, height);
src/apps/glteapot/ObjectView.cpp
564
width = Bounds().Width();
src/apps/glteapot/ObjectView.cpp
566
fYxRatio = height / width;
src/apps/glteapot/ObjectView.cpp
567
glViewport(0, 0, (GLint)width + 1, (GLint)height + 1);
src/apps/glteapot/ObjectView.h
68
virtual void FrameResized(float width, float height);
src/apps/haiku3d/RenderView.cpp
266
RenderView::FrameResized(float width, float height)
src/apps/haiku3d/RenderView.cpp
269
fNextRes.Set(width, height);
src/apps/haiku3d/RenderView.cpp
271
BGLView::FrameResized(width, height);
src/apps/haiku3d/RenderView.h
27
virtual void FrameResized(float width, float height);
src/apps/haikudepot/model/ScreenshotCoordinate.cpp
36
ScreenshotCoordinate::ScreenshotCoordinate(BString code, uint32 width, uint32 height)
src/apps/haikudepot/model/ScreenshotCoordinate.cpp
39
fWidth(width),
src/apps/haikudepot/model/ScreenshotCoordinate.h
21
ScreenshotCoordinate(BString code, uint32 width, uint32 height);
src/apps/haikudepot/packagemodel/ScreenshotInfo.cpp
23
int32 width, int32 height, int32 dataSize)
src/apps/haikudepot/packagemodel/ScreenshotInfo.cpp
26
fWidth(width),
src/apps/haikudepot/packagemodel/ScreenshotInfo.h
19
int32 width, int32 height, int32 dataSize);
src/apps/haikudepot/server/WebAppInterface.cpp
672
WebAppInterface::RetrieveScreenshot(const BString& code, int32 width, int32 height, BDataIO* stream)
src/apps/haikudepot/server/WebAppInterface.cpp
675
<< code << ".png" << "?tw=" << width << "&th=" << height,
src/apps/haikudepot/server/WebAppInterface.h
120
int32 width, int32 height,
src/apps/haikudepot/textview/CharacterStyle.cpp
191
CharacterStyle::SetWidth(float width)
src/apps/haikudepot/textview/CharacterStyle.cpp
193
CharacterStyleDataRef data = fStyleData->SetWidth(width);
src/apps/haikudepot/textview/CharacterStyle.cpp
195
return data->Width() == width;
src/apps/haikudepot/textview/CharacterStyle.h
38
bool SetWidth(float width);
src/apps/haikudepot/textview/CharacterStyleData.cpp
168
CharacterStyleData::SetWidth(float width)
src/apps/haikudepot/textview/CharacterStyleData.cpp
170
if (fWidth == width)
src/apps/haikudepot/textview/CharacterStyleData.cpp
177
ret->fWidth = width;
src/apps/haikudepot/textview/CharacterStyleData.h
63
CharacterStyleDataRef SetWidth(float width);
src/apps/haikudepot/textview/ParagraphLayout.cpp
228
ParagraphLayout::SetWidth(float width)
src/apps/haikudepot/textview/ParagraphLayout.cpp
230
if (fWidth != width) {
src/apps/haikudepot/textview/ParagraphLayout.cpp
231
fWidth = width;
src/apps/haikudepot/textview/ParagraphLayout.cpp
373
x2 = lastInfo.x + lastInfo.width;
src/apps/haikudepot/textview/ParagraphLayout.cpp
393
x1 = glyph.x + glyph.width;
src/apps/haikudepot/textview/ParagraphLayout.cpp
408
x2 = x1 + glyph.width;
src/apps/haikudepot/textview/ParagraphLayout.cpp
459
float x2 = x1 + glyph.width;
src/apps/haikudepot/textview/ParagraphLayout.cpp
532
float advanceX = glyph.width;
src/apps/haikudepot/textview/ParagraphLayout.cpp
592
advanceX = glyph.width;
src/apps/haikudepot/textview/ParagraphLayout.cpp
682
spaceLeft -= glyph.width;
src/apps/haikudepot/textview/ParagraphLayout.cpp
710
spaceLeft += glyph.width;
src/apps/haikudepot/textview/ParagraphLayout.cpp
767
float shift = (nextGlyph.x - glyph.x) - glyph.width;
src/apps/haikudepot/textview/ParagraphLayout.cpp
823
ParagraphLayout::_AppendGlyphInfo(uint32 charCode, float width,
src/apps/haikudepot/textview/ParagraphLayout.cpp
829
width = style.Width();
src/apps/haikudepot/textview/ParagraphLayout.cpp
832
width += style.GlyphSpacing();
src/apps/haikudepot/textview/ParagraphLayout.cpp
835
fGlyphInfos.push_back(GlyphInfo(charCode, 0.0f, width, 0));
src/apps/haikudepot/textview/ParagraphLayout.h
184
void SetWidth(float width);
src/apps/haikudepot/textview/ParagraphLayout.h
29
width(0.0f),
src/apps/haikudepot/textview/ParagraphLayout.h
34
GlyphInfo(uint32 charCode, float x, float width, int32 lineIndex)
src/apps/haikudepot/textview/ParagraphLayout.h
38
width(width),
src/apps/haikudepot/textview/ParagraphLayout.h
47
width(other.width),
src/apps/haikudepot/textview/ParagraphLayout.h
56
width = other.width;
src/apps/haikudepot/textview/ParagraphLayout.h
65
&& width == other.width
src/apps/haikudepot/textview/ParagraphLayout.h
78
float width;
src/apps/haikudepot/textview/TextDocumentLayout.cpp
165
TextDocumentLayout::SetWidth(float width)
src/apps/haikudepot/textview/TextDocumentLayout.cpp
167
if (fWidth != width) {
src/apps/haikudepot/textview/TextDocumentLayout.cpp
168
fWidth = width;
src/apps/haikudepot/textview/TextDocumentLayout.h
81
void SetWidth(float width);
src/apps/haikudepot/textview/TextDocumentView.cpp
120
TextDocumentView::FrameResized(float width, float height)
src/apps/haikudepot/textview/TextDocumentView.cpp
122
fTextDocumentLayout.SetWidth(width);
src/apps/haikudepot/textview/TextDocumentView.cpp
281
TextDocumentView::GetHeightForWidth(float width, float* min, float* max,
src/apps/haikudepot/textview/TextDocumentView.cpp
285
layout.SetWidth(_TextLayoutWidth(width));
src/apps/haikudepot/textview/TextDocumentView.cpp
701
float width = ceilf(fTextDocumentLayout.Width());
src/apps/haikudepot/textview/TextDocumentView.cpp
704
BPoint rt(width, startY1);
src/apps/haikudepot/textview/TextDocumentView.cpp
705
BPoint rb(width, startY2);
src/apps/haikudepot/textview/TextDocumentView.cpp
726
float width = ceilf(fTextDocumentLayout.Width());
src/apps/haikudepot/textview/TextDocumentView.cpp
729
shape.LineTo(BPoint(width, startY1));
src/apps/haikudepot/textview/TextDocumentView.cpp
730
shape.LineTo(BPoint(width, endY1));
src/apps/haikudepot/textview/TextDocumentView.h
32
virtual void FrameResized(float width, float height);
src/apps/haikudepot/textview/TextDocumentView.h
48
virtual void GetHeightForWidth(float width, float* min,
src/apps/haikudepot/textview/TextView.cpp
46
TextView::FrameResized(float width, float height)
src/apps/haikudepot/textview/TextView.cpp
48
fTextLayout.SetWidth(width);
src/apps/haikudepot/textview/TextView.cpp
81
TextView::GetHeightForWidth(float width, float* min, float* max,
src/apps/haikudepot/textview/TextView.cpp
85
layout.SetWidth(width);
src/apps/haikudepot/textview/TextView.h
23
virtual void FrameResized(float width, float height);
src/apps/haikudepot/textview/TextView.h
30
virtual void GetHeightForWidth(float width, float* min,
src/apps/haikudepot/ui/FeaturedPackagesView.cpp
126
if (fRatingStarsRect.right > width) {
src/apps/haikudepot/ui/FeaturedPackagesView.cpp
134
width - padding, fHeight - (padding * 2.0));
src/apps/haikudepot/ui/FeaturedPackagesView.cpp
309
virtual void FrameResized(float width, float height)
src/apps/haikudepot/ui/FeaturedPackagesView.cpp
311
BView::FrameResized(width, height);
src/apps/haikudepot/ui/FeaturedPackagesView.cpp
66
StackedFeaturesPackageBandMetrics(float width, BFont* titleFont, BFont* metadataFont)
src/apps/haikudepot/ui/FeaturedPackagesView.cpp
92
float rightTitlePublisherAndChronologicalInfo = fminf(width,
src/apps/haikudepot/ui/FilterView.cpp
48
minSearchWidth = std::max(minSearchSize.width, minSearchWidth);
src/apps/haikudepot/ui/FilterView.cpp
49
minSearchSize.width = minSearchWidth;
src/apps/haikudepot/ui/MainWindow.cpp
1043
float width = frame.Width();
src/apps/haikudepot/ui/MainWindow.cpp
1045
if (width < screenFrame.Width() * .666f && height < screenFrame.Height() * .666f) {
src/apps/haikudepot/ui/PackageListView.cpp
1002
float width = StringWidth(fLabel);
src/apps/haikudepot/ui/PackageListView.cpp
1005
offset.x = bounds.left + (bounds.Width() - width) / 2.0f;
src/apps/haikudepot/ui/PackageListView.cpp
184
float width, float minWidth,
src/apps/haikudepot/ui/PackageListView.cpp
445
PackageColumn::PackageColumn(Model* model, const char* title, float width, float minWidth,
src/apps/haikudepot/ui/PackageListView.cpp
448
Inherited(title, width, minWidth, maxWidth, align),
src/apps/haikudepot/ui/PackageListView.cpp
595
float width = rect.Width() - (2 * sTextMargin);
src/apps/haikudepot/ui/PackageListView.cpp
597
if (width != stringField->Width()) {
src/apps/haikudepot/ui/PackageListView.cpp
599
parent->TruncateString(&truncatedString, fTruncateMode, width + 2);
src/apps/haikudepot/ui/PackageListView.cpp
601
stringField->SetWidth(width);
src/apps/haikudepot/ui/PackageListView.cpp
607
float width = rect.Width() - (2 * sTextMargin);
src/apps/haikudepot/ui/PackageListView.cpp
609
if (width != lazyStringField->Width()) {
src/apps/haikudepot/ui/PackageListView.cpp
611
parent->TruncateString(&truncatedString, fTruncateMode, width + 2);
src/apps/haikudepot/ui/PackageListView.cpp
613
lazyStringField->SetWidth(width);
src/apps/haikudepot/ui/PackageListView.cpp
618
float width = rect.Width();
src/apps/haikudepot/ui/PackageListView.cpp
622
if (!isRatingValid || width < fRatingsMetrics->Size().Width() + padding * 2.0) {
src/apps/haikudepot/ui/PackageListView.cpp
630
if (ratingAsTextWidth + padding * 2.0 < width) {
src/apps/haikudepot/ui/PackageListView.cpp
702
float width = 0.0;
src/apps/haikudepot/ui/PackageListView.cpp
707
width = font.StringWidth(packageIconAndTitleField->String()) + 3 * sTextMargin;
src/apps/haikudepot/ui/PackageListView.cpp
708
width += 16;
src/apps/haikudepot/ui/PackageListView.cpp
713
width = font.StringWidth(stringField->String()) + 2 * sTextMargin;
src/apps/haikudepot/ui/PackageListView.cpp
717
width = font.StringWidth(lazyStringField->String()) + 2 * sTextMargin;
src/apps/haikudepot/ui/PackageListView.cpp
719
return max_c(width, parentWidth);
src/apps/haikudepot/ui/RatePackageWindow.cpp
123
if ((transit != B_INSIDE_VIEW && transit != B_ENTERED_VIEW) || where.x > MinSize().width) {
src/apps/haikudepot/ui/RatePackageWindow.cpp
168
return std::min(5.0f, ceilf(5.0f * where.x / MinSize().width));
src/apps/haikudepot/ui_generic/BitmapView.cpp
54
float width = bitmapBounds.Width() * scale;
src/apps/haikudepot/ui_generic/BitmapView.cpp
61
bounds.left = floorf(bounds.right - width);
src/apps/haikudepot/ui_generic/BitmapView.cpp
66
+ (bounds.Width() - width) / 2.0f);
src/apps/haikudepot/ui_generic/BitmapView.cpp
82
bounds.right = ceilf(bounds.left + width);
src/apps/haikudepot/ui_generic/BitmapView.cpp
97
size.width = bounds.Width();
src/apps/haikudepot/ui_generic/ScrollableGroupView.cpp
25
return BSize(minSize.width, 80);
src/apps/icon-o-matic/CanvasView.cpp
490
uint32 width = fBackground->Bounds().IntegerWidth() + 1;
src/apps/icon-o-matic/CanvasView.cpp
503
for (uint32 x = 0; x < width; x++) {
src/apps/icon-o-matic/CanvasView.cpp
89
CanvasView::FrameResized(float width, float height)
src/apps/icon-o-matic/CanvasView.h
38
virtual void FrameResized(float width, float height);
src/apps/icon-o-matic/CanvasView.h
86
void _AllocBackBitmap(float width,
src/apps/icon-o-matic/MainWindow.cpp
1083
splitWidth = std::max(splitWidth, minSize.width);
src/apps/icon-o-matic/generic/gui/Group.cpp
133
float width = resizeWidth ? frame.Width() : view->Bounds().Width();
src/apps/icon-o-matic/generic/gui/Group.cpp
136
view->ResizeTo(width, height);
src/apps/icon-o-matic/generic/gui/Group.cpp
38
Group::FrameResized(float width, float height)
src/apps/icon-o-matic/generic/gui/Group.cpp
48
Group::GetPreferredSize(float* width, float* height)
src/apps/icon-o-matic/generic/gui/Group.cpp
52
if (width)
src/apps/icon-o-matic/generic/gui/Group.cpp
53
*width = r.Width();
src/apps/icon-o-matic/generic/gui/Group.h
23
virtual void FrameResized(float width, float height);
src/apps/icon-o-matic/generic/gui/Group.h
24
virtual void GetPreferredSize(float* width, float* height);
src/apps/icon-o-matic/generic/gui/IconButton.cpp
127
float width = Bounds().Width();
src/apps/icon-o-matic/generic/gui/IconButton.cpp
132
float x = floorf((width - bitmap->Bounds().Width()) / 2.0 + 0.5);
src/apps/icon-o-matic/generic/gui/IconButton.cpp
160
float x = (width - StringWidth(fLabel.String())) / 2.0;
src/apps/icon-o-matic/generic/gui/IconButton.cpp
226
IconButton::GetPreferredSize(float* width, float* height)
src/apps/icon-o-matic/generic/gui/IconButton.cpp
230
if (width)
src/apps/icon-o-matic/generic/gui/IconButton.cpp
231
*width = mpm.mini.x;
src/apps/icon-o-matic/generic/gui/IconButton.cpp
402
uint32 width, uint32 height, color_space format, bool convertToBW)
src/apps/icon-o-matic/generic/gui/IconButton.cpp
405
if (bitsFromQuickRes && width > 0 && height > 0) {
src/apps/icon-o-matic/generic/gui/IconButton.cpp
406
BBitmap* quickResBitmap = new(nothrow) BBitmap(BRect(0.0, 0.0, width - 1.0, height - 1.0), format);
src/apps/icon-o-matic/generic/gui/IconButton.cpp
440
for (uint32 x = 0; x < width; x++) {
src/apps/icon-o-matic/generic/gui/IconButton.cpp
478
uint32 width = bitmap->Bounds().IntegerWidth() + 1;
src/apps/icon-o-matic/generic/gui/IconButton.cpp
486
for (uint32 x = 0; x < width; x++) {
src/apps/icon-o-matic/generic/gui/IconButton.h
45
virtual void GetPreferredSize(float* width,
src/apps/icon-o-matic/generic/gui/IconButton.h
74
uint32 width, uint32 height,
src/apps/icon-o-matic/generic/gui/IconOptionsControl.cpp
102
labelwidth = width > labelwidth ? width : labelwidth;
src/apps/icon-o-matic/generic/gui/IconOptionsControl.cpp
149
IconOptionsControl::FrameResized(float width, float height)
src/apps/icon-o-matic/generic/gui/IconOptionsControl.cpp
86
float width = ceilf(StringWidth(Label()));
src/apps/icon-o-matic/generic/gui/IconOptionsControl.cpp
87
if (width > 0.0)
src/apps/icon-o-matic/generic/gui/IconOptionsControl.cpp
88
width += LABEL_DIST;
src/apps/icon-o-matic/generic/gui/IconOptionsControl.cpp
89
return width;
src/apps/icon-o-matic/generic/gui/IconOptionsControl.cpp
97
float width = LabelWidth();
src/apps/icon-o-matic/generic/gui/IconOptionsControl.h
40
virtual void FrameResized(float width, float height);
src/apps/icon-o-matic/generic/gui/ListViews.cpp
165
DragSortableListView::FrameResized(float width, float height)
src/apps/icon-o-matic/generic/gui/ListViews.cpp
167
BListView::FrameResized(width, height);
src/apps/icon-o-matic/generic/gui/ListViews.cpp
821
float width = Bounds().Width();
src/apps/icon-o-matic/generic/gui/ListViews.cpp
822
BRect dragRect(0, 0, width, -1);
src/apps/icon-o-matic/generic/gui/ListViews.cpp
864
int32 width = (int32)dragBitmap->Bounds().Width() + 1;
src/apps/icon-o-matic/generic/gui/ListViews.cpp
870
for (uint8 *end = line + 4 * width; line < end; line += 4)
src/apps/icon-o-matic/generic/gui/ListViews.cpp
875
for (uint8 *end = line + 4 * width; line < end; line += 4)
src/apps/icon-o-matic/generic/gui/ListViews.cpp
881
for (uint8 *end = line + 4 * width; line < end; line += 4)
src/apps/icon-o-matic/generic/gui/ListViews.h
57
virtual void FrameResized(float width, float height);
src/apps/icon-o-matic/generic/gui/SwatchView.cpp
31
rgb_color color, float width, float height)
src/apps/icon-o-matic/generic/gui/SwatchView.cpp
33
BView(BRect(0.0, 0.0, width, height), name, B_FOLLOW_NONE, B_WILL_DRAW),
src/apps/icon-o-matic/generic/gui/SwatchView.cpp
41
fWidth(width),
src/apps/icon-o-matic/generic/gui/SwatchView.h
18
float width = 24.0, float height = 24.0);
src/apps/icon-o-matic/generic/gui/panel/color_picker/AlphaSlider.cpp
225
AlphaSlider::FrameResized(float width, float height)
src/apps/icon-o-matic/generic/gui/panel/color_picker/AlphaSlider.cpp
301
uint32 width = fBitmap->Bounds().IntegerWidth() + 1;
src/apps/icon-o-matic/generic/gui/panel/color_picker/AlphaSlider.cpp
312
for (uint32 x = 0; x < width; x++) {
src/apps/icon-o-matic/generic/gui/panel/color_picker/AlphaSlider.cpp
316
p[3] = x * 255 / width;
src/apps/icon-o-matic/generic/gui/panel/color_picker/AlphaSlider.cpp
331
for (uint32 x = 0; x < width; x++) {
src/apps/icon-o-matic/generic/gui/panel/color_picker/AlphaSlider.cpp
370
AlphaSlider::_AllocBitmap(int32 width, int32 height)
src/apps/icon-o-matic/generic/gui/panel/color_picker/AlphaSlider.cpp
372
if (width < 2 || height < 2)
src/apps/icon-o-matic/generic/gui/panel/color_picker/AlphaSlider.cpp
376
fBitmap = new BBitmap(BRect(0, 0, width - 1, height - 1), 0, B_RGB32);
src/apps/icon-o-matic/generic/gui/panel/color_picker/AlphaSlider.h
34
virtual void FrameResized(float width, float height);
src/apps/icon-o-matic/generic/gui/panel/color_picker/AlphaSlider.h
47
void _AllocBitmap(int32 width, int32 height);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
180
ColorField::FrameResized(float width, float height)
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
232
float width = Width();
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
239
G = round(fMarkerPosition.x / width * 255.0);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
244
R = round(fMarkerPosition.x / width * 255.0);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
250
R = round(fMarkerPosition.x / width * 255.0);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
257
S = fMarkerPosition.x / width;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
262
H = fMarkerPosition.x / width * 6.0;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
268
H = fMarkerPosition.x / width * 6.0;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
312
float width = Width();
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
317
fMarkerPosition = BPoint(color.green / 255.0 * width,
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
322
fMarkerPosition = BPoint(color.red / 255.0 * width,
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
327
fMarkerPosition = BPoint(color.red / 255.0 * width,
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
333
fMarkerPosition = BPoint(s * width, height - v * height);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
335
fMarkerPosition = BPoint(width - v * width, s * height);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
339
fMarkerPosition = BPoint(h / 6.0 * width, height - v * height);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
343
fMarkerPosition = BPoint( h / 6.0 * width, height - s * height);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
410
ColorField::_AllocBitmap(int32 width, int32 height)
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
412
if (width < 2 || height < 2)
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
416
fBitmap = new BBitmap(BRect(0, 0, width - 1, height - 1), 0, B_RGB32);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
444
int32 width = bitmap->Bounds().IntegerWidth();
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
464
for (int32 x = 0; x <= width; x++) {
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
465
g = x * 255 / width;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
478
for (int x = 0; x <= width; x++) {
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
479
r = x * 255 / width;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
492
for (int x = 0; x <= width; ++x) {
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
493
r = x * 255 / width;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
507
for (int x = 0; x <= width; ++x) {
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
508
s = (float)x / width;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
522
for (int x = 0; x <= width; ++x) {
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
523
v = (float)(width - x) / width;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
541
for (int x = 0; x <= width; ++x) {
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
542
h = 6.0 / width * x;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
559
for (int x = 0; x <= width; ++x) {
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
560
h = 6.0 / width * x;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.h
45
virtual void FrameResized(float width, float height);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.h
72
void _AllocBitmap(int32 width, int32 height);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
223
ColorSlider::FrameResized(float width, float height)
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
424
ColorSlider::_AllocBitmap(int32 width, int32 height)
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
426
if (width < 2 || height < 2)
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
430
fBitmap = new BBitmap(BRect(0, 0, width - 1, height - 1), 0, B_RGB32);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
460
int32 width = bitmap->Bounds().IntegerWidth();
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
480
_DrawColorLineY(bits, width, r, g, b);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
484
for (int x = 0; x <= width; x++) {
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
485
r = x * 255 / width;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
498
_DrawColorLineY(bits, width, r, g, b);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
502
for (int x = 0; x <= width; x++) {
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
503
g = 255 - x * 255 / width;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
516
_DrawColorLineY(bits, width, r, g, b);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
520
for (int x = 0; x <= width; x++) {
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
521
b = x * 255 / width;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
533
_DrawColorLineY(bits, width, r * 255, g * 255, b * 255);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
537
for (int x = 0; x <= width; x++) {
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
538
HSV_to_RGB((float)x * 6.0 / width, s, v, r, g, b);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
552
_DrawColorLineY(bits, width, r * 255, g * 255, b * 255);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
556
for (int x = 0; x <= width; x++) {
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
557
HSV_to_RGB(h, 1.0 - (float)x / width, v, r, g, b);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
571
_DrawColorLineY(bits, width, r * 255, g * 255, b * 255);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
575
for (int x = 0; x <= width; x++) {
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
576
HSV_to_RGB(h, s, (float)x / width, r, g, b);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
588
ColorSlider::_DrawColorLineY(uint8* bits, int width, int r, int g, int b)
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
590
for (int x = 0; x <= width; x++) {
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.h
43
virtual void FrameResized(float width, float height);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.h
69
void _AllocBitmap(int32 width, int32 height);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.h
77
static inline void _DrawColorLineY(uint8* bits, int width,
src/apps/icon-o-matic/generic/gui/popup_control/SliderView.cpp
319
float& width, float& height)
src/apps/icon-o-matic/generic/gui/popup_control/SliderView.cpp
328
width = 5.0 + ceilf(font->StringWidth(label)) + 5.0;
src/apps/icon-o-matic/generic/gui/popup_control/SliderView.cpp
369
float width = v->StringWidth(label);
src/apps/icon-o-matic/generic/gui/popup_control/SliderView.cpp
372
BPoint textPoint((r.left + r.right) / 2.0 - width / 2.0,
src/apps/icon-o-matic/generic/gui/popup_control/SliderView.h
60
float& width,
src/apps/icon-o-matic/generic/gui/scrollview/ScrollView.cpp
1002
size.width += 2;
src/apps/icon-o-matic/generic/gui/scrollview/ScrollView.cpp
1007
size.width += fVVisible ? 1 : 2;
src/apps/icon-o-matic/generic/gui/scrollview/ScrollView.cpp
376
ScrollView::FrameResized(float width, float height)
src/apps/icon-o-matic/generic/gui/scrollview/ScrollView.cpp
826
float width = childRect.Width();
src/apps/icon-o-matic/generic/gui/scrollview/ScrollView.cpp
842
} else if (hbar && width >= dataWidth && vbar && height >= dataHeight) {
src/apps/icon-o-matic/generic/gui/scrollview/ScrollView.cpp
974
size.width += B_V_SCROLL_BAR_WIDTH;
src/apps/icon-o-matic/generic/gui/scrollview/ScrollView.cpp
982
size.width += fVVisible ? -1 : 0;
src/apps/icon-o-matic/generic/gui/scrollview/ScrollView.cpp
989
size.width += 1;
src/apps/icon-o-matic/generic/gui/scrollview/ScrollView.cpp
994
size.width += fVVisible ? 0 : 1;
src/apps/icon-o-matic/generic/gui/scrollview/ScrollView.h
57
virtual void FrameResized(float width, float height);
src/apps/icon-o-matic/generic/gui/scrollview/Scrollable.cpp
181
Scrollable::SetVisibleSize(float width, float height)
src/apps/icon-o-matic/generic/gui/scrollview/Scrollable.cpp
183
if ((fVisibleWidth != width || fVisibleHeight != height) &&
src/apps/icon-o-matic/generic/gui/scrollview/Scrollable.cpp
184
width >= 0 && height >= 0) {
src/apps/icon-o-matic/generic/gui/scrollview/Scrollable.cpp
187
fVisibleWidth = width;
src/apps/icon-o-matic/generic/gui/scrollview/Scrollable.h
35
void SetVisibleSize(float width, float height);
src/apps/icon-o-matic/generic/gui/scrollview/Scroller.cpp
109
Scroller::SetVisibleSize(float width, float height)
src/apps/icon-o-matic/generic/gui/scrollview/Scroller.cpp
112
fScrollTarget->SetVisibleSize(width, height);
src/apps/icon-o-matic/generic/gui/scrollview/Scroller.h
29
void SetVisibleSize(float width, float height);
src/apps/icon-o-matic/generic/gui/stateview/StateView.cpp
339
StateView::GetPreferredSize(float* width, float* height)
src/apps/icon-o-matic/generic/gui/stateview/StateView.cpp
341
if (width != NULL)
src/apps/icon-o-matic/generic/gui/stateview/StateView.cpp
342
*width = fStartingRect.Width();
src/apps/icon-o-matic/generic/gui/stateview/StateView.h
45
virtual void GetPreferredSize(float* width, float* height);
src/apps/icon-o-matic/generic/property/specific_properties/IconProperty.cpp
21
uint32 width, uint32 height,
src/apps/icon-o-matic/generic/property/specific_properties/IconProperty.cpp
27
fWidth(width),
src/apps/icon-o-matic/generic/property/specific_properties/IconProperty.h
20
uint32 width, uint32 height,
src/apps/icon-o-matic/generic/property/view/PropertyItemView.cpp
103
fEditorView->ResizeTo(width - fLabelWidth, height);
src/apps/icon-o-matic/generic/property/view/PropertyItemView.cpp
169
float width = 0.0;
src/apps/icon-o-matic/generic/property/view/PropertyItemView.cpp
171
width = ceilf(StringWidth(name_for_id(property->Identifier())) + 10.0);
src/apps/icon-o-matic/generic/property/view/PropertyItemView.cpp
172
return width;
src/apps/icon-o-matic/generic/property/view/PropertyItemView.cpp
177
PropertyItemView::SetLabelWidth(float width)
src/apps/icon-o-matic/generic/property/view/PropertyItemView.cpp
179
if (width < 0.0)
src/apps/icon-o-matic/generic/property/view/PropertyItemView.cpp
180
width = 0.0;
src/apps/icon-o-matic/generic/property/view/PropertyItemView.cpp
186
fLabelWidth = width;
src/apps/icon-o-matic/generic/property/view/PropertyItemView.cpp
99
PropertyItemView::FrameResized(float width, float height)
src/apps/icon-o-matic/generic/property/view/PropertyItemView.h
25
virtual void FrameResized(float width, float height);
src/apps/icon-o-matic/generic/property/view/PropertyItemView.h
36
void SetLabelWidth(float width);
src/apps/icon-o-matic/generic/property/view/PropertyListView.cpp
140
PropertyListView::FrameResized(float width, float height)
src/apps/icon-o-matic/generic/property/view/PropertyListView.cpp
142
SetVisibleSize(width, height);
src/apps/icon-o-matic/generic/property/view/PropertyListView.cpp
652
float width = Bounds().Width();
src/apps/icon-o-matic/generic/property/view/PropertyListView.cpp
659
return BRect(0.0, 0.0, width, height);
src/apps/icon-o-matic/generic/property/view/PropertyListView.cpp
675
float width = Bounds().Width();
src/apps/icon-o-matic/generic/property/view/PropertyListView.cpp
680
item->ResizeTo(width, height);
src/apps/icon-o-matic/generic/property/view/PropertyListView.h
39
virtual void FrameResized(float width, float height);
src/apps/icon-o-matic/generic/property/view/specific_properties/BoolValueView.cpp
68
BoolValueView::FrameResized(float width, float height)
src/apps/icon-o-matic/generic/property/view/specific_properties/BoolValueView.cpp
71
float centerX = floorf(Bounds().left + width / 2.0);
src/apps/icon-o-matic/generic/property/view/specific_properties/BoolValueView.h
22
virtual void FrameResized(float width, float height);
src/apps/icon-o-matic/generic/property/view/specific_properties/ColorValueView.cpp
59
ColorValueView::FrameResized(float width, float height)
src/apps/icon-o-matic/generic/property/view/specific_properties/ColorValueView.h
24
virtual void FrameResized(float width, float height);
src/apps/icon-o-matic/generic/property/view/specific_properties/IconValueView.cpp
103
uint32 width, uint32 height, color_space format)
src/apps/icon-o-matic/generic/property/view/specific_properties/IconValueView.cpp
106
if (bitsFromQuickRes && width > 0 && height > 0) {
src/apps/icon-o-matic/generic/property/view/specific_properties/IconValueView.cpp
108
fIcon = new BBitmap(BRect(0.0, 0.0, width - 1.0, height - 1.0), format);
src/apps/icon-o-matic/generic/property/view/specific_properties/IconValueView.h
33
uint32 width, uint32 height,
src/apps/icon-o-matic/generic/property/view/specific_properties/OptionValueView.cpp
92
OptionValueView::FrameResized(float width, float height)
src/apps/icon-o-matic/generic/property/view/specific_properties/OptionValueView.h
23
virtual void FrameResized(float width, float height);
src/apps/icon-o-matic/generic/property/view/specific_properties/SwatchValueView.cpp
18
float width,
src/apps/icon-o-matic/generic/property/view/specific_properties/SwatchValueView.cpp
20
: SwatchView(name, message, target, color, width, height)
src/apps/icon-o-matic/generic/property/view/specific_properties/SwatchValueView.h
20
float width = 24.0,
src/apps/icon-o-matic/generic/property/view/specific_properties/TextInputValueView.cpp
54
TextInputValueView::FrameResized(float width, float height)
src/apps/icon-o-matic/generic/property/view/specific_properties/TextInputValueView.h
31
virtual void FrameResized(float width, float height);
src/apps/icon-o-matic/generic/support/support_ui.cpp
100
&& !(x == width - 1 || y == height - 1)) {
src/apps/icon-o-matic/generic/support/support_ui.cpp
106
} else if (x == width - 1 || y == height - 1) {
src/apps/icon-o-matic/generic/support/support_ui.cpp
119
if ((x == 0 && y == height - 1) || (y == 0 && x == width - 1)) {
src/apps/icon-o-matic/generic/support/support_ui.cpp
88
uint32 width = bitmap->Bounds().IntegerWidth() + 1;
src/apps/icon-o-matic/generic/support/support_ui.cpp
92
for (uint32 x = 0; x < width; x++) {
src/apps/icon-o-matic/generic/support/support_ui.cpp
99
} else if ((x == width - 2 || y == height - 2)
src/apps/icon-o-matic/gui/GradientControl.cpp
100
uint8* temp = new uint8[width * 4];
src/apps/icon-o-matic/gui/GradientControl.cpp
101
fGradient->MakeGradient((uint32*)temp, width);
src/apps/icon-o-matic/gui/GradientControl.cpp
105
bits += 4 * (uint32)((width - 1) * offset);
src/apps/icon-o-matic/gui/GradientControl.cpp
417
GradientControl::FrameResized(float width, float height)
src/apps/icon-o-matic/gui/GradientControl.cpp
428
GradientControl::GetPreferredSize(float* width, float* height)
src/apps/icon-o-matic/gui/GradientControl.cpp
430
if (width != NULL)
src/apps/icon-o-matic/gui/GradientControl.cpp
431
*width = 100;
src/apps/icon-o-matic/gui/GradientControl.cpp
522
uint32 width = fGradientBitmap->Bounds().IntegerWidth() + 1;
src/apps/icon-o-matic/gui/GradientControl.cpp
523
fGradient->MakeGradient((uint32*)topRow, width);
src/apps/icon-o-matic/gui/GradientControl.cpp
530
for (uint32 x = 0; x < width; x++) {
src/apps/icon-o-matic/gui/GradientControl.cpp
538
for (uint32 x = 0; x < width; x++) {
src/apps/icon-o-matic/gui/GradientControl.cpp
558
for (uint32 x = 0; x < width; x++) {
src/apps/icon-o-matic/gui/GradientControl.cpp
597
GradientControl::_AllocBitmap(int32 width, int32 height)
src/apps/icon-o-matic/gui/GradientControl.cpp
599
if (width < 2 || height < 2)
src/apps/icon-o-matic/gui/GradientControl.cpp
603
fGradientBitmap = new BBitmap(BRect(0, 0, width - 1, height - 1), 0, B_RGB32);
src/apps/icon-o-matic/gui/GradientControl.cpp
99
uint32 width = fGradientBitmap->Bounds().IntegerWidth();
src/apps/icon-o-matic/gui/GradientControl.h
52
virtual void FrameResized(float width, float height);
src/apps/icon-o-matic/gui/GradientControl.h
54
virtual void GetPreferredSize(float* width, float* height);
src/apps/icon-o-matic/gui/GradientControl.h
71
void _AllocBitmap(int32 width, int32 height);
src/apps/icon-o-matic/gui/StyleView.cpp
141
StyleView::FrameResized(float width, float height)
src/apps/icon-o-matic/gui/StyleView.cpp
181
minSize.width = fGradientControl->MinSize().width + 10;
src/apps/icon-o-matic/gui/StyleView.h
46
virtual void FrameResized(float width, float height);
src/apps/icon-o-matic/gui/SwatchGroup.cpp
119
float width = fTopSwatchViews->Frame().right
src/apps/icon-o-matic/gui/SwatchGroup.cpp
122
fColorField->ResizeTo(width, 40);
src/apps/icon-o-matic/gui/SwatchGroup.cpp
123
fColorField->FrameResized(width, 40);
src/apps/icon-o-matic/gui/SwatchGroup.cpp
124
fColorSlider->ResizeTo(width, 11);
src/apps/icon-o-matic/gui/SwatchGroup.cpp
125
fColorSlider->FrameResized(width, 11);
src/apps/icon-o-matic/gui/SwatchGroup.cpp
126
fAlphaSlider->ResizeTo(width, 11);
src/apps/icon-o-matic/gui/SwatchGroup.cpp
127
fAlphaSlider->FrameResized(width, 11);
src/apps/icon-o-matic/gui/SwatchGroup.cpp
135
ResizeTo(width, fAlphaSlider->Frame().bottom + 4);
src/apps/icon-o-matic/import_export/flat_icon/FlatIconExporter.cpp
478
uint8 width = (uint8)((int8)contour->width() + 128);
src/apps/icon-o-matic/import_export/flat_icon/FlatIconExporter.cpp
481
if (!buffer.Write(width)
src/apps/icon-o-matic/import_export/flat_icon/FlatIconExporter.cpp
503
uint8 width = (uint8)((int8)stroke->width() + 128);
src/apps/icon-o-matic/import_export/flat_icon/FlatIconExporter.cpp
508
if (!buffer.Write(width)
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.cpp
216
stroke->width(svgShape->strokeWidth);
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.cpp
339
stroke->width(stroke->width() * shape->scale());
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.cpp
52
DocumentBuilder::SetDimensions(uint32 width, uint32 height, BRect viewBox)
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.cpp
54
fWidth = width;
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.cpp
67
double xMax = ceil(fSource->width);
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.h
38
void SetDimensions(uint32 width, uint32 height, BRect viewBox);
src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp
271
append_float(helper, stroke->width());
src/apps/icon-o-matic/import_export/svg/nanosvg.h
160
float width; // Width of the image.
src/apps/icon-o-matic/import_export/svg/nanosvg.h
2502
p->image->width = nsvg__parseCoordinate(p, attr[i + 1], 0.0f, 0.0f);
src/apps/icon-o-matic/import_export/svg/nanosvg.h
2797
if (p->image->width > 0) {
src/apps/icon-o-matic/import_export/svg/nanosvg.h
2798
p->viewWidth = p->image->width;
src/apps/icon-o-matic/import_export/svg/nanosvg.h
2812
if (p->image->width == 0)
src/apps/icon-o-matic/import_export/svg/nanosvg.h
2813
p->image->width = p->viewWidth;
src/apps/icon-o-matic/import_export/svg/nanosvg.h
2819
sx = p->viewWidth > 0 ? p->image->width / p->viewWidth : 0;
src/apps/icon-o-matic/import_export/svg/nanosvg.h
2828
tx += nsvg__viewAlign(p->viewWidth*sx, p->image->width, p->alignX) / sx;
src/apps/icon-o-matic/import_export/svg/nanosvg.h
2833
tx += nsvg__viewAlign(p->viewWidth*sx, p->image->width, p->alignX) / sx;
src/apps/installer/InstallerWindow.cpp
129
float width = 0.0;
src/apps/installer/InstallerWindow.cpp
132
width = fLogo->Bounds().Width();
src/apps/installer/InstallerWindow.cpp
136
*_width = width;
src/apps/installer/PackageViews.cpp
160
float width = StringWidth(string);
src/apps/installer/PackageViews.cpp
162
sizeRect.left = sizeRect.right - width;
src/apps/launchbox/LaunchButton.cpp
229
uint32 width = bitmap->Bounds().IntegerWidth() + 1;
src/apps/launchbox/LaunchButton.cpp
234
for (uint32 x = 0; x < width; x++) {
src/apps/launchbox/MainWindow.cpp
244
origin.x = mousePos.x - size.width / 2;
src/apps/launchbox/MainWindow.cpp
255
> size.width + 20) {
src/apps/launchbox/MainWindow.cpp
258
origin.x = Frame().left - 10 - size.width;
src/apps/launchbox/MainWindow.cpp
357
MainWindow::FrameResized(float width, float height)
src/apps/launchbox/MainWindow.cpp
363
BWindow::FrameResized(width, height);
src/apps/launchbox/MainWindow.h
44
virtual void FrameResized(float width, float height);
src/apps/magnify/Magnify.cpp
1150
float width = StringWidth(fCH2Str) + StringWidth(dimensions) + 30;
src/apps/magnify/Magnify.cpp
1151
invalRect.Set(10, h-10-2*fFontHeight-2, width, h-10-fFontHeight);
src/apps/magnify/Magnify.cpp
1180
TInfoView::FrameResized(float width, float height)
src/apps/magnify/Magnify.cpp
1182
BBox::FrameResized(width, height);
src/apps/magnify/Magnify.cpp
1296
int32 width, height;
src/apps/magnify/Magnify.cpp
1297
fParent->PixelCount(&width, &height);
src/apps/magnify/Magnify.cpp
1298
InitBuffers(width, height, fParent->PixelSize(), fParent->ShowGrid());
src/apps/magnify/Magnify.cpp
1474
int32 width, height;
src/apps/magnify/Magnify.cpp
1475
fParent->PixelCount(&width, &height);
src/apps/magnify/Magnify.cpp
1476
InitBuffers(width, height, fParent->PixelSize(), fParent->ShowGrid());
src/apps/magnify/Magnify.cpp
1821
TMagnify::PixelCount(int32* width, int32* height)
src/apps/magnify/Magnify.cpp
1823
fParent->PixelCount(width, height);
src/apps/magnify/Magnify.cpp
1966
TOSMagnify::FrameResized(float width, float height)
src/apps/magnify/Magnify.cpp
1968
BView::FrameResized(width, height);
src/apps/magnify/Magnify.cpp
1974
TOSMagnify::Resize(int32 width, int32 height)
src/apps/magnify/Magnify.cpp
1976
ResizeTo(width, height);
src/apps/magnify/Magnify.cpp
1986
int32 width, height;
src/apps/magnify/Magnify.cpp
1987
fParent->PixelCount(&width, &height);
src/apps/magnify/Magnify.cpp
1990
BRect srcRect(0, 0, width - 1, height - 1);
src/apps/magnify/Magnify.cpp
1991
srcRect.OffsetBy(mouseLoc.x - (width / 2),
src/apps/magnify/Magnify.cpp
2000
DrawGrid(width, height, destRect, pixelSize);
src/apps/magnify/Magnify.cpp
2042
TOSMagnify::DrawGrid(int32 width, int32 height, BRect destRect, int32 pixelSize)
src/apps/magnify/Magnify.cpp
2046
BeginLineArray(width * height);
src/apps/magnify/Magnify.cpp
2053
for (int32 i = pixelSize; i < (width * pixelSize); i += pixelSize)
src/apps/magnify/Magnify.cpp
785
TWindow::GetPreferredSize(float* width, float* height)
src/apps/magnify/Magnify.cpp
787
*width = fHPixelCount * fPixelSize; // calc window width
src/apps/magnify/Magnify.cpp
790
*width += 20;
src/apps/magnify/Magnify.cpp
809
float width, height;
src/apps/magnify/Magnify.cpp
810
GetPreferredSize(&width, &height);
src/apps/magnify/Magnify.cpp
812
ResizeTo(width, height);
src/apps/magnify/Magnify.cpp
922
float width;
src/apps/magnify/Magnify.cpp
924
GetPreferredSize(&width, &height);
src/apps/magnify/Magnify.cpp
925
ResizeTo(width, height);
src/apps/magnify/Magnify.cpp
936
float width;
src/apps/magnify/Magnify.cpp
938
GetPreferredSize(&width, &height);
src/apps/magnify/Magnify.cpp
939
ResizeTo(width, height);
src/apps/magnify/Magnify.h
111
void PixelCount(int32* width, int32* height);
src/apps/magnify/Magnify.h
165
virtual void FrameResized(float width, float height);
src/apps/magnify/Magnify.h
212
virtual void FrameResized(float width, float height);
src/apps/magnify/Magnify.h
216
virtual void Zoom(BPoint position, float width, float height);
src/apps/magnify/Magnify.h
219
void GetPreferredSize(float* width, float* height);
src/apps/magnify/Magnify.h
30
virtual void FrameResized(float width, float height);
src/apps/magnify/Magnify.h
33
void Resize(int32 width, int32 height);
src/apps/magnify/Magnify.h
38
void DrawGrid(int32 width, int32 height,
src/apps/mail/AddressTextControl.cpp
267
min.width = min.height * 3;
src/apps/mail/AddressTextControl.cpp
276
max.width = B_SIZE_UNLIMITED;
src/apps/mail/AddressTextControl.cpp
418
float width;
src/apps/mail/AddressTextControl.cpp
419
fPopUpMenu->GetPreferredSize(&width, NULL);
src/apps/mail/AddressTextControl.cpp
422
BPoint point(Bounds().Width() - width, Bounds().Height() + 2);
src/apps/mail/Enclosures.cpp
121
scroll->ScrollBar(B_VERTICAL)->PreferredSize().width - 2, -2)
src/apps/mail/MailWindow.cpp
2036
float width;
src/apps/mail/MailWindow.cpp
2039
width = 80 * fApp->ContentFont().StringWidth("M")
src/apps/mail/MailWindow.cpp
2044
if (width > (screenFrame.Width() - 8))
src/apps/mail/MailWindow.cpp
2045
width = screenFrame.Width() - 8;
src/apps/mail/MailWindow.cpp
2053
rect.right = rect.left + width;
src/apps/mail/MailWindow.cpp
925
TMailWindow::FrameResized(float width, float height)
src/apps/mail/MailWindow.cpp
927
fContentView->FrameResized(width, height);
src/apps/mail/MailWindow.h
81
virtual void FrameResized(float width, float height);
src/apps/mail/Prefs.cpp
229
menu->SetExplicitMaxSize(BSize(menu->MinSize().width, B_SIZE_UNSET));
src/apps/mail/Signature.cpp
273
TSignatureWindow::FrameResized(float width, float height)
src/apps/mail/Signature.cpp
275
fSigView->FrameResized(width, height);
src/apps/mail/Signature.h
73
void FrameResized(float width, float height);
src/apps/mandelbrot/FractalEngine.cpp
248
uint16 width = engine->fWidth;
src/apps/mandelbrot/FractalEngine.cpp
251
uint16 threadWidth = width / engine->fThreadCount;
src/apps/mandelbrot/Mandelbrot.cpp
158
uint16 width = (uint16)Frame().Width();
src/apps/mandelbrot/Mandelbrot.cpp
161
msg.AddUInt16("width", width);
src/apps/mandelbrot/Mandelbrot.cpp
164
CreateDisplayBitmap(width, height);
src/apps/mandelbrot/Mandelbrot.cpp
172
void FractalView::CreateDisplayBitmap(uint16 width,uint16 height)
src/apps/mandelbrot/Mandelbrot.cpp
176
TRACE("width %u height %u\n",width,height);
src/apps/mandelbrot/Mandelbrot.cpp
177
BRect rect(0, 0, width, height);
src/apps/mandelbrot/Mandelbrot.cpp
189
float width = dragZone.Width(),
src/apps/mandelbrot/Mandelbrot.cpp
190
height = width * (frame.Height() / frame.Width());
src/apps/mandelbrot/Mandelbrot.cpp
194
x2 = x1 + width;
src/apps/mandelbrot/Mandelbrot.cpp
196
x2 = x1 - width;
src/apps/mandelbrot/Mandelbrot.cpp
76
void CreateDisplayBitmap(uint16 width, uint16 height);
src/apps/mediaconverter/MediaConverterApp.cpp
371
int32 width = -1;
src/apps/mediaconverter/MediaConverterApp.cpp
428
width = (int32)inFormat.Width();
src/apps/mediaconverter/MediaConverterApp.cpp
438
rvf->display.bytes_per_row = 4 * width;
src/apps/mediaconverter/MediaConverterApp.cpp
439
rvf->display.line_width = width;
src/apps/mediaconverter/MediaConverterWindow.cpp
123
virtual void FrameResized(float width, float height)
src/apps/mediaconverter/MediaConverterWindow.cpp
129
BBox::FrameResized(width, height);
src/apps/mediaconverter/MediaFileInfoView.cpp
192
float width = 0;
src/apps/mediaconverter/MediaFileInfoView.cpp
194
width = max_c(font.StringWidth(strings[i]), width);
src/apps/mediaconverter/MediaFileInfoView.cpp
196
return ceilf(width);
src/apps/mediaconverter/MediaFileInfoView.cpp
214
fMinSize.width = fNoFileLabelWidth + kSpacing * 2;
src/apps/mediaconverter/MediaFileInfoView.cpp
220
fMinSize.width = ceilf(bold.StringWidth(fRef.name));
src/apps/mediaconverter/MediaFileInfoView.cpp
226
fMinSize.width = max_c(fMinSize.width, fMaxLabelWidth
src/apps/mediaconverter/MediaFileInfoView.cpp
228
fMinSize.width += kSpacing;
src/apps/mediaplayer/Controller.cpp
326
int width;
src/apps/mediaplayer/Controller.cpp
328
GetSize(&width, &height);
src/apps/mediaplayer/Controller.cpp
352
Init(BRect(0, 0, width - 1, height - 1), fVideoFrameRate,
src/apps/mediaplayer/Controller.cpp
356
FormatChanged(BRect(0, 0, width - 1, height - 1), fVideoFrameRate,
src/apps/mediaplayer/Controller.cpp
400
Controller::GetSize(int *width, int *height, int* _widthAspect,
src/apps/mediaplayer/Controller.cpp
408
*width = format.u.raw_video.display.line_width;
src/apps/mediaplayer/Controller.cpp
427
*width = 0;
src/apps/mediaplayer/Controller.h
81
void GetSize(int *width, int *height,
src/apps/mediaplayer/MainWin.cpp
1132
int width;
src/apps/mediaplayer/MainWin.cpp
1136
fController->GetSize(&width, &height,
src/apps/mediaplayer/MainWin.cpp
1138
VideoFormatChange(width, height, widthAspect, heightAspect);
src/apps/mediaplayer/MainWin.cpp
1144
int width;
src/apps/mediaplayer/MainWin.cpp
1146
fController->GetSize(&width, &height);
src/apps/mediaplayer/MainWin.cpp
1147
VideoFormatChange(width, height, width, height);
src/apps/mediaplayer/MainWin.cpp
1449
int width;
src/apps/mediaplayer/MainWin.cpp
1451
fController->GetSize(&width, &height);
src/apps/mediaplayer/MainWin.cpp
1453
lround(width * widthScale), height);
src/apps/mediaplayer/MainWin.cpp
1465
int width;
src/apps/mediaplayer/MainWin.cpp
1467
fController->GetSize(&width, &height);
src/apps/mediaplayer/MainWin.cpp
1468
VideoFormatChange(width, height, lround(width * widthScale), height);
src/apps/mediaplayer/MainWin.cpp
1479
int width;
src/apps/mediaplayer/MainWin.cpp
1481
fController->GetSize(&width, &height);
src/apps/mediaplayer/MainWin.cpp
1482
VideoFormatChange(width, height, widthAspect, heightAspect);
src/apps/mediaplayer/MainWin.cpp
1488
MainWin::VideoFormatChange(int width, int height, int widthAspect,
src/apps/mediaplayer/MainWin.cpp
1494
"aspect ratio: %d:%d\n", width, height, widthAspect, heightAspect);
src/apps/mediaplayer/MainWin.cpp
1499
fSourceWidth = width;
src/apps/mediaplayer/MainWin.cpp
1857
int width;
src/apps/mediaplayer/MainWin.cpp
1861
fController->GetSize(&width, &height, &widthAspect, &heightAspect);
src/apps/mediaplayer/MainWin.cpp
1876
item->SetMarked(width == fWidthAspect && height == fHeightAspect);
src/apps/mediaplayer/MainWin.cpp
1995
MainWin::_GetMinimumWindowSize(int& width, int& height) const
src/apps/mediaplayer/MainWin.cpp
1997
width = MIN_WIDTH;
src/apps/mediaplayer/MainWin.cpp
2000
width = max_c(width, fMenuBarWidth);
src/apps/mediaplayer/MainWin.cpp
2001
width = max_c(width, fControlsWidth);
src/apps/mediaplayer/MainWin.cpp
2094
int width;
src/apps/mediaplayer/MainWin.cpp
2096
_GetMinimumWindowSize(width, height);
src/apps/mediaplayer/MainWin.cpp
2098
width = max_c(width, videoWidth) - 1;
src/apps/mediaplayer/MainWin.cpp
2100
width = max_c(width, fNoVideoWidth);
src/apps/mediaplayer/MainWin.cpp
2115
frame.right = frame.left + width;
src/apps/mediaplayer/MainWin.cpp
2133
shrinkScale = (float)(width - widthDiff) / width;
src/apps/mediaplayer/MainWin.cpp
2138
width = lround(width * shrinkScale);
src/apps/mediaplayer/MainWin.cpp
2140
MoveTo((screenFrame.left + screenFrame.right - width) / 2,
src/apps/mediaplayer/MainWin.cpp
2159
ResizeTo(width, height);
src/apps/mediaplayer/MainWin.cpp
2164
MainWin::_ResizeVideoView(int x, int y, int width, int height)
src/apps/mediaplayer/MainWin.cpp
2173
float factor = min_c(width / scaledWidth, height / scaledHeight);
src/apps/mediaplayer/MainWin.cpp
2176
if (renderWidth > width)
src/apps/mediaplayer/MainWin.cpp
2177
renderWidth = width;
src/apps/mediaplayer/MainWin.cpp
2181
int xOffset = (width - renderWidth) / 2;
src/apps/mediaplayer/MainWin.cpp
2185
fVideoView->ResizeTo(width - 1, height - 1);
src/apps/mediaplayer/MainWin.h
60
void VideoFormatChange(int width, int height,
src/apps/mediaplayer/MainWin.h
84
void _GetMinimumWindowSize(int& width,
src/apps/mediaplayer/MainWin.h
94
void _ResizeVideoView(int x, int y, int width,
src/apps/mediaplayer/interface/DurationView.cpp
66
size.width = StringWidth(string);
src/apps/mediaplayer/interface/PeakView.cpp
171
float width = r.Width();
src/apps/mediaplayer/interface/PeakView.cpp
186
DrawString("0", BPoint(4.0 + width - StringWidth("0"), y));
src/apps/mediaplayer/interface/PeakView.cpp
187
DrawString("-6", BPoint(0.477 * width, y));
src/apps/mediaplayer/interface/PeakView.cpp
188
DrawString("-12", BPoint(0.227 * width, y));
src/apps/mediaplayer/interface/PeakView.cpp
194
PeakView::FrameResized(float width, float height)
src/apps/mediaplayer/interface/PeakView.cpp
323
PeakView::_ResizeBackBitmap(int32 width, int32 channels)
src/apps/mediaplayer/interface/PeakView.cpp
326
if (fBackBitmap->Bounds().IntegerWidth() + 1 == width
src/apps/mediaplayer/interface/PeakView.cpp
335
BRect bounds(0, 0, width - 1, channels - 1);
src/apps/mediaplayer/interface/PeakView.cpp
354
uint32 width = fBackBitmap->Bounds().IntegerWidth() + 1;
src/apps/mediaplayer/interface/PeakView.cpp
356
_RenderSpan(span, width, fChannelInfos[i].current_max,
src/apps/mediaplayer/interface/PeakView.cpp
365
PeakView:: _RenderSpan(uint8* span, uint32 width, float current, float peak,
src/apps/mediaplayer/interface/PeakView.cpp
390
uint32 evenWidth = width - width % 2;
src/apps/mediaplayer/interface/PeakView.cpp
398
for (uint32 x = 0; x < width; x += 2) {
src/apps/mediaplayer/interface/PeakView.h
52
virtual void FrameResized(float width, float height);
src/apps/mediaplayer/interface/PeakView.h
66
void _ResizeBackBitmap(int32 width, int32 channels);
src/apps/mediaplayer/interface/PeakView.h
68
void _RenderSpan(uint8* span, uint32 width,
src/apps/mediaplayer/interface/PlayPauseButton.cpp
129
size.width = ceilf(
src/apps/mediaplayer/interface/PlayPauseButton.cpp
141
size.width = ceilf(size.width * 1.5f);
src/apps/mediaplayer/interface/SeekSlider.cpp
62
float width = ceilf(frame.Width() * fScale);
src/apps/mediaplayer/interface/SeekSlider.cpp
64
frame.left = floorf(center - width / 2) + 1;
src/apps/mediaplayer/interface/SeekSlider.cpp
65
frame.right = frame.left + width;
src/apps/mediaplayer/interface/SeekSlider.cpp
82
float width = ceilf(StringWidth(fDisabledString.String()));
src/apps/mediaplayer/interface/SeekSlider.cpp
84
textPos.x = r.left + (r.Width() - width) / 2.0;
src/apps/mediaplayer/interface/SymbolButton.cpp
102
size.width = ceilf(size.width * 1.5f);
src/apps/mediaplayer/interface/SymbolButton.cpp
91
size.width = ceilf(fSymbol->Bounds().Width() * scale);
src/apps/mediaplayer/interface/TransportControlGroup.cpp
197
size.width *= 3;
src/apps/mediaplayer/interface/TransportControlGroup.cpp
239
*_width = size.width;
src/apps/mediaplayer/interface/TransportControlGroup.cpp
810
float width = floorf(size * 2 / 3);
src/apps/mediaplayer/interface/TransportControlGroup.cpp
820
BPoint(offset + width, height / 2 + outerControlHeight),
src/apps/mediaplayer/interface/TransportControlGroup.cpp
821
BPoint(offset + width, height / 2)
src/apps/mediaplayer/interface/TransportControlGroup.cpp
825
BPoint(offset + width, height / 2 - outerControlHeight),
src/apps/mediaplayer/interface/TransportControlGroup.cpp
832
BPoint(offset + width - step, height / 2 - innerControlHeight),
src/apps/mediaplayer/interface/TransportControlGroup.cpp
833
BPoint(offset + width - step, height / 2)
src/apps/mediaplayer/interface/TransportControlGroup.cpp
837
BPoint(offset + width - step, height / 2 + innerControlHeight),
src/apps/mediaplayer/interface/TransportControlGroup.h
46
virtual void GetPreferredSize(float* width, float* height);
src/apps/mediaplayer/interface/VolumeSlider.cpp
218
size.width *= 2;
src/apps/mediaplayer/media_node_framework/video/VideoConsumer.cpp
182
uint32 width = format.u.raw_video.display.line_width;
src/apps/mediaplayer/media_node_framework/video/VideoConsumer.cpp
187
width, height, colorSpace);
src/apps/mediaplayer/media_node_framework/video/VideoConsumer.cpp
197
BRect bounds(0, 0, width - 1, height - 1);
src/apps/mediaplayer/media_node_framework/video/VideoConsumer.cpp
253
B_PRId32 " Colorspace %d: %s\n", i, width, height, colorSpace,
src/apps/mediaplayer/playlist/ListViews.cpp
144
DragSortableListView::FrameResized(float width, float height)
src/apps/mediaplayer/playlist/ListViews.cpp
146
BListView::FrameResized(width, height);
src/apps/mediaplayer/playlist/ListViews.cpp
237
float width = Bounds().Width();
src/apps/mediaplayer/playlist/ListViews.cpp
238
BRect dragRect(0.0, 0.0, width, -1.0);
src/apps/mediaplayer/playlist/ListViews.cpp
275
int32 width = (int32)dragBitmap->Bounds().Width() + 1;
src/apps/mediaplayer/playlist/ListViews.cpp
281
for (uint8 *end = line + 4 * width; line < end; line += 4)
src/apps/mediaplayer/playlist/ListViews.cpp
286
for (uint8 *end = line + 4 * width; line < end; line += 4)
src/apps/mediaplayer/playlist/ListViews.cpp
292
for (uint8 *end = line + 4 * width; line < end; line += 4)
src/apps/mediaplayer/playlist/ListViews.h
56
virtual void FrameResized(float width, float height);
src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp
302
uint32 width = fFormat.u.encoded_video.output.display.line_width;
src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp
319
minBytesPerRow = ((width * 2 + 3) / 4) * 4;
src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp
321
minBytesPerRow = width * 4;
src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp
324
ret = _SetDecodedFormat(width, height, format, bytesPerRow);
src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp
330
bytesPerRow = max_c(bytesPerRow, width * 4);
src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp
332
ret = _SetDecodedFormat(width, height, format, bytesPerRow);
src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp
349
minBytesPerRow = ((width * 2 + 3) / 4) * 4;
src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp
351
minBytesPerRow = width * 4;
src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp
355
ret = _SetDecodedFormat(width, height, format, minBytesPerRow);
src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp
369
MediaTrackVideoSupplier::_SetDecodedFormat(uint32 width, uint32 height,
src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp
380
fFormat.u.raw_video.display.line_width = width;
src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.h
52
status_t _SetDecodedFormat(uint32 width, uint32 height,
src/apps/mediaplayer/support/StackBlurFilter.cpp
117
int32 width = bitmap->Bounds().IntegerWidth() + 1;
src/apps/mediaplayer/support/StackBlurFilter.cpp
127
_Filter32(bits, width, height, bpr, r, r);
src/apps/mediaplayer/support/StackBlurFilter.cpp
131
_Filter8(bits, width, height, bpr, r, r);
src/apps/mediaplayer/support/StackBlurFilter.cpp
150
StackBlurFilter::_Filter32(uint8* buffer, unsigned width, unsigned height,
src/apps/mediaplayer/support/StackBlurFilter.cpp
176
unsigned w = width;
src/apps/mediaplayer/support/StackBlurFilter.cpp
430
StackBlurFilter::_Filter8(uint8* buffer, unsigned width, unsigned height,
src/apps/mediaplayer/support/StackBlurFilter.cpp
445
unsigned w = width;
src/apps/mediaplayer/support/StackBlurFilter.h
48
unsigned width, unsigned height,
src/apps/mediaplayer/support/StackBlurFilter.h
52
unsigned width, unsigned height,
src/apps/midiplayer/ScopeView.cpp
170
int32 width = (int32) Bounds().Width();
src/apps/midiplayer/ScopeView.cpp
185
for (int32 i = 0; i < width; i++) {
src/apps/midiplayer/ScopeView.cpp
186
x = sx / width;
src/apps/networkstatus/NetworkStatusView.cpp
296
NetworkStatusView::FrameResized(float width, float height)
src/apps/networkstatus/NetworkStatusView.h
49
virtual void FrameResized(float width, float height);
src/apps/networkstatus/RadioView.h
39
virtual void FrameResized(float width, float height);
src/apps/networkstatus/WirelessNetworkMenuItem.cpp
82
WirelessNetworkMenuItem::GetContentSize(float* width, float* height)
src/apps/networkstatus/WirelessNetworkMenuItem.cpp
84
BMenuItem::GetContentSize(width, height);
src/apps/networkstatus/WirelessNetworkMenuItem.cpp
85
*width += *height + 4;
src/apps/networkstatus/WirelessNetworkMenuItem.h
30
virtual void GetContentSize(float* width, float* height);
src/apps/packageinstaller/PackageImageViewer.cpp
79
float width = StringWidth(message);
src/apps/packageinstaller/PackageImageViewer.cpp
80
DrawString(message, BPoint((Bounds().Width() - width) / 2.0f, 30.0f));
src/apps/packageinstaller/PackageView.cpp
439
virtual void FrameResized(float width, float height)
src/apps/packageinstaller/PackageView.cpp
441
BTextView::FrameResized(width, height);
src/apps/patchbay/PatchView.cpp
168
float width = StringWidth(message);
src/apps/patchbay/PatchView.cpp
173
rect.left -= width / 2;
src/apps/people/PeopleApp.cpp
167
fields.AddInt32("attr:width", sDefaultAttributes[i].width);
src/apps/people/PeopleApp.cpp
43
int32 width;
src/apps/people/PeopleApp.h
59
int32 width;
src/apps/people/PersonWindow.cpp
114
scrollView->SetExplicitMinSize(BSize(scrollView->MinSize().width, 0));
src/apps/people/PictureView.cpp
102
float size = width < height ? width : height;
src/apps/people/PictureView.cpp
279
float frameAspect = size.height / size.width;
src/apps/people/PictureView.cpp
282
size.width = srcRect.Width() * size.height / srcRect.Height();
src/apps/people/PictureView.cpp
284
size.height = srcRect.Height() * size.width / srcRect.Width();
src/apps/people/PictureView.cpp
77
PictureView::PictureView(float width, float height, const entry_ref* ref)
src/apps/people/PictureView.cpp
94
BSize size(width + 2 * kPictureMargin, height + 2 * kPictureMargin);
src/apps/people/PictureView.h
25
PictureView(float width, float height,
src/apps/poorman/PoorManWindow.cpp
296
PoorManWindow::FrameResized(float width, float height)
src/apps/poorman/PoorManWindow.cpp
299
fLastWidth = width;
src/apps/poorman/PoorManWindow.cpp
342
PoorManWindow::Zoom(BPoint origin, float width, float height)
src/apps/poorman/PoorManWindow.h
41
virtual void FrameResized(float width, float height);
src/apps/poorman/PoorManWindow.h
43
virtual void Zoom(BPoint origin, float width, float height);
src/apps/powerstatus/ExtendedInfoWindow.cpp
226
float width = frame.Width() - horzOffset * 2;
src/apps/powerstatus/ExtendedInfoWindow.cpp
227
BPoint pt1((frame.left + frame.right - width) / 2.0 + horzOffset,
src/apps/powerstatus/ExtendedInfoWindow.cpp
229
BPoint pt2((frame.left + frame.right + width) / 2.0,
src/apps/powerstatus/ExtendedInfoWindow.cpp
268
float width = TabHeight();
src/apps/powerstatus/ExtendedInfoWindow.cpp
273
return BRect(offset + index * width, 0.0f,
src/apps/powerstatus/ExtendedInfoWindow.cpp
274
offset + index * width + width, height);
src/apps/powerstatus/ExtendedInfoWindow.cpp
276
return BRect(offset + index * width, bounds.bottom - height,
src/apps/powerstatus/ExtendedInfoWindow.cpp
277
offset + index * width + width, bounds.bottom);
src/apps/powerstatus/ExtendedInfoWindow.cpp
279
return BRect(0.0f, offset + index * width, height,
src/apps/powerstatus/ExtendedInfoWindow.cpp
280
offset + index * width + width);
src/apps/powerstatus/ExtendedInfoWindow.cpp
282
return BRect(bounds.right - height, offset + index * width,
src/apps/powerstatus/ExtendedInfoWindow.cpp
283
bounds.right, offset + index * width + width);
src/apps/powerstatus/ExtendedInfoWindow.cpp
379
ResizeTo(size.width, size.height);
src/apps/powerstatus/PowerStatusView.cpp
454
float width = fShowStatusIcon ? floorf(Bounds().Height() * 1.15f) : 0;
src/apps/powerstatus/PowerStatusView.cpp
461
width += ceilf(StringWidth(text)) + 2;
src/apps/powerstatus/PowerStatusView.cpp
503
if (width < 8) {
src/apps/powerstatus/PowerStatusView.cpp
505
width = 8;
src/apps/powerstatus/PowerStatusView.cpp
508
if (width != Bounds().Width()) {
src/apps/powerstatus/PowerStatusView.cpp
509
ResizeTo(width, Bounds().Height());
src/apps/processcontroller/IconMenuItem.cpp
101
BMenuItem::GetContentSize(width, height);
src/apps/processcontroller/IconMenuItem.cpp
110
*width += fIcon->Bounds().Width() + be_control_look->DefaultLabelSpacing();
src/apps/processcontroller/IconMenuItem.cpp
112
*width = fIcon->Bounds().Width() + 1;
src/apps/processcontroller/IconMenuItem.cpp
99
IconMenuItem::GetContentSize(float* width, float* height)
src/apps/processcontroller/IconMenuItem.h
26
virtual void GetContentSize(float* width, float* height);
src/apps/processcontroller/NoiseBarMenuItem.cpp
111
NoiseBarMenuItem::GetContentSize(float* width, float* height)
src/apps/processcontroller/NoiseBarMenuItem.cpp
113
BMenuItem::GetContentSize(width, height);
src/apps/processcontroller/NoiseBarMenuItem.cpp
116
*width += 20 + kBarWidth;
src/apps/processcontroller/NoiseBarMenuItem.h
17
virtual void GetContentSize(float* width, float* height);
src/apps/processcontroller/ProcessController.cpp
142
int width = 4;
src/apps/processcontroller/ProcessController.cpp
144
width = info.cpu_count;
src/apps/processcontroller/ProcessController.cpp
146
width *= 2;
src/apps/processcontroller/ProcessController.cpp
149
width += 8;
src/apps/processcontroller/ProcessController.cpp
153
width *= (int)(maxHeight / 16);
src/apps/processcontroller/ProcessController.cpp
154
if (width < maxHeight)
src/apps/processcontroller/ProcessController.cpp
155
width = (int)maxHeight;
src/apps/processcontroller/ProcessController.cpp
158
if (width > maxWidth)
src/apps/processcontroller/ProcessController.cpp
159
width = (int)maxWidth;
src/apps/processcontroller/ProcessController.cpp
161
return BSize(width - 1, maxHeight - 1);
src/apps/processcontroller/TeamBarMenuItem.cpp
176
TeamBarMenuItem::GetContentSize(float* width, float* height)
src/apps/processcontroller/TeamBarMenuItem.cpp
178
IconMenuItem::GetContentSize(width, height);
src/apps/processcontroller/TeamBarMenuItem.cpp
179
if (width != NULL)
src/apps/processcontroller/TeamBarMenuItem.cpp
180
*width += 40 + kBarWidth;
src/apps/processcontroller/TeamBarMenuItem.h
20
virtual void GetContentSize(float* width, float* height);
src/apps/processcontroller/ThreadBarMenuItem.cpp
126
ThreadBarMenuItem::GetContentSize(float* width, float* height)
src/apps/processcontroller/ThreadBarMenuItem.cpp
128
BMenuItem::GetContentSize(width, height);
src/apps/processcontroller/ThreadBarMenuItem.cpp
129
*width += 10 + kBarWidth;
src/apps/processcontroller/ThreadBarMenuItem.h
18
virtual void GetContentSize(float* width, float* height);
src/apps/processcontroller/Utilities.cpp
152
float width = frame.Width();
src/apps/processcontroller/Utilities.cpp
154
if (screen.Width() < width && !(flags & B_NOT_H_RESIZABLE))
src/apps/processcontroller/Utilities.cpp
155
width = screen.Width();
src/apps/processcontroller/Utilities.cpp
158
if (width != frame.Width() || height != frame.Height()) {
src/apps/processcontroller/Utilities.cpp
159
window->ResizeTo(width, height);
src/apps/processcontroller/Utilities.cpp
160
frame.right = frame.left + width;
src/apps/pulse/ConfigView.cpp
152
float width, height;
src/apps/pulse/ConfigView.cpp
153
fIconWidthControl->GetPreferredSize(&width, &height);
src/apps/pulse/ConfigView.cpp
309
int width = atoi(fIconWidthControl->Text());
src/apps/pulse/ConfigView.cpp
311
if (width < min_width || width > 50) {
src/apps/pulse/ConfigView.cpp
313
if (width < min_width) {
src/apps/pulse/ConfigView.cpp
315
width = min_width;
src/apps/pulse/ConfigView.cpp
318
width = 50;
src/apps/pulse/ConfigView.cpp
323
fPrefs->deskbar_icon_width = width;
src/apps/pulse/ConfigView.cpp
326
message.AddInt32("width", width);
src/apps/pulse/DeskbarPulseView.cpp
155
int width = message->FindInt32("width");
src/apps/pulse/DeskbarPulseView.cpp
156
ResizeTo(width - 1, Bounds().Height());
src/apps/pulse/MiniPulseView.cpp
119
void MiniPulseView::FrameResized(float width, float height) {
src/apps/pulse/MiniPulseView.h
26
void FrameResized(float width, float height);
src/apps/pulse/NormalPulseView.cpp
265
float width = StringWidth(fVendor);
src/apps/pulse/NormalPulseView.cpp
266
MovePenTo(10 + (fChipRect.Width() - width) / 2, fChipRect.top + 20);
src/apps/pulse/NormalPulseView.cpp
273
float width = StringWidth(fProcessor);
src/apps/pulse/NormalPulseView.cpp
274
MovePenTo(10 + (fChipRect.Width() - width) / 2, fChipRect.top + 53);
src/apps/pulse/NormalPulseView.cpp
286
width = StringWidth(buffer);
src/apps/pulse/NormalPulseView.cpp
287
MovePenTo(10 + (fChipRect.Width() - width) / 2, fChipRect.top + 62);
src/apps/pulse/NormalPulseView.cpp
51
float width = std::max(StringWidth(fProcessor), 48.0f);
src/apps/pulse/NormalPulseView.cpp
52
fChipRect = BRect(10, (rect.Height() - width - 15) / 2, 25 + width,
src/apps/pulse/NormalPulseView.cpp
53
(rect.Height() + width + 15) / 2);
src/apps/pulse/PrefsWindow.cpp
63
float width, height;
src/apps/pulse/PrefsWindow.cpp
64
deskbarView->GetPreferredSize(&width, &height);
src/apps/pulse/PrefsWindow.cpp
65
normalView->ResizeTo(width, height);
src/apps/pulse/PrefsWindow.cpp
66
miniView->ResizeTo(width, height);
src/apps/pulse/PrefsWindow.cpp
67
deskbarView->ResizeTo(width, height);
src/apps/pulse/PulseApp.cpp
309
int width = pulseapp->fPrefs->deskbar_icon_width;
src/apps/pulse/PulseApp.cpp
311
if (width < min_width) {
src/apps/pulse/PulseApp.cpp
313
width = min_width;
src/apps/pulse/PulseApp.cpp
317
BRect rect(0, 0, width - 1, height - 1);
src/apps/remotedesktop/RemoteDesktop.cpp
191
BRect windowFrame = BRect(0, 0, width - 1, height - 1);
src/apps/remotedesktop/RemoteDesktop.cpp
55
int32 width = -1;
src/apps/remotedesktop/RemoteDesktop.cpp
73
if (argc <= i + 1 || sscanf(argv[i + 1], "%" B_SCNd32, &width) != 1) {
src/apps/resedit/BitmapView.cpp
430
BitmapView::MaxBitmapSize(float *width, float *height) const
src/apps/resedit/BitmapView.cpp
432
*width = fMaxWidth;
src/apps/resedit/BitmapView.cpp
438
BitmapView::SetMaxBitmapSize(const float &width, const float &height)
src/apps/resedit/BitmapView.cpp
440
fMaxWidth = width;
src/apps/resedit/BitmapView.h
55
void MaxBitmapSize(float *width, float *height) const;
src/apps/resedit/BitmapView.h
56
virtual void SetMaxBitmapSize(const float &width, const float &height);
src/apps/resedit/PreviewColumn.cpp
13
PreviewColumn::PreviewColumn(const char *title, float width,
src/apps/resedit/PreviewColumn.cpp
15
: BTitledColumn(title, width, minWidth, maxWidth)
src/apps/resedit/PreviewColumn.h
16
PreviewColumn(const char *title, float width,
src/apps/resedit/ResView.cpp
76
float width = be_plain_font->StringWidth("00000") + 20;
src/apps/resedit/ResView.cpp
77
fListView->AddColumn(new BStringColumn("ID", width, width, 100, B_TRUNCATE_END), 0);
src/apps/resedit/ResView.cpp
79
fListView->AddColumn(new BStringColumn("Type", width, width, 100, B_TRUNCATE_END), 1);
src/apps/resedit/ResView.cpp
86
width = be_plain_font->StringWidth("1000 bytes") + 20;
src/apps/resedit/ResView.cpp
87
fListView->AddColumn(new BSizeColumn("Size", width, 10, 100), 4);
src/apps/screenshot/ScreenshotWindow.cpp
511
float width = (fScreenshot->Bounds().Width()
src/apps/screenshot/ScreenshotWindow.cpp
515
if (width > 400.0f) {
src/apps/screenshot/ScreenshotWindow.cpp
516
width = 400.0f;
src/apps/screenshot/ScreenshotWindow.cpp
518
/ fScreenshot->Bounds().Width()) * width;
src/apps/screenshot/ScreenshotWindow.cpp
521
fPreview->SetExplicitMinSize(BSize(width, height));
src/apps/screenshot/ScreenshotWindow.cpp
522
fPreview->SetExplicitMaxSize(BSize(width, height));
src/apps/screenshot/ScreenshotWindow.cpp
771
float width, height;
src/apps/screenshot/ScreenshotWindow.cpp
772
view->GetPreferredSize(&width, &height);
src/apps/screenshot/ScreenshotWindow.cpp
773
fSettingsWindow->ResizeTo(width, height);
src/apps/serialconnect/TermView.cpp
126
x + width * fFontWidth - 1,
src/apps/serialconnect/TermView.cpp
152
x += width * fFontWidth;
src/apps/serialconnect/TermView.cpp
157
width = 0;
src/apps/serialconnect/TermView.cpp
168
width += 1;
src/apps/serialconnect/TermView.cpp
174
width += newCell.width;
src/apps/serialconnect/TermView.cpp
175
pos.col += newCell.width;
src/apps/serialconnect/TermView.cpp
183
TermView::FrameResized(float width, float height)
src/apps/serialconnect/TermView.cpp
185
VTermRect newSize = _PixelsToGlyphs(BRect(0, 0, width - 2 * kBorderSpacing,
src/apps/serialconnect/TermView.cpp
192
TermView::GetPreferredSize(float* width, float* height)
src/apps/serialconnect/TermView.cpp
194
if (width != NULL)
src/apps/serialconnect/TermView.cpp
195
*width = kDefaultWidth * fFontWidth + 2 * kBorderSpacing - 1;
src/apps/serialconnect/TermView.cpp
413
TermView::_GlyphsToPixels(const int width, const int height) const
src/apps/serialconnect/TermView.cpp
419
rect.end_col = width;
src/apps/serialconnect/TermView.cpp
450
cell.width = 1;
src/apps/serialconnect/TermView.cpp
79
int width = 0;
src/apps/serialconnect/TermView.h
24
void FrameResized(float width, float height);
src/apps/serialconnect/TermView.h
25
void GetPreferredSize(float* width, float* height);
src/apps/serialconnect/TermView.h
40
BRect _GlyphsToPixels(const int width, const int height)
src/apps/serialconnect/libvterm/include/vterm.h
100
int width;
src/apps/serialconnect/libvterm/include/vterm.h
217
char width;
src/apps/serialconnect/libvterm/src/screen.c
190
for(col = 1; col < info->width; col++)
src/apps/serialconnect/libvterm/src/screen.c
196
rect.end_col = pos.col+info->width;
src/apps/serialconnect/libvterm/src/screen.c
557
for(pos.col = 0; pos.col < screen->cols; pos.col += screen->sb_buffer[pos.col].width)
src/apps/serialconnect/libvterm/src/screen.c
772
cell->width = 2;
src/apps/serialconnect/libvterm/src/screen.c
774
cell->width = 1;
src/apps/serialconnect/libvterm/src/screen.c
806
if(cell->width == 2)
src/apps/serialconnect/libvterm/src/state.c
20
static void putglyph(VTermState *state, const uint32_t chars[], int width, VTermPos pos)
src/apps/serialconnect/libvterm/src/state.c
24
.width = width,
src/apps/serialconnect/libvterm/src/state.c
272
int width = 0;
src/apps/serialconnect/libvterm/src/state.c
283
width += vterm_unicode_width(codepoints[i]);
src/apps/serialconnect/libvterm/src/state.c
295
printf("}, onscreen width %d\n", width);
src/apps/serialconnect/libvterm/src/state.c
299
if(state->at_phantom || state->pos.col + width > THISROWWIDTH(state)) {
src/apps/serialconnect/libvterm/src/state.c
319
putglyph(state, chars, width, state->pos);
src/apps/serialconnect/libvterm/src/state.c
333
state->combine_width = width;
src/apps/serialconnect/libvterm/src/state.c
337
if(state->pos.col + width >= THISROWWIDTH(state)) {
src/apps/serialconnect/libvterm/src/state.c
342
state->pos.col += width;
src/apps/serialconnect/libvterm/src/unicode.c
220
int w, width = 0;
src/apps/serialconnect/libvterm/src/unicode.c
226
width += w;
src/apps/serialconnect/libvterm/src/unicode.c
228
return width;
src/apps/serialconnect/libvterm/src/unicode.c
310
int w, width = 0;
src/apps/serialconnect/libvterm/src/unicode.c
316
width += w;
src/apps/serialconnect/libvterm/src/unicode.c
318
return width;
src/apps/showimage/PrintOptionsWindow.h
47
void SetWidth(float width);
src/apps/showimage/ProgressWindow.cpp
46
float width, height;
src/apps/showimage/ProgressWindow.cpp
47
fStatusBar->GetPreferredSize(&width, &height);
src/apps/showimage/ShowImageStatusView.cpp
204
fPreferredSize.width = 0.f;
src/apps/showimage/ShowImageStatusView.cpp
210
float width = ceilf(StringWidth(fCellText[i]));
src/apps/showimage/ShowImageStatusView.cpp
211
if (width > 0)
src/apps/showimage/ShowImageStatusView.cpp
212
width += kHorzSpacing * 2;
src/apps/showimage/ShowImageStatusView.cpp
213
fCellWidth[i] = width;
src/apps/showimage/ShowImageStatusView.cpp
214
fPreferredSize.width += fCellWidth[i];
src/apps/showimage/ShowImageStatusView.cpp
59
*_width = fPreferredSize.width;
src/apps/showimage/ShowImageStatusView.cpp
69
float width, height;
src/apps/showimage/ShowImageStatusView.cpp
70
GetPreferredSize(&width, &height);
src/apps/showimage/ShowImageStatusView.cpp
72
if (Bounds().Width() > width)
src/apps/showimage/ShowImageStatusView.cpp
73
width = Bounds().Width();
src/apps/showimage/ShowImageStatusView.cpp
75
BView::ResizeTo(width, height);
src/apps/showimage/ShowImageStatusView.cpp
82
if (fPreferredSize.width <= 0)
src/apps/showimage/ShowImageView.cpp
123
uint32 width = result->Bounds().IntegerWidth() + 1;
src/apps/showimage/ShowImageView.cpp
128
for (uint32 x = 0; x < width; x++) {
src/apps/showimage/ShowImageView.cpp
552
ShowImageView::FrameResized(float width, float height)
src/apps/showimage/ShowImageView.cpp
569
float width = Bounds().Width() + 1;
src/apps/showimage/ShowImageView.cpp
572
float zoom = width / bitmapWidth;
src/apps/showimage/ShowImageView.cpp
591
float width = Bounds().Width() + 1;
src/apps/showimage/ShowImageView.cpp
594
if (width == 0 || height == 0)
src/apps/showimage/ShowImageView.cpp
606
if (width > bitmapWidth)
src/apps/showimage/ShowImageView.cpp
607
rect.OffsetBy(floorf((width - bitmapWidth) / 2.0), 0);
src/apps/showimage/ShowImageView.cpp
635
float width, height;
src/apps/showimage/ShowImageView.cpp
638
width = font.StringWidth(fCaption.String());
src/apps/showimage/ShowImageView.cpp
642
pos.x = (bounds.left + bounds.right - width) / 2;
src/apps/showimage/ShowImageView.cpp
647
rect.Set(0, 0, width + 4, height + 4);
src/apps/showimage/ShowImageView.h
101
void ResizeImage(int width, int height);
src/apps/showimage/ShowImageView.h
38
virtual void FrameResized(float width, float height);
src/apps/showimage/ShowImageWindow.cpp
1146
BString frameText, height, width;
src/apps/showimage/ShowImageWindow.cpp
1149
fNumberFormat.Format(width, bounds.IntegerWidth() + 1);
src/apps/showimage/ShowImageWindow.cpp
1151
frameText.SetToFormat("%s × %s", width.String(), height.String());
src/apps/showimage/ShowImageWindow.cpp
149
float menuBarMinWidth = fBar->MinSize().width;
src/apps/showimage/ShowImageWindow.cpp
1509
float width;
src/apps/showimage/ShowImageWindow.cpp
1516
width = w2;
src/apps/showimage/ShowImageWindow.cpp
1518
width = w1;
src/apps/showimage/ShowImageWindow.cpp
1521
width = imageWidth * fPrintOptions.ZoomFactor();
src/apps/showimage/ShowImageWindow.cpp
1524
width = imageWidth * 72.0 / fPrintOptions.DPI();
src/apps/showimage/ShowImageWindow.cpp
1528
width = fPrintOptions.Width();
src/apps/showimage/ShowImageWindow.cpp
1533
width = imageWidth;
src/apps/showimage/ShowImageWindow.cpp
1538
fImageView->SetScale(width / imageWidth);
src/apps/showimage/ShowImageWindow.cpp
1628
int32 width = bounds.IntegerWidth() + 1;
src/apps/showimage/ShowImageWindow.cpp
1641
if (attrSize <= 0 || widthAttr != width)
src/apps/showimage/ShowImageWindow.cpp
1642
node.WriteAttr(kWidthAttrName, B_INT32_TYPE, 0, &width, sizeof(width));
src/apps/showimage/ShowImageWindow.cpp
254
float toolBarMinWidth = fToolBar->MinSize().width;
src/apps/showimage/ShowImageWindow.cpp
532
float width = r.Width() + be_control_look->GetScrollBarWidth(B_VERTICAL);
src/apps/showimage/ShowImageWindow.cpp
551
if (width < minW)
src/apps/showimage/ShowImageWindow.cpp
552
width = minW;
src/apps/showimage/ShowImageWindow.cpp
556
if (width > maxWidth)
src/apps/showimage/ShowImageWindow.cpp
557
width = maxWidth;
src/apps/showimage/ShowImageWindow.cpp
561
ResizeTo(width, height);
src/apps/showimage/ShowImageWindow.cpp
618
ShowImageWindow::Zoom(BPoint origin, float width, float height)
src/apps/showimage/ShowImageWindow.h
65
virtual void Zoom(BPoint origin, float width, float height);
src/apps/softwareupdater/CheckManager.cpp
213
int width = 70;
src/apps/softwareupdater/CheckManager.cpp
219
width = winSize.ws_col - 7;
src/apps/softwareupdater/CheckManager.cpp
223
int ipart = (int)(completionPercentage * width);
src/apps/softwareupdater/CheckManager.cpp
224
int fpart = (int)(((completionPercentage * width) - ipart) * 8);
src/apps/softwareupdater/CheckManager.cpp
228
for (position = 0; position < width; position++) {
src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
214
SoftwareUpdaterWindow::Zoom(BPoint origin, float width, float height)
src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
218
BWindow::Zoom(Frame().LeftTop(), width, height);
src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
769
float width;
src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
770
owner->GetPreferredSize(&width, NULL);
src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
774
owner->TruncateString(&text, B_TRUNCATE_END, width);
src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
840
float width = owner->StringWidth(fItemText.String());
src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
842
return width;
src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
901
float width = owner->Frame().Width();
src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
902
float nameWidth = width / 2.0;
src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
944
owner->TruncateString(&versionOrRepo, B_TRUNCATE_END, width - cursor.x);
src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
951
owner->TruncateString(&summary, B_TRUNCATE_END, width - cursor.x);
src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
958
owner->TruncateString(&version, B_TRUNCATE_END, width - cursor.x);
src/apps/softwareupdater/SoftwareUpdaterWindow.h
149
void Zoom(BPoint origin, float width, float height);
src/apps/softwareupdater/UpdateManager.cpp
276
int width = 70;
src/apps/softwareupdater/UpdateManager.cpp
282
width = winSize.ws_col - 7;
src/apps/softwareupdater/UpdateManager.cpp
286
int ipart = (int)(completionValue * width);
src/apps/softwareupdater/UpdateManager.cpp
287
int fpart = (int)(((completionValue * width) - ipart) * 8);
src/apps/softwareupdater/UpdateManager.cpp
291
for (position = 0; position < width; position++) {
src/apps/soundrecorder/RecorderWindow.cpp
199
float width = rect.Width() - 12;
src/apps/soundrecorder/RecorderWindow.cpp
200
SetSizeLimits(min_width, width, min_height, rect.Height() - 24);
src/apps/soundrecorder/RecorderWindow.cpp
204
if (width > 640)
src/apps/soundrecorder/RecorderWindow.cpp
205
width = 640 + (width - 640) / 2;
src/apps/soundrecorder/RecorderWindow.cpp
206
SetZoomLimits(width, rect.Height() - 24);
src/apps/soundrecorder/ScopeView.cpp
277
ScopeView::FrameResized(float width, float height)
src/apps/soundrecorder/ScopeView.cpp
360
float width = fBitmapView->Bounds().Width() + 1;
src/apps/soundrecorder/ScopeView.cpp
370
BPoint point((i - leftIndex) * width / (rightIndex - leftIndex),
src/apps/soundrecorder/ScopeView.h
30
virtual void FrameResized(float width, float height);
src/apps/soundrecorder/SoundListView.cpp
45
float width = font.StringWidth(B_TRANSLATE("Drop files here"));
src/apps/soundrecorder/SoundListView.cpp
48
pt.x = (Bounds().Width() - width) / 2;
src/apps/soundrecorder/TrackSlider.cpp
466
TrackSlider::FrameResized(float width, float height)
src/apps/soundrecorder/TrackSlider.h
47
virtual void FrameResized(float width, float height);
src/apps/stylededit/StatusView.cpp
108
float width, height;
src/apps/stylededit/StatusView.cpp
109
GetPreferredSize(&width, &height);
src/apps/stylededit/StatusView.cpp
111
if (Bounds().Width() > width)
src/apps/stylededit/StatusView.cpp
112
width = Bounds().Width();
src/apps/stylededit/StatusView.cpp
114
BView::ResizeTo(width, height);
src/apps/stylededit/StatusView.cpp
121
if (fPreferredSize.width <= 0)
src/apps/stylededit/StatusView.cpp
248
float orgWidth = fPreferredSize.width;
src/apps/stylededit/StatusView.cpp
250
fPreferredSize.width = 0.f;
src/apps/stylededit/StatusView.cpp
256
float width = ceilf(StringWidth(fCellText[i]));
src/apps/stylededit/StatusView.cpp
257
if (width > 0)
src/apps/stylededit/StatusView.cpp
258
width += kHorzSpacing * 2;
src/apps/stylededit/StatusView.cpp
259
if (width > fCellWidth[i] || i != kPositionCell)
src/apps/stylededit/StatusView.cpp
260
fCellWidth[i] = width;
src/apps/stylededit/StatusView.cpp
261
fPreferredSize.width += fCellWidth[i];
src/apps/stylededit/StatusView.cpp
274
float delta = fPreferredSize.width - orgWidth;
src/apps/stylededit/StatusView.cpp
98
*_width = fPreferredSize.width;
src/apps/stylededit/StyledEditView.cpp
61
StyledEditView::FrameResized(float width, float height)
src/apps/stylededit/StyledEditView.cpp
63
BTextView::FrameResized(width, height);
src/apps/stylededit/StyledEditView.h
29
virtual void FrameResized(float width, float height);
src/apps/sudoku/ProgressWindow.cpp
42
float width, height;
src/apps/sudoku/ProgressWindow.cpp
43
fStatusBar->GetPreferredSize(&width, &height);
src/apps/sudoku/SudokuView.cpp
1380
float width = font.StringWidth("W");
src/apps/sudoku/SudokuView.cpp
1384
float widthFactor = fieldWidth / (width / factor);
src/apps/sudoku/SudokuView.cpp
817
float width = fWidth - 1;
src/apps/sudoku/SudokuView.cpp
820
FillRect(BRect(width, 0, width + kStrongLineSize,
src/apps/sudoku/SudokuView.cpp
822
width += kStrongLineSize;
src/apps/sudoku/SudokuView.cpp
824
StrokeLine(BPoint(width, 0), BPoint(width, Bounds().Height()));
src/apps/sudoku/SudokuView.cpp
826
width += fWidth;
src/apps/sudoku/SudokuView.h
128
void _FitFont(BFont& font, float width,
src/apps/sudoku/SudokuView.h
77
virtual void FrameResized(float width, float height);
src/apps/switcher/WindowsView.cpp
170
virtual void SetWidth(int32 width)
src/apps/switcher/WindowsView.cpp
172
fWidth = width;
src/apps/switcher/WindowsView.cpp
254
virtual void SetWidth(int32 width)
src/apps/switcher/WindowsView.cpp
256
StringItemRenderer::SetWidth(width + 20);
src/apps/terminal/BasicTerminalBuffer.cpp
1096
BasicTerminalBuffer::_AllocateLines(int32 width, int32 count)
src/apps/terminal/BasicTerminalBuffer.cpp
1104
+ sizeof(TerminalCell) * (width - 1);
src/apps/terminal/BasicTerminalBuffer.cpp
1110
lines[i]->Clear(width);
src/apps/terminal/BasicTerminalBuffer.cpp
1152
BasicTerminalBuffer::_ResizeHistory(int32 width, int32 historyCapacity)
src/apps/terminal/BasicTerminalBuffer.cpp
1154
if (width == fWidth && historyCapacity == HistoryCapacity())
src/apps/terminal/BasicTerminalBuffer.cpp
1169
status_t error = history->Init(width, historyCapacity);
src/apps/terminal/BasicTerminalBuffer.cpp
1181
if (line->length > width)
src/apps/terminal/BasicTerminalBuffer.cpp
1182
_TruncateLine(line, width);
src/apps/terminal/BasicTerminalBuffer.cpp
1195
BasicTerminalBuffer::_ResizeSimple(int32 width, int32 height,
src/apps/terminal/BasicTerminalBuffer.cpp
1200
if (width == fWidth && height == fHeight)
src/apps/terminal/BasicTerminalBuffer.cpp
1203
if (width != fWidth || historyCapacity != HistoryCapacity()) {
src/apps/terminal/BasicTerminalBuffer.cpp
1204
status_t error = _ResizeHistory(width, historyCapacity);
src/apps/terminal/BasicTerminalBuffer.cpp
1209
TerminalLine** lines = _AllocateLines(width, height);
src/apps/terminal/BasicTerminalBuffer.cpp
1228
if (width < fWidth)
src/apps/terminal/BasicTerminalBuffer.cpp
1229
_TruncateLine(line, width);
src/apps/terminal/BasicTerminalBuffer.cpp
1239
if (width < fWidth)
src/apps/terminal/BasicTerminalBuffer.cpp
1240
_TruncateLine(sourceLine, width);
src/apps/terminal/BasicTerminalBuffer.cpp
1247
lines[i]->Clear(fAttributes, width);
src/apps/terminal/BasicTerminalBuffer.cpp
1252
if (fWidth != width) {
src/apps/terminal/BasicTerminalBuffer.cpp
1253
status_t error = _ResetTabStops(width);
src/apps/terminal/BasicTerminalBuffer.cpp
1258
fWidth = width;
src/apps/terminal/BasicTerminalBuffer.cpp
1267
if (fCursor.x > width)
src/apps/terminal/BasicTerminalBuffer.cpp
1268
fCursor.x = width;
src/apps/terminal/BasicTerminalBuffer.cpp
1277
BasicTerminalBuffer::_ResizeRewrap(int32 width, int32 height,
src/apps/terminal/BasicTerminalBuffer.cpp
1285
if (width == fWidth)
src/apps/terminal/BasicTerminalBuffer.cpp
1286
return _ResizeSimple(width, height, historyCapacity);
src/apps/terminal/BasicTerminalBuffer.cpp
1291
TerminalLine** screen = _AllocateLines(width, height);
src/apps/terminal/BasicTerminalBuffer.cpp
1304
status_t error = history->Init(width, historyCapacity);
src/apps/terminal/BasicTerminalBuffer.cpp
1337
destLine->Clear(fAttributes, width);
src/apps/terminal/BasicTerminalBuffer.cpp
1342
int32 destLeft = width - destLine->length;
src/apps/terminal/BasicTerminalBuffer.cpp
1371
if (cursor.x >= width) {
src/apps/terminal/BasicTerminalBuffer.cpp
1374
cursor.x = width - 1;
src/apps/terminal/BasicTerminalBuffer.cpp
142
BasicTerminalBuffer::Init(int32 width, int32 height, int32 historySize)
src/apps/terminal/BasicTerminalBuffer.cpp
1434
line->Clear(fAttributes, width);
src/apps/terminal/BasicTerminalBuffer.cpp
1444
if (fWidth != width) {
src/apps/terminal/BasicTerminalBuffer.cpp
1445
status_t error = _ResetTabStops(width);
src/apps/terminal/BasicTerminalBuffer.cpp
146
fWidth = width;
src/apps/terminal/BasicTerminalBuffer.cpp
1460
fWidth = width;
src/apps/terminal/BasicTerminalBuffer.cpp
1471
BasicTerminalBuffer::_ResetTabStops(int32 width)
src/apps/terminal/BasicTerminalBuffer.cpp
1476
fTabStops = new(std::nothrow) bool[width];
src/apps/terminal/BasicTerminalBuffer.cpp
1480
for (int32 i = 0; i < width; i++)
src/apps/terminal/BasicTerminalBuffer.cpp
162
fScreen = _AllocateLines(width, height);
src/apps/terminal/BasicTerminalBuffer.cpp
1647
BasicTerminalBuffer::_InsertGap(int32 width)
src/apps/terminal/BasicTerminalBuffer.cpp
1652
int32 toMove = min_c(line->length - fCursor.x, fWidth - fCursor.x - width);
src/apps/terminal/BasicTerminalBuffer.cpp
1654
memmove(line->cells + fCursor.x + width,
src/apps/terminal/BasicTerminalBuffer.cpp
1658
line->length = min_c(line->length + width, fWidth);
src/apps/terminal/BasicTerminalBuffer.cpp
171
error = fHistory->Init(width, historySize);
src/apps/terminal/BasicTerminalBuffer.cpp
190
BasicTerminalBuffer::ResizeTo(int32 width, int32 height)
src/apps/terminal/BasicTerminalBuffer.cpp
192
return ResizeTo(width, height, fHistory != NULL ? fHistory->Capacity() : 0);
src/apps/terminal/BasicTerminalBuffer.cpp
197
BasicTerminalBuffer::ResizeTo(int32 width, int32 height, int32 historyCapacity)
src/apps/terminal/BasicTerminalBuffer.cpp
200
|| width < kMinColumnCount || width > kMaxColumnCount) {
src/apps/terminal/BasicTerminalBuffer.cpp
204
if (width == fWidth && height == fHeight)
src/apps/terminal/BasicTerminalBuffer.cpp
208
return _ResizeSimple(width, height, historyCapacity);
src/apps/terminal/BasicTerminalBuffer.cpp
210
return _ResizeRewrap(width, height, historyCapacity);
src/apps/terminal/BasicTerminalBuffer.cpp
39
#define ALLOC_LINE_ON_STACK(width) \
src/apps/terminal/BasicTerminalBuffer.cpp
41
+ sizeof(TerminalCell) * ((width) - 1)))
src/apps/terminal/BasicTerminalBuffer.cpp
633
int32 width = c.IsFullWidth() ? FULL_WIDTH : HALF_WIDTH;
src/apps/terminal/BasicTerminalBuffer.cpp
635
if (fSoftWrappedCursor || (fCursor.x + width) > fWidth)
src/apps/terminal/BasicTerminalBuffer.cpp
643
_InsertGap(width);
src/apps/terminal/BasicTerminalBuffer.cpp
648
line->cells[fCursor.x].attributes.state |= (width == FULL_WIDTH ? A_WIDTH : 0);
src/apps/terminal/BasicTerminalBuffer.cpp
650
if (line->length < fCursor.x + width)
src/apps/terminal/BasicTerminalBuffer.cpp
651
line->length = fCursor.x + width;
src/apps/terminal/BasicTerminalBuffer.cpp
655
fCursor.x += width;
src/apps/terminal/BasicTerminalBuffer.cpp
661
fCursor.x -= width;
src/apps/terminal/BasicTerminalBuffer.cpp
670
uint32 width = HALF_WIDTH;
src/apps/terminal/BasicTerminalBuffer.cpp
673
width = FULL_WIDTH;
src/apps/terminal/BasicTerminalBuffer.cpp
680
for (int32 x = 0; x < fWidth / (int32)width; x++) {
src/apps/terminal/BasicTerminalBuffer.cpp
684
line->length = fWidth / width;
src/apps/terminal/BasicTerminalBuffer.h
196
static TerminalLine** _AllocateLines(int32 width, int32 count);
src/apps/terminal/BasicTerminalBuffer.h
200
status_t _ResizeHistory(int32 width,
src/apps/terminal/BasicTerminalBuffer.h
202
status_t _ResizeSimple(int32 width, int32 height,
src/apps/terminal/BasicTerminalBuffer.h
204
status_t _ResizeRewrap(int32 width, int32 height,
src/apps/terminal/BasicTerminalBuffer.h
206
status_t _ResetTabStops(int32 width);
src/apps/terminal/BasicTerminalBuffer.h
213
void _InsertGap(int32 width);
src/apps/terminal/BasicTerminalBuffer.h
67
status_t Init(int32 width, int32 height,
src/apps/terminal/BasicTerminalBuffer.h
80
virtual status_t ResizeTo(int32 width, int32 height);
src/apps/terminal/BasicTerminalBuffer.h
81
virtual status_t ResizeTo(int32 width, int32 height,
src/apps/terminal/HistoryBuffer.cpp
42
HistoryBuffer::Init(int32 width, int32 capacity)
src/apps/terminal/HistoryBuffer.cpp
44
if (width <= 0 || capacity <= 0)
src/apps/terminal/HistoryBuffer.cpp
47
int32 bufferSize = (width + 4) * capacity;
src/apps/terminal/HistoryBuffer.cpp
57
fWidth = width;
src/apps/terminal/HistoryBuffer.h
22
status_t Init(int32 width, int32 capacity);
src/apps/terminal/SmartTabView.cpp
40
SmartTabView::SmartTabView(BRect frame, const char* name, button_width width,
src/apps/terminal/SmartTabView.cpp
43
BTabView(frame, name, width, resizingMode, flags),
src/apps/terminal/SmartTabView.h
27
button_width width = B_WIDTH_AS_USUAL,
src/apps/terminal/SmartTabView.h
33
button_width width = B_WIDTH_AS_USUAL,
src/apps/terminal/TermView.cpp
1063
char *buf, int32 width, Highlight* highlight, bool cursor, BView *inView)
src/apps/terminal/TermView.cpp
1075
float x2 = x1 + fFontWidth * width;
src/apps/terminal/TermView.cpp
1230
int32 width = attr.IsWidth() ? FULL_WIDTH : HALF_WIDTH;
src/apps/terminal/TermView.cpp
1237
width, highlight, cursorVisible, this);
src/apps/terminal/TermView.cpp
1603
TermView::FrameResized(float width, float height)
src/apps/terminal/TermView.cpp
1606
int32 columns = (int32)((width + 1) / fFontWidth);
src/apps/terminal/TermView.cpp
1630
fResizeView->GetPreferredSize(&width, &height);
src/apps/terminal/TermView.cpp
1631
fResizeView->ResizeTo(width * 1.5, height * 1.5);
src/apps/terminal/TermView.cpp
2864
TermView::GetFrameSize(float *width, float *height) const
src/apps/terminal/TermView.cpp
2872
if (width != NULL)
src/apps/terminal/TermView.cpp
2873
*width = fColumns * fFontWidth;
src/apps/terminal/TermView.cpp
505
TermView::GetPreferredSize(float *width, float *height)
src/apps/terminal/TermView.cpp
507
if (width)
src/apps/terminal/TermView.cpp
508
*width = fColumns * fFontWidth - 1;
src/apps/terminal/TermView.h
126
void GetFrameSize(float* width, float* height) const;
src/apps/terminal/TermView.h
153
virtual void FrameResized(float width, float height);
src/apps/terminal/TermView.h
212
char* buffer, int32 width,
src/apps/terminal/TermView.h
83
void GetFontSize(float* width, float* height) const;
src/apps/terminal/TermWindow.cpp
124
float width, height;
src/apps/terminal/TermWindow.cpp
125
fTermView->GetPreferredSize(&width, &height);
src/apps/terminal/TermWindow.cpp
126
*_width = width + 2 * kTermViewOffset;
src/apps/terminal/TermWindow.cpp
1386
float width, height;
src/apps/terminal/TermWindow.cpp
1387
view->GetFontSize(&width, &height);
src/apps/terminal/TermWindow.cpp
1396
SetSizeLimits(MIN_COLS * width - 1, MAX_COLS * width - 1,
src/apps/terminal/TermWindow.cpp
1584
TermWindow::Zoom(BPoint leftTop, float width, float height)
src/apps/terminal/TermWindow.cpp
1587
BWindow::Zoom(leftTop, width, height);
src/apps/terminal/TermWindow.cpp
1788
float width;
src/apps/terminal/TermWindow.cpp
1790
view->Parent()->GetPreferredSize(&width, &height);
src/apps/terminal/TermWindow.cpp
1792
width += be_control_look->GetScrollBarWidth(B_HORIZONTAL);
src/apps/terminal/TermWindow.cpp
1800
ResizeTo(width, height);
src/apps/terminal/TermWindow.h
74
virtual void Zoom(BPoint leftTop, float width, float height);
src/apps/terminal/TerminalBuffer.cpp
235
TerminalBuffer::ResizeTo(int32 width, int32 height)
src/apps/terminal/TerminalBuffer.cpp
243
return ResizeTo(width, height, historyCapacity);
src/apps/terminal/TerminalBuffer.cpp
248
TerminalBuffer::ResizeTo(int32 width, int32 height, int32 historyCapacity)
src/apps/terminal/TerminalBuffer.cpp
259
status_t error = BasicTerminalBuffer::ResizeTo(width, height,
src/apps/terminal/TerminalBuffer.cpp
276
error = BasicTerminalBuffer::ResizeTo(width, height, 0);
src/apps/terminal/TerminalBuffer.cpp
278
fWidth = width;
src/apps/terminal/TerminalBuffer.cpp
60
TerminalBuffer::Init(int32 width, int32 height, int32 historySize)
src/apps/terminal/TerminalBuffer.cpp
65
fAlternateScreen = _AllocateLines(width, height);
src/apps/terminal/TerminalBuffer.cpp
79
return BasicTerminalBuffer::Init(width, height, historySize);
src/apps/terminal/TerminalBuffer.h
30
status_t Init(int32 width, int32 height,
src/apps/terminal/TerminalBuffer.h
53
virtual status_t ResizeTo(int32 width, int32 height);
src/apps/terminal/TerminalBuffer.h
54
virtual status_t ResizeTo(int32 width, int32 height,
src/apps/text_search/GrepWindow.cpp
182
void GrepWindow::FrameResized(float width, float height)
src/apps/text_search/GrepWindow.cpp
184
BWindow::FrameResized(width, height);
src/apps/text_search/GrepWindow.h
25
virtual void FrameResized(float width, float height);
src/apps/tv/MainWin.cpp
613
MainWin::VideoFormatChange(int width, int height, float width_scale,
src/apps/tv/MainWin.cpp
619
"height_scale %.6f\n", width, height, width_scale, height_scale);
src/apps/tv/MainWin.cpp
628
fSourceWidth = width;
src/apps/tv/MainWin.h
68
void VideoFormatChange(int width, int height, float width_scale, float height_scale);
src/apps/webpositive/BookmarkBar.cpp
348
BookmarkBar::FrameResized(float width, float height)
src/apps/webpositive/BookmarkBar.cpp
367
if (frame.right > width - overflowMenuWidth)
src/apps/webpositive/BookmarkBar.cpp
379
if (frame.Width() + rightmost > width - overflowMenuWidth)
src/apps/webpositive/BookmarkBar.cpp
408
BMenuBar::FrameResized(width, height);
src/apps/webpositive/BookmarkBar.cpp
418
size.width = 32;
src/apps/webpositive/BookmarkBar.h
35
void FrameResized(float width, float height);
src/apps/webpositive/BrowserWindow.cpp
1692
BrowserWindow::ResizeRequested(float width, float height, BWebView* view)
src/apps/webpositive/BrowserWindow.cpp
1713
width = min_c(width, screen.Frame().Width());
src/apps/webpositive/BrowserWindow.cpp
1716
frame.right = frame.left + width;
src/apps/webpositive/BrowserWindow.cpp
1732
ResizeTo(width, height);
src/apps/webpositive/BrowserWindow.h
155
virtual void ResizeRequested(float width, float height,
src/apps/webpositive/CookieWindow.cpp
39
CookieDateColumn(const char* title, float width)
src/apps/webpositive/CookieWindow.cpp
41
BDateColumn(title, width, width / 2, width * 2)
src/apps/webpositive/DownloadProgressView.cpp
278
if (bottomButtonSize.width < topButtonSize.width)
src/apps/webpositive/URLInputGroup.cpp
325
min.width = min.height * 3;
src/apps/webpositive/URLInputGroup.cpp
334
max.width = B_SIZE_UNLIMITED;
src/apps/webpositive/tabview/TabContainerView.cpp
375
float itemWidth = item->MinSize().width;
src/apps/webpositive/tabview/TabContainerView.cpp
490
float itemWidth = item->MinSize().width;
src/apps/webpositive/tabview/TabContainerView.cpp
505
float width = Bounds().Width() - 10;
src/apps/webpositive/tabview/TabContainerView.cpp
511
width -= left + right;
src/apps/webpositive/tabview/TabContainerView.cpp
513
return width;
src/apps/webpositive/tabview/TabContainerView.cpp
60
size.width = 300;
src/apps/webpositive/tabview/TabManager.cpp
478
size.width += kIconSize + kIconInset * 2;
src/apps/webpositive/tabview/TabManager.cpp
480
size.width += size.height;
src/apps/webpositive/tabview/TabView.cpp
49
size.width = 60.0f;
src/apps/workspaces/Workspaces.cpp
1132
float width = columnWidth * columns + 1;
src/apps/workspaces/Workspaces.cpp
1133
if (width > maxWidth)
src/apps/workspaces/Workspaces.cpp
1134
width = maxWidth;
src/apps/workspaces/Workspaces.cpp
1136
return new WorkspacesView(BRect (0, 0, width - 1, height - 1), false);
src/apps/workspaces/Workspaces.cpp
169
virtual void FrameResized(float width, float height);
src/apps/workspaces/Workspaces.cpp
170
virtual void Zoom(BPoint origin, float width, float height);
src/apps/workspaces/Workspaces.cpp
755
float width = floor(workspaceWidth * columns);
src/apps/workspaces/Workspaces.cpp
760
while (width + 2 * borderWidth > screenWidth
src/apps/workspaces/Workspaces.cpp
762
width = floor(0.95 * width);
src/apps/workspaces/Workspaces.cpp
768
frame.left = frame.right - width;
src/apps/workspaces/Workspaces.cpp
816
WorkspacesWindow::FrameResized(float width, float height)
src/apps/workspaces/Workspaces.cpp
819
BWindow::FrameResized(width, height);
src/apps/workspaces/Workspaces.cpp
833
float newHeight = width / windowAspectRatio;
src/apps/workspaces/Workspaces.cpp
836
ResizeTo(width, newHeight);
src/apps/workspaces/Workspaces.cpp
843
WorkspacesWindow::Zoom(BPoint origin, float width, float height)
src/apps/workspaces/Workspaces.cpp
856
width = floor(workspaceWidth * columns);
src/apps/workspaces/Workspaces.cpp
859
while (width + 2 * GetScreenBorderOffset() > screenWidth
src/apps/workspaces/Workspaces.cpp
862
width = floor(0.95 * width);
src/apps/workspaces/Workspaces.cpp
866
ResizeTo(width, height);
src/apps/workspaces/Workspaces.cpp
873
origin.x -= GetScreenBorderOffset() + width;
src/bin/dstcheck.cpp
33
button_width width = B_WIDTH_AS_USUAL,
src/bin/dstcheck.cpp
47
button_width width, alert_type type)
src/bin/dstcheck.cpp
48
: BAlert(title, text, button1, button2, button3, width, type),
src/bin/listusb/usb_video.cpp
469
descriptor->width, descriptor->height);
src/bin/mail_utils/spamdbm.cpp
1059
virtual void GetPreferredSize (float *width, float *height);
src/bin/mail_utils/spamdbm.cpp
5573
ClassificationChoicesView::GetPreferredSize (float *width, float *height)
src/bin/mail_utils/spamdbm.cpp
5575
if (width != NULL)
src/bin/mail_utils/spamdbm.cpp
5576
*width = Bounds().Width();
src/bin/network/ftpd/ftpcmd.y
1524
int width, NCMDS;
src/bin/network/ftpd/ftpcmd.y
1531
width = 0, NCMDS = 0;
src/bin/network/ftpd/ftpcmd.y
1535
if (len > width)
src/bin/network/ftpd/ftpcmd.y
1536
width = len;
src/bin/network/ftpd/ftpcmd.y
1539
width = (width + 8) &~ 7;
src/bin/network/ftpd/ftpcmd.y
1546
columns = 76 / width;
src/bin/network/ftpd/ftpcmd.y
1559
while (w < width) {
src/bin/network/ftpd/ftpcmd.y
1582
reply(214, "%s%-*s\t%s; unimplemented.", type, width,
src/bin/network/ppp_up/ConnectionView.cpp
80
float width = max(StringWidth(fUsername->Label()),
src/bin/network/ppp_up/ConnectionView.cpp
82
fUsername->SetDivider(width + 5);
src/bin/network/ppp_up/ConnectionView.cpp
83
fPassword->SetDivider(width + 5);
src/bin/pkgman/PackageManager.cpp
217
int width = 70;
src/bin/pkgman/PackageManager.cpp
220
width = std::min(winSize.ws_col - 2, 78);
src/bin/pkgman/PackageManager.cpp
222
if (width < 30) {
src/bin/pkgman/PackageManager.cpp
240
if (leftStr.CountChars() + rightStr.CountChars() >= width)
src/bin/pkgman/PackageManager.cpp
244
leftStr.TruncateChars(width - rightStr.CountChars() - 2);
src/bin/pkgman/PackageManager.cpp
248
int extraSpace = width - leftStr.CountChars() - rightStr.CountChars();
src/bin/pkgman/PackageManager.cpp
255
(int)(width * completionPercentage));
src/bin/screenmode/screenmode.cpp
126
int width = -1;
src/bin/screenmode/screenmode.cpp
182
int parsed = sscanf(argv[optind], "%dx%dx%d", &width, &height,
src/bin/screenmode/screenmode.cpp
322
if (currentMode.width == 800 && currentMode.height == 600) {
src/bin/screenmode/screenmode.cpp
323
newMode.width = 640;
src/bin/screenmode/screenmode.cpp
328
newMode.width = 800;
src/bin/screenmode/screenmode.cpp
338
newMode.width = width;
src/bin/screenmode/screenmode.cpp
384
newMode.width, newMode.height, newMode.BitsPerPixel(),
src/bin/screenmode/screenmode.cpp
61
printf(format, mode.width, mode.height, mode.BitsPerPixel(), mode.refresh);
src/bin/unzip/fileio.c
1264
SCREENSIZE(&((Uz_Globs *)pG)->height, &((Uz_Globs *)pG)->width);
src/bin/unzip/fileio.c
1273
((Uz_Globs *)pG)->width = SCREENWIDTH;
src/bin/unzip/fileio.c
1337
if (((Uz_Globs *)pG)->chars >= ((Uz_Globs *)pG)->width)
src/bin/unzip/globals.h
166
int width;
src/bin/watch.c
196
resizeterm(height, width);
src/bin/watch.c
207
interval, min(width - 1, command_length), command);
src/bin/watch.c
209
if (strlen(header) > (size_t) (width - tsl - 1))
src/bin/watch.c
210
mvaddstr(0, width - tsl - 4, "... ");
src/bin/watch.c
211
mvaddstr(0, width - tsl + 1, ts);
src/bin/watch.c
222
for (x = 0; x < width; x++) {
src/bin/watch.c
43
static int height = 24, width = 80;
src/bin/watch.c
88
width = w.ws_col;
src/build/libbe/interface/Bitmap.cpp
102
bpr = (width + 15) / 16 * 18;
src/build/libbe/interface/Bitmap.cpp
123
get_bytes_per_row(color_space colorSpace, int32 width)
src/build/libbe/interface/Bitmap.cpp
125
int32 bpr = get_raw_bytes_per_row(colorSpace, width);
src/build/libbe/interface/Bitmap.cpp
513
int32 width = 0;
src/build/libbe/interface/Bitmap.cpp
515
width = fBounds.IntegerWidth() + 1;
src/build/libbe/interface/Bitmap.cpp
522
inBPR = width * 3;
src/build/libbe/interface/Bitmap.cpp
526
inBPR = width;
src/build/libbe/interface/Bitmap.cpp
53
get_raw_bytes_per_row(color_space colorSpace, int32 width)
src/build/libbe/interface/Bitmap.cpp
571
int32 width = fBounds.IntegerWidth() + 1;
src/build/libbe/interface/Bitmap.cpp
574
bpr = get_bytes_per_row(colorSpace, width);
src/build/libbe/interface/Bitmap.cpp
580
fSize - offset, bpr, fBytesPerRow, colorSpace, fColorSpace, width,
src/build/libbe/interface/Bitmap.cpp
59
bpr = 8 * width;
src/build/libbe/interface/Bitmap.cpp
62
bpr = 6 * width;
src/build/libbe/interface/Bitmap.cpp
633
color_space colorSpace, BPoint from, BPoint to, int32 width, int32 height)
src/build/libbe/interface/Bitmap.cpp
635
return ImportBits(data, length, bpr, colorSpace, from, to, BSize(width - 1, height - 1));
src/build/libbe/interface/Bitmap.cpp
700
BBitmap::ImportBits(const BBitmap* bitmap, BPoint from, BPoint to, int32 width, int32 height)
src/build/libbe/interface/Bitmap.cpp
702
return ImportBits(bitmap, from, to, BSize(width - 1, height - 1));
src/build/libbe/interface/Bitmap.cpp
72
bpr = 4 * width;
src/build/libbe/interface/Bitmap.cpp
77
bpr = 3 * width;
src/build/libbe/interface/Bitmap.cpp
81
bpr = 2 * width;
src/build/libbe/interface/Bitmap.cpp
84
bpr = width;
src/build/libbe/interface/Bitmap.cpp
87
bpr = (width + 7) / 8;
src/build/libbe/interface/Bitmap.cpp
90
bpr = (width + 3) / 4 * 8;
src/build/libbe/interface/Bitmap.cpp
93
bpr = (width + 3) / 4 * 6;
src/build/libbe/interface/Bitmap.cpp
96
bpr = (width + 3) / 4 * 12;
src/build/libbe/interface/Bitmap.cpp
99
bpr = (width + 3) / 4 * 6;
src/kits/game/WindowScreen.cpp
1039
fFrameBufferInfo.width = fCardInfo.width;
src/kits/game/WindowScreen.cpp
1041
fFrameBufferInfo.display_width = fCardInfo.width;
src/kits/game/WindowScreen.cpp
390
BWindowScreen::SetFrameBuffer(int32 width, int32 height)
src/kits/game/WindowScreen.cpp
397
highMode.virtual_width = (int16)width;
src/kits/game/WindowScreen.cpp
67
blit(int32 sx, int32 sy, int32 dx, int32 dy, int32 width, int32 height)
src/kits/game/WindowScreen.cpp
74
param.width = width;
src/kits/game/WindowScreen.cpp
845
fCardInfo.width = mode.virtual_width;
src/kits/game/WindowScreen.cpp
88
transparent_blit(int32 sx, int32 sy, int32 dx, int32 dy, int32 width,
src/kits/game/WindowScreen.cpp
923
int32 width, height;
src/kits/game/WindowScreen.cpp
925
if (!BPrivate::get_mode_parameter(space, width, height, colorSpace))
src/kits/game/WindowScreen.cpp
930
&& fModeList[i].virtual_width == width
src/kits/game/WindowScreen.cpp
96
param.width = width;
src/kits/interface/AboutWindow.cpp
109
float width = 0.0f;
src/kits/interface/AboutWindow.cpp
111
width += icon->Bounds().Width() + 24.0f;
src/kits/interface/AboutWindow.cpp
113
SetExplicitSize(BSize(width, B_SIZE_UNSET));
src/kits/interface/AboutWindow.cpp
114
SetExplicitPreferredSize(BSize(width, B_SIZE_UNLIMITED));
src/kits/interface/AboutWindow.cpp
151
float width = 0.0f;
src/kits/interface/AboutWindow.cpp
153
width += icon->Bounds().Width() + 24.0f;
src/kits/interface/AboutWindow.cpp
155
SetExplicitSize(BSize(width, B_SIZE_UNSET));
src/kits/interface/AboutWindow.cpp
156
SetExplicitPreferredSize(BSize(width, B_SIZE_UNLIMITED));
src/kits/interface/AboutWindow.cpp
434
BAboutWindow::AboutPosition(float width, float height)
src/kits/interface/AboutWindow.cpp
447
result.x = screenFrame.left + (screenFrame.Width() / 2.0) - (width / 2.0);
src/kits/interface/AbstractSpinner.cpp
1032
BAbstractSpinner::FrameResized(float width, float height)
src/kits/interface/AbstractSpinner.cpp
1034
BControl::FrameResized(width, height);
src/kits/interface/AbstractSpinner.cpp
1270
max.width = B_SIZE_UNLIMITED;
src/kits/interface/AbstractSpinner.cpp
1396
if (size.width < fLayoutData->min.width)
src/kits/interface/AbstractSpinner.cpp
1397
size.width = fLayoutData->min.width;
src/kits/interface/AbstractSpinner.cpp
1673
min.width += divider;
src/kits/interface/AbstractSpinner.cpp
266
LayoutData(float width, float height)
src/kits/interface/AbstractSpinner.cpp
274
previous_width(width),
src/kits/interface/Alert.cpp
110
const char *button2, const char *button3, button_width width,
src/kits/interface/Alert.cpp
116
_Init(text, button1, button2, button3, width, B_EVEN_SPACING, type);
src/kits/interface/Alert.cpp
121
const char *button2, const char *button3, button_width width,
src/kits/interface/Alert.cpp
127
_Init(text, button1, button2, button3, width, spacing, type);
src/kits/interface/Alert.cpp
246
BAlert::SetButtonWidth(button_width width)
src/kits/interface/Alert.cpp
248
fButtonWidth = width;
src/kits/interface/Alert.cpp
445
BAlert::AlertPosition(float width, float height)
src/kits/interface/Alert.cpp
458
result.x = screenFrame.left + (screenFrame.Width() / 2.0) - (width / 2.0);
src/kits/interface/Alert.cpp
612
if (button->MinSize().width < usualWidth)
src/kits/interface/Alert.cpp
620
float width;
src/kits/interface/Alert.cpp
621
button->GetPreferredSize(&width, NULL);
src/kits/interface/Alert.cpp
623
if (width > maxWidth)
src/kits/interface/Alert.cpp
624
maxWidth = width;
src/kits/interface/Alert.cpp
768
return BSize(MinSize().width, B_SIZE_UNLIMITED);
src/kits/interface/BMCPrivate.cpp
223
_BMCMenuBar_::FrameResized(float width, float height)
src/kits/interface/BMCPrivate.cpp
226
float diff = width - fPreviousWidth;
src/kits/interface/BMCPrivate.cpp
227
fPreviousWidth = width;
src/kits/interface/BMCPrivate.cpp
245
BMenuBar::FrameResized(width, height);
src/kits/interface/BMCPrivate.cpp
288
_BMCMenuBar_::SetMaxContentWidth(float width)
src/kits/interface/BMCPrivate.cpp
294
BMenuBar::SetMaxContentWidth(width - (left + right));
src/kits/interface/BMCPrivate.cpp
311
BMenuBar::GetPreferredSize(&size.width, &size.height);
src/kits/interface/BMCPrivate.cpp
314
size.width += kPopUpIndicatorWidth;
src/kits/interface/BMCPrivate.cpp
327
BMenuBar::GetPreferredSize(&size.width, &size.height);
src/kits/interface/Bitmap.cpp
104
bpr = 4 * width;
src/kits/interface/Bitmap.cpp
109
bpr = 3 * width;
src/kits/interface/Bitmap.cpp
113
bpr = 2 * width;
src/kits/interface/Bitmap.cpp
116
bpr = width;
src/kits/interface/Bitmap.cpp
119
bpr = (width + 7) / 8;
src/kits/interface/Bitmap.cpp
122
bpr = (width + 3) / 4 * 8;
src/kits/interface/Bitmap.cpp
125
bpr = (width + 3) / 4 * 6;
src/kits/interface/Bitmap.cpp
128
bpr = (width + 3) / 4 * 12;
src/kits/interface/Bitmap.cpp
131
bpr = (width + 3) / 4 * 6;
src/kits/interface/Bitmap.cpp
134
bpr = (width + 15) / 16 * 18;
src/kits/interface/Bitmap.cpp
155
get_bytes_per_row(color_space colorSpace, int32 width)
src/kits/interface/Bitmap.cpp
157
int32 bpr = get_raw_bytes_per_row(colorSpace, width);
src/kits/interface/Bitmap.cpp
662
int32 width = 0;
src/kits/interface/Bitmap.cpp
664
width = fBounds.IntegerWidth() + 1;
src/kits/interface/Bitmap.cpp
671
inBPR = width * 3;
src/kits/interface/Bitmap.cpp
675
inBPR = width;
src/kits/interface/Bitmap.cpp
720
int32 width = fBounds.IntegerWidth() + 1;
src/kits/interface/Bitmap.cpp
723
bpr = get_bytes_per_row(colorSpace, width);
src/kits/interface/Bitmap.cpp
729
fSize - offset, bpr, fBytesPerRow, colorSpace, fColorSpace, width,
src/kits/interface/Bitmap.cpp
782
color_space colorSpace, BPoint from, BPoint to, int32 width, int32 height)
src/kits/interface/Bitmap.cpp
784
return ImportBits(data, length, bpr, colorSpace, from, to, BSize(width - 1, height - 1));
src/kits/interface/Bitmap.cpp
849
BBitmap::ImportBits(const BBitmap* bitmap, BPoint from, BPoint to, int32 width, int32 height)
src/kits/interface/Bitmap.cpp
85
get_raw_bytes_per_row(color_space colorSpace, int32 width)
src/kits/interface/Bitmap.cpp
851
return ImportBits(bitmap, from, to, BSize(width - 1, height - 1));
src/kits/interface/Bitmap.cpp
91
bpr = 8 * width;
src/kits/interface/Bitmap.cpp
94
bpr = 6 * width;
src/kits/interface/Box.cpp
319
BBox::FrameResized(float width, float height)
src/kits/interface/Box.cpp
360
fBounds.right = width;
src/kits/interface/Box.cpp
418
float width, height;
src/kits/interface/Box.cpp
419
GetPreferredSize(&width, &height);
src/kits/interface/Box.cpp
422
if (width < Bounds().Width())
src/kits/interface/Box.cpp
423
width = Bounds().Width();
src/kits/interface/Box.cpp
427
BView::ResizeTo(width, height);
src/kits/interface/Box.cpp
437
*_width = fLayoutData->preferred.width;
src/kits/interface/Box.cpp
485
BBox::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/Box.cpp
519
if (size.width < fLayoutData->min.width)
src/kits/interface/Box.cpp
520
size.width = fLayoutData->min.width;
src/kits/interface/Box.cpp
782
fLayoutData->label_box.Set(10, 0, 10 + size.width, size.height);
src/kits/interface/Box.cpp
825
min.width += addWidth;
src/kits/interface/Box.cpp
827
preferred.width += addWidth;
src/kits/interface/Box.cpp
829
max.width = BLayoutUtils::AddDistances(max.width, addWidth - 1);
src/kits/interface/Box.cpp
832
if (min.width < minWidth)
src/kits/interface/Box.cpp
833
min.width = minWidth;
src/kits/interface/Button.cpp
436
*_width = fPreferredSize.width;
src/kits/interface/Button.cpp
549
BButton::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/Button.cpp
641
if (fPreferredSize.width < 0) {
src/kits/interface/Button.cpp
653
float width = left + right + labelSpacing - 1;
src/kits/interface/Button.cpp
657
width = std::max(width, ceilf(labelSpacing * 3.3f));
src/kits/interface/Button.cpp
658
width += ceilf(StringWidth(label));
src/kits/interface/Button.cpp
663
width += icon->Bounds().Width() + 1;
src/kits/interface/Button.cpp
666
width += labelSpacing;
src/kits/interface/Button.cpp
688
width = std::max(width, label != NULL ? (labelSpacing * 12.5f) : labelSpacing);
src/kits/interface/Button.cpp
691
fPreferredSize.Set(width, height);
src/kits/interface/CardLayout.cpp
143
BCardLayout::GetHeightForWidth(float width, float* min, float* max,
src/kits/interface/CardLayout.cpp
161
item->GetHeightForWidth(width, &itemMinHeight, &itemMaxHeight,
src/kits/interface/CardLayout.cpp
200
size.width = max_c(size.width, fMin.width);
src/kits/interface/CardLayout.cpp
299
fMin.width = 0;
src/kits/interface/CardLayout.cpp
301
fMax.width = B_SIZE_UNLIMITED;
src/kits/interface/CardLayout.cpp
303
fPreferred.width = 0;
src/kits/interface/CardLayout.cpp
314
fMin.width = max_c(fMin.width, min.width);
src/kits/interface/CardLayout.cpp
317
fMax.width = min_c(fMax.width, max.width);
src/kits/interface/CardLayout.cpp
320
fPreferred.width = max_c(fPreferred.width, preferred.width);
src/kits/interface/CardLayout.cpp
324
fMax.width = max_c(fMax.width, fMin.width);
src/kits/interface/CardLayout.cpp
327
fPreferred.width = max_c(fPreferred.width, fMin.width);
src/kits/interface/CardLayout.cpp
329
fPreferred.width = min_c(fPreferred.width, fMax.width);
src/kits/interface/ChannelSlider.cpp
448
BChannelSlider::GetPreferredSize(float* width, float* height)
src/kits/interface/ChannelSlider.cpp
453
*width = 11.0 * CountChannels();
src/kits/interface/ChannelSlider.cpp
454
*width = max_c(*width, ceilf(StringWidth(Label())));
src/kits/interface/ChannelSlider.cpp
455
*width = max_c(*width, ceilf(StringWidth(MinLimitLabel())));
src/kits/interface/ChannelSlider.cpp
456
*width = max_c(*width, ceilf(StringWidth(MaxLimitLabel())));
src/kits/interface/ChannelSlider.cpp
457
*width += kPadding * 2.0;
src/kits/interface/ChannelSlider.cpp
461
*width = max_c(64.0, ceilf(StringWidth(Label())));
src/kits/interface/ChannelSlider.cpp
462
*width = max_c(*width, ceilf(StringWidth(MinLimitLabel()))
src/kits/interface/ChannelSlider.cpp
464
*width += kPadding * 2.0;
src/kits/interface/CheckBox.cpp
294
*_width = fPreferredSize.width;
src/kits/interface/CheckBox.cpp
422
BCheckBox::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/CheckBox.cpp
517
float width = rect.right + rect.left;
src/kits/interface/CheckBox.cpp
522
width += be_control_look->DefaultLabelSpacing()
src/kits/interface/CheckBox.cpp
528
width += be_control_look->DefaultLabelSpacing()
src/kits/interface/CheckBox.cpp
534
fPreferredSize.Set(width, height);
src/kits/interface/ColorControl.cpp
1099
BColorControl::GetHeightForWidth(data->width, &data->min,
src/kits/interface/ColorControl.cpp
558
float width = rect.Width() + 1;
src/kits/interface/ColorControl.cpp
570
color.red = (uint8)(i * 255 / width) + compColor.red;
src/kits/interface/ColorControl.cpp
572
color.green = (uint8)(i * 255 / width) + compColor.green;
src/kits/interface/ColorControl.cpp
574
color.blue = (uint8)(i * 255 / width) + compColor.blue;
src/kits/interface/ColorConversion.cpp
1003
dstColorSpace, srcOffset, dstOffset, width, height, srcSwap,
src/kits/interface/ColorConversion.cpp
1012
dstColorSpace, srcOffset, dstOffset, width, height, srcSwap,
src/kits/interface/ColorConversion.cpp
1022
dstColorSpace, srcOffset, dstOffset, width, height, srcSwap,
src/kits/interface/ColorConversion.cpp
1032
srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
1042
dstColorSpace, srcOffset, dstOffset, width, height, srcSwap,
src/kits/interface/ColorConversion.cpp
1051
srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
1060
srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
1071
width, height, srcSwap, false, srcFunc, WriteCMAP8);
src/kits/interface/ColorConversion.cpp
1101
color_space srcColorSpace, color_space dstColorSpace, int32 width,
src/kits/interface/ColorConversion.cpp
1106
BPoint(0, 0), BPoint(0, 0), width, height);
src/kits/interface/ColorConversion.cpp
1131
BPoint dstOffset, int32 width, int32 height)
src/kits/interface/ColorConversion.cpp
1134
|| width < 0 || height < 0 || srcBytesPerRow < 0 || dstBytesPerRow < 0)
src/kits/interface/ColorConversion.cpp
1143
dstColorSpace, srcOffset, dstOffset, width, height,
src/kits/interface/ColorConversion.cpp
1151
dstOffset, width, height, srcColorSpace == B_RGB48_BIG,
src/kits/interface/ColorConversion.cpp
1158
dstOffset, width, height, false, NULL);
src/kits/interface/ColorConversion.cpp
1164
dstOffset, width, height, false, NULL);
src/kits/interface/ColorConversion.cpp
1169
32, srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
1176
dstOffset, width, height, false, NULL);
src/kits/interface/ColorConversion.cpp
1181
24, srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
1187
24, srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
1194
16, srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
1202
dstOffset, width, height, srcColorSpace == B_RGBA15_BIG, NULL);
src/kits/interface/ColorConversion.cpp
1208
16, srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
1214
8, srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
1220
1, srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
1228
dstOffset, width, height, false, ReadCMAP8);
src/kits/interface/ColorConversion.cpp
595
BPoint dstOffset, int32 width, int32 height, bool srcSwap, bool dstSwap,
src/kits/interface/ColorConversion.cpp
636
if (srcWidth < width)
src/kits/interface/ColorConversion.cpp
637
width = srcWidth;
src/kits/interface/ColorConversion.cpp
641
if (dstWidth < width)
src/kits/interface/ColorConversion.cpp
642
width = dstWidth;
src/kits/interface/ColorConversion.cpp
644
if (width < 0)
src/kits/interface/ColorConversion.cpp
647
int32 srcLinePad = (srcBitsPerRow - width * srcBitsPerPixel + 7) >> 3;
src/kits/interface/ColorConversion.cpp
648
int32 dstLinePad = (dstBitsPerRow - width * dstBitsPerPixel + 7) >> 3;
src/kits/interface/ColorConversion.cpp
661
for (int32 j = 0; j < width; j++) {
src/kits/interface/ColorConversion.cpp
718
dstOffsetX -= width;
src/kits/interface/ColorConversion.cpp
719
srcOffsetX -= width;
src/kits/interface/ColorConversion.cpp
734
BPoint dstOffset, int32 width, int32 height, bool srcSwap, bool dstSwap,
src/kits/interface/ColorConversion.cpp
775
if (srcWidth < width)
src/kits/interface/ColorConversion.cpp
776
width = srcWidth;
src/kits/interface/ColorConversion.cpp
780
if (dstWidth < width)
src/kits/interface/ColorConversion.cpp
781
width = dstWidth;
src/kits/interface/ColorConversion.cpp
783
if (width < 0)
src/kits/interface/ColorConversion.cpp
788
int32 copyCount = (width * srcBitsPerPixel) >> 3;
src/kits/interface/ColorConversion.cpp
812
int32 srcLinePad = (srcBitsPerRow - width * srcBitsPerPixel + 7) >> 3;
src/kits/interface/ColorConversion.cpp
813
int32 dstLinePad = (dstBitsPerRow - width * dstBitsPerPixel + 7) >> 3;
src/kits/interface/ColorConversion.cpp
818
for (int32 j = 0; j < width; j++) {
src/kits/interface/ColorConversion.cpp
883
dstOffsetX -= width;
src/kits/interface/ColorConversion.cpp
884
srcOffsetX -= width;
src/kits/interface/ColorConversion.cpp
897
color_space dstColorSpace, BPoint srcOffset, BPoint dstOffset, int32 width,
src/kits/interface/ColorConversion.cpp
906
32, srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
915
srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
927
srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
936
srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
955
color_space dstColorSpace, BPoint srcOffset, BPoint dstOffset, int32 width,
src/kits/interface/ColorConversion.cpp
964
32, srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
973
srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
985
srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorConversion.cpp
994
srcColorSpace, dstColorSpace, srcOffset, dstOffset, width,
src/kits/interface/ColorMenuItem.cpp
107
float width = colorRectWidth + padding;
src/kits/interface/ColorMenuItem.cpp
109
Menu()->MovePenBy(width, 0.0f);
src/kits/interface/ColumnListView.cpp
1114
float width = view->Bounds().Width();
src/kits/interface/ColumnListView.cpp
1115
if (width > bounds.Width() / 2)
src/kits/interface/ColumnListView.cpp
1116
width = bounds.Width() / 2;
src/kits/interface/ColumnListView.cpp
1121
fHorizontalScrollBar->ResizeBy(-(width + 1), 0);
src/kits/interface/ColumnListView.cpp
1122
fHorizontalScrollBar->MoveBy((width + 1), 0);
src/kits/interface/ColumnListView.cpp
1126
viewRect.right = width;
src/kits/interface/ColumnListView.cpp
1144
float width = fStatusView->Bounds().Width();
src/kits/interface/ColumnListView.cpp
1147
fHorizontalScrollBar->MoveBy(-width, 0);
src/kits/interface/ColumnListView.cpp
1148
fHorizontalScrollBar->ResizeBy(width, 0);
src/kits/interface/ColumnListView.cpp
1281
float width = fOutlineView->GetColumnPreferredWidth(column);
src/kits/interface/ColumnListView.cpp
1285
column->SetWidth(width);
src/kits/interface/ColumnListView.cpp
157
void UpdateMaxWidth(float width);
src/kits/interface/ColumnListView.cpp
1710
BColumnListView::SetLatchWidth(float width)
src/kits/interface/ColumnListView.cpp
1712
fLatchWidth = width;
src/kits/interface/ColumnListView.cpp
197
virtual void FrameResized(float width, float height);
src/kits/interface/ColumnListView.cpp
2062
float width;
src/kits/interface/ColumnListView.cpp
2063
if (message->FindFloat("width", i, &width) == B_OK)
src/kits/interface/ColumnListView.cpp
2064
column->SetWidth(width);
src/kits/interface/ColumnListView.cpp
2114
size.width = 100;
src/kits/interface/ColumnListView.cpp
2142
size.width = titleRect.left - Bounds().left;
src/kits/interface/ColumnListView.cpp
2143
size.width += Bounds().right - titleRect.right;
src/kits/interface/ColumnListView.cpp
2148
size.width += fTitleView->MarginWidth();
src/kits/interface/ColumnListView.cpp
2152
size.width += column->Width();
src/kits/interface/ColumnListView.cpp
2203
if (size.width > Bounds().Width() / 2)
src/kits/interface/ColumnListView.cpp
2204
size.width = floorf(Bounds().Width() / 2);
src/kits/interface/ColumnListView.cpp
2216
fStatusView->ResizeTo(size.width, size.height);
src/kits/interface/ColumnListView.cpp
2217
hScrollBarRect.left = offset.x + size.width + 1;
src/kits/interface/ColumnListView.cpp
2611
float width = fOutlineView->GetColumnPreferredWidth(fSelectedColumn);
src/kits/interface/ColumnListView.cpp
2612
fSelectedColumn->SetWidth(width);
src/kits/interface/ColumnListView.cpp
2810
float width = MarginWidth();
src/kits/interface/ColumnListView.cpp
2816
width += column->Width();
src/kits/interface/ColumnListView.cpp
2819
return width;
src/kits/interface/ColumnListView.cpp
311
virtual void FrameResized(float width, float height);
src/kits/interface/ColumnListView.cpp
3226
TitleView::FrameResized(float width, float height)
src/kits/interface/ColumnListView.cpp
3228
fVisibleRect.right = fVisibleRect.left + width;
src/kits/interface/ColumnListView.cpp
440
ColumnResizeBufferView::UpdateMaxWidth(float width)
src/kits/interface/ColumnListView.cpp
446
if (width > bounds.Width()) {
src/kits/interface/ColumnListView.cpp
448
ResizeTo(width, bounds.Height());
src/kits/interface/ColumnListView.cpp
4982
OutlineView::FrameResized(float width, float height)
src/kits/interface/ColumnListView.cpp
4984
fVisibleRect.right = fVisibleRect.left + width;
src/kits/interface/ColumnListView.cpp
4987
_inherited::FrameResized(width, height);
src/kits/interface/ColumnListView.cpp
5392
float width = column->GetPreferredWidth(field, this)
src/kits/interface/ColumnListView.cpp
5394
preferred = max_c(preferred, width);
src/kits/interface/ColumnListView.cpp
710
BColumn::BColumn(float width, float minWidth, float maxWidth, alignment align)
src/kits/interface/ColumnListView.cpp
712
fWidth(width),
src/kits/interface/ColumnListView.cpp
736
BColumn::SetWidth(float width)
src/kits/interface/ColumnListView.cpp
738
fWidth = width;
src/kits/interface/ColumnTypes.cpp
157
BStringField::SetWidth(float width)
src/kits/interface/ColumnTypes.cpp
159
fWidth = width;
src/kits/interface/ColumnTypes.cpp
194
BStringColumn::BStringColumn(const char* title, float width, float minWidth,
src/kits/interface/ColumnTypes.cpp
197
BTitledColumn(title, width, minWidth, maxWidth, align),
src/kits/interface/ColumnTypes.cpp
206
float width = rect.Width() - (2 * kTEXT_MARGIN);
src/kits/interface/ColumnTypes.cpp
209
bool updateNeeded = width != fieldWidth;
src/kits/interface/ColumnTypes.cpp
214
if (width < preferredWidth) {
src/kits/interface/ColumnTypes.cpp
215
parent->TruncateString(&out_string, fTruncate, width + 2);
src/kits/interface/ColumnTypes.cpp
219
field->SetWidth(width);
src/kits/interface/ColumnTypes.cpp
267
BDateField::SetWidth(float width)
src/kits/interface/ColumnTypes.cpp
269
fWidth = width;
src/kits/interface/ColumnTypes.cpp
311
BDateColumn::BDateColumn(const char* title, float width, float minWidth,
src/kits/interface/ColumnTypes.cpp
314
BTitledColumn(title, width, minWidth, maxWidth, align),
src/kits/interface/ColumnTypes.cpp
323
float width = rect.Width() - (2 * kTEXT_MARGIN);
src/kits/interface/ColumnTypes.cpp
34
BTitledColumn::BTitledColumn(const char* title, float width, float minWidth,
src/kits/interface/ColumnTypes.cpp
350
if (output >= 0 && font.StringWidth(dateString) <= width)
src/kits/interface/ColumnTypes.cpp
357
if (font.StringWidth(dateString) > width) {
src/kits/interface/ColumnTypes.cpp
360
parent->TruncateString(&out_string, B_TRUNCATE_MIDDLE, width + 2);
src/kits/interface/ColumnTypes.cpp
364
field->SetWidth(width);
src/kits/interface/ColumnTypes.cpp
37
BColumn(width, minWidth, maxWidth, align),
src/kits/interface/ColumnTypes.cpp
405
BSizeColumn::BSizeColumn(const char* title, float width, float minWidth,
src/kits/interface/ColumnTypes.cpp
408
BTitledColumn(title, width, minWidth, maxWidth, align)
src/kits/interface/ColumnTypes.cpp
424
float width = rect.Width() - (2 * kTEXT_MARGIN);
src/kits/interface/ColumnTypes.cpp
454
if (font.StringWidth(string) > width) {
src/kits/interface/ColumnTypes.cpp
466
if (font.StringWidth(string) <= width)
src/kits/interface/ColumnTypes.cpp
473
parent->TruncateString(&string, B_TRUNCATE_MIDDLE, width + 2);
src/kits/interface/ColumnTypes.cpp
50
float width = rect.Width() - (2 * kTEXT_MARGIN);
src/kits/interface/ColumnTypes.cpp
519
BIntegerColumn::BIntegerColumn(const char* title, float width, float minWidth,
src/kits/interface/ColumnTypes.cpp
522
BTitledColumn(title, width, minWidth, maxWidth, align)
src/kits/interface/ColumnTypes.cpp
53
parent->TruncateString(&out_string, B_TRUNCATE_END, width + 2);
src/kits/interface/ColumnTypes.cpp
533
float width = rect.Width() - (2 * kTEXT_MARGIN);
src/kits/interface/ColumnTypes.cpp
534
parent->TruncateString(&string, B_TRUNCATE_MIDDLE, width + 2);
src/kits/interface/ColumnTypes.cpp
549
GraphColumn::GraphColumn(const char* name, float width, float minWidth,
src/kits/interface/ColumnTypes.cpp
552
BIntegerColumn(name, width, minWidth, maxWidth, align)
src/kits/interface/ColumnTypes.cpp
585
float width = be_plain_font->StringWidth(percentString);
src/kits/interface/ColumnTypes.cpp
587
parent->MovePenTo(rect.left + rect.Width() / 2 - width / 2, rect.bottom - FontHeight());
src/kits/interface/ColumnTypes.cpp
619
BBitmapColumn::BBitmapColumn(const char* title, float width, float minWidth,
src/kits/interface/ColumnTypes.cpp
622
BTitledColumn(title, width, minWidth, maxWidth, align)
src/kits/interface/ColumnTypes.cpp
68
float width = rect.Width() - (2 * kTEXT_MARGIN);
src/kits/interface/ColumnTypes.cpp
86
+ ((width - font.StringWidth(string)) / 2), y);
src/kits/interface/Control.cpp
484
BControl::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/Dragger.cpp
481
BDragger::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/Font.cpp
1015
float width;
src/kits/interface/Font.cpp
1016
GetStringWidths(&string, &length, 1, &width);
src/kits/interface/Font.cpp
1018
return width;
src/kits/interface/Font.cpp
1028
float width = 0.0f;
src/kits/interface/Font.cpp
1029
GetStringWidths(&string, &length, 1, &width);
src/kits/interface/Font.cpp
1031
return width;
src/kits/interface/Font.cpp
663
BFont::SetFalseBoldWidth(float width)
src/kits/interface/Font.cpp
665
fFalseBoldWidth = width;
src/kits/interface/Font.cpp
952
BFont::TruncateString(BString* inOut, uint32 mode, float width) const
src/kits/interface/Font.cpp
961
GetTruncatedStrings(&string, 1, mode, width, inOut);
src/kits/interface/Font.cpp
967
uint32 mode, float width, BString resultArray[]) const
src/kits/interface/Font.cpp
981
truncate_string(resultArray[i], mode, width, escapementArray,
src/kits/interface/Font.cpp
992
uint32 mode, float width, char* resultArray[]) const
src/kits/interface/Font.cpp
997
GetTruncatedStrings(stringArray, numStrings, mode, width, strings);
src/kits/interface/GridLayout.cpp
318
BGridLayout::SetMinColumnWidth(int32 column, float width)
src/kits/interface/GridLayout.cpp
320
fColumnInfos->SetMinSize(column, width);
src/kits/interface/GridLayout.cpp
332
BGridLayout::SetMaxColumnWidth(int32 column, float width)
src/kits/interface/GridLayout.cpp
334
fColumnInfos->SetMaxSize(column, width);
src/kits/interface/GridLayout.cpp
460
data->dimensions.width = columnCount;
src/kits/interface/GridLayout.cpp
537
result = into->AddInt32(kItemDimensionsField, data->dimensions.width);
src/kits/interface/GridLayout.cpp
54
dimensions.width = 1;
src/kits/interface/GridLayout.cpp
560
result = from->FindInt32(kItemDimensionsField, ++index, &dimensions.width);
src/kits/interface/GridLayout.cpp
571
dimensions.width, dimensions.height))
src/kits/interface/GridLayout.cpp
577
if (dimensions.width > 1)
src/kits/interface/GridLayout.cpp
603
if (itemDimensions.width > 1)
src/kits/interface/GridLayout.cpp
610
for (int x = 0; x < itemDimensions.width; x++) {
src/kits/interface/GridLayout.cpp
616
if (itemDimensions.x + itemDimensions.width == fColumnCount
src/kits/interface/GridLayout.cpp
738
int32 columnCount = data->dimensions.width;
src/kits/interface/GroupLayout.cpp
319
dimensions->width = 1;
src/kits/interface/GroupLayout.cpp
324
dimensions->width = 1;
src/kits/interface/HaikuControlLook.cpp
2346
float width = 0;
src/kits/interface/HaikuControlLook.cpp
2351
width = icon->Bounds().Width() + DefaultLabelSpacing() + 1;
src/kits/interface/HaikuControlLook.cpp
2353
textOffset = width;
src/kits/interface/HaikuControlLook.cpp
2364
width += ceilf(font.StringWidth(truncatedLabel.String()));
src/kits/interface/HaikuControlLook.cpp
2373
BSize(width - 1, height - 1), alignment));
src/kits/interface/Icon.cpp
292
uint32 width = bitmap->Bounds().IntegerWidth() + 1;
src/kits/interface/Icon.cpp
299
for (uint32 x = 0; x < width; x++) {
src/kits/interface/InterfaceDefs.cpp
1816
truncate_string(BString& string, uint32 mode, float width,
src/kits/interface/InterfaceDefs.cpp
1822
width += 1.f / 128;
src/kits/interface/InterfaceDefs.cpp
1830
if (totalWidth + charWidth > width) {
src/kits/interface/InterfaceDefs.cpp
1832
while (totalWidth + ellipsisWidth > width) {
src/kits/interface/InterfaceDefs.cpp
1861
if (totalWidth + charWidth > width) {
src/kits/interface/InterfaceDefs.cpp
1863
while (totalWidth + ellipsisWidth > width) {
src/kits/interface/InterfaceDefs.cpp
1900
if (leftWidth + rightWidth + charWidth > width) {
src/kits/interface/InterfaceDefs.cpp
1902
while (leftWidth + rightWidth + ellipsisWidth > width) {
src/kits/interface/InterfaceDefs.cpp
221
get_mode_parameter(uint32 mode, int32& width, int32& height,
src/kits/interface/InterfaceDefs.cpp
270
width = 640; height = 480;
src/kits/interface/InterfaceDefs.cpp
277
width = 800; height = 600;
src/kits/interface/InterfaceDefs.cpp
284
width = 1024; height = 768;
src/kits/interface/InterfaceDefs.cpp
291
width = 1152; height = 900;
src/kits/interface/InterfaceDefs.cpp
298
width = 1280; height = 1024;
src/kits/interface/InterfaceDefs.cpp
305
width = 1600; height = 1200;
src/kits/interface/InterfaceDefs.cpp
462
int32 width;
src/kits/interface/InterfaceDefs.cpp
465
if (!BPrivate::get_mode_parameter(space, width, height, depth))
src/kits/interface/InterfaceDefs.cpp
478
mode.virtual_width = width;
src/kits/interface/LayoutItem.cpp
134
if (maxSize.width < frame.Width()
src/kits/interface/LayoutItem.cpp
136
frame.left += (int)((frame.Width() - maxSize.width)
src/kits/interface/LayoutItem.cpp
138
frame.right = frame.left + maxSize.width;
src/kits/interface/LayoutItem.cpp
77
BLayoutItem::GetHeightForWidth(float width, float* min, float* max,
src/kits/interface/LayoutUtils.cpp
127
FixSizeConstraints(min.width, max.width, preferred.width);
src/kits/interface/LayoutUtils.cpp
137
size.width = layoutSize.width;
src/kits/interface/LayoutUtils.cpp
165
if (maxSize.width < frame.Width()
src/kits/interface/LayoutUtils.cpp
167
frame.left += (int)((frame.Width() - maxSize.width)
src/kits/interface/LayoutUtils.cpp
169
frame.right = frame.left + maxSize.width;
src/kits/interface/LayoutUtils.cpp
191
if (maxSize.width < frame.Width()
src/kits/interface/LayoutUtils.cpp
193
frame.OffsetBy(floorf((frame.Width() - maxSize.width)
src/kits/interface/LayoutUtils.cpp
195
frame.right = frame.left + maxSize.width;
src/kits/interface/LayoutUtils.cpp
218
rect.left += (int)((rect.Width() - size.width)
src/kits/interface/LayoutUtils.cpp
222
rect.right = rect.left + size.width;
src/kits/interface/LayoutUtils.cpp
246
if (rect.right > frameSize.width)
src/kits/interface/LayoutUtils.cpp
247
leftTop.x -= rect.right - frameSize.width;
src/kits/interface/LayoutUtils.cpp
302
indent.String(), min.width, min.height,
src/kits/interface/LayoutUtils.cpp
303
indent.String(), max.width, max.height,
src/kits/interface/LayoutUtils.cpp
304
indent.String(), preferred.width, preferred.height);
src/kits/interface/LayoutUtils.cpp
354
indent.String(), min.width, min.height,
src/kits/interface/LayoutUtils.cpp
355
indent.String(), max.width, max.height,
src/kits/interface/LayoutUtils.cpp
356
indent.String(), preferred.width, preferred.height);
src/kits/interface/ListItem.cpp
141
BListItem::SetWidth(float width)
src/kits/interface/ListItem.cpp
143
fWidth = width;
src/kits/interface/ListView.cpp
1536
BListView::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/Menu.cpp
1106
BMenu::SetMaxContentWidth(float width)
src/kits/interface/Menu.cpp
1108
fMaxContentWidth = width;
src/kits/interface/Menu.cpp
1281
BMenu::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/Menu.cpp
1637
float width, height;
src/kits/interface/Menu.cpp
1638
ItemAt(0)->GetContentSize(&width, &height);
src/kits/interface/Menu.cpp
2520
float width;
src/kits/interface/Menu.cpp
2522
_ComputeLayout(index, fResizeToFit, true, &width, &height);
src/kits/interface/Menu.cpp
2525
ResizeTo(width, height);
src/kits/interface/Menu.cpp
2589
size.width = Bounds().Width() - fPad.right;
src/kits/interface/Menu.cpp
2591
size.width = Parent()->Frame().Width();
src/kits/interface/Menu.cpp
2593
size.width = Window()->Frame().Width();
src/kits/interface/Menu.cpp
2595
size.width = Bounds().Width();
src/kits/interface/Menu.cpp
2597
size.width = frame.Width();
src/kits/interface/Menu.cpp
2602
*_width = size.width;
src/kits/interface/Menu.cpp
2640
float width;
src/kits/interface/Menu.cpp
2642
item->GetContentSize(&width, &height);
src/kits/interface/Menu.cpp
2645
width += font.Size();
src/kits/interface/Menu.cpp
2667
frame.right = std::max(frame.right, width + fPad.left + fPad.right);
src/kits/interface/Menu.cpp
2721
float width, height;
src/kits/interface/Menu.cpp
2722
item->GetContentSize(&width, &height);
src/kits/interface/Menu.cpp
2726
item->fBounds.right = item->fBounds.left + width + fPad.left
src/kits/interface/Menu.cpp
279
BMenu::BMenu(const char* name, float width, float height)
src/kits/interface/Menu.cpp
680
*_width = fLayoutData->preferred.width;
src/kits/interface/Menu.cpp
717
BMenu::FrameResized(float width, float height)
src/kits/interface/Menu.cpp
719
BView::FrameResized(width, height);
src/kits/interface/MenuBar.cpp
197
BMenuBar::GetPreferredSize(float* width, float* height)
src/kits/interface/MenuBar.cpp
199
BMenu::GetPreferredSize(width, height);
src/kits/interface/MenuBar.cpp
422
BMenuBar::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/MenuField.cpp
1364
TRACE("menu bar min width: %.2f\n", fLayoutData->menu_bar_min.width);
src/kits/interface/MenuField.cpp
1368
min.width += 2 * kVMargin;
src/kits/interface/MenuField.cpp
1372
min.width += divider;
src/kits/interface/MenuField.cpp
1382
TRACE("width: %.2f, height: %.2f\n", min.width, min.height);
src/kits/interface/MenuField.cpp
1609
size.width += 2 * kVMargin;
src/kits/interface/MenuField.cpp
1620
size.width = B_SIZE_UNLIMITED;
src/kits/interface/MenuField.cpp
447
float width = Bounds().Width();
src/kits/interface/MenuField.cpp
454
width = item->Frame().Width() + kVMargin + _MenuBarOffset() + right;
src/kits/interface/MenuField.cpp
458
ResizeTo(width, fMenuBar->Bounds().Height() + kVMargin * 2);
src/kits/interface/MenuField.cpp
789
*_width = fLayoutData->min.width;
src/kits/interface/MenuField.cpp
814
max.width = B_SIZE_UNLIMITED;
src/kits/interface/MenuField.cpp
887
BMenuField::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/MenuField.cpp
963
if (size.width < fLayoutData->min.width)
src/kits/interface/MenuField.cpp
964
size.width = fLayoutData->min.width;
src/kits/interface/MenuField.cpp
985
BRect menuBarFrame(divider + kVMargin, kVMargin, size.width - kVMargin,
src/kits/interface/OptionPopUp.cpp
285
float width, height;
src/kits/interface/OptionPopUp.cpp
286
fMenuField->GetPreferredSize(&width, &height);
src/kits/interface/OptionPopUp.cpp
297
width += fMenuField->StringWidth(BControl::Label())
src/kits/interface/OptionPopUp.cpp
299
*_width = width;
src/kits/interface/OptionPopUp.cpp
309
float width, height;
src/kits/interface/OptionPopUp.cpp
310
GetPreferredSize(&width, &height);
src/kits/interface/OptionPopUp.cpp
311
ResizeTo(width, height);
src/kits/interface/OutlineListView.cpp
558
BOutlineListView::GetHeightForWidth(data->width, &data->min,
src/kits/interface/PictureButton.cpp
442
BPictureButton::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/PictureDataWriter.cpp
699
const int32& width, const int32& height, const int32& bytesPerRow,
src/kits/interface/PictureDataWriter.cpp
709
Write<int32>(width);
src/kits/interface/PicturePlayer.cpp
1198
const uint32* width;
src/kits/interface/PicturePlayer.cpp
1206
|| !reader.Get(destinationRect) || !reader.Get(width)
src/kits/interface/PicturePlayer.cpp
1214
*width, *height, *bytesPerRow, (color_space)*colorSpace,
src/kits/interface/PicturePlayer.cpp
238
CallbackAdapterPlayer::DrawPixels(const BRect& src, const BRect& dest, uint32 width,
src/kits/interface/PicturePlayer.cpp
248
fCallbacks->draw_pixels(fUserData, src, dest, width,
src/kits/interface/PicturePlayer.cpp
52
virtual void DrawPixels(const BRect& source, const BRect& destination, uint32 width,
src/kits/interface/PopUpMenu.cpp
208
BPopUpMenu::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/RadioButton.cpp
249
float width = rect.right + rect.left;
src/kits/interface/RadioButton.cpp
254
width += be_control_look->DefaultLabelSpacing()
src/kits/interface/RadioButton.cpp
260
width += be_control_look->DefaultLabelSpacing()
src/kits/interface/RadioButton.cpp
267
*_width = width;
src/kits/interface/RadioButton.cpp
430
BRadioButton::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/RadioButton.cpp
470
float width, height;
src/kits/interface/RadioButton.cpp
471
GetPreferredSize(&width, &height);
src/kits/interface/RadioButton.cpp
474
BSize(width, height));
src/kits/interface/ScrollBar.cpp
1039
GetPreferredSize(&maxSize.width, &maxSize.height);
src/kits/interface/ScrollBar.cpp
1041
maxSize.width = B_SIZE_UNLIMITED;
src/kits/interface/ScrollBar.cpp
1052
GetPreferredSize(&preferredSize.width, &preferredSize.height);
src/kits/interface/ScrollBar.cpp
1110
BScrollBar::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/ScrollBar.cpp
1499
minSize.width = 2 * B_V_SCROLL_BAR_WIDTH
src/kits/interface/ScrollBar.cpp
1503
minSize.width = B_V_SCROLL_BAR_WIDTH;
src/kits/interface/ScrollView.cpp
400
*_width = size.width;
src/kits/interface/ScrollView.cpp
690
BScrollView::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/ScrollView.cpp
853
BRect(0, 0, targetSize.width, targetSize.height));
src/kits/interface/SeparatorView.cpp
268
float width = 0.0f;
src/kits/interface/SeparatorView.cpp
272
fLabelView->GetPreferredSize(&width, &height);
src/kits/interface/SeparatorView.cpp
274
width = StringWidth(fLabel.String());
src/kits/interface/SeparatorView.cpp
281
height = width;
src/kits/interface/SeparatorView.cpp
282
width = temp;
src/kits/interface/SeparatorView.cpp
290
width += kMinBorderLength * 2.0f;
src/kits/interface/SeparatorView.cpp
294
width = max_c(width, borderSize - 1.0f);
src/kits/interface/SeparatorView.cpp
298
*_width = width;
src/kits/interface/SeparatorView.cpp
309
GetPreferredSize(&size.width, &size.height);
src/kits/interface/SeparatorView.cpp
319
size.width = B_SIZE_UNLIMITED;
src/kits/interface/SeparatorView.cpp
331
GetPreferredSize(&size.width, &size.height);
src/kits/interface/Slider.cpp
1052
float width = ceilf(std::max(newWidth, oldWidth)) + 2.0f;
src/kits/interface/Slider.cpp
1053
if (width != 0) {
src/kits/interface/Slider.cpp
1061
invalid = BRect(invalid.right - width, 0, invalid.right, height);
src/kits/interface/Slider.cpp
1064
invalid.left = (invalid.left + invalid.right - width) / 2;
src/kits/interface/Slider.cpp
1065
invalid.right = invalid.left + width;
src/kits/interface/Slider.cpp
1221
*_width = std::max(Bounds().Width(), preferredSize.width);
src/kits/interface/Slider.cpp
1228
*_width = preferredSize.width;
src/kits/interface/Slider.cpp
1508
float width = StringWidth(UpdateText());
src/kits/interface/Slider.cpp
1514
return width;
src/kits/interface/Slider.cpp
1533
maxSize.width = B_SIZE_UNLIMITED;
src/kits/interface/Slider.cpp
1546
preferredSize.width = std::max(100.0f, preferredSize.width);
src/kits/interface/Slider.cpp
1649
if (fMinSize.width >= 0) {
src/kits/interface/Slider.cpp
1657
float width = 0.0f;
src/kits/interface/Slider.cpp
1684
width = StringWidth(MinLimitLabel());
src/kits/interface/Slider.cpp
1689
width += labelSpacing;
src/kits/interface/Slider.cpp
1691
width += StringWidth(MaxLimitLabel());
src/kits/interface/Slider.cpp
1694
if (labelWidth > width)
src/kits/interface/Slider.cpp
1695
width = labelWidth;
src/kits/interface/Slider.cpp
1697
if (width < 32.0f)
src/kits/interface/Slider.cpp
1698
width = 32.0f;
src/kits/interface/Slider.cpp
1707
width = 12.0f + fBarThickness;
src/kits/interface/Slider.cpp
1733
width = std::max(labelWidth, width);
src/kits/interface/Slider.cpp
1736
fMinSize.width = width;
src/kits/interface/Slider.cpp
337
BSlider::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/SpaceLayoutItem.cpp
130
fMinSize.width = size.width;
src/kits/interface/SpaceLayoutItem.cpp
142
fMaxSize.width = size.width;
src/kits/interface/SpaceLayoutItem.cpp
154
fPreferredSize.width = size.width;
src/kits/interface/SpaceLayoutItem.cpp
25
size.width = BControlLook::ComposeSpacing(size.width);
src/kits/interface/SpaceLayoutItem.cpp
77
BSpaceLayoutItem::CreateHorizontalStrut(float width)
src/kits/interface/SpaceLayoutItem.cpp
80
BSize(width, -1),
src/kits/interface/SpaceLayoutItem.cpp
81
BSize(width, B_SIZE_UNLIMITED),
src/kits/interface/SpaceLayoutItem.cpp
82
BSize(width, -1),
src/kits/interface/SplitLayout.cpp
1292
fHorizontalLayouter->AddConstraints(i, 1, min.width, max.width,
src/kits/interface/SplitLayout.cpp
1293
preferred.width);
src/kits/interface/SplitLayout.cpp
1303
fMin.width = fHorizontalLayouter->MinSize();
src/kits/interface/SplitLayout.cpp
1305
fMax.width = fHorizontalLayouter->MaxSize();
src/kits/interface/SplitLayout.cpp
1307
fPreferred.width = fHorizontalLayouter->PreferredSize();
src/kits/interface/SplitLayout.cpp
1319
BSplitLayout::_InternalGetHeightForWidth(float width, bool realLayout,
src/kits/interface/SplitLayout.cpp
1322
if ((realLayout && fHeightForWidthVerticalLayouterWidth != width)
src/kits/interface/SplitLayout.cpp
1323
|| (!realLayout && fCachedHeightForWidthWidth != width)) {
src/kits/interface/SplitLayout.cpp
1341
fHeightForWidthVerticalLayouterWidth = width;
src/kits/interface/SplitLayout.cpp
1354
fHorizontalLayouter->Layout(horizontalLayoutInfo, width);
src/kits/interface/SplitLayout.cpp
1372
fCachedHeightForWidthWidth = width;
src/kits/interface/SplitLayout.cpp
1404
size.width = BLayoutUtils::AddDistances(size.width,
src/kits/interface/SplitLayout.cpp
1411
size.width = BLayoutUtils::AddDistances(size.width, spacing - 1);
src/kits/interface/SplitLayout.cpp
1438
size.width = BLayoutUtils::SubtractDistances(size.width,
src/kits/interface/SplitLayout.cpp
1445
size.width = BLayoutUtils::SubtractDistances(size.width, spacing - 1);
src/kits/interface/SplitLayout.cpp
554
BSplitLayout::GetHeightForWidth(float width, float* min, float* max,
src/kits/interface/SplitLayout.cpp
560
float innerWidth = _SubtractInsets(BSize(width, 0)).width;
src/kits/interface/SplitLayout.cpp
592
fHorizontalLayouter->Layout(fHorizontalLayoutInfo, size.width);
src/kits/interface/SplitLayout.cpp
597
_InternalGetHeightForWidth(size.width, true, &minHeight, &maxHeight,
src/kits/interface/SplitLayout.cpp
617
splitterWidth = size.width + 1;
src/kits/interface/SplitLayout.cpp
647
float width = fHorizontalLayoutInfo->ElementSize(visibleIndex);
src/kits/interface/SplitLayout.cpp
651
_LayoutItem(item, BRect(xOffset, yOffset, xOffset + width,
src/kits/interface/SplitLayout.cpp
655
xOffset += width + xSpacing + 1;
src/kits/interface/SplitLayout.cpp
691
if ((fOrientation == B_HORIZONTAL && size.width >= fMax.width)
src/kits/interface/SplitLayout.cpp
897
range.previousMin = (int32)previousInfo->min.width + 1;
src/kits/interface/SplitLayout.cpp
898
range.previousMax = (int32)previousInfo->max.width + 1;
src/kits/interface/SplitLayout.cpp
900
range.nextMin = (int32)nextInfo->min.width + 1;
src/kits/interface/SplitLayout.cpp
901
range.nextMax = (int32)nextInfo->max.width + 1;
src/kits/interface/SplitLayout.cpp
952
item->GetHeightForWidth(size.width, &minHeight, &maxHeight, NULL);
src/kits/interface/SplitLayout.h
138
void _InternalGetHeightForWidth(float width,
src/kits/interface/SplitLayout.h
79
virtual void GetHeightForWidth(float width, float* min,
src/kits/interface/StatusBar.cpp
140
float width, height;
src/kits/interface/StatusBar.cpp
141
GetPreferredSize(&width, &height);
src/kits/interface/StatusBar.cpp
224
float width, height;
src/kits/interface/StatusBar.cpp
225
GetPreferredSize(&width, &height);
src/kits/interface/StatusBar.cpp
227
return BLayoutUtils::ComposeSize(ExplicitMinSize(), BSize(width, height));
src/kits/interface/StatusBar.cpp
234
float width, height;
src/kits/interface/StatusBar.cpp
235
GetPreferredSize(&width, &height);
src/kits/interface/StatusBar.cpp
245
float width, height;
src/kits/interface/StatusBar.cpp
246
GetPreferredSize(&width, &height);
src/kits/interface/StatusBar.cpp
249
BSize(width, height));
src/kits/interface/StatusBar.cpp
319
float width = max_c(0.0, fTextDivider - rect.left);
src/kits/interface/StatusBar.cpp
320
font.TruncateString(&leftText, B_TRUNCATE_END, width);
src/kits/interface/StatusBar.cpp
451
float width, height;
src/kits/interface/StatusBar.cpp
452
GetPreferredSize(&width, &height);
src/kits/interface/StatusBar.cpp
664
BStatusBar::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/StringView.cpp
193
*_width = fPreferredSize.width;
src/kits/interface/StringView.cpp
227
float width, height;
src/kits/interface/StringView.cpp
228
GetPreferredSize(&width, &height);
src/kits/interface/StringView.cpp
231
if (Bounds().Width() > width && Alignment() != B_ALIGN_LEFT)
src/kits/interface/StringView.cpp
232
width = Bounds().Width();
src/kits/interface/StringView.cpp
234
BView::ResizeTo(width, height);
src/kits/interface/StringView.cpp
281
float width = StringWidth(text);
src/kits/interface/StringView.cpp
283
if (fTruncation != B_NO_TRUNCATION && width > bounds.Width()) {
src/kits/interface/StringView.cpp
289
width = StringWidth(text);
src/kits/interface/StringView.cpp
298
x = bounds.Width() - width;
src/kits/interface/StringView.cpp
302
x = (bounds.Width() - width) / 2.0;
src/kits/interface/StringView.cpp
401
if (fPreferredSize.width != newStringWidth) {
src/kits/interface/StringView.cpp
402
fPreferredSize.width = newStringWidth;
src/kits/interface/StringView.cpp
485
fPreferredSize.width = _StringWidth(fText);
src/kits/interface/StringView.cpp
536
BStringView::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/StringView.cpp
621
float width = StringWidth(lines.StringAt(i));
src/kits/interface/StringView.cpp
622
if (maxWidth < width)
src/kits/interface/StringView.cpp
623
maxWidth = width;
src/kits/interface/TabView.cpp
1023
float width = padding * 5.0f;
src/kits/interface/TabView.cpp
1054
width = 0.0;
src/kits/interface/TabView.cpp
1057
if (tabWidth > width)
src/kits/interface/TabView.cpp
1058
width = tabWidth;
src/kits/interface/TabView.cpp
1066
return BRect(offset + index * width, 0.0f,
src/kits/interface/TabView.cpp
1067
offset + index * width + width, height);
src/kits/interface/TabView.cpp
1069
return BRect(offset + index * width, bounds.bottom - height,
src/kits/interface/TabView.cpp
1070
offset + index * width + width, bounds.bottom);
src/kits/interface/TabView.cpp
1072
return BRect(0.0f, offset + index * width, height,
src/kits/interface/TabView.cpp
1073
offset + index * width + width);
src/kits/interface/TabView.cpp
1075
return BRect(bounds.right - height, offset + index * width,
src/kits/interface/TabView.cpp
1076
bounds.right, offset + index * width + width);
src/kits/interface/TabView.cpp
1124
containerSize.width += 2 * _BorderWidth();
src/kits/interface/TabView.cpp
1126
if (containerSize.width > size.width)
src/kits/interface/TabView.cpp
1127
size.width = containerSize.width;
src/kits/interface/TabView.cpp
1143
containerSize.width += 2 * _BorderWidth();
src/kits/interface/TabView.cpp
1145
if (containerSize.width > size.width)
src/kits/interface/TabView.cpp
1146
size.width = containerSize.width;
src/kits/interface/TabView.cpp
1162
containerSize.width += 2 * _BorderWidth();
src/kits/interface/TabView.cpp
1164
if (containerSize.width > size.width)
src/kits/interface/TabView.cpp
1165
size.width = containerSize.width;
src/kits/interface/TabView.cpp
1278
BTabView::SetTabWidth(button_width width)
src/kits/interface/TabView.cpp
1280
fTabWidthSetting = width;
src/kits/interface/TabView.cpp
1391
BTabView::_InitObject(bool layouted, button_width width)
src/kits/interface/TabView.cpp
1395
fTabWidthSetting = width;
src/kits/interface/TabView.cpp
1455
size.width += frame.Width();
src/kits/interface/TabView.cpp
263
float width = owner->StringWidth(Label());
src/kits/interface/TabView.cpp
270
owner->StrokeLine(BPoint((frame.left + frame.right - width) / 2.0,
src/kits/interface/TabView.cpp
272
BPoint((frame.left + frame.right + width) / 2.0,
src/kits/interface/TabView.cpp
276
owner->StrokeLine(BPoint((frame.left + frame.right - width) / 2.0,
src/kits/interface/TabView.cpp
278
BPoint((frame.left + frame.right + width) / 2.0,
src/kits/interface/TabView.cpp
283
(frame.top + frame.bottom - width) / 2.0),
src/kits/interface/TabView.cpp
285
(frame.top + frame.bottom + width) / 2.0));
src/kits/interface/TabView.cpp
289
(frame.top + frame.bottom - width) / 2.0),
src/kits/interface/TabView.cpp
291
(frame.top + frame.bottom + width) / 2.0));
src/kits/interface/TabView.cpp
428
BTabView::BTabView(const char* name, button_width width, uint32 flags)
src/kits/interface/TabView.cpp
432
_InitObject(true, width);
src/kits/interface/TabView.cpp
436
BTabView::BTabView(BRect frame, const char* name, button_width width,
src/kits/interface/TabView.cpp
441
_InitObject(false, width);
src/kits/interface/TabView.cpp
463
int16 width;
src/kits/interface/TabView.cpp
464
if (archive->FindInt16("_but_width", &width) == B_OK)
src/kits/interface/TabView.cpp
465
fTabWidthSetting = (button_width)width;
src/kits/interface/TextControl.cpp
1265
TRACE("text view min width: %.2f\n", fLayoutData->text_view_min.width);
src/kits/interface/TextControl.cpp
1269
min.width += 2 * kFrameMargin;
src/kits/interface/TextControl.cpp
1273
min.width += divider;
src/kits/interface/TextControl.cpp
1283
TRACE("width: %.2f, height: %.2f\n", min.width, min.height);
src/kits/interface/TextControl.cpp
130
LayoutData(float width, float height)
src/kits/interface/TextControl.cpp
134
previous_width(width),
src/kits/interface/TextControl.cpp
1487
size.width += 2 * kFrameMargin;
src/kits/interface/TextControl.cpp
1498
size.width = B_SIZE_UNLIMITED;
src/kits/interface/TextControl.cpp
1509
size.width = 100;
src/kits/interface/TextControl.cpp
396
BTextControl::FrameResized(float width, float height)
src/kits/interface/TextControl.cpp
400
BControl::FrameResized(width, height);
src/kits/interface/TextControl.cpp
724
float minWidth = fLayoutData->min.width;
src/kits/interface/TextControl.cpp
818
max.width = B_SIZE_UNLIMITED;
src/kits/interface/TextControl.cpp
885
if (size.width < fLayoutData->min.width)
src/kits/interface/TextControl.cpp
886
size.width = fLayoutData->min.width;
src/kits/interface/TextControl.cpp
908
textFrame.Set(divider, 0, size.width, size.height);
src/kits/interface/TextControl.cpp
972
BTextControl::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/TextInput.cpp
158
min.width = min.height * 3;
src/kits/interface/TextInput.cpp
84
_BTextInput_::FrameResized(float width, float height)
src/kits/interface/TextInput.cpp
86
BTextView::FrameResized(width, height);
src/kits/interface/TextInput.h
34
virtual void FrameResized(float width, float height);
src/kits/interface/TextView.cpp
1107
BTextView::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/TextView.cpp
1900
float width = 0;
src/kits/interface/TextView.cpp
1902
width = _ActualTabWidth(location);
src/kits/interface/TextView.cpp
1904
width = _StyledWidth(saveOffset, nextInitial - saveOffset);
src/kits/interface/TextView.cpp
1905
if (location + width > point.x) {
src/kits/interface/TextView.cpp
1906
if (fabs(location + width - point.x) < fabs(location - point.x))
src/kits/interface/TextView.cpp
1911
location += width;
src/kits/interface/TextView.cpp
2355
BTextView::SetTabWidth(float width)
src/kits/interface/TextView.cpp
2357
if (width == fTabWidth)
src/kits/interface/TextView.cpp
2360
fTabWidth = width;
src/kits/interface/TextView.cpp
2678
float width = Bounds().Width();
src/kits/interface/TextView.cpp
2679
if (width < fLayoutData->min.width
src/kits/interface/TextView.cpp
2681
width = fLayoutData->min.width;
src/kits/interface/TextView.cpp
2683
*_width = width;
src/kits/interface/TextView.cpp
2740
BTextView::GetHeightForWidth(float width, float* min, float* max,
src/kits/interface/TextView.cpp
2744
BView::GetHeightForWidth(width, min, max, preferred);
src/kits/interface/TextView.cpp
2750
fTextRect.right = fTextRect.left + width;
src/kits/interface/TextView.cpp
2816
if (size.width < fLayoutData->min.width)
src/kits/interface/TextView.cpp
2817
size.width = fLayoutData->min.width;
src/kits/interface/TextView.cpp
2838
min.width += fLayoutData->leftInset + fLayoutData->rightInset;
src/kits/interface/TextView.cpp
2847
fLayoutData->preferred.width = min.width + 5 * lineHeight;
src/kits/interface/TextView.cpp
2850
if (maxWidth < min.width)
src/kits/interface/TextView.cpp
2851
maxWidth = min.width;
src/kits/interface/TextView.cpp
2853
fLayoutData->preferred.width = maxWidth;
src/kits/interface/TextView.cpp
2860
TRACE("width: %.2f, height: %.2f\n", min.width, min.height);
src/kits/interface/TextView.cpp
3888
float width = fTextRect.Width();
src/kits/interface/TextView.cpp
3891
if (fWrap && (!fTextRect.IsValid() || width == 0))
src/kits/interface/TextView.cpp
3908
int32 toOffset = _FindLineBreak(fromOffset, &ascent, &descent, &width);
src/kits/interface/TextView.cpp
3911
curLine->width = width;
src/kits/interface/TextView.cpp
3958
(*fLines)[fLines->NumLines()]->width = 0;
src/kits/interface/TextView.cpp
4293
float width = 0.0;
src/kits/interface/TextView.cpp
4298
width += _StyledWidth(offset, numBytes, &ascent, &descent);
src/kits/interface/TextView.cpp
4306
width += _ActualTabWidth(width);
src/kits/interface/TextView.cpp
4320
return width;
src/kits/interface/ToolTipManager.cpp
110
ToolTipView::FrameResized(float width, float height)
src/kits/interface/ToolTipManager.cpp
188
if (size.width > screenFrame.Width())
src/kits/interface/ToolTipManager.cpp
189
size.width = screenFrame.Width();
src/kits/interface/ToolTipManager.cpp
191
if (size.width > where.x - screenFrame.left
src/kits/interface/ToolTipManager.cpp
192
&& size.width > screenFrame.right - where.x) {
src/kits/interface/ToolTipManager.cpp
212
location.x -= size.width + offset.x;
src/kits/interface/ToolTipManager.cpp
219
location.x -= size.width / 2 - offset.x;
src/kits/interface/ToolTipManager.cpp
223
} else if (location.x + size.width > screenFrame.right) {
src/kits/interface/ToolTipManager.cpp
224
location.x = screenFrame.right - size.width;
src/kits/interface/ToolTipManager.cpp
231
if (location.x + size.width > screenFrame.right) {
src/kits/interface/ToolTipManager.cpp
232
location.x = screenFrame.right - size.width;
src/kits/interface/ToolTipManager.cpp
286
size.width -= where.x - screenFrame.left;
src/kits/interface/ToolTipManager.cpp
288
} else if (screenFrame.right < where.x + size.width)
src/kits/interface/ToolTipManager.cpp
289
size.width = screenFrame.right - where.x;
src/kits/interface/ToolTipManager.cpp
299
Window()->ResizeTo(size.width, size.height);
src/kits/interface/ToolTipManager.cpp
42
virtual void FrameResized(float width, float height);
src/kits/interface/TwoDimensionalLayout.cpp
1088
DoHorizontalLayout(size.width);
src/kits/interface/TwoDimensionalLayout.cpp
1100
float width = hLayoutInfo->ElementRangeSize(itemDimensions.x,
src/kits/interface/TwoDimensionalLayout.cpp
1101
itemDimensions.width);
src/kits/interface/TwoDimensionalLayout.cpp
1104
return BRect(x, y, x + width, y + height);
src/kits/interface/TwoDimensionalLayout.cpp
1126
BTwoDimensionalLayout::LocalLayouter::DoHorizontalLayout(float width)
src/kits/interface/TwoDimensionalLayout.cpp
1130
|| width != fHorizontalLayoutWidth) {
src/kits/interface/TwoDimensionalLayout.cpp
1131
_SetHorizontalLayoutContext(context, width);
src/kits/interface/TwoDimensionalLayout.cpp
1132
fHLayouter->Layout(width, this, context);
src/kits/interface/TwoDimensionalLayout.cpp
1139
BTwoDimensionalLayout::LocalLayouter::InternalGetHeightForWidth(float width,
src/kits/interface/TwoDimensionalLayout.cpp
1142
DoHorizontalLayout(width);
src/kits/interface/TwoDimensionalLayout.cpp
1263
itemDimensions.width,
src/kits/interface/TwoDimensionalLayout.cpp
1264
min.width,
src/kits/interface/TwoDimensionalLayout.cpp
1265
max.width,
src/kits/interface/TwoDimensionalLayout.cpp
1266
preferred.width);
src/kits/interface/TwoDimensionalLayout.cpp
1335
itemDimensions.width),
src/kits/interface/TwoDimensionalLayout.cpp
1399
BLayoutContext* context, float width)
src/kits/interface/TwoDimensionalLayout.cpp
1411
fHorizontalLayoutWidth = width;
src/kits/interface/TwoDimensionalLayout.cpp
161
void DoHorizontalLayout(float width);
src/kits/interface/TwoDimensionalLayout.cpp
163
void InternalGetHeightForWidth(float width,
src/kits/interface/TwoDimensionalLayout.cpp
222
BLayoutContext* context, float width);
src/kits/interface/TwoDimensionalLayout.cpp
388
BTwoDimensionalLayout::GetHeightForWidth(float width, float* min, float* max,
src/kits/interface/TwoDimensionalLayout.cpp
396
width, outerSpacing), min, max, preferred);
src/kits/interface/TwoDimensionalLayout.cpp
540
size.width = BLayoutUtils::AddDistances(size.width,
src/kits/interface/TwoDimensionalLayout.cpp
565
size.width = BLayoutUtils::SubtractDistances(size.width,
src/kits/interface/View.cpp
1314
float width;
src/kits/interface/View.cpp
1316
GetPreferredSize(&width, &height);
src/kits/interface/View.cpp
1318
ResizeTo(width, height);
src/kits/interface/View.cpp
1445
uint32 width = dragRect.IntegerWidth() + 1;
src/kits/interface/View.cpp
1447
uint32 lastRow = (height - 1) * width;
src/kits/interface/View.cpp
1452
for (uint32 i = 0; i < width; i += 2)
src/kits/interface/View.cpp
1456
for (uint32 i = (height % 2 == 0 ? 1 : 0); i < width; i += 2)
src/kits/interface/View.cpp
1460
for (uint32 i = 0; i < lastRow; i += width * 2)
src/kits/interface/View.cpp
1464
for (uint32 i = (width % 2 == 0 ? width : 0); i < lastRow; i += width * 2)
src/kits/interface/View.cpp
1465
bits[width - 1 + i] = 0xff000000;
src/kits/interface/View.cpp
2958
BView::TruncateString(BString* string, uint32 mode, float width) const
src/kits/interface/View.cpp
2960
fState->font.TruncateString(string, mode, width);
src/kits/interface/View.cpp
5190
BView::ResizeTo(float width, float height)
src/kits/interface/View.cpp
5192
ResizeBy(width - fBounds.Width(), height - fBounds.Height());
src/kits/interface/View.cpp
5199
ResizeBy(size.width - fBounds.Width(), size.height - fBounds.Height());
src/kits/interface/View.cpp
5627
BView::GetHeightForWidth(data->width, &data->min, &data->max,
src/kits/interface/View.cpp
5691
float width, height;
src/kits/interface/View.cpp
5692
GetPreferredSize(&width, &height);
src/kits/interface/View.cpp
5696
: BSize(width, height)));
src/kits/interface/View.cpp
5713
float width, height;
src/kits/interface/View.cpp
5714
GetPreferredSize(&width, &height);
src/kits/interface/View.cpp
5718
: BSize(width, height)));
src/kits/interface/View.cpp
5810
BView::GetHeightForWidth(float width, float* min, float* max, float* preferred)
src/kits/interface/View.cpp
5813
fLayoutData->fLayout->GetHeightForWidth(width, min, max, preferred);
src/kits/interface/View.cpp
7013
_ReservedView7__5BView(BView* view, float width, float* min, float* max,
src/kits/interface/View.cpp
7018
data.width = width;
src/kits/interface/ViewLayoutItem.cpp
146
BViewLayoutItem::GetHeightForWidth(float width, float* min, float* max,
src/kits/interface/ViewLayoutItem.cpp
149
fView->GetHeightForWidth(width, min, max, preferred);
src/kits/interface/ViewLayoutItem.h
34
virtual void GetHeightForWidth(float width, float* min,
src/kits/interface/ViewPort.cpp
128
layoutSize.width = std::min(layoutSize.width, childMax.width);
src/kits/interface/ViewPort.cpp
132
layoutSize.width = std::max(layoutSize.width, childMin.width);
src/kits/interface/ViewPort.cpp
139
_UpdateScrollBar(fViewPort->ScrollBar(B_HORIZONTAL), viewSize.width,
src/kits/interface/ViewPort.cpp
140
layoutSize.width);
src/kits/interface/ViewPort.cpp
164
fMin.width = -1;
src/kits/interface/ViewPort.cpp
97
virtual void GetHeightForWidth(float width, float* min, float* max,
src/kits/interface/Window.cpp
1009
int32 width, height;
src/kits/interface/Window.cpp
1010
if (message->FindInt32("width", &width) == B_OK
src/kits/interface/Window.cpp
1018
width = nextWidth;
src/kits/interface/Window.cpp
1031
if (width != fFrame.Width() || height != fFrame.Height()) {
src/kits/interface/Window.cpp
1034
fFrame.right = fFrame.left + width;
src/kits/interface/Window.cpp
1045
FrameResized(width, height);
src/kits/interface/Window.cpp
1200
float width;
src/kits/interface/Window.cpp
1202
fLink->Read<float>(&width);
src/kits/interface/Window.cpp
1241
if (width != fFrame.Width() || height != fFrame.Height()) {
src/kits/interface/Window.cpp
1245
fFrame.right = fFrame.left + width;
src/kits/interface/Window.cpp
1249
FrameResized(width, height);
src/kits/interface/Window.cpp
1453
SetSizeLimits(minSize.width, maxSize.width,
src/kits/interface/Window.cpp
1543
BWindow::Zoom(BPoint origin, float width, float height)
src/kits/interface/Window.cpp
1548
ResizeTo(width, height);
src/kits/interface/Window.cpp
2269
int32 h, int32 hOffset, int32 width, int32 widthOffset,
src/kits/interface/Window.cpp
2275
|| (widthOffset >= 0 && widthOffset <= width)
src/kits/interface/Window.cpp
2288
fLink->Attach<int32>(width);
src/kits/interface/Window.cpp
2306
int32* h, int32* hOffset, int32* width, int32* widthOffset,
src/kits/interface/Window.cpp
2319
fLink->Read<int32>(width);
src/kits/interface/Window.cpp
2425
BWindow::ResizeTo(float width, float height)
src/kits/interface/Window.cpp
2430
width = roundf(width);
src/kits/interface/Window.cpp
2434
if (width < fMinWidth)
src/kits/interface/Window.cpp
2435
width = fMinWidth;
src/kits/interface/Window.cpp
2436
else if (width > fMaxWidth)
src/kits/interface/Window.cpp
2437
width = fMaxWidth;
src/kits/interface/Window.cpp
2444
if (width != fFrame.Width() || height != fFrame.Height()) {
src/kits/interface/Window.cpp
2446
fLink->Attach<float>(width);
src/kits/interface/Window.cpp
2451
fFrame.right = fFrame.left + width;
src/kits/interface/Window.cpp
2467
float width = fTopView->PreferredSize().width;
src/kits/interface/Window.cpp
2468
width = std::min(width, fTopView->MaxSize().width);
src/kits/interface/Window.cpp
2469
width = std::max(width, fTopView->MinSize().width);
src/kits/interface/Window.cpp
2476
GetLayout()->GetHeightForWidth(width, NULL, NULL, &height);
src/kits/interface/Window.cpp
2478
ResizeTo(width, height);
src/kits/interface/Window.cpp
3867
float width = Bounds().Width();
src/kits/interface/Window.cpp
3870
BPoint point(frame.left + (frame.Width() / 2.0f) - (width / 2.0f),
src/kits/interface/Window.cpp
3886
else if (point.x + width > screenFrame.right - borderWidth)
src/kits/interface/Window.cpp
3887
point.x = screenFrame.right - borderWidth - width;
src/kits/interface/textview_support/LineBuffer.cpp
121
if (maxWidth < line->width)
src/kits/interface/textview_support/LineBuffer.cpp
122
maxWidth = line->width;
src/kits/interface/textview_support/LineBuffer.h
21
float width; // cached width of line in pixels
src/kits/interface/textview_support/WidthBuffer.cpp
361
float width = 0;
src/kits/interface/textview_support/WidthBuffer.cpp
363
width += escapements[x];
src/kits/interface/textview_support/WidthBuffer.cpp
367
return width;
src/kits/media/DefaultMediaTheme.cpp
238
SetExplicitMaxSize(BSize(MaxSize().width, 5));
src/kits/media/DefaultMediaTheme.cpp
56
virtual void GetPreferredSize(float *width, float *height);
src/kits/media/MediaDefs.cpp
1014
&& a.width == b.width
src/kits/media/MediaDefs.cpp
1029
&& a.width == b.width
src/kits/media/MediaDefs.cpp
385
if (a.u.vid.width != 0 && b.u.vid.width != 0
src/kits/media/MediaDefs.cpp
386
&& a.u.vid.width != b.u.vid.width) {
src/kits/media/MediaDefs.cpp
420
if (a.u.avi.width != 0 && b.u.avi.width != 0
src/kits/media/MediaDefs.cpp
421
&& a.u.avi.width != b.u.avi.width) {
src/kits/media/MediaDefs.cpp
624
if (format->u.vid.width == 0)
src/kits/media/MediaDefs.cpp
625
format->u.vid.width = other->u.vid.width;
src/kits/media/MediaDefs.cpp
643
if (format->u.avi.width == 0)
src/kits/media/MediaDefs.cpp
644
format->u.avi.width = other->u.avi.width;
src/kits/midi/SoftSynth.cpp
300
fluid_synth_set_reverb(fSynth, rvb->room, rvb->damp, rvb->width,
src/kits/midi/SoftSynth.cpp
37
double room, damp, width, level;
src/kits/print/PictureIterator.cpp
52
static void _DrawPixels(void *p, BRect src, BRect dest, int32 width, int32 height, int32 bytesPerRow, int32 pixelFormat, int32 flags, void *data)
src/kits/print/PictureIterator.cpp
53
{ return ((PictureIterator *) p)->DrawPixels(src, dest, width, height, bytesPerRow, pixelFormat, flags, data); }
src/kits/print/PicturePrinter.cpp
198
void PicturePrinter::DrawPixels(BRect src, BRect dest, int32 width, int32 height, int32 bytesPerRow, int32 pixelFormat, int32 flags, void *data) {
src/kits/print/Template.cpp
104
void Template::DrawPixels(BRect src, BRect dest, int32 width, int32 height, int32 bytesPerRow, int32 pixelFormat, int32 flags, void *data) {
src/kits/shared/BarberPole.cpp
251
BarberPole::FrameResized(float width, float height)
src/kits/shared/BarberPole.cpp
256
fStripeWidth = (width / 4) + 5;
src/kits/shared/BarberPole.cpp
268
fNumStripes = (int32)ceilf((width) / fStripeWidth) + 1 + fNumColors;
src/kits/shared/BarberPole.cpp
292
if (result.width < 50)
src/kits/shared/BitmapButton.cpp
27
BBitmapButton::BBitmapButton(const uint8* bits, uint32 width, uint32 height,
src/kits/shared/BitmapButton.cpp
31
fBitmap(new BBitmap(BRect(0, 0, width - 1, height - 1), 0, format)),
src/kits/shared/BitmapButton.cpp
49
min.width = fBitmap->Bounds().Width();
src/kits/shared/BitmapButton.cpp
52
min.width += kFrameInset * 2;
src/kits/shared/CalendarView.cpp
173
BCalendarView::FrameResized(float width, float height)
src/kits/shared/CalendarView.cpp
486
float width;
src/kits/shared/CalendarView.cpp
489
GetPreferredSize(&width, &height);
src/kits/shared/CalendarView.cpp
490
BView::ResizeTo(width, height);
src/kits/shared/CalendarView.cpp
495
BCalendarView::GetPreferredSize(float* width, float* height)
src/kits/shared/CalendarView.cpp
497
_GetPreferredSize(width, height);
src/kits/shared/CalendarView.cpp
512
float width, height;
src/kits/shared/CalendarView.cpp
513
_GetPreferredSize(&width, &height);
src/kits/shared/CalendarView.cpp
514
return BLayoutUtils::ComposeSize(ExplicitMinSize(), BSize(width, height));
src/kits/shared/CalendarView.cpp
829
float width = 0.0;
src/kits/shared/CalendarView.cpp
832
width = tmp > width ? tmp : width;
src/kits/shared/CalendarView.cpp
840
*_width = width * columns + 8.0;
src/kits/shared/CalendarView.cpp
848
float width, height;
src/kits/shared/CalendarView.cpp
851
GetPreferredSize(&width, &height);
src/kits/shared/CalendarView.cpp
852
if (width < Bounds().Width())
src/kits/shared/ColorQuantizer.cpp
82
BColorQuantizer::ProcessImage(const uint8* const * rowPtrs, int width,
src/kits/shared/ColorQuantizer.cpp
86
for (int x = 0; x < width; x += 3) {
src/kits/shared/DateTimeEdit.cpp
827
minSize.width = (SeparatorWidth() + MinSectionWidth())
src/kits/shared/DateTimeEdit.cpp
848
float width = (area.Width() -
src/kits/shared/DateTimeEdit.cpp
851
area.left += index * (width + sepWidth);
src/kits/shared/DateTimeEdit.cpp
852
area.right = area.left + width;
src/kits/shared/DateTimeEdit.cpp
864
float width = (area.Width() -
src/kits/shared/DateTimeEdit.cpp
867
area.left += (index + 1) * width + index * sepWidth;
src/kits/shared/IconButton.cpp
218
BIconButton::GetPreferredSize(float* width, float* height)
src/kits/shared/IconButton.cpp
243
if (width)
src/kits/shared/IconButton.cpp
244
*width = minWidth + hPadding;
src/kits/shared/IconButton.cpp
254
GetPreferredSize(&size.width, &size.height);
src/kits/shared/IconButton.cpp
433
uint32 width, uint32 height, color_space format, bool convertToBW)
src/kits/shared/IconButton.cpp
436
if (bitsFromQuickRes && width > 0 && height > 0) {
src/kits/shared/IconButton.cpp
438
width - 1.0, height - 1.0), format);
src/kits/shared/IconButton.cpp
478
for (uint32 x = 0; x < width; x++) {
src/kits/shared/IconButton.cpp
517
uint32 width = fNormalBitmap->Bounds().IntegerWidth() + 1;
src/kits/shared/IconButton.cpp
523
for (uint32 x = 0; x < width; x++) {
src/kits/shared/IconButton.cpp
593
uint32 width = bitmap->Bounds().IntegerWidth() + 1;
src/kits/shared/IconButton.cpp
601
for (uint32 x = 0; x < width; x++) {
src/kits/shared/TextTable.cpp
254
int32 width = neededWidth;
src/kits/shared/TextTable.cpp
264
width -= truncateBy;
src/kits/shared/TextTable.cpp
281
line.SetTo('-', width);
src/kits/shared/TextTable.cpp
65
void SetWidth(int32 width)
src/kits/shared/TextTable.cpp
67
fWidth = width;
src/kits/shared/ToolBar.cpp
234
BToolBar::FrameResized(float width, float height)
src/kits/tracker/ContainerWindow.cpp
3206
int32 type, float width, int32 align, bool editable, bool statField)
src/kits/tracker/ContainerWindow.cpp
3208
return NewAttributeMenuItem(label, name, type, NULL, width, align,
src/kits/tracker/ContainerWindow.cpp
3215
int32 type, const char* displayAs, float width, int32 align,
src/kits/tracker/ContainerWindow.cpp
3222
message->AddFloat("attr_width", width);
src/kits/tracker/ContainerWindow.cpp
3431
int32 width;
src/kits/tracker/ContainerWindow.cpp
3437
|| attrInfo.FindInt32("attr:width", index, &width) != B_OK
src/kits/tracker/ContainerWindow.cpp
3452
displayAs.String(), width, align, editable, false));
src/kits/tracker/ContainerWindow.h
175
int32 type, float width, int32 align, bool editable,
src/kits/tracker/ContainerWindow.h
178
int32 type, const char* displayAs, float width, int32 align,
src/kits/tracker/DialogPane.cpp
193
*_width = size.width;
src/kits/tracker/DialogPane.cpp
208
size.width = latchSize;
src/kits/tracker/DialogPane.cpp
210
size.width += ceilf(latchSize / 2.0) + labelWidth;
src/kits/tracker/FindPanel.cpp
1408
menuBar->GetPreferredSize(&size.width, &size.height);
src/kits/tracker/FindPanel.cpp
1416
float width = 0.0f;
src/kits/tracker/FindPanel.cpp
1424
padding = size.width - labelWidth;
src/kits/tracker/FindPanel.cpp
1428
padding = size.width - labelWidth;
src/kits/tracker/FindPanel.cpp
1444
width = std::max(width, menuField->StringWidth(subItem->Label()));
src/kits/tracker/FindPanel.cpp
1447
width = std::max(width, menuField->StringWidth(item->Label()));
src/kits/tracker/FindPanel.cpp
1458
width = std::max(width, minW);
src/kits/tracker/FindPanel.cpp
1459
width = std::min(width, maxW);
src/kits/tracker/FindPanel.cpp
1461
size.width = width + padding;
src/kits/tracker/FindPanel.cpp
1464
menuBar->SetMaxContentWidth(size.width);
src/kits/tracker/FindPanel.cpp
1467
size.width += kPopUpIndicatorWidth;
src/kits/tracker/FindPanel.cpp
1470
menu->SetMaxContentWidth(size.width);
src/kits/tracker/IconCache.cpp
1357
uint32 width = source->Bounds().IntegerWidth() + 1;
src/kits/tracker/IconCache.cpp
1364
for (uint32 x = 0; x < width; x++) {
src/kits/tracker/IconCache.cpp
231
ASSERT(where.x < size.width && where.y < size.height);
src/kits/tracker/IconMenuItem.cpp
231
ModelMenuItem::GetContentSize(float* width, float* height)
src/kits/tracker/IconMenuItem.cpp
233
_inherited::GetContentSize(width, height);
src/kits/tracker/IconMenuItem.cpp
240
*width += iconSize + iconSize / 4 + _ExtraPadding();
src/kits/tracker/IconMenuItem.cpp
467
IconMenuItem::GetContentSize(float* width, float* height)
src/kits/tracker/IconMenuItem.cpp
469
_inherited::GetContentSize(width, height);
src/kits/tracker/IconMenuItem.cpp
480
*width += fDeviceIcon->Bounds().Width() + be_control_look->DefaultLabelSpacing();
src/kits/tracker/OverrideAlert.cpp
102
OverrideAlert::OverPosition(float width, float height)
src/kits/tracker/OverrideAlert.cpp
122
desirableRect.left = midX - ceilf(width / 2.0f);
src/kits/tracker/OverrideAlert.cpp
123
desirableRect.right = desirableRect.left+width;
src/kits/tracker/OverrideAlert.cpp
133
desirableRect.left = midX - ceilf(width / 2.0f);
src/kits/tracker/OverrideAlert.cpp
134
desirableRect.right = desirableRect.left + width;
src/kits/tracker/OverrideAlert.cpp
48
button_width width, alert_type type)
src/kits/tracker/OverrideAlert.cpp
50
BAlert(title, text, button1, button2, button3, width, type),
src/kits/tracker/OverrideAlert.cpp
67
button_width width, button_spacing spacing, alert_type type)
src/kits/tracker/OverrideAlert.cpp
69
BAlert(title, text, button1, button2, button3, width, spacing, type),
src/kits/tracker/OverrideAlert.h
59
button_width width = B_WIDTH_AS_USUAL,
src/kits/tracker/OverrideAlert.h
65
button_width width, button_spacing spacing,
src/kits/tracker/OverrideAlert.h
71
static BPoint OverPosition(float width, float height);
src/kits/tracker/PoseView.cpp
7744
int32 width = bitmap->BytesPerRow() / 4;
src/kits/tracker/PoseView.cpp
7747
FadeRGBA32Horizontal(bits, width, int32(rect.bottom), 0,
src/kits/tracker/PoseView.cpp
7752
FadeRGBA32Horizontal(bits, width, int32(rect.bottom), int32(rect.right),
src/kits/tracker/PoseView.cpp
7757
FadeRGBA32Vertical(bits, width, int32(rect.bottom), 0,
src/kits/tracker/PoseView.cpp
7762
FadeRGBA32Vertical(bits, width, int32(rect.bottom), int32(rect.bottom),
src/kits/tracker/PoseView.cpp
9641
float width = widget->PreferredWidth(this);
src/kits/tracker/PoseView.cpp
9642
if (width > maxWidth)
src/kits/tracker/PoseView.cpp
9643
maxWidth = width;
src/kits/tracker/StatusWindow.cpp
511
float width, height;
src/kits/tracker/StatusWindow.cpp
512
fStatusBar->GetPreferredSize(&width, &height);
src/kits/tracker/StatusWindow.cpp
818
float width = StringWidth(string.String());
src/kits/tracker/StatusWindow.cpp
819
if (width > availableSpace) {
src/kits/tracker/TextWidget.h
114
float width);
src/kits/tracker/Thumbnails.cpp
203
const int32 width = image->Bounds().IntegerWidth() + 1;
src/kits/tracker/Thumbnails.cpp
205
0, &width, sizeof(int32));
src/kits/tracker/TrackerInitialState.cpp
103
float width;
src/kits/tracker/TrackerInitialState.cpp
120
uint32 type, bool viewable, bool editable, float width,
src/kits/tracker/TrackerInitialState.cpp
160
const char* name, uint32 type, bool viewable, bool editable, float width,
src/kits/tracker/TrackerInitialState.cpp
180
fExtraAttrs.AddInt32("attr:width", (int32)width);
src/kits/tracker/TrackerInitialState.cpp
229
src[i].width, src[i].align, src[i].attributeName,
src/kits/tracker/TrackerSettingsWindow.cpp
127
float width = 0;
src/kits/tracker/TrackerSettingsWindow.cpp
128
fSettingsTypeListView->GetPreferredSize(&width, NULL);
src/kits/tracker/TrackerSettingsWindow.cpp
129
width += B_V_SCROLL_BAR_WIDTH;
src/kits/tracker/TrackerSettingsWindow.cpp
130
fSettingsTypeListView->SetExplicitMinSize(BSize(width, 0));
src/kits/tracker/TrackerSettingsWindow.cpp
131
fSettingsTypeListView->SetExplicitMaxSize(BSize(width, B_SIZE_UNLIMITED));
src/kits/tracker/Utilities.cpp
526
FadeRGBA32Horizontal(uint32* bits, int32 width, int32 height, int32 from,
src/kits/tracker/Utilities.cpp
530
if (width < 0 || height < 0 || from < 0 || to < 0)
src/kits/tracker/Utilities.cpp
550
bits += width;
src/kits/tracker/Utilities.cpp
560
FadeRGBA32Vertical(uint32* bits, int32 width, int32 height, int32 from,
src/kits/tracker/Utilities.cpp
564
if (width < 0 || height < 0 || from < 0 || to < 0)
src/kits/tracker/Utilities.cpp
568
bits += width * (height - (from - to));
src/kits/tracker/Utilities.cpp
580
for (int32 x = 0; x < width; x++) {
src/kits/tracker/Utilities.cpp
587
bits += width;
src/kits/tracker/Utilities.cpp
776
float width = StringWidth(Text());
src/kits/tracker/Utilities.cpp
778
loc.x = center - (width/2);
src/kits/tracker/Utilities.cpp
784
float width = StringWidth(Text());
src/kits/tracker/Utilities.cpp
785
loc.x = bounds.right - width - 2;
src/kits/tracker/Utilities.cpp
858
TitledSeparatorItem::GetContentSize(float* width, float* height)
src/kits/tracker/Utilities.cpp
860
_inherited::GetContentSize(width, height);
src/kits/tracker/Utilities.cpp
863
if (width)
src/kits/tracker/Utilities.cpp
864
*width += (kMinSeparatorStubX + kStubToStringSlotX) * 2;
src/kits/tracker/Utilities.h
216
extern void FadeRGBA32Horizontal(uint32* bits, int32 width, int32 height,
src/kits/tracker/Utilities.h
218
extern void FadeRGBA32Vertical(uint32* bits, int32 width, int32 height,
src/kits/tracker/Utilities.h
347
virtual void GetContentSize(float* width, float* height);
src/kits/tracker/ViewState.cpp
181
BColumn::_Init(const char* title, float width,
src/kits/tracker/ViewState.cpp
189
fWidth = width * _Scale();
src/kits/tracker/ViewState.cpp
259
width = floorf(fWidth / _Scale());
src/kits/tracker/ViewState.cpp
263
stream->Write(&width, sizeof(float));
src/kits/tracker/ViewState.cpp
278
width = floorf(fWidth / _Scale());
src/kits/tracker/ViewState.cpp
284
message.AddFloat(kColumnWidthName, width);
src/kits/tracker/ViewState.cpp
84
BColumn::BColumn(const char* title, float width,
src/kits/tracker/ViewState.cpp
88
_Init(title, width, align, attributeName, attrType, displayAs,
src/kits/tracker/ViewState.cpp
93
BColumn::BColumn(const char* title, float width,
src/kits/tracker/ViewState.cpp
97
_Init(title, width, align, attributeName, attrType, NULL,
src/kits/tracker/ViewState.h
49
BColumn(const char* title, float width,
src/kits/tracker/ViewState.h
52
BColumn(const char* title, float width,
src/kits/tracker/ViewState.h
82
void _Init(const char* title, float width,
src/kits/tracker/WidgetAttributeText.cpp
114
if (resultWidth <= width) {
src/kits/tracker/WidgetAttributeText.cpp
121
width, (uint32)B_TRUNCATE_END);
src/kits/tracker/WidgetAttributeText.cpp
128
const View* view, float width, uint32 truncMode = B_TRUNCATE_MIDDLE)
src/kits/tracker/WidgetAttributeText.cpp
135
if (view->StringWidth(inString, length) <= width)
src/kits/tracker/WidgetAttributeText.cpp
147
font.GetTruncatedStrings(source, 1, truncMode, width, results);
src/kits/tracker/WidgetAttributeText.cpp
157
TruncTimeBase(BString* outString, int64 value, const View* view, float width)
src/kits/tracker/WidgetAttributeText.cpp
159
float resultWidth = width + 1;
src/kits/tracker/WidgetAttributeText.cpp
180
if (resultWidth <= width) {
src/kits/tracker/WidgetAttributeText.cpp
189
if (resultWidth > width
src/kits/tracker/WidgetAttributeText.cpp
195
if (resultWidth > width) {
src/kits/tracker/WidgetAttributeText.cpp
198
(ssize_t)date.Length(), view, width);
src/kits/tracker/WidgetAttributeText.cpp
334
int32 length, const BPoseView* view, float width, uint32 truncMode)
src/kits/tracker/WidgetAttributeText.cpp
336
return TruncStringBase(outString, inString, length, view, width, truncMode);
src/kits/tracker/WidgetAttributeText.cpp
342
const BPoseView* view, float width)
src/kits/tracker/WidgetAttributeText.cpp
344
return TruncFileSizeBase(outString, value, view, width);
src/kits/tracker/WidgetAttributeText.cpp
350
const BPoseView* view, float width)
src/kits/tracker/WidgetAttributeText.cpp
352
return TruncTimeBase(outString, value, view, width);
src/kits/tracker/WidgetAttributeText.cpp
389
const char* attrName, int32 attrType, float width, BView* view,
src/kits/tracker/WidgetAttributeText.cpp
409
TruncTimeBase(outString, value, view, width);
src/kits/tracker/WidgetAttributeText.cpp
428
if (width > 0) {
src/kits/tracker/WidgetAttributeText.cpp
430
width);
src/kits/tracker/WidgetAttributeText.cpp
87
float width)
src/kits/tracker/WidgetAttributeText.cpp
99
if (view->StringWidth(buffer.String()) > width) {
src/kits/tracker/WidgetAttributeText.h
101
const char* attrName, int32 attrType, float width,
src/kits/tracker/WidgetAttributeText.h
113
int32 length, const BPoseView*, float width,
src/kits/tracker/WidgetAttributeText.h
117
const BPoseView* view, float width);
src/kits/tracker/WidgetAttributeText.h
120
const BPoseView* view, float width);
src/kits/tracker/infowindow/FilePermissionsView.cpp
131
maxSize.width = std::max(ownerRightLabelSize.width,
src/kits/tracker/infowindow/FilePermissionsView.cpp
132
groupRightLabelSize.width);
src/kits/tracker/infowindow/FilePermissionsView.cpp
133
maxSize.width = std::max(maxSize.width,
src/kits/tracker/infowindow/FilePermissionsView.cpp
134
otherRightLabel->ExplicitSize().width);
src/kits/tracker/infowindow/GeneralInfoView.cpp
204
float width = 0;
src/kits/tracker/infowindow/GeneralInfoView.cpp
206
width = std::max(width, StringWidth(fieldNames[i]));
src/kits/tracker/infowindow/GeneralInfoView.cpp
207
fDivider = width + sBorderMargin + 1;
src/kits/tracker/infowindow/HeaderView.cpp
416
float width = std::min(fIconRect.Width() + font.StringWidth(fModel->Name()) + 4,
src/kits/tracker/infowindow/HeaderView.cpp
420
BRect rect(0, 0, width, height);
src/libs/agg/font_freetype/agg_font_freetype.cpp
417
sl.reset(x, x + bitmap.width);
src/libs/agg/font_freetype/agg_font_freetype.cpp
430
for(j = 0; j < bitmap.width; j++)
src/libs/agg/font_freetype/agg_font_freetype.cpp
458
sl.reset(x, x + bitmap.width);
src/libs/agg/font_freetype/agg_font_freetype.cpp
470
for(j = 0; j < bitmap.width; j++)
src/libs/agg/font_freetype/agg_font_freetype.h
63
bool width(double w);
src/libs/agg/font_freetype/agg_font_freetype.h
83
double width() const { return double(m_width) / 64.0; }
src/libs/agg/src/agg_gsv_text.cpp
517
void gsv_text::size(double height, double width)
src/libs/agg/src/agg_gsv_text.cpp
520
m_width = width;
src/libs/agg/src/agg_line_profile_aa.cpp
62
double width = center_width + smoother_width;
src/libs/agg/src/agg_line_profile_aa.cpp
63
if(width < m_min_width)
src/libs/agg/src/agg_line_profile_aa.cpp
65
double k = width / m_min_width;
src/libs/agg/src/agg_vcgen_contour.cpp
94
m_stroker.width(is_ccw(m_orientation) ? m_width : -m_width);
src/libs/alm/ALMLayout.cpp
284
fHSpacing = spacing.width;
src/libs/alm/Area.cpp
360
fLeftTopInset.width = left;
src/libs/alm/Area.cpp
382
fRightBottomInset.width = right;
src/libs/alm/Area.cpp
600
float width = 0.;
src/libs/alm/Area.cpp
602
if (min.width > 0)
src/libs/alm/Area.cpp
603
width = min.Width() + LeftInset() + RightInset();
src/libs/alm/Area.cpp
607
fMinContentWidth->SetRightSide(width);
src/libs/alm/Area.cpp
623
max.width += LeftInset() + RightInset();
src/libs/alm/RowColumnManager.cpp
168
if (prefSize.width <= 0)
src/libs/alm/RowColumnManager.cpp
171
pref += prefSize.width;
src/libs/alm/SharedSolver.cpp
196
layout->Right()->SetRange(size.width, size.width);
src/libs/alm/SharedSolver.cpp
77
float width = layout->Right()->Value() - layout->Left()->Value();
src/libs/alm/SharedSolver.cpp
79
solver->SetPreferredSize(layout, BSize(width, height));
src/libs/compat/freebsd_iflib/iflib.c
1480
#define DMA_WIDTH_TO_BUS_LOWADDR(width) \
src/libs/compat/freebsd_iflib/iflib.c
1481
(((width) == 0) || (width) == flsll(BUS_SPACE_MAXADDR) ? \
src/libs/compat/freebsd_iflib/iflib.c
1482
BUS_SPACE_MAXADDR : (1ULL << (width)) - 1ULL)
src/libs/compat/freebsd_network/compat/dev/pci/pcivar.h
38
uint32_t pci_read_config(device_t dev, int reg, int width);
src/libs/compat/freebsd_network/compat/dev/pci/pcivar.h
39
void pci_write_config(device_t dev, int reg, uint32_t val, int width);
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
279
size_t align, width;
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
283
.width = sizeof(uint64_t),
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
287
.width = sizeof(uint8_t),
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
291
.width = sizeof(uint8_t),
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
295
.width = 2*sizeof(uint16_t),
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
299
.width = sizeof(uint16_t),
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
303
.width = sizeof(uint8_t),
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
307
.width = sizeof(uint8_t),
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
311
.width = sizeof(uint16_t),
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
315
.width = sizeof(uint16_t),
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
319
.width = sizeof(uint16_t),
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
323
.width = sizeof(uint8_t),
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
327
.width = sizeof(uint8_t),
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
331
.width = sizeof(uint8_t),
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
335
.width = sizeof(uint8_t),
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
339
.width = 2*sizeof(uint32_t),
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
343
.width = 3*sizeof(uint8_t),
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
362
if (off + items[i].width > le16toh(rh->it_len)) {
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
366
off, items[i].width, le16toh(rh->it_len));
src/libs/compat/freebsd_wlan/net80211/ieee80211_radiotap.c
371
off += items[i].width;
src/libs/glut/beos_x11.cpp
176
*width = tempWidth;
src/libs/glut/beos_x11.cpp
96
unsigned int *width, unsigned int *height)
src/libs/glut/beos_x11.h
31
unsigned int* width, unsigned int* height);
src/libs/glut/glutEvent.cpp
816
void GlutWindow::FrameResized(float width, float height)
src/libs/glut/glutEvent.cpp
818
BGLView::FrameResized(width, height);
src/libs/glut/glutEvent.cpp
821
m_width = (int)(width)+1;
src/libs/glut/glutInit.cpp
174
int flags, x, y, width, height;
src/libs/glut/glutInit.cpp
178
width = 0;
src/libs/glut/glutInit.cpp
182
(unsigned int *) &width, (unsigned int *) &height);
src/libs/glut/glutInit.cpp
186
if (width > 0)
src/libs/glut/glutInit.cpp
187
gState.initWidth = width;
src/libs/glut/glutInit.cpp
262
void glutInitWindowSize(int width, int height) {
src/libs/glut/glutInit.cpp
263
gState.initWidth = width;
src/libs/glut/glutWindow.cpp
146
BRect(x, y, x + width - 1, y + height - 1), name);
src/libs/glut/glutWindow.cpp
191
glutCreateSubWindow(int win, int x, int y, int width, int height)
src/libs/glut/glutWindow.cpp
199
x, y, width, height, options);
src/libs/glut/glutWindow.cpp
399
glutReshapeWindow(int width, int height)
src/libs/glut/glutWindow.cpp
408
gState.currentWindow->ResizeTo(width - 1, height - 1);
src/libs/glut/glutWindow.cpp
414
win->ResizeTo(width - 1, height - 1);
src/libs/glut/glutWindow.cpp
58
__glutDefaultReshape(int width, int height)
src/libs/glut/glutWindow.cpp
61
glViewport(0, 0, (GLsizei) width, (GLsizei) height);
src/libs/glut/glutWindow.cpp
73
int x, int y, int width, int height, ulong options)
src/libs/glut/glutWindow.cpp
74
: BGLView(nparent != NULL ? BRect(x, y, x + width - 1, y + height - 1)
src/libs/glut/glutWindow.cpp
75
: BRect(0, 0, width - 1, height - 1), name,
src/libs/glut/glutWindow.cpp
99
m_width = width;
src/libs/glut/glutWindow.h
22
GlutWindow(GlutWindow *nparent, const char *name, int x, int y, int width,
src/libs/glut/glutWindow.h
30
void FrameResized(float width, float height);
src/libs/glut/glut_bitmap.c
52
glBitmap(ch->width, ch->height, ch->xorig, ch->yorig,
src/libs/glut/glut_vidresize.c
144
int x, y, width, height;
src/libs/glut/glut_vidresize.c
147
videoResizeChannel, &x, &y, &width, &height);
src/libs/glut/glut_vidresize.c
154
return width;
src/libs/glut/glut_vidresize.c
196
glutVideoResize(int x, int y, int width, int height)
src/libs/glut/glut_vidresize.c
208
videoResizeChannel, x, y, width, height);
src/libs/glut/glut_vidresize.c
215
glutVideoPan(int x, int y, int width, int height)
src/libs/glut/glut_vidresize.c
230
videoResizeChannel, x, y, width, height);
src/libs/glut/glutbitmap.h
18
const GLsizei width;
src/libs/glut/glutint.h
349
int width; /* window width in pixels */
src/libs/glut/glutint.h
763
int x, int y, int width, int height, int gamemode);
src/libs/glut/glutint.h
805
void __glutDefaultReshape(int width, int height);
src/libs/icon/IconRenderer.cpp
505
uint32 width = fBitmap->Bounds().IntegerWidth() + 1;
src/libs/icon/IconRenderer.cpp
510
for (uint32 x = 0; x < width; x++) {
src/libs/icon/IconUtils.cpp
357
uint32 width = temp.Bounds().IntegerWidth() + 1;
src/libs/icon/IconUtils.cpp
360
result = ConvertToCMAP8((uint8*)temp.Bits(), width, height,
src/libs/icon/IconUtils.cpp
484
uint32 width = temp->Bounds().IntegerWidth() + 1;
src/libs/icon/IconUtils.cpp
487
result = ConvertToCMAP8(src, width, height, srcBPR, icon);
src/libs/icon/IconUtils.cpp
702
uint32 width = source->Bounds().IntegerWidth() + 1;
src/libs/icon/IconUtils.cpp
705
return ConvertFromCMAP8(src, width, height, srcBPR, destination);
src/libs/icon/IconUtils.cpp
727
uint32 width = source->Bounds().IntegerWidth() + 1;
src/libs/icon/IconUtils.cpp
730
return ConvertToCMAP8(src, width, height, srcBPR, destination);
src/libs/icon/IconUtils.cpp
735
BIconUtils::ConvertFromCMAP8(const uint8* src, uint32 width, uint32 height,
src/libs/icon/IconUtils.cpp
757
if (dstWidth < width || dstHeight < height
src/libs/icon/IconUtils.cpp
758
|| (dstWidth == 2 * width && dstHeight == 2 * height)
src/libs/icon/IconUtils.cpp
759
|| (dstWidth == 3 * width && dstHeight == 3 * height)
src/libs/icon/IconUtils.cpp
760
|| (dstWidth == 4 * width && dstHeight == 4 * height)) {
src/libs/icon/IconUtils.cpp
761
BRect rect = BRect(0, 0, width - 1, height - 1);
src/libs/icon/IconUtils.cpp
771
if (dstWidth < width || dstHeight < height)
src/libs/icon/IconUtils.cpp
772
scale_down(convertedBits, dst, width, height, dstWidth, dstHeight);
src/libs/icon/IconUtils.cpp
773
else if (dstWidth == 2 * width && dstHeight == 2 * height)
src/libs/icon/IconUtils.cpp
774
scale2x(convertedBits, dst, width, height, convertedBPR, dstBPR);
src/libs/icon/IconUtils.cpp
775
else if (dstWidth == 3 * width && dstHeight == 3 * height)
src/libs/icon/IconUtils.cpp
776
scale3x(convertedBits, dst, width, height, convertedBPR, dstBPR);
src/libs/icon/IconUtils.cpp
777
else if (dstWidth == 4 * width && dstHeight == 4 * height)
src/libs/icon/IconUtils.cpp
778
scale4x(convertedBits, dst, width, height, convertedBPR, dstBPR);
src/libs/icon/IconUtils.cpp
795
for (uint32 x = 0; x < width; x++, s++, d++) {
src/libs/icon/IconUtils.cpp
806
if (width == dstWidth && height == dstHeight)
src/libs/icon/IconUtils.cpp
813
if (dstWidth > width && dstHeight > height
src/libs/icon/IconUtils.cpp
814
&& dstWidth < 2 * width && dstHeight < 2 * height) {
src/libs/icon/IconUtils.cpp
816
BRect rect = BRect(0, 0, width * 2 - 1, height * 2 - 1);
src/libs/icon/IconUtils.cpp
824
scale2x(dst, tempBits, width, height, dstBPR, tempBPR);
src/libs/icon/IconUtils.cpp
825
scale_down(tempBits, dst, width * 2, height * 2, dstWidth, dstHeight);
src/libs/icon/IconUtils.cpp
827
} else if (dstWidth > 2 * width && dstHeight > 2 * height
src/libs/icon/IconUtils.cpp
828
&& dstWidth < 3 * width && dstHeight < 3 * height) {
src/libs/icon/IconUtils.cpp
830
BRect rect = BRect(0, 0, width * 3 - 1, height * 3 - 1);
src/libs/icon/IconUtils.cpp
838
scale3x(dst, tempBits, width, height, dstBPR, tempBPR);
src/libs/icon/IconUtils.cpp
839
scale_down(tempBits, dst, width * 3, height * 3, dstWidth, dstHeight);
src/libs/icon/IconUtils.cpp
841
} else if (dstWidth > 3 * width && dstHeight > 3 * height
src/libs/icon/IconUtils.cpp
842
&& dstWidth < 4 * width && dstHeight < 4 * height) {
src/libs/icon/IconUtils.cpp
844
BRect rect = BRect(0, 0, width * 4 - 1, height * 4 - 1);
src/libs/icon/IconUtils.cpp
852
scale4x(dst, tempBits, width, height, dstBPR, tempBPR);
src/libs/icon/IconUtils.cpp
853
scale_down(tempBits, dst, width * 3, height * 3, dstWidth, dstHeight);
src/libs/icon/IconUtils.cpp
855
} else if (dstWidth > 4 * width && dstHeight > 4 * height) {
src/libs/icon/IconUtils.cpp
857
BRect rect = BRect(0, 0, width * 4 - 1, height * 4 - 1);
src/libs/icon/IconUtils.cpp
865
scale4x(dst, tempBits, width, height, dstBPR, tempBPR);
src/libs/icon/IconUtils.cpp
868
scale_bilinear(dst, width, height, dstWidth, dstHeight, dstBPR);
src/libs/icon/IconUtils.cpp
872
scale_bilinear(dst, width, height, dstWidth, dstHeight, dstBPR);
src/libs/icon/IconUtils.cpp
880
BIconUtils::ConvertToCMAP8(const uint8* src, uint32 width, uint32 height,
src/libs/icon/IconUtils.cpp
896
if (dstWidth < width || dstHeight < height) {
src/libs/icon/IconUtils.cpp
899
} else if (dstWidth > width || dstHeight > height) {
src/libs/icon/IconUtils.cpp
920
for (uint32 x = 0; x < width; x++) {
src/libs/icon/flat_icon/FlatIconImporter.cpp
469
uint8 width;
src/libs/icon/flat_icon/FlatIconImporter.cpp
473
|| !buffer.Read(width)
src/libs/icon/flat_icon/FlatIconImporter.cpp
479
contour->width(width - 128.0);
src/libs/icon/flat_icon/FlatIconImporter.cpp
504
uint8 width;
src/libs/icon/flat_icon/FlatIconImporter.cpp
509
|| !buffer.Read(width)
src/libs/icon/flat_icon/FlatIconImporter.cpp
515
stroke->width(width - 128.0);
src/libs/icon/shape/ReferenceImage.cpp
212
double width = (int) Style()->Bitmap()->Bounds().Width() + 1;
src/libs/icon/shape/ReferenceImage.cpp
216
fPath->AddPoint(BPoint(width, height));
src/libs/icon/shape/ReferenceImage.cpp
217
fPath->AddPoint(BPoint(width, 0));
src/libs/icon/shape/ReferenceImage.cpp
39
double width = (int) Style()->Bitmap()->Bounds().Width() + 1;
src/libs/icon/shape/ReferenceImage.cpp
43
double longerSide = std::max(width, height);
src/libs/icon/shape/ReferenceImage.cpp
47
Transform(&width, &height);
src/libs/icon/shape/ReferenceImage.cpp
48
TranslateBy(BPoint((64-width)/2, (64-height)/2));
src/libs/icon/transformer/ContourTransformer.cpp
115
double factor = fabs(width());
src/libs/icon/transformer/ContourTransformer.cpp
141
ret = into->AddDouble("width", width());
src/libs/icon/transformer/ContourTransformer.cpp
161
object->AddProperty(new FloatProperty(PROPERTY_WIDTH, width()));
src/libs/icon/transformer/ContourTransformer.cpp
191
float w = object->Value(PROPERTY_WIDTH, (float)width());
src/libs/icon/transformer/ContourTransformer.cpp
192
if (w != width()) {
src/libs/icon/transformer/ContourTransformer.cpp
193
width(w);
src/libs/icon/transformer/ContourTransformer.cpp
58
width(value);
src/libs/icon/transformer/ContourTransformer.cpp
80
clone->width(width());
src/libs/icon/transformer/StrokeTransformer.cpp
126
double factor = fabs(width());
src/libs/icon/transformer/StrokeTransformer.cpp
155
ret = into->AddDouble("width", width());
src/libs/icon/transformer/StrokeTransformer.cpp
178
object->AddProperty(new FloatProperty(PROPERTY_WIDTH, width()));
src/libs/icon/transformer/StrokeTransformer.cpp
219
float w = object->Value(PROPERTY_WIDTH, (float)width());
src/libs/icon/transformer/StrokeTransformer.cpp
220
if (w != width()) {
src/libs/icon/transformer/StrokeTransformer.cpp
221
width(w);
src/libs/icon/transformer/StrokeTransformer.cpp
58
width(value);
src/libs/icon/transformer/StrokeTransformer.cpp
84
clone->width(width());
src/libs/print/libprint/GraphicsDriver.cpp
241
float width;
src/libs/print/libprint/GraphicsDriver.cpp
252
width = physicalRect.Width();
src/libs/print/libprint/GraphicsDriver.cpp
254
if (width < height) { // portrait
src/libs/print/libprint/GraphicsDriver.cpp
255
scale.x = height / 2.0f / width;
src/libs/print/libprint/GraphicsDriver.cpp
256
scale.y = width / height;
src/libs/print/libprint/GraphicsDriver.cpp
258
scale.x = height / width;
src/libs/print/libprint/GraphicsDriver.cpp
259
scale.y = width / 2.0f / height;
src/libs/print/libprint/GraphicsDriver.cpp
263
width = physicalRect.Width();
src/libs/print/libprint/GraphicsDriver.cpp
265
if (width < height) {
src/libs/print/libprint/GraphicsDriver.cpp
266
scale.x = height / 4.0f / width;
src/libs/print/libprint/GraphicsDriver.cpp
267
scale.y = width / height / 2.0f;
src/libs/print/libprint/GraphicsDriver.cpp
269
scale.x = height / width / 2.0f;
src/libs/print/libprint/GraphicsDriver.cpp
270
scale.y = width / 4.0f / height;
src/libs/print/libprint/GraphicsDriver.cpp
274
width = physicalRect.Width();
src/libs/print/libprint/GraphicsDriver.cpp
276
if (width < height) {
src/libs/print/libprint/GraphicsDriver.cpp
277
scale.x = height / 8.0f / width;
src/libs/print/libprint/GraphicsDriver.cpp
278
scale.y = width / height / 4.0f;
src/libs/print/libprint/GraphicsDriver.cpp
280
scale.x = height / width / 4.0f;
src/libs/print/libprint/GraphicsDriver.cpp
281
scale.y = width / 8.0f / height;
src/libs/print/libprint/GraphicsDriver.cpp
333
float width = scaledPhysicalRect.Width();
src/libs/print/libprint/GraphicsDriver.cpp
342
offset.x = width;
src/libs/print/libprint/GraphicsDriver.cpp
350
offset.x = width * (index / 2);
src/libs/print/libprint/GraphicsDriver.cpp
353
offset.x = width * (index % 2);
src/libs/print/libprint/GraphicsDriver.cpp
359
offset.x = width * (index / 4);
src/libs/print/libprint/GraphicsDriver.cpp
362
offset.x = width * (index % 4);
src/libs/print/libprint/GraphicsDriver.cpp
367
offset.x = width * (index / 2);
src/libs/print/libprint/GraphicsDriver.cpp
371
offset.x = width * (index / 3);
src/libs/print/libprint/GraphicsDriver.cpp
375
offset.x = width * (index / 4);
src/libs/print/libprint/GraphicsDriver.cpp
379
offset.x = width * (index / 5);
src/libs/print/libprint/GraphicsDriver.cpp
383
offset.x = width * (index / 6);
src/libs/print/libprint/GraphicsDriver.cpp
387
offset.x = width * (index / 7);
src/libs/print/libprint/GraphicsDriver.cpp
391
offset.x = width * (index / 8);
src/libs/print/libprint/GraphicsDriver.cpp
395
offset.x = width * (index / 9);
src/libs/print/libprint/GraphicsDriver.cpp
399
offset.x = width * (index / 10);
src/libs/print/libprint/GraphicsDriver.cpp
403
offset.x = width * (index / 11);
src/libs/print/libprint/GraphicsDriver.cpp
516
const int32 width = source->Bounds().IntegerWidth() + 1;
src/libs/print/libprint/GraphicsDriver.cpp
527
for (int32 x = 0; x < width; x ++) {
src/libs/print/libprint/GraphicsDriver.cpp
837
GraphicsDriver::_ConvertRGB32ToRGB24(const void* src, void* dst, int width) {
src/libs/print/libprint/GraphicsDriver.cpp
840
for (int i = width; i > 0; i --) {
src/libs/print/libprint/GraphicsDriver.cpp
850
GraphicsDriver::_ConvertCMAP8ToRGB24(const void* src, void* dst, int width) {
src/libs/print/libprint/GraphicsDriver.cpp
854
for (int i = width; i > 0; i --) {
src/libs/print/libprint/GraphicsDriver.cpp
865
GraphicsDriver::ConvertToRGB24(const void* src, void* dst, int width,
src/libs/print/libprint/GraphicsDriver.cpp
868
_ConvertRGB32ToRGB24(src, dst, width);
src/libs/print/libprint/GraphicsDriver.cpp
870
_ConvertCMAP8ToRGB24(src, dst, width);
src/libs/print/libprint/GraphicsDriver.cpp
887
GraphicsDriver::_ConvertRGB32ToGray(const void* src, void* dst, int width) {
src/libs/print/libprint/GraphicsDriver.cpp
890
for (int i = width; i > 0; i--, s++, d++)
src/libs/print/libprint/GraphicsDriver.cpp
896
GraphicsDriver::_ConvertCMAP8ToGray(const void* src, void* dst, int width) {
src/libs/print/libprint/GraphicsDriver.cpp
900
for (int i = width; i > 0; i--, s++, d++) {
src/libs/print/libprint/GraphicsDriver.cpp
908
GraphicsDriver::ConvertToGray(const void* src, void* dst, int width,
src/libs/print/libprint/GraphicsDriver.cpp
911
_ConvertRGB32ToGray(src, dst, width);
src/libs/print/libprint/GraphicsDriver.cpp
913
_ConvertCMAP8ToGray(src, dst, width);
src/libs/print/libprint/Halftone.cpp
155
int width)
src/libs/print/libprint/Halftone.cpp
173
(this->*fDither)(destination, source, x, y, width);
src/libs/print/libprint/Halftone.cpp
202
int width)
src/libs/print/libprint/Halftone.cpp
209
int widthByte = (width + 7) / 8;
src/libs/print/libprint/Halftone.cpp
210
int remainder = width % 8;
src/libs/print/libprint/Halftone.cpp
224
if (width >= 8) {
src/libs/print/libprint/Halftone.cpp
295
Halftone::SetupErrorBuffer(int x, int y, int width)
src/libs/print/libprint/Halftone.cpp
300
fWidth = width;
src/libs/print/libprint/Halftone.cpp
303
const int size = width + 2;
src/libs/print/libprint/Halftone.cpp
312
int x, int y, int width)
src/libs/print/libprint/Halftone.cpp
317
|| fWidth != width)
src/libs/print/libprint/Halftone.cpp
318
SetupErrorBuffer(x, y, width);
src/libs/print/libprint/Halftone.cpp
329
for (int x = 0; x < width; x ++, source ++) {
src/libs/print/libprint/Halftone.cpp
362
const bool hasRest = (width % 8) != 0;
src/libs/print/libprint/HalftoneView.cpp
34
const int width = Bounds().IntegerWidth()+1;
src/libs/print/libprint/HalftoneView.cpp
42
uchar value = x * 255 / width;
src/libs/print/libprint/HalftoneView.cpp
74
const int widthBytes = (width + 7) / 8; // byte boundary
src/libs/print/libprint/HalftoneView.cpp
88
halftone.Dither(buffer, src, 0, y, width);
src/libs/print/libprint/HalftoneView.cpp
93
for (int x = 0; x < width; x ++, dst ++) {
src/libs/print/libprint/JobSetupDlg.cpp
478
BRect rect(0, 0, size.width, size.height);
src/libs/print/libprint/PageSetupDlg.cpp
333
float width = paperCap->fPaperRect.Width();
src/libs/print/libprint/PageSetupDlg.cpp
336
swap(&width, &height);
src/libs/print/libprint/PageSetupDlg.cpp
338
fMarginView->SetPageSize(width, height);
src/libs/print/libprint/PagesView.cpp
20
void PagesView::GetPreferredSize(float *width, float *height)
src/libs/print/libprint/PagesView.cpp
22
*width = kWidth;
src/libs/print/libprint/Preview.cpp
137
float width = printableRect.Width();
src/libs/print/libprint/Preview.cpp
144
offset.x = width;
src/libs/print/libprint/Preview.cpp
152
offset.x = width * (index / 2);
src/libs/print/libprint/Preview.cpp
155
offset.x = width * (index % 2);
src/libs/print/libprint/Preview.cpp
162
offset.x = width * (index / 4);
src/libs/print/libprint/Preview.cpp
165
offset.x = width * (index % 4);
src/libs/print/libprint/Preview.cpp
181
offset.x = width * (index % value);
src/libs/print/libprint/Preview.cpp
278
PreviewView::FrameResized(float width, float height)
src/libs/print/libprint/Preview.cpp
501
float width = _PaperRect().Width() + kPreviewLeftMargin + kPreviewRightMargin;
src/libs/print/libprint/Preview.cpp
505
float x = width - frame.Width();
src/libs/print/libprint/Preview.cpp
515
scroll->SetProportion((width - x) / width);
src/libs/print/libprint/Preview.cpp
973
float width = rect.Width() + 1 + B_V_SCROLL_BAR_WIDTH;
src/libs/print/libprint/Preview.cpp
984
if (width < minWidth) width = minWidth;
src/libs/print/libprint/Preview.cpp
985
if (width > maxWidth) width = maxWidth;
src/libs/print/libprint/Preview.cpp
988
ResizeTo(width, height);
src/libs/stdc++/legacy/iomanip.cc
69
i.width(n);
src/libs/stdc++/legacy/iostream.cc
235
int w = width(0);
src/libs/stdc++/legacy/iostream.cc
477
int w = width(0);
src/libs/stdc++/legacy/iostream.cc
559
int w = stream.width(0);
src/libs/stdc++/legacy/iostream.cc
707
/* width: */ width(0),
src/libs/stdc++/legacy/iostream.cc
734
if (_IO_outfloat(n, rdbuf(), format_char, width(0),
src/libs/stdc++/legacy/iostream.cc
764
int w = width(0);
src/libs/stdc++/legacy/iostream.cc
817
/* width: */ width(0),
src/libs/stdc++/legacy/iostream.cc
863
int w = width(0);
src/libs/stdc++/legacy/stream.cc
147
static char *str(const char* s, int len, int width)
src/libs/stdc++/legacy/stream.cc
149
if (width < len)
src/libs/stdc++/legacy/stream.cc
150
width = len;
src/libs/stdc++/legacy/stream.cc
152
if (space_left <= width + 1)
src/libs/stdc++/legacy/stream.cc
155
memset (buf, ' ', width - len);
src/libs/stdc++/legacy/stream.cc
156
memcpy (buf + width - len, s, len);
src/libs/stdc++/legacy/stream.cc
157
buf[width] = 0;
src/libs/stdc++/legacy/stream.cc
161
char* str(const char* s, int width)
src/libs/stdc++/legacy/stream.cc
163
return str (s, strlen (s), width);
src/libs/stdc++/legacy/stream.cc
166
char* chr(char ch, int width)
src/libs/stdc++/legacy/stream.cc
169
return str (&c, 1, width);
src/libs/zydis/Zydis/Register.c
149
: REG_LOOKUP[reg].width;
src/libs/zydis/Zydis/Register.c
296
: REG_CLASS_LOOKUP[register_class].width;
src/libs/zydis/Zydis/Register.c
55
ZydisRegisterWidth width;
src/libs/zydis/Zydis/Register.c
80
ZydisRegisterWidth width;
src/preferences/filetypes/ApplicationTypeWindow.cpp
476
float width = be_plain_font->StringWidth("99") + 16;
src/preferences/filetypes/ApplicationTypeWindow.cpp
478
BSize(width, B_SIZE_UNSET));
src/preferences/filetypes/ApplicationTypeWindow.cpp
480
BSize(width, B_SIZE_UNSET));
src/preferences/filetypes/ApplicationTypeWindow.cpp
482
BSize(width, B_SIZE_UNSET));
src/preferences/filetypes/ApplicationTypeWindow.cpp
484
BSize(width, B_SIZE_UNSET));
src/preferences/filetypes/AttributeListView.cpp
142
int32 width;
src/preferences/filetypes/AttributeListView.cpp
143
if (attributes.FindInt32("attr:width", index, &width) != B_OK)
src/preferences/filetypes/AttributeListView.cpp
144
width = 50;
src/preferences/filetypes/AttributeListView.cpp
147
width, visible, editable);
src/preferences/filetypes/AttributeListView.cpp
156
int32 width, bool visible, bool editable)
src/preferences/filetypes/AttributeListView.cpp
163
fWidth(width),
src/preferences/filetypes/AttributeListView.h
17
const char* displayAs, int32 alignment, int32 width, bool visible,
src/preferences/filetypes/AttributeWindow.cpp
366
int32 width = atoi(fWidthControl->Text());
src/preferences/filetypes/AttributeWindow.cpp
367
if (width < 0)
src/preferences/filetypes/AttributeWindow.cpp
368
width = 0;
src/preferences/filetypes/AttributeWindow.cpp
386
width, fVisibleCheckBox->Value() == B_CONTROL_ON,
src/preferences/filetypes/FileTypesWindow.cpp
202
float width = max_c(a, b);
src/preferences/filetypes/FileTypesWindow.cpp
203
if (width < bitmapRect.Width())
src/preferences/filetypes/FileTypesWindow.cpp
204
width = bitmapRect.Width();
src/preferences/filetypes/FileTypesWindow.cpp
206
*_width = ceilf(width);
src/preferences/filetypes/FileTypesWindow.cpp
229
float width = StringWidth(B_TRANSLATE("no icon")) + 8.0f;
src/preferences/filetypes/FileTypesWindow.cpp
231
float x = (Bounds().Width() - width) / 2.0f;
src/preferences/filetypes/FileTypesWindow.cpp
235
return BRect(x, y, x + width, y + height);
src/preferences/filetypes/FileTypesWindow.cpp
265
fMinSize.width = font.StringWidth(".mmmmm");
src/preferences/filetypes/IconView.cpp
444
int32 width = bitmap->Bounds().IntegerWidth() + 1;
src/preferences/filetypes/IconView.cpp
446
if (width == B_LARGE_ICON && fLarge != NULL) {
src/preferences/filetypes/IconView.cpp
451
if (width == B_MINI_ICON && fMini != NULL) {
src/preferences/filetypes/IconView.cpp
457
BBitmap* source = (width > B_LARGE_ICON && fLarge != NULL) || fMini == NULL
src/preferences/filetypes/IconView.cpp
807
float width, height;
src/preferences/filetypes/IconView.cpp
808
GetPreferredSize(&width, &height);
src/preferences/filetypes/IconView.cpp
809
return BSize(width, height);
src/preferences/input/InputDeviceView.cpp
100
float width = 4.0f;
src/preferences/input/InputDeviceView.cpp
101
width += be_plain_font->StringWidth(fTitle) +
src/preferences/input/InputDeviceView.cpp
103
return width;
src/preferences/input/InputTouchpadPrefView.cpp
154
TouchpadView::GetPreferredSize(float* width, float* height)
src/preferences/input/InputTouchpadPrefView.cpp
156
if (width != NULL)
src/preferences/input/InputTouchpadPrefView.cpp
157
*width = fPrefRect.Width();
src/preferences/input/InputTouchpadPrefView.cpp
403
Window()->ResizeTo(size.width, size.height);
src/preferences/input/InputTouchpadPrefView.h
62
virtual void GetPreferredSize(float* width, float* height);
src/preferences/keymap/KeyboardLayout.cpp
588
x = fDefaultKeySize.width;
src/preferences/keymap/KeyboardLayout.cpp
636
float width, height;
src/preferences/keymap/KeyboardLayout.cpp
637
if (!_GetSize(state, data, width, height, &key.second_row))
src/preferences/keymap/KeyboardLayout.cpp
649
key.frame.right = width;
src/preferences/keymap/KeyboardLayout.cpp
807
if (!_GetSize(state, term.String(), fDefaultKeySize.width,
src/preferences/keymap/KeyboardLayoutView.cpp
158
KeyboardLayoutView::FrameResized(float width, float height)
src/preferences/keymap/KeyboardLayoutView.cpp
684
if (fLayout->DefaultKeySize().width < 11)
src/preferences/keymap/KeyboardLayoutView.cpp
689
fOldSize.width = Bounds().Width();
src/preferences/keymap/KeyboardLayoutView.h
43
virtual void FrameResized(float width, float height);
src/preferences/keymap/KeymapWindow.cpp
100
float width = mode.virtual_width - 64;
src/preferences/keymap/KeymapWindow.cpp
102
width * kDefaultHeight / kDefaultWidth);
src/preferences/keymap/KeymapWindow.cpp
991
float width = listView->StringWidth(item->Text());
src/preferences/keymap/KeymapWindow.cpp
992
if (width > minWidth)
src/preferences/keymap/KeymapWindow.cpp
993
minWidth = width;
src/preferences/keymap/StatusMenuField.cpp
97
float width;
src/preferences/keymap/StatusMenuField.cpp
99
BMenuItem::GetContentSize(&width, &height);
src/preferences/locale/LanguageListView.cpp
387
int32 width = (int32)dragBitmap->Bounds().Width() + 1;
src/preferences/locale/LanguageListView.cpp
393
for (uint8* end = line + 4 * width; line < end; line += 4)
src/preferences/locale/LanguageListView.cpp
399
for (uint8* end = line + 4 * width; line < end; line += 4)
src/preferences/locale/LanguageListView.cpp
405
for (uint8* end = line + 4 * width; line < end; line += 4)
src/preferences/media/MediaListItem.cpp
125
float width = 4.0f;
src/preferences/media/MediaListItem.cpp
131
width += iconSpace;
src/preferences/media/MediaListItem.cpp
132
width += 8.0f;
src/preferences/media/MediaListItem.cpp
135
width += be_plain_font->StringWidth(fTitle) + 16.0f;
src/preferences/media/MediaListItem.cpp
136
return width;
src/preferences/media/MediaWindow.cpp
646
float width = 0;
src/preferences/media/MediaWindow.cpp
649
width = max_c(width, item->Width());
src/preferences/media/MediaWindow.cpp
651
fListView->SetExplicitMinSize(BSize(width, B_SIZE_UNSET));
src/preferences/network/NetworkWindow.cpp
174
float width;
src/preferences/network/NetworkWindow.cpp
176
fListView->GetPreferredSize(&width, &height);
src/preferences/network/NetworkWindow.cpp
177
width += 2 * be_control_look->DefaultItemSpacing();
src/preferences/network/NetworkWindow.cpp
178
fListView->SetExplicitSize(BSize(width, B_SIZE_UNSET));
src/preferences/network/NetworkWindow.cpp
179
fListView->SetExplicitMinSize(BSize(width, std::min(height, 400.f)));
src/preferences/notifications/GeneralView.cpp
237
float width = fWidthSlider->Value() * kWidthStep;
src/preferences/notifications/GeneralView.cpp
238
settings.AddFloat(kWidthName, width);
src/preferences/notifications/GeneralView.cpp
274
int32 width = fWidthSlider->Value() * kWidthStep;
src/preferences/notifications/GeneralView.cpp
275
if (fOriginalWidth != width)
src/preferences/notifications/GeneralView.cpp
310
int32 width = fWidthSlider->Value() * kWidthStep;
src/preferences/notifications/GeneralView.cpp
311
if (kDefaultWidth != width)
src/preferences/printers/PrinterListView.cpp
417
float width;
src/preferences/printers/PrinterListView.cpp
419
width = fLayoutData.fRightColumnMaximumWidth * totalWidth /
src/preferences/printers/PrinterListView.cpp
422
width = fLayoutData.fRightColumnMaximumWidth;
src/preferences/printers/PrinterListView.cpp
425
BPoint pendingPt(bounds.right - width - 8.0, namePt.y);
src/preferences/printers/PrinterListView.cpp
426
BPoint commentPt(bounds.right - width - 8.0, driverPt.y);
src/preferences/printers/TestPageView.cpp
129
virtual void GetHeightForWidth(float width, float* min,
src/preferences/printers/TestPageView.cpp
142
RadialLinesView::GetHeightForWidth(float width,
src/preferences/printers/TestPageView.cpp
148
*min = width;
src/preferences/printers/TestPageView.cpp
151
*max = width;
src/preferences/printers/TestPageView.cpp
154
*preferred = width;
src/preferences/printers/TestPageView.cpp
317
float width = Bounds().Width();
src/preferences/printers/TestPageView.cpp
319
float minDimension = MIN(width, height);
src/preferences/screen/MonitorView.cpp
113
float width = StringWidth(text);
src/preferences/screen/MonitorView.cpp
114
if (width > innerRect.Width() || height > innerRect.Height())
src/preferences/screen/MonitorView.cpp
120
DrawString(text, BPoint(innerRect.left + (innerRect.Width() - width) / 2,
src/preferences/screen/MonitorView.cpp
126
MonitorView::SetResolution(int32 width, int32 height)
src/preferences/screen/MonitorView.cpp
128
if (fWidth == width && fHeight == height)
src/preferences/screen/MonitorView.cpp
131
fWidth = width;
src/preferences/screen/MonitorView.cpp
140
MonitorView::SetMaxResolution(int32 width, int32 height)
src/preferences/screen/MonitorView.cpp
142
if (fMaxWidth == width && fMaxHeight == height)
src/preferences/screen/MonitorView.cpp
145
fMaxWidth = width;
src/preferences/screen/MonitorView.cpp
164
int32 width, height;
src/preferences/screen/MonitorView.cpp
165
if (message->FindInt32("width", &width) == B_OK
src/preferences/screen/MonitorView.cpp
167
SetResolution(width, height);
src/preferences/screen/MonitorView.cpp
210
float width = maxWidth * factorX;
src/preferences/screen/MonitorView.cpp
214
return BRect((size.width - width) / 2, (size.height - height) / 2,
src/preferences/screen/MonitorView.cpp
215
(size.width + width) / 2, (size.height + height) / 2);
src/preferences/screen/MonitorView.cpp
229
double x = info.width / 2.54;
src/preferences/screen/MonitorView.cpp
28
MonitorView::MonitorView(BRect rect, const char *name, int32 width, int32 height)
src/preferences/screen/MonitorView.cpp
32
fWidth(width),
src/preferences/screen/MonitorView.h
29
void SetResolution(int32 width, int32 height);
src/preferences/screen/MonitorView.h
30
void SetMaxResolution(int32 width, int32 height);
src/preferences/screen/RefreshWindow.cpp
52
float width, height;
src/preferences/screen/RefreshWindow.cpp
53
fRefreshSlider->GetPreferredSize(&width, &height);
src/preferences/screen/RefreshWindow.cpp
73
width = stringView->Bounds().Width() + 100;
src/preferences/screen/RefreshWindow.cpp
74
if (width < Bounds().Width())
src/preferences/screen/RefreshWindow.cpp
75
width = Bounds().Width();
src/preferences/screen/RefreshWindow.cpp
78
ResizeTo(width, height);
src/preferences/screen/RefreshWindow.cpp
79
MoveTo(position.x - width / 2.5f, position.y - height / 1.9f);
src/preferences/screen/ScreenMode.cpp
153
return width != other.width || height != other.height
src/preferences/screen/ScreenMode.cpp
165
width = mode.virtual_width;
src/preferences/screen/ScreenMode.cpp
172
width /= 2;
src/preferences/screen/ScreenMode.cpp
404
*_diagonalInches = round(sqrt(info.width * info.width
src/preferences/screen/ScreenMode.cpp
483
? mode.width * 2 : mode.width;
src/preferences/screen/ScreenMode.cpp
537
compute_display_timing(mode.width, mode.height, mode.refresh, false,
src/preferences/screen/ScreenMode.h
22
int32 width; // these reflect the corrected width/height,
src/preferences/screen/ScreenWindow.cpp
1061
message->FindInt32("width", &fSelected.width);
src/preferences/screen/ScreenWindow.cpp
1176
fSelected.width = 640;
src/preferences/screen/ScreenWindow.cpp
1267
B_PRId32 "\n", mode.width, mode.height, mode.BitsPerPixel());
src/preferences/screen/ScreenWindow.cpp
136
mode.width, mode.height);
src/preferences/screen/ScreenWindow.cpp
325
if (mode.width == previousWidth && mode.height == previousHeight)
src/preferences/screen/ScreenWindow.cpp
328
previousWidth = mode.width;
src/preferences/screen/ScreenWindow.cpp
330
if (maxWidth < mode.width)
src/preferences/screen/ScreenWindow.cpp
331
maxWidth = mode.width;
src/preferences/screen/ScreenWindow.cpp
359
if (mode.width == previousWidth && mode.height == previousHeight)
src/preferences/screen/ScreenWindow.cpp
362
previousWidth = mode.width;
src/preferences/screen/ScreenWindow.cpp
366
message->AddInt32("width", mode.width);
src/preferences/screen/ScreenWindow.cpp
372
mode.width, mode.height);
src/preferences/screen/ScreenWindow.cpp
674
mode.width, mode.height);
src/preferences/screen/ScreenWindow.cpp
703
if (fSelected.width == mode.width
src/preferences/screen/ScreenWindow.cpp
835
updateMessage.AddInt32("width", fSelected.width);
src/preferences/screensaver/ScreenCornerSelector.cpp
45
float width = Bounds().Width();
src/preferences/screensaver/ScreenCornerSelector.cpp
48
if (width / kAspectRatio > height)
src/preferences/screensaver/ScreenCornerSelector.cpp
49
width = height * kAspectRatio;
src/preferences/screensaver/ScreenCornerSelector.cpp
50
else if (height * kAspectRatio > width)
src/preferences/screensaver/ScreenCornerSelector.cpp
51
height = width / kAspectRatio;
src/preferences/screensaver/ScreenCornerSelector.cpp
53
return BRect((Bounds().Width() - width) / 2,
src/preferences/screensaver/ScreenCornerSelector.cpp
55
(Bounds().Width() + width) / 2, (Bounds().Height() + height) / 2);
src/preferences/shortcuts/PopUpColumn.cpp
19
PopUpColumn::PopUpColumn(BPopUpMenu* menu, const char* name, float width,
src/preferences/shortcuts/PopUpColumn.cpp
23
BStringColumn(name, width, minWidth, maxWidth, truncate, align),
src/preferences/shortcuts/PopUpColumn.h
18
float width, float minWidth, float maxWidth,
src/preferences/shortcuts/ShortcutsWindow.cpp
147
float width = max_c(headerWidth, cellWidth);
src/preferences/shortcuts/ShortcutsWindow.cpp
150
width, width - 1, width * 1.5, B_TRUNCATE_END, false, true, 1),
src/preferences/shortcuts/ShortcutsWindow.cpp
424
float width = max_c(Bounds().right, frame.right - frame.left);
src/preferences/shortcuts/ShortcutsWindow.cpp
426
ResizeTo(width, height);
src/preferences/shortcuts/ShortcutsWindow.cpp
430
float left = min_c(screen.Frame().right - width, frame.left);
src/preferences/sounds/HWindow.cpp
453
SetZoomLimits(size.width + 2 * kInset + B_V_SCROLL_BAR_WIDTH,
src/preferences/time/TZDisplay.cpp
127
size.width = B_SIZE_UNLIMITED;
src/preferences/time/TZDisplay.cpp
165
size.width = firstLine > secondLine ? firstLine : secondLine;
src/preferences/time/TZDisplay.cpp
46
ResizeTo(size.width, size.height);
src/servers/app/PictureBoundingBoxPlayer.cpp
161
virtual void DrawPixels(const BRect& source, const BRect& destination, uint32 width,
src/servers/app/Screen.cpp
109
Screen::SetMode(uint16 width, uint16 height, uint32 colorSpace,
src/servers/app/Screen.cpp
115
mode.virtual_width = width;
src/servers/app/Screen.cpp
126
Screen::SetBestMode(uint16 width, uint16 height, uint32 colorSpace,
src/servers/app/Screen.cpp
138
int32 index = _FindBestMode(modes, count, width, height, colorSpace,
src/servers/app/Screen.cpp
142
", %g Hz%s) failed\n", width, height, colorSpace, frequency,
src/servers/app/Screen.cpp
200
Screen::GetMode(uint16 &width, uint16 &height, uint32 &colorspace,
src/servers/app/Screen.cpp
206
width = mode.virtual_width;
src/servers/app/Screen.cpp
253
uint16 width, uint16 height, uint32 colorSpace, float frequency) const
src/servers/app/Screen.cpp
259
if (mode.virtual_width != width)
src/servers/app/Screen.h
36
status_t SetMode(uint16 width, uint16 height,
src/servers/app/Screen.h
40
status_t SetBestMode(uint16 width, uint16 height,
src/servers/app/Screen.h
45
void GetMode(uint16 &width, uint16 &height,
src/servers/app/Screen.h
60
uint32 count, uint16 width, uint16 height,
src/servers/app/ServerBitmap.cpp
147
color_space colorSpace, BPoint from, BPoint to, int32 width, int32 height)
src/servers/app/ServerBitmap.cpp
149
if (!bits || bitsLength < 0 || bytesPerRow <= 0 || width < 0 || height < 0)
src/servers/app/ServerBitmap.cpp
153
bytesPerRow, fBytesPerRow, colorSpace, fSpace, from, to, width,
src/servers/app/ServerBitmap.cpp
238
UtilityBitmap::UtilityBitmap(const uint8* alreadyPaddedData, uint32 width,
src/servers/app/ServerBitmap.cpp
241
ServerBitmap(BRect(0, 0, width - 1, height - 1), format, 0)
src/servers/app/ServerBitmap.h
120
uint32 width, uint32 height,
src/servers/app/ServerBitmap.h
79
BPoint from, BPoint to, int32 width,
src/servers/app/ServerCursor.cpp
127
ServerCursor::ServerCursor(const uint8* alreadyPaddedData, uint32 width,
src/servers/app/ServerCursor.cpp
130
ServerBitmap(BRect(0, 0, width - 1, height - 1), format, 0),
src/servers/app/ServerCursor.h
31
uint32 width, uint32 height,
src/servers/app/ServerFont.cpp
1064
width(0.0)
src/servers/app/ServerFont.cpp
1070
void Finish(double x, double y) { width = x; }
src/servers/app/ServerFont.cpp
1079
float width;
src/servers/app/ServerFont.cpp
1096
return consumer.width;
src/servers/app/ServerFont.cpp
1133
float width = face->available_sizes[0].x_ppem;
src/servers/app/ServerFont.cpp
1139
width = face->available_sizes[i].x_ppem;
src/servers/app/ServerFont.cpp
1146
fBounds.right = width / 64.f;
src/servers/app/ServerFont.cpp
1166
ServerFont::TruncateString(BString* inOut, uint32 mode, float width) const
src/servers/app/ServerFont.cpp
1185
truncate_string(*inOut, mode, width, escapementArray, fSize,
src/servers/app/ServerFont.h
169
uint32 mode, float width) const;
src/servers/app/ServerPicture.cpp
255
virtual void DrawPixels(const BRect& source, const BRect& destination, uint32 width,
src/servers/app/ServerPicture.cpp
636
CanvasCallbacks::DrawPixels(const BRect& src, const BRect& _dest, uint32 width,
src/servers/app/ServerPicture.cpp
640
UtilityBitmap bitmap(BRect(0, 0, width - 1, height - 1),
src/servers/app/VirtualScreen.cpp
179
uint16 width, height;
src/servers/app/VirtualScreen.cpp
182
screen->GetMode(width, height, colorSpace, frequency);
src/servers/app/VirtualScreen.cpp
185
virtualWidth += width;
src/servers/app/Window.cpp
151
uint16 width, height;
src/servers/app/Window.cpp
155
Screen()->GetMode(width, height, colorSpace, frequency);
src/servers/app/WorkspacesView.cpp
101
BRect rect(column * width, row * height, (column + 1) * width,
src/servers/app/WorkspacesView.cpp
218
float width = tabFrame.Width();
src/servers/app/WorkspacesView.cpp
222
tabFrame.right = tabFrame.left + width;
src/servers/app/WorkspacesView.cpp
227
tabFrame.left = tabFrame.right - width;
src/servers/app/WorkspacesView.cpp
274
float width = font.StringWidth(title.String(), title.Length());
src/servers/app/WorkspacesView.cpp
277
textOffset.x = rintf(frame.left + (frame.Width() - width) / 2);
src/servers/app/WorkspacesView.cpp
95
int32 width = frame.IntegerWidth() / columns;
src/servers/app/decorator/DefaultDecorator.cpp
742
bool down, int32 width, int32 height)
src/servers/app/decorator/DefaultDecorator.cpp
748
int32 width;
src/servers/app/decorator/DefaultDecorator.cpp
769
&& current->width == width && current->height == height
src/servers/app/decorator/DefaultDecorator.cpp
784
|| sBitmapDrawingEngine->SetSize(width, height) != B_OK)
src/servers/app/decorator/DefaultDecorator.cpp
787
BRect rect(0, 0, width - 1, height - 1);
src/servers/app/decorator/DefaultDecorator.cpp
791
down ? "down" : "up", width, height));
src/servers/app/decorator/DefaultDecorator.cpp
802
float inset = floorf(width / 4.0);
src/servers/app/decorator/DefaultDecorator.cpp
808
inset = floorf(width / 2.1);
src/servers/app/decorator/DefaultDecorator.cpp
820
UtilityBitmap* bitmap = sBitmapDrawingEngine->ExportToBitmap(width, height,
src/servers/app/decorator/DefaultDecorator.cpp
834
entry->width = width;
src/servers/app/decorator/DefaultDecorator.h
61
Component item, bool down, int32 width,
src/servers/app/drawing/AlphaMask.cpp
192
const int32 width = fBits->Width();
src/servers/app/drawing/AlphaMask.cpp
196
uint32 numPixels = width * height;
src/servers/app/drawing/AlphaMask.cpp
212
for (int32 x = 0; x < width; x++) {
src/servers/app/drawing/AlphaMask.cpp
235
for (; x < previousBounds.left + width; x++) {
src/servers/app/drawing/AlphaMask.cpp
244
for (int32 x = 0; x < width; x++) {
src/servers/app/drawing/AlphaMask.cpp
268
fBuffer.attach(fBits->Bits(), width, height, width);
src/servers/app/drawing/BitmapDrawingEngine.cpp
83
BitmapDrawingEngine::ExportToBitmap(int32 width, int32 height,
src/servers/app/drawing/BitmapDrawingEngine.cpp
86
if (width <= 0 || height <= 0)
src/servers/app/drawing/BitmapDrawingEngine.cpp
90
width - 1, height - 1), space, 0);
src/servers/app/drawing/BitmapDrawingEngine.h
25
UtilityBitmap* ExportToBitmap(int32 width, int32 height,
src/servers/app/drawing/DrawingEngine.cpp
1464
uint32 width = src.IntegerWidth() + 1;
src/servers/app/drawing/DrawingEngine.cpp
1467
_CopyRect(bits, width, height, bytesPerRow,
src/servers/app/drawing/DrawingEngine.cpp
1486
DrawingEngine::_CopyRect(uint8* src, uint32 width, uint32 height,
src/servers/app/drawing/DrawingEngine.cpp
1491
const bool needMemmove = (yOffset == 0 && xOffset > 0 && uint32(xOffset) <= width);
src/servers/app/drawing/DrawingEngine.cpp
1506
memcpy(dst, src, width * 4);
src/servers/app/drawing/DrawingEngine.cpp
1512
memmove(dst, src, width * 4);
src/servers/app/drawing/DrawingEngine.h
207
uint32 width, uint32 height, uint32 bytesPerRow,
src/servers/app/drawing/HWInterface.cpp
398
HWInterface::CheckOverlayRestrictions(int32 width, int32 height,
src/servers/app/drawing/HWInterface.cpp
406
HWInterface::AllocateOverlayBuffer(int32 width, int32 height, color_space space)
src/servers/app/drawing/HWInterface.cpp
520
int32 width = area.right - area.left + 1;
src/servers/app/drawing/HWInterface.cpp
527
uint8* buffer = new(std::nothrow) uint8[width * height * 4];
src/servers/app/drawing/HWInterface.cpp
582
dst += width * 4;
src/servers/app/drawing/HWInterface.cpp
606
dst += width * 4;
src/servers/app/drawing/HWInterface.cpp
610
_CopyToFront(buffer, width * 4, area.left, area.top, area.right,
src/servers/app/drawing/HWInterface.cpp
912
uint32 width = bitmapFrame.IntegerWidth() + 1;
src/servers/app/drawing/HWInterface.cpp
929
width = cursorFrame.IntegerWidth() + 1;
src/servers/app/drawing/HWInterface.cpp
935
for (uint32 x = 0; x < width; x++) {
src/servers/app/drawing/HWInterface.cpp
973
width = combindedBounds.IntegerWidth() + 1;
src/servers/app/drawing/HWInterface.cpp
980
for (uint32 x = 0; x < width; x++) {
src/servers/app/drawing/HWInterface.h
129
virtual bool CheckOverlayRestrictions(int32 width,
src/servers/app/drawing/HWInterface.h
131
virtual const overlay_buffer* AllocateOverlayBuffer(int32 width,
src/servers/app/drawing/HWInterface.h
198
buffer_clip(int32 width, int32 height)
src/servers/app/drawing/HWInterface.h
200
bpr = width * 4;
src/servers/app/drawing/MallocBuffer.cpp
13
MallocBuffer::MallocBuffer(uint32 width,
src/servers/app/drawing/MallocBuffer.cpp
16
fWidth(width),
src/servers/app/drawing/MallocBuffer.h
12
MallocBuffer(uint32 width,
src/servers/app/drawing/Overlay.cpp
275
fView.width = (uint16)source.IntegerWidth() + 1;
src/servers/app/drawing/Overlay.cpp
280
fWindow.width = (uint16)destination.IntegerWidth() + 1;
src/servers/app/drawing/Painter/AGGTextRenderer.cpp
243
int32 falseBoldWidth = (int32)fRenderer.fContour.width();
src/servers/app/drawing/Painter/AGGTextRenderer.cpp
281
if (fRenderer.fContour.width() == 0.0) {
src/servers/app/drawing/Painter/AGGTextRenderer.cpp
289
if (fRenderer.fContour.width() == 0.0) {
src/servers/app/drawing/Painter/AGGTextRenderer.cpp
305
ps.width(1.0);
src/servers/app/drawing/Painter/AGGTextRenderer.cpp
339
pathStorage.width(fRenderer.fFont.Size() / 12.0f);
src/servers/app/drawing/Painter/AGGTextRenderer.cpp
84
fContour.width(font.FalseBoldWidth() * 2.0);
src/servers/app/drawing/Painter/Painter.cpp
1856
int32 width = r.IntegerWidth() + 1;
src/servers/app/drawing/Painter/Painter.cpp
1860
for (int32 i = 0; i < width; i++) {
src/servers/app/drawing/Painter/Painter.cpp
1970
stroke.width(fPenSize);
src/servers/app/drawing/Painter/Painter.cpp
2000
stroke.width(fPenSize);
src/servers/app/drawing/Painter/Painter.cpp
285
return BRect(0, 0, fBuffer.width() - 1, fBuffer.height() - 1);
src/servers/app/drawing/Painter/agg_clipped_alpha_mask.h
90
int xmax = m_rbuf->width() - 1;
src/servers/app/drawing/Painter/agg_renderer_region.h
127
r.right = min_c((int)width() - 1, r.right);
src/servers/app/drawing/Painter/agg_renderer_region.h
51
unsigned width() const { return m_ren.width(); }
src/servers/app/drawing/Painter/bitmap_painter/BitmapPainter.cpp
304
fBitmap.width(), fBitmap.height(),
src/servers/app/drawing/Painter/bitmap_painter/BitmapPainter.cpp
316
fBitmap.width(), fBitmap.height(),
src/servers/app/drawing/Painter/bitmap_painter/BitmapPainter.cpp
335
uint32 width, uint32 height, uint32 sourceBytesPerRow,
src/servers/app/drawing/Painter/bitmap_painter/BitmapPainter.cpp
345
for (uint32 x = 0; x < width; x++, pixel++, destPixel++) {
src/servers/app/drawing/Painter/bitmap_painter/BitmapPainter.h
40
uint32 width, uint32 height,
src/servers/app/drawing/Painter/bitmap_painter/DrawBitmapBilinear.h
491
uint32 srcWidth = bitmap.width();
src/servers/app/drawing/Painter/bitmap_painter/DrawBitmapNearestNeighbor.h
23
uint32 srcWidth = bitmap.width();
src/servers/app/drawing/Painter/bitmap_painter/DrawBitmapNoScale.h
40
|| left - offset.x >= (int32)bitmap.width()
src/servers/app/drawing/Painter/bitmap_painter/DrawBitmapNoScale.h
41
|| right - offset.x >= (int32)srcBuffer.width()
src/servers/app/drawing/Painter/bitmap_painter/DrawBitmapNoScale.h
50
bitmap.width(), bitmap.height(), offset.x, offset.y);
src/servers/app/drawing/Painter/drawing_modes/PixelFormat.h
105
inline unsigned width() const
src/servers/app/drawing/Painter/drawing_modes/PixelFormat.h
106
{ return fBuffer->width(); }
src/servers/app/drawing/interface/local/AccelerantHWInterface.cpp
1154
AccelerantHWInterface::CheckOverlayRestrictions(int32 width, int32 height,
src/servers/app/drawing/interface/local/AccelerantHWInterface.cpp
1165
if (width < 0 || width > 65535 || height < 0 || height > 65535)
src/servers/app/drawing/interface/local/AccelerantHWInterface.cpp
1184
AccelerantHWInterface::AllocateOverlayBuffer(int32 width, int32 height,
src/servers/app/drawing/interface/local/AccelerantHWInterface.cpp
1190
return fAccAllocateOverlayBuffer(space, width, height);
src/servers/app/drawing/interface/local/AccelerantHWInterface.cpp
1241
uint16 width = (uint16)cursor->Width();
src/servers/app/drawing/interface/local/AccelerantHWInterface.cpp
1245
cursorSet = fAccSetCursorBitmap(width, height, xHotSpot,
src/servers/app/drawing/interface/local/AccelerantHWInterface.cpp
926
info->width = edid.display.h_size;
src/servers/app/drawing/interface/local/AccelerantHWInterface.cpp
961
info->width = timing.h_size / 10.0;
src/servers/app/drawing/interface/local/AccelerantHWInterface.h
70
virtual bool CheckOverlayRestrictions(int32 width,
src/servers/app/drawing/interface/local/AccelerantHWInterface.h
72
virtual const overlay_buffer* AllocateOverlayBuffer(int32 width,
src/servers/app/drawing/interface/remote/RemoteHWInterface.cpp
280
int32 width, height;
src/servers/app/drawing/interface/remote/RemoteHWInterface.cpp
281
message.Read(width);
src/servers/app/drawing/interface/remote/RemoteHWInterface.cpp
289
fClientMode.virtual_width = width;
src/servers/app/drawing/interface/remote/RemoteMessage.cpp
337
int32 width, height, bytesPerRow;
src/servers/app/drawing/interface/remote/RemoteMessage.cpp
339
Read(width);
src/servers/app/drawing/interface/remote/RemoteMessage.cpp
358
BRect(0, 0, width - 1, height - 1), flags, colorSpace, bytesPerRow);
src/servers/app/drawing/interface/virtual/DWindowBuffer.cpp
104
uint32 width, uint32 height,
src/servers/app/drawing/interface/virtual/DWindowBuffer.cpp
110
fWidth = width;
src/servers/app/drawing/interface/virtual/DWindowBuffer.h
28
uint32 width, uint32 height,
src/servers/app/drawing/interface/virtual/DWindowHWInterface.cpp
766
const struct resolution { int32 width, height; } resolutions[] = {
src/servers/app/drawing/interface/virtual/DWindowHWInterface.cpp
783
modes[index].virtual_width = resolutions[i].width;
src/servers/app/drawing/interface/virtual/DWindowHWInterface.cpp
789
modes[index].timing.h_display = resolutions[i].width;
src/servers/app/drawing/interface/virtual/ViewHWInterface.cpp
619
const struct resolution { int32 width, height; } resolutions[] = {
src/servers/app/drawing/interface/virtual/ViewHWInterface.cpp
637
modes[index].virtual_width = resolutions[i].width;
src/servers/app/drawing/interface/virtual/ViewHWInterface.cpp
643
modes[index].timing.h_display = resolutions[i].width;
src/servers/app/font/FontEngine.cpp
302
sl.reset(x, x + bitmap.width);
src/servers/app/font/FontEngine.cpp
312
for (unsigned int j = 0; j < bitmap.width; j++) {
src/servers/app/font/FontEngine.cpp
333
sl.reset(x, x + bitmap.width);
src/servers/app/font/FontEngine.cpp
346
for (unsigned int j = 0; j < bitmap.width; j++) {
src/servers/app/font/FontEngine.cpp
353
for (unsigned int j = 0; j < bitmap.width; j++) {
src/servers/app/font/FontEngine.cpp
377
sl.reset(x, x + bitmap.width);
src/servers/app/font/FontEngine.cpp
379
sl.reset(x, x + bitmap.width / 3);
src/servers/app/font/FontEngine.cpp
394
for (unsigned int j = 0; j < bitmap.width; j++) {
src/servers/app/font/FontEngine.cpp
403
int w = bitmap.width / 3;
src/servers/app/font/FontEngine.cpp
514
+ fFace->glyph->metrics.width - fFace->glyph->metrics.horiAdvance);
src/servers/debug/DebugWindow.cpp
60
float width = message->StringWidth(appName)
src/servers/debug/DebugWindow.cpp
62
width = std::max(width, message->StringWidth("W") * 30);
src/servers/debug/DebugWindow.cpp
63
message->SetExplicitMinSize(BSize(width, B_SIZE_UNSET));
src/servers/input/MethodMenuItem.cpp
59
MethodMenuItem::GetContentSize(float *width, float *height)
src/servers/input/MethodMenuItem.cpp
61
*width = be_plain_font->StringWidth(Label()) + MENUITEM_ICON_SIZE + 3;
src/servers/input/MethodMenuItem.h
33
virtual void GetContentSize(float *width, float *height);
src/servers/mail/ErrorLogWindow.cpp
14
void GetPreferredSize(float *width, float *height);
src/servers/mail/ErrorLogWindow.cpp
228
float height,width;
src/servers/mail/ErrorLogWindow.cpp
229
width = view->Frame().Width();
src/servers/mail/ErrorLogWindow.cpp
231
view->ResizeTo(width,height);
src/servers/mail/ErrorLogWindow.cpp
237
Error::GetPreferredSize(float *width, float *height)
src/servers/mail/ErrorLogWindow.cpp
241
*width = view->Frame().Width() + 20;
src/servers/mail/ErrorLogWindow.cpp
30
void GetPreferredSize(float *width, float *height) {
src/servers/mail/ErrorLogWindow.cpp
31
*width = Bounds().Width();
src/servers/mail/MailDaemonApplication.cpp
127
int32 width = 200)
src/servers/mail/MailDaemonApplication.cpp
134
msg.AddInt32("attr:width", width);
src/servers/notification/NotificationWindow.cpp
144
NotificationWindow::FrameResized(float width, float height)
src/servers/notification/NotificationWindow.cpp
291
float width = Bounds().Width() + 1;
src/servers/notification/NotificationWindow.cpp
321
: frame.right - width + rightOffset;
src/servers/notification/NotificationWindow.cpp
327
: frame.right - width + rightOffset;
src/servers/notification/NotificationWindow.cpp
331
x = frame.left - width - rightOffset;
src/servers/notification/NotificationWindow.cpp
339
x = frame.left - width - rightOffset;
src/servers/notification/NotificationWindow.cpp
351
location -= BPoint(width, height);
src/servers/notification/NotificationWindow.cpp
357
location -= BPoint(width, 0);
src/servers/notification/NotificationWindow.h
42
virtual void FrameResized(float width, float height);
src/servers/print/ConfigWindow.cpp
109
if ((pf.width == w && pf.height == h) || (pf.width == h
src/servers/print/ConfigWindow.cpp
70
float width;
src/servers/registrar/ShutdownProcess.cpp
534
int32 width =
src/servers/registrar/ShutdownProcess.cpp
543
for (int32 x = 0; x < width; x++) {
src/system/boot/arch/ppc/arch_framebuffer.h
37
virtual status_t SetVideoMode(int width, int height, int depth)
src/system/boot/loader/pager.cpp
117
int32 width = console_width();
src/system/boot/loader/pager.cpp
122
int32 lineCount = count_lines(textSource, width, lineBuffer,
src/system/boot/loader/pager.cpp
129
size_t offset = offset_of_line(textSource, width, lineBuffer,
src/system/boot/loader/pager.cpp
137
size_t bytesRead = next_line(textSource, width, offset, lineBuffer,
src/system/boot/loader/pager.cpp
29
next_line(const PagerTextSource& textSource, size_t width, size_t offset,
src/system/boot/loader/pager.cpp
47
if (bytesRead > (size_t)width)
src/system/boot/loader/pager.cpp
48
bytesRead = width;
src/system/boot/loader/pager.cpp
65
count_lines(const PagerTextSource& textSource, size_t width, char* buffer,
src/system/boot/loader/pager.cpp
72
size_t bytesRead = next_line(textSource, width, offset, buffer,
src/system/boot/loader/pager.cpp
86
offset_of_line(const PagerTextSource& textSource, size_t width, char* buffer,
src/system/boot/loader/pager.cpp
96
size_t bytesRead = next_line(textSource, width, offset, buffer,
src/system/boot/platform/amiga_m68k/video.cpp
188
uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top)
src/system/boot/platform/amiga_m68k/video.cpp
64
gKernelArgs.frame_buffer.width = gScreen->RastPort.BitMap->BytesPerRow * 8;
src/system/boot/platform/amiga_m68k/video.cpp
69
= gKernelArgs.frame_buffer.width
src/system/boot/platform/amiga_m68k/video.cpp
75
dprintf("video mode: %ux%ux%u\n", gKernelArgs.frame_buffer.width,
src/system/boot/platform/atari_m68k/video.cpp
103
int compare = a->width - b->width;
src/system/boot/platform/atari_m68k/video.cpp
1091
uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top)
src/system/boot/platform/atari_m68k/video.cpp
1122
gKernelArgs.frame_buffer.width = sMode->ops->Width(sMode);
src/system/boot/platform/atari_m68k/video.cpp
173
return mode ? mode->width : 0;
src/system/boot/platform/atari_m68k/video.cpp
201
sprintf(label, "%ux%u %u bit (%s)", mode->width, mode->height,
src/system/boot/platform/atari_m68k/video.cpp
289
mode->width = 320;
src/system/boot/platform/atari_m68k/video.cpp
294
mode->width = 640;
src/system/boot/platform/atari_m68k/video.cpp
299
mode->width = 320;
src/system/boot/platform/atari_m68k/video.cpp
308
mode->bytes_per_row = mode->width * mode->bits_per_pixel / 8;
src/system/boot/platform/atari_m68k/video.cpp
508
mode->width = (id & 0x0008) ? 640 : 320;
src/system/boot/platform/atari_m68k/video.cpp
512
mode->width = (mode->width * 12) / 10;
src/system/boot/platform/atari_m68k/video.cpp
513
mode->height = (mode->width * 12) / 10;
src/system/boot/platform/atari_m68k/video.cpp
516
mode->bytes_per_row = mode->width * mode->bits_per_pixel / 8;
src/system/boot/platform/atari_m68k/video.cpp
724
mode->width = info.scrWidth;
src/system/boot/platform/atari_m68k/video.cpp
727
mode->bytes_per_row = mode->width * mode->bits_per_pixel / 8;
src/system/boot/platform/atari_m68k/video.cpp
87
uint16 width, height, bits_per_pixel;
src/system/boot/platform/atari_m68k/video.cpp
895
mode->width = 800;
src/system/boot/platform/atari_m68k/video.cpp
898
mode->bytes_per_row = mode->width * mode->bits_per_pixel / 8;
src/system/boot/platform/atari_m68k/video.cpp
910
mode->width = 1024;
src/system/boot/platform/atari_m68k/video.cpp
913
mode->bytes_per_row = mode->width * mode->bits_per_pixel / 8;
src/system/boot/platform/atari_m68k/video.cpp
929
mode->width = Width();
src/system/boot/platform/atari_m68k/video.cpp
932
mode->bytes_per_row = mode->width * mode->bits_per_pixel / 8;
src/system/boot/platform/atari_m68k/video.cpp
933
dprintf("Get: %dx%d\n", mode->width, mode->height);
src/system/boot/platform/bios_ia32/video.cpp
105
find_video_mode(int32 width, int32 height, bool allowPalette)
src/system/boot/platform/bios_ia32/video.cpp
111
if (mode->width == width && (height == -1 || mode->height == height)
src/system/boot/platform/bios_ia32/video.cpp
127
closest_video_mode(int32 width, int32 height, int32 depth)
src/system/boot/platform/bios_ia32/video.cpp
135
if (mode->width > width) {
src/system/boot/platform/bios_ia32/video.cpp
141
uint32 diff = 2 * abs(mode->width - width) + abs(mode->height - height)
src/system/boot/platform/bios_ia32/video.cpp
243
if (found->width > mode->width) {
src/system/boot/platform/bios_ia32/video.cpp
313
int32 width = strtol(parameter.values[0], NULL, 0);
src/system/boot/platform/bios_ia32/video.cpp
319
video_mode *mode = closest_video_mode(width, height, depth);
src/system/boot/platform/bios_ia32/video.cpp
44
uint16 width, height, bits_per_pixel;
src/system/boot/platform/bios_ia32/video.cpp
489
modeInfo.width, modeInfo.height, modeInfo.bits_per_pixel, modeInfo.attributes,
src/system/boot/platform/bios_ia32/video.cpp
502
if (modeInfo.width >= 640
src/system/boot/platform/bios_ia32/video.cpp
517
videoMode->width = modeInfo.width;
src/system/boot/platform/bios_ia32/video.cpp
62
int compare = a->width - b->width;
src/system/boot/platform/bios_ia32/video.cpp
696
snprintf(label, sizeof(label), "%ux%u %u bit", mode->width,
src/system/boot/platform/bios_ia32/video.cpp
770
uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top)
src/system/boot/platform/bios_ia32/video.cpp
866
gKernelArgs.frame_buffer.width = modeInfo.width;
src/system/boot/platform/bios_ia32/video.cpp
882
gKernelArgs.frame_buffer.width = 640;
src/system/boot/platform/bios_ia32/video.cpp
887
= (phys_size_t)gKernelArgs.frame_buffer.width
src/system/boot/platform/bios_ia32/video.cpp
892
dprintf("video mode: %ux%ux%u\n", gKernelArgs.frame_buffer.width,
src/system/boot/platform/bios_ia32/video.cpp
965
modes[i].width = mode->width;
src/system/boot/platform/efi/console.cpp
236
size_t width, height;
src/system/boot/platform/efi/console.cpp
241
if (ConOut->QueryMode(ConOut, mode, &width, &height) == EFI_SUCCESS) {
src/system/boot/platform/efi/console.cpp
242
if (width * height > area) {
src/system/boot/platform/efi/console.cpp
243
sConsole.fScreenWidth = width;
src/system/boot/platform/efi/video.cpp
102
int64 diff = 2 * abs((int64)mode->width - width)
src/system/boot/platform/efi/video.cpp
136
uint32 width = strtoul(parameter.values[0], NULL, 0);
src/system/boot/platform/efi/video.cpp
141
video_mode *mode = closest_video_mode(width, height, depth);
src/system/boot/platform/efi/video.cpp
216
videoMode->width = info->HorizontalResolution;
src/system/boot/platform/efi/video.cpp
271
gKernelArgs.frame_buffer.width =
src/system/boot/platform/efi/video.cpp
308
snprintf(label, sizeof(label), "%lux%lu %lu bit", mode->width,
src/system/boot/platform/efi/video.cpp
329
uint16 width, uint16 height, uint16 imageWidth,
src/system/boot/platform/efi/video.cpp
37
size_t width, height, bits_per_pixel, bytes_per_row;
src/system/boot/platform/efi/video.cpp
55
int compare = a->width - b->width;
src/system/boot/platform/efi/video.cpp
89
closest_video_mode(uint32 width, uint32 height, uint32 depth)
src/system/boot/platform/efi/video.cpp
96
if (mode->width > width) {
src/system/boot/platform/generic/text_menu.cpp
170
int32 width = console_width() - 2 * kOffsetX;
src/system/boot/platform/generic/text_menu.cpp
173
if (length > width * 2)
src/system/boot/platform/generic/text_menu.cpp
174
width += 2 * kOffsetX - 1;
src/system/boot/platform/generic/text_menu.cpp
176
char* buffer = (char*)malloc(width + 1);
src/system/boot/platform/generic/text_menu.cpp
179
buffer[width] = '\0';
src/system/boot/platform/generic/text_menu.cpp
189
int32 bytes = width;
src/system/boot/platform/generic/video_splash.cpp
118
addr_t size = min_c(gKernelArgs.frame_buffer.width
src/system/boot/platform/generic/video_splash.cpp
164
int width, height, x, y;
src/system/boot/platform/generic/video_splash.cpp
165
compute_splash_logo_placement(gKernelArgs.frame_buffer.width, gKernelArgs.frame_buffer.height,
src/system/boot/platform/generic/video_splash.cpp
166
width, height, x, y);
src/system/boot/platform/generic/video_splash.cpp
167
video_blit_image(frameBuffer, uncompressedLogo, width, height,
src/system/boot/platform/generic/video_splash.cpp
205
compute_splash_icons_placement(gKernelArgs.frame_buffer.width, gKernelArgs.frame_buffer.height,
src/system/boot/platform/generic/video_splash.cpp
206
width, height, x, y);
src/system/boot/platform/generic/video_splash.cpp
208
video_blit_image(frameBuffer, lowerHalfIconImage, width, height,
src/system/boot/platform/generic/video_splash.cpp
87
uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top)
src/system/boot/platform/generic/video_splash.cpp
91
platform_blit4(frameBuffer, data, width, height,
src/system/boot/platform/generic/video_splash.cpp
98
params.fromRight = width;
src/system/boot/platform/generic/video_text_console.cpp
57
frame_buffer_update(framebuffer, gKernelArgs.frame_buffer.width,
src/system/boot/platform/next_m68k/video.cpp
73
uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top)
src/system/boot/platform/next_m68k/video.cpp
99
gKernelArgs.frame_buffer.width = mg->km_coni.dspy_w;
src/system/boot/platform/openfirmware/video.cpp
24
uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top)
src/system/boot/platform/openfirmware/video.cpp
65
uintptr_t width, height;
src/system/boot/platform/openfirmware/video.cpp
66
if (of_call_method(sScreen, "dimensions", 0, 2, &height, &width)
src/system/boot/platform/openfirmware/video.cpp
68
if (of_getprop(package, "width", &width, sizeof(int32)) == OF_FAILED)
src/system/boot/platform/openfirmware/video.cpp
86
gKernelArgs.frame_buffer.width = width;
src/system/boot/platform/openfirmware/video.cpp
95
dprintf("video mode: %ux%ux%u\n", gKernelArgs.frame_buffer.width,
src/system/boot/platform/riscv/FwCfg.cpp
118
uint32_t width = 1024, height = 768;
src/system/boot/platform/riscv/FwCfg.cpp
120
gFramebuf.colors = (uint32_t*)malloc(4*width*height);
src/system/boot/platform/riscv/FwCfg.cpp
121
gFramebuf.stride = width;
src/system/boot/platform/riscv/FwCfg.cpp
122
gFramebuf.width = width;
src/system/boot/platform/riscv/FwCfg.cpp
128
cfg.width = B_HOST_TO_BENDIAN_INT32(width);
src/system/boot/platform/riscv/FwCfg.cpp
130
cfg.stride = B_HOST_TO_BENDIAN_INT32(4 * width);
src/system/boot/platform/riscv/FwCfg.h
77
uint32_t width;
src/system/boot/platform/riscv/console.cpp
240
sScreenOfsX = gFramebuf.width/2 - sScreenWidth*gFixedFont.charWidth/2;
src/system/boot/platform/riscv/fdt.cpp
176
gFramebuf.width = fdt32_to_cpu(
src/system/boot/platform/riscv/graphics.cpp
16
vb.stride -= vb.width;
src/system/boot/platform/riscv/graphics.cpp
18
for (int x = 0; x < vb.width; x++) {
src/system/boot/platform/riscv/graphics.cpp
34
if (x + w > vb.width) {w = vb.width - x;}
src/system/boot/platform/riscv/graphics.cpp
38
vb.width = w;
src/system/boot/platform/riscv/graphics.cpp
42
vb.width = 0;
src/system/boot/platform/riscv/graphics.cpp
61
rb.width = charWidth;
src/system/boot/platform/riscv/graphics.cpp
72
dstW = dst.width; dstH = dst.height;
src/system/boot/platform/riscv/graphics.cpp
73
dst = dst.Clip(x, y, src.width, src.height);
src/system/boot/platform/riscv/graphics.cpp
75
dst.stride -= dst.width;
src/system/boot/platform/riscv/graphics.cpp
76
src.stride -= src.width;
src/system/boot/platform/riscv/graphics.cpp
78
for (x = dst.width; x > 0; x--) {
src/system/boot/platform/riscv/graphics.h
17
int32 stride, width, height;
src/system/boot/platform/riscv/video.cpp
74
uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top)
src/system/boot/platform/riscv/video.cpp
94
gKernelArgs.frame_buffer.width = gFramebuf.width;
src/system/boot/platform/riscv/video.cpp
98
gKernelArgs.frame_buffer.enabled = gFramebuf.width > 0 && gFramebuf.height > 0;
src/system/boot/platform/u-boot/video.cpp
70
platform_blit4(addr_t frameBuffer, const uint8 *data, uint16 width,
src/system/kernel/boot_splash.cpp
74
int width, height, x, y;
src/system/kernel/boot_splash.cpp
75
compute_splash_icons_placement(sInfo->width, sInfo->height,
src/system/kernel/boot_splash.cpp
76
width, height, x, y);
src/system/kernel/boot_splash.cpp
78
int stageLeftEdge = width * stage / BOOT_SPLASH_STAGE_MAX;
src/system/kernel/boot_splash.cpp
79
int stageRightEdge = width * (stage + 1) / BOOT_SPLASH_STAGE_MAX;
src/system/kernel/debug/frame_buffer_console.cpp
275
console_fill_glyph(int32 x, int32 y, int32 width, int32 height, uint8 glyph,
src/system/kernel/debug/frame_buffer_console.cpp
282
int32 left = x + width;
src/system/kernel/debug/frame_buffer_console.cpp
299
console_blit(int32 srcx, int32 srcy, int32 width, int32 height, int32 destx,
src/system/kernel/debug/frame_buffer_console.cpp
310
width *= sConsole.font->glyphWidth * sConsole.bytes_per_pixel;
src/system/kernel/debug/frame_buffer_console.cpp
315
width = width * sConsole.font->glyphWidth / 8;
src/system/kernel/debug/frame_buffer_console.cpp
325
+ srcx), width);
src/system/kernel/debug/frame_buffer_console.cpp
356
for (int32 x = 0; x < sConsole.width; x++) {
src/system/kernel/debug/frame_buffer_console.cpp
414
frame_buffer_update(addr_t baseAddress, int32 width, int32 height, int32 depth,
src/system/kernel/debug/frame_buffer_console.cpp
418
"depth = %ld, bytesPerRow = %ld)\n", (void*)baseAddress, width, height,
src/system/kernel/debug/frame_buffer_console.cpp
423
if (width <= 1920 || height <= 1080) {
src/system/kernel/debug/frame_buffer_console.cpp
430
sConsole.width = width;
src/system/kernel/debug/frame_buffer_console.cpp
435
sConsole.columns = sConsole.width / sConsole.font->glyphWidth;
src/system/kernel/debug/frame_buffer_console.cpp
461
frame_buffer_update((addr_t)frameBuffer, args->frame_buffer.width,
src/system/kernel/debug/frame_buffer_console.cpp
486
frame_buffer_update((addr_t)frameBuffer, args->frame_buffer.width,
src/system/kernel/debug/frame_buffer_console.cpp
493
sBootInfo.width = args->frame_buffer.width;
src/system/kernel/debug/frame_buffer_console.cpp
52
int32 width;
src/system/kernel/debug/frame_buffer_console.cpp
537
_user_frame_buffer_update(addr_t baseAddress, int32 width, int32 height,
src/system/kernel/debug/frame_buffer_console.cpp
547
return frame_buffer_update(baseAddress, width, height, depth, bytesPerRow);
src/system/libroot/posix/glibc/stdio-common/printf-parsemb.c
154
spec->info.width = 0;
src/system/libroot/posix/glibc/stdio-common/printf-parsemb.c
191
spec->info.width = n;
src/system/libroot/posix/glibc/stdio-common/printf-prs.c
38
if (width > 0) \
src/system/libroot/posix/glibc/stdio-common/printf-prs.c
39
done += _IO_padn (s, Padchar, width)
src/system/libroot/posix/glibc/stdio-common/printf-prs.c
50
if (width > 0) \
src/system/libroot/posix/glibc/stdio-common/printf-prs.c
51
done += _IO_wpadn (s, Padchar, width)
src/system/libroot/posix/glibc/stdio-common/printf.h
36
int width; /* Width. */
src/system/libroot/posix/glibc/stdio-common/printf_fp.c
1158
--width;
src/system/libroot/posix/glibc/stdio-common/printf_fp.c
1159
width -= wcp - wstartp;
src/system/libroot/posix/glibc/stdio-common/printf_fp.c
1161
if (!info->left && info->pad != '0' && width > 0)
src/system/libroot/posix/glibc/stdio-common/printf_fp.c
1162
PADN (info->pad, width);
src/system/libroot/posix/glibc/stdio-common/printf_fp.c
1171
if (!info->left && info->pad == '0' && width > 0)
src/system/libroot/posix/glibc/stdio-common/printf_fp.c
1172
PADN ('0', width);
src/system/libroot/posix/glibc/stdio-common/printf_fp.c
1255
if (info->left && width > 0)
src/system/libroot/posix/glibc/stdio-common/printf_fp.c
1256
PADN (info->pad, width);
src/system/libroot/posix/glibc/stdio-common/printf_fp.c
423
int width = info->width;
src/system/libroot/posix/glibc/stdio-common/printf_fp.c
426
--width;
src/system/libroot/posix/glibc/stdio-common/printf_fp.c
427
width -= 3;
src/system/libroot/posix/glibc/stdio-common/printf_fp.c
429
if (!info->left && width > 0)
src/system/libroot/posix/glibc/stdio-common/printf_fp.c
430
PADN (' ', width);
src/system/libroot/posix/glibc/stdio-common/printf_fp.c
441
if (info->left && width > 0)
src/system/libroot/posix/glibc/stdio-common/printf_fp.c
442
PADN (' ', width);
src/system/libroot/posix/glibc/stdio-common/printf_fp.c
814
int width = info->width;
src/system/libroot/posix/glibc/stdio-common/printf_fphex.c
137
int width = info->width;
src/system/libroot/posix/glibc/stdio-common/printf_fphex.c
246
int width = info->width;
src/system/libroot/posix/glibc/stdio-common/printf_fphex.c
249
--width;
src/system/libroot/posix/glibc/stdio-common/printf_fphex.c
250
width -= 3;
src/system/libroot/posix/glibc/stdio-common/printf_fphex.c
252
if (!info->left && width > 0)
src/system/libroot/posix/glibc/stdio-common/printf_fphex.c
253
PADN (' ', width);
src/system/libroot/posix/glibc/stdio-common/printf_fphex.c
264
if (info->left && width > 0)
src/system/libroot/posix/glibc/stdio-common/printf_fphex.c
265
PADN (' ', width);
src/system/libroot/posix/glibc/stdio-common/printf_fphex.c
442
width -= ((negative || info->showsign || info->space)
src/system/libroot/posix/glibc/stdio-common/printf_fphex.c
453
width -= wide ? 1 : strlen (decimal);
src/system/libroot/posix/glibc/stdio-common/printf_fphex.c
455
if (!info->left && info->pad != '0' && width > 0)
src/system/libroot/posix/glibc/stdio-common/printf_fphex.c
456
PADN (' ', width);
src/system/libroot/posix/glibc/stdio-common/printf_fphex.c
471
if (!info->left && info->pad == '0' && width > 0)
src/system/libroot/posix/glibc/stdio-common/printf_fphex.c
472
PADN ('0', width);
src/system/libroot/posix/glibc/stdio-common/printf_fphex.c
499
if (info->left && info->pad != '0' && width > 0)
src/system/libroot/posix/glibc/stdio-common/printf_fphex.c
500
PADN (info->pad, width);
src/system/libroot/posix/glibc/stdio-common/printf_size.c
176
int width = info->prec > info->width ? info->prec : info->width;
src/system/libroot/posix/glibc/stdio-common/printf_size.c
179
--width;
src/system/libroot/posix/glibc/stdio-common/printf_size.c
180
width -= 3;
src/system/libroot/posix/glibc/stdio-common/printf_size.c
182
if (!info->left && width > 0)
src/system/libroot/posix/glibc/stdio-common/printf_size.c
183
PADN (' ', width);
src/system/libroot/posix/glibc/stdio-common/printf_size.c
194
if (info->left && width > 0)
src/system/libroot/posix/glibc/stdio-common/printf_size.c
195
PADN (' ', width);
src/system/libroot/posix/glibc/stdio-common/printf_size.c
211
fp_info.width = 0;
src/system/libroot/posix/glibc/stdio-common/printf_size.c
217
if (info->width > done)
src/system/libroot/posix/glibc/stdio-common/printf_size.c
218
PADN (' ', info->width - done);
src/system/libroot/posix/glibc/stdio-common/printf_size.c
225
fp_info.width = info->width - 1;
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1006
--width; /* Account for the character itself. */ \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1021
--width; \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1112
if ((width -= len) < 0) \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1133
--width; /* Account for the character itself. */ \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1161
width -= len; \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
125
if (width > 0) \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1258
if ((width -= len) < 0) \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
127
_IO_ssize_t written = _IO_wpadn (s, (Padchar), width); \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
128
if (__glibc_unlikely (written != width)) \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1370
int width = 0; /* Width of output; 0 means none specified. */
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1461
width = va_arg (ap, int);
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1464
if (width < 0)
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1466
width = -width;
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1471
if (__glibc_unlikely (width >= INT_MAX / sizeof (CHAR_T) - 32))
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1478
if (width >= sizeof (work_buffer) / sizeof (work_buffer[0]) - 32)
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1482
size_t needed = ((size_t) width + 32) * sizeof (CHAR_T);
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1484
workend = (CHAR_T *) alloca (needed) + width + 32;
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1493
workend = workstart + width + 32;
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1500
LABEL (width):
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1501
width = read_int (&f);
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1503
if (__glibc_unlikely (width == -1
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1504
|| width >= INT_MAX / sizeof (CHAR_T) - 32))
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1511
if (width >= sizeof (work_buffer) / sizeof (work_buffer[0]) - 32)
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1515
size_t needed = ((size_t) width + 32) * sizeof (CHAR_T);
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1517
workend = (CHAR_T *) alloca (needed) + width + 32;
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1526
workend = workstart + width + 32;
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1577
if (prec > width
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1914
int width = specs[nspecs_done].info.width;
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1927
specs[nspecs_done].info.width =
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1930
if (specs[nspecs_done].info.width < 0)
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1934
specs[nspecs_done].info.width *= -1;
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1937
width = specs[nspecs_done].info.width;
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1955
if (MAX (prec, width) + 32 > (int) (sizeof (work_buffer)
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1958
if (__libc_use_alloca ((MAX (prec, width) + 32)
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1960
workend = ((CHAR_T *) alloca ((MAX (prec, width) + 32)
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1962
+ (MAX (prec, width) + 32));
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1965
workstart = (CHAR_T *) malloc ((MAX (prec, width) + 32)
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
1972
workend = workstart + (MAX (prec, width) + 32);
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
2081
CHAR_T work_buffer[MAX (sizeof (info->width), sizeof (info->prec)) * 3];
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
2103
if (info->width != 0)
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
2105
w = _itoa_word (info->width, workend, 10, 0);
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
344
REF (width), /* for '1'...'9' */ \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
730
width -= workend - string + prec; \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
734
width -= 2; \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
737
--width; \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
742
width = 0; \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
758
width += prec; \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
770
--width; \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
775
--width; \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
780
--width; \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
787
width -= 2; \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
790
width -= workend - string + prec; \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
794
int temp = width; \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
795
width = prec; \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
797
width = temp; \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
818
.width = width, \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
876
.width = width, \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
96
if (width > 0) \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
98
_IO_ssize_t written = _IO_padn (s, (Padchar), width); \
src/system/libroot/posix/glibc/stdio-common/vfprintf.c
99
if (__glibc_unlikely (written != width)) \
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1125
while ((width <= 0 || --width > 0) && inchar () != EOF);
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1334
while ((width <= 0 || --width > 0) && inchar () != EOF);
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1387
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1388
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1393
if (width != 0 && c == L_('0'))
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1395
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1396
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1401
if (width != 0 && TOLOWER (c) == L_('x'))
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1407
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1408
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1517
while (c != EOF && width != 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1543
int avail = width > 0 ? width : INT_MAX;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1574
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1575
width = avail;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1610
int avail = width > 0 ? width : INT_MAX;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1627
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1628
width = avail;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1666
int avail = width > 0 ? width : INT_MAX;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1695
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1696
width = avail;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1707
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1708
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1715
while (c != EOF && width != 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1732
int avail = width > 0 ? width : INT_MAX;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1761
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1762
width = avail;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1773
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1774
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1786
&& (width < 0 || width >= 5)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1869
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1870
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1880
if (__glibc_unlikely (width == 0 || inchar () == EOF))
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1883
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1884
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1894
if (__builtin_expect (width == 0
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1898
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1899
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1901
if (__builtin_expect (width == 0
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1905
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1906
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1915
if (__builtin_expect (width == 0
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1919
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1920
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1922
if (__builtin_expect (width == 0
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1926
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1927
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1930
if (width != 0 && inchar () != EOF)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1934
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1935
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1938
if (__builtin_expect (width == 0
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1942
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1943
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1945
if (__builtin_expect (width == 0
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1949
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1950
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1952
if (__builtin_expect (width == 0
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1956
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1957
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1959
if (__builtin_expect (width == 0
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1963
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1964
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1975
if (width != 0 && c == L_('0'))
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1979
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1980
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1981
if (width != 0 && TOLOWER (c) == L_('x'))
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1992
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
1993
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2039
int avail = width > 0 ? width : INT_MAX;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2059
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2060
width = avail;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2096
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2097
width = avail;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2110
if (width == 0 || inchar () == EOF)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2113
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2114
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
223
int width; /* Maximum field width. */
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2258
int avail = width > 0 ? width : INT_MAX;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2271
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2272
width = avail;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2321
if (width == 0 || inchar () == EOF)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2324
if (width > 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2325
--width;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2388
if (width < 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2392
width = INT_MAX;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2555
while (--width > 0 && inchar () != WEOF);
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2640
if (--width <= 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2792
while (--width > 0 && inchar () != WEOF);
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
2846
while (--width > 0 && inchar () != EOF);
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
474
width = argpos;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
502
width = 0;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
505
width *= 10;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
506
width += (UCHAR_T) *f++ - L_('0');
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
509
if (width == 0)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
510
width = -1;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
682
if (width == -1)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
683
width = 1;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
718
STRING_ARG (str, char, (width > 1024 ? 1024 : width));
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
778
while (--width > 0 && inchar () != EOF);
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
790
+ (strsize >= width ? width - 1 : strsize);
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
820
while (--width > 0 && inchar () != EOF);
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
823
while (--width > 0 && inchar () != EOF);
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
842
if (width == -1)
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
843
width = 1;
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
845
STRING_ARG (wstr, wchar_t, (width > 1024 ? 1024 : width));
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
861
= strsize + (strsize > width ? width - 1 : strsize);
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
894
while (--width > 0 && inchar () != EOF);
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
897
while (--width > 0 && inchar () != EOF);
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
916
= strsize + (strsize > width ? width - 1 : strsize);
src/system/libroot/posix/glibc/stdio-common/vfscanf.c
975
while (--width > 0 && inchar () != EOF);
src/system/libroot/posix/musl/search/lsearch.c
15
return memcpy(p[n], key, width);
src/system/libroot/posix/musl/search/lsearch.c
19
size_t width, int (*compar)(const void *, const void *))
src/system/libroot/posix/musl/search/lsearch.c
21
char (*p)[width] = (void *)base;
src/system/libroot/posix/musl/search/lsearch.c
4
void *lsearch(const void *key, void *base, size_t *nelp, size_t width,
src/system/libroot/posix/musl/search/lsearch.c
7
char (*p)[width] = base;
src/system/libroot/posix/musl/time/strftime.c
118
width = 3;
src/system/libroot/posix/musl/time/strftime.c
140
width = 1;
src/system/libroot/posix/musl/time/strftime.c
153
width = 1;
src/system/libroot/posix/musl/time/strftime.c
166
width = 1;
src/system/libroot/posix/musl/time/strftime.c
184
width = 4;
src/system/libroot/posix/musl/time/strftime.c
210
case '_': *l = snprintf(*s, sizeof *s, "%*lld", width, val); break;
src/system/libroot/posix/musl/time/strftime.c
212
default: *l = snprintf(*s, sizeof *s, "%0*lld", width, val); break;
src/system/libroot/posix/musl/time/strftime.c
235
unsigned long width;
src/system/libroot/posix/musl/time/strftime.c
250
width = strtoul(f, &p, 10);
src/system/libroot/posix/musl/time/strftime.c
252
width = 0;
src/system/libroot/posix/musl/time/strftime.c
256
if (!width && p!=f) width = 1;
src/system/libroot/posix/musl/time/strftime.c
258
width = 0;
src/system/libroot/posix/musl/time/strftime.c
264
if (width) {
src/system/libroot/posix/musl/time/strftime.c
270
if (width < k) width = k;
src/system/libroot/posix/musl/time/strftime.c
276
width--;
src/system/libroot/posix/musl/time/strftime.c
277
} else if (plus && d+(width-k) >= (*p=='C'?3:5)) {
src/system/libroot/posix/musl/time/strftime.c
279
width--;
src/system/libroot/posix/musl/time/strftime.c
281
for (; width > k && l < n; width--)
src/system/libroot/posix/musl/time/strftime.c
53
int width = 2, def_pad = '0';
src/system/libroot/posix/musl/time/strftime.c
96
else width = 4;
src/system/libroot/posix/musl/time/wcsftime.c
17
unsigned long width;
src/system/libroot/posix/musl/time/wcsftime.c
31
width = wcstoul(f, &p, 10);
src/system/libroot/posix/musl/time/wcsftime.c
33
if (!width && p!=f) width = 1;
src/system/libroot/posix/musl/time/wcsftime.c
35
width = 0;
src/system/libroot/posix/musl/time/wcsftime.c
44
if (width) {
src/system/libroot/posix/musl/time/wcsftime.c
46
width--;
src/system/libroot/posix/musl/time/wcsftime.c
52
width++;
src/system/libroot/posix/musl/time/wcsftime.c
53
for (; width > k && l < n; width--)
src/system/libroot/posix/stdlib/strfmon.c
130
int width; /* field width */
src/system/libroot/posix/stdlib/strfmon.c
171
width = -1; /* no width specified */
src/system/libroot/posix/stdlib/strfmon.c
209
GET_NUMBER(width);
src/system/libroot/posix/stdlib/strfmon.c
213
if ((unsigned int)width >= maxsize - (dst - s))
src/system/libroot/posix/stdlib/strfmon.c
386
if (dst - tmpptr < width) {
src/system/libroot/posix/stdlib/strfmon.c
388
while (dst - tmpptr < width)
src/system/libroot/posix/stdlib/strfmon.c
392
memmove(tmpptr + width - pad_size, tmpptr, pad_size);
src/system/libroot/posix/stdlib/strfmon.c
393
memset(tmpptr, ' ', width - pad_size);
src/system/libroot/posix/stdlib/strfmon.c
394
dst += width - pad_size;
src/system/libroot/posix/wchar/wcswidth.c
12
int width = 0;
src/system/libroot/posix/wchar/wcswidth.c
19
width += w;
src/system/libroot/posix/wchar/wcswidth.c
22
return width;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
226
msheader.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
250
msheader.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
274
msheader.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
299
os2header.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
320
os2header.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
338
os2header.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
356
os2header.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
37
uint32 width; // bitmap width
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
374
msheader.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
398
msheader.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
422
msheader.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
446
msheader.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
470
os2header.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
488
os2header.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
506
msheader.width = 0; // width of zero is ridiculous
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
51
uint16 width; // bitmap width
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
530
os2header.width = 0; // width of zero is ridiculous
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
548
msheader.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
572
os2header.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
590
msheader.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
614
msheader.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
638
os2header.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
656
os2header.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
678
msheader.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
703
os2header.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
732
msheader.width = 5;
src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.cpp
764
msheader.width = 5;
src/tests/apps/miniterminal/Arguments.cpp
88
float width, height;
src/tests/apps/miniterminal/Arguments.cpp
90
|| sscanf(argv[argi++], "%f", &width) != 1
src/tests/apps/miniterminal/Arguments.cpp
95
fBounds.right = fBounds.left + width;
src/tests/apps/miniterminal/Console.cpp
49
Console::ResizeCallback(int32 width, int32 height, void *data)
src/tests/apps/miniterminal/Console.cpp
53
console->fColumns = width;
src/tests/apps/miniterminal/Console.h
70
static void ResizeCallback(int32 width, int32 height, void *data);
src/tests/apps/miniterminal/MiniView.cpp
218
MiniView::FrameResized(float width, float height)
src/tests/apps/miniterminal/MiniView.cpp
220
ViewBuffer::FrameResized(width, height);
src/tests/apps/miniterminal/MiniView.cpp
227
ws.ws_xpixel = (uint16)width;
src/tests/apps/miniterminal/MiniView.h
20
virtual void FrameResized(float width, float height);
src/tests/apps/miniterminal/ViewBuffer.cpp
112
ViewBuffer::GetSize(int32 *width, int32 *height)
src/tests/apps/miniterminal/ViewBuffer.cpp
114
*width = fColumns;
src/tests/apps/miniterminal/ViewBuffer.cpp
160
ViewBuffer::FillGlyph(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr)
src/tests/apps/miniterminal/ViewBuffer.cpp
165
int32 left = x + width;
src/tests/apps/miniterminal/ViewBuffer.cpp
256
ViewBuffer::Blit(int32 srcx, int32 srcy, int32 width, int32 height, int32 destx, int32 desty)
src/tests/apps/miniterminal/ViewBuffer.cpp
271
src += width - 1;
src/tests/apps/miniterminal/ViewBuffer.cpp
291
for (int32 x = 0; x < width; x++) {
src/tests/apps/miniterminal/ViewBuffer.cpp
302
width *= CHAR_WIDTH;
src/tests/apps/miniterminal/ViewBuffer.cpp
306
BRect source(srcx, srcy, srcx + width, srcy + height);
src/tests/apps/miniterminal/ViewBuffer.cpp
310
BRect dest(destx, desty, destx + width, desty + height);
src/tests/apps/miniterminal/ViewBuffer.cpp
78
ViewBuffer::FrameResized(float width, float height)
src/tests/apps/miniterminal/ViewBuffer.cpp
83
fColumns = (int32)width / CHAR_WIDTH;
src/tests/apps/miniterminal/ViewBuffer.h
16
status_t GetSize(int32 *width, int32 *height);
src/tests/apps/miniterminal/ViewBuffer.h
23
void FillGlyph(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr);
src/tests/apps/miniterminal/ViewBuffer.h
31
void Blit(int32 srcx, int32 srcy, int32 width, int32 height, int32 destx, int32 desty);
src/tests/apps/miniterminal/ViewBuffer.h
7
typedef void (*resize_callback)(int32 width, int32 height, void *data);
src/tests/kits/game/ParticlesII/particlesII.cpp
117
: BWindowScreen("Example", B_8_BIT_640x480, ret), width(639), height(479), COLORS(256)
src/tests/kits/game/ParticlesII/particlesII.cpp
329
cx = width/2;
src/tests/kits/game/ParticlesII/particlesII.cpp
360
if(x > width)
src/tests/kits/game/ParticlesII/particlesII.cpp
377
if((s->lx <= width) && (s->lx >= 0) && (s->ly <= height) && (s->ly >= 0))
src/tests/kits/game/ParticlesII/particlesII.cpp
621
if((xCoord > 0) && (yCoord > 0) && (xCoord < width) && (yCoord < height))
src/tests/kits/game/ParticlesII/particlesII.cpp
624
if((xCoord > 0) && (yCoord > 0) && (xCoord < width) && (yCoord < height))
src/tests/kits/game/ParticlesII/particlesII.cpp
628
if((xCoord > 0) && (yCoord > 0) && (xCoord < width) && (yCoord < height))
src/tests/kits/game/ParticlesII/particlesII.cpp
631
if((xCoord > 0) && (yCoord > 0) && (xCoord < width) && (yCoord < height))
src/tests/kits/game/ParticlesII/particlesII.cpp
653
if((xCoord1 > 0) && (yCoord1 > 0) && (xCoord1 < width) && (yCoord1 < height))
src/tests/kits/game/ParticlesII/particlesII.cpp
654
if((xCoord2 > 0) && (yCoord2 > 0) && (xCoord2 < width) && (yCoord2 < height))
src/tests/kits/game/ParticlesII/particlesII.cpp
661
if((xCoord1 > 0) && (yCoord1 > 0) && (xCoord1 < width) && (yCoord1 < height))
src/tests/kits/game/ParticlesII/particlesII.cpp
662
if((xCoord2 > 0) && (yCoord2 > 0) && (xCoord2 < width) && (yCoord2 < height))
src/tests/kits/game/ParticlesII/particlesII.cpp
71
int width,height;
src/tests/kits/game/chart/ChartWindow.cpp
1117
fNextSettings.width = (int32)Frame().Width()+1-LEFT_WIDTH;
src/tests/kits/game/chart/ChartWindow.cpp
1509
CheckBitmap(new_set.depth, new_set.width, new_set.height);
src/tests/kits/game/chart/ChartWindow.cpp
1614
CheckBitmap(new_set.depth, new_set.width, new_set.height);
src/tests/kits/game/chart/ChartWindow.cpp
1624
if ((new_set.width != fCurrentSettings.width) || (new_set.height != fCurrentSettings.height)) {
src/tests/kits/game/chart/ChartWindow.cpp
1625
CheckBitmap(new_set.depth, new_set.width, new_set.height);
src/tests/kits/game/chart/ChartWindow.cpp
1626
fBitmapBuffer.buffer_width = new_set.width;
src/tests/kits/game/chart/ChartWindow.cpp
1630
SetBitmapClipping(new_set.width, new_set.height);
src/tests/kits/game/chart/ChartWindow.cpp
2854
ChartWindow::CheckBitmap(color_space depth, int32 width, int32 height)
src/tests/kits/game/chart/ChartWindow.cpp
2866
if ((cur_depth != depth) || (width > fMaxWidth) || (height > fMaxHeight)) {
src/tests/kits/game/chart/ChartWindow.cpp
2872
while ((width > fMaxWidth) || (height > fMaxHeight)) {
src/tests/kits/game/chart/ChartWindow.cpp
2895
fBitmapBuffer.buffer_width = fCurrentSettings.width;
src/tests/kits/game/chart/ChartWindow.cpp
2899
SetBitmapClipping(fCurrentSettings.width, fCurrentSettings.height);
src/tests/kits/game/chart/ChartWindow.cpp
2908
ChartWindow::SetBitmapClipping(int32 width, int32 height)
src/tests/kits/game/chart/ChartWindow.cpp
2915
fBitmapBuffer.clip_bounds.right = width-1;
src/tests/kits/game/chart/ChartWindow.cpp
416
fCurrentSettings.width = (int32)frame.right+1-LEFT_WIDTH;
src/tests/kits/game/chart/ChartWindow.cpp
458
SetGeometry(fCurrentSettings.width, fCurrentSettings.height);
src/tests/kits/game/chart/ChartWindow.cpp
462
fDirectBuffer.buffer_width = fCurrentSettings.width;
src/tests/kits/game/chart/ChartWindow.cpp
713
float width, height;
src/tests/kits/game/chart/ChartWindow.cpp
714
full_screen->GetPreferredSize(&width, &height);
src/tests/kits/game/chart/ChartWindow.cpp
715
boxWidth = max_c(width + r.left, boxWidth);
src/tests/kits/game/chart/ChartWindow.cpp
728
button->GetPreferredSize(&width, &height);
src/tests/kits/game/chart/ChartWindow.cpp
729
boxWidth = max_c(width + r.left, boxWidth);
src/tests/kits/game/chart/ChartWindow.h
202
int32 width, height;
src/tests/kits/game/chart/ChartWindow.h
319
void CheckBitmap(color_space depth, int32 width, int32 height);
src/tests/kits/game/chart/ChartWindow.h
322
void SetBitmapClipping(int32 width, int32 height);
src/tests/kits/game/set_mouse_position_test/test_mouse.cpp
118
width = int32(screenBounds.right - screenBounds.left) - 5;
src/tests/kits/game/set_mouse_position_test/test_mouse.cpp
125
mouse_move_diagonal1(width,height);
src/tests/kits/game/set_mouse_position_test/test_mouse.cpp
127
mouse_move_down(width);
src/tests/kits/game/set_mouse_position_test/test_mouse.cpp
22
int32 height, width;
src/tests/kits/game/set_mouse_position_test/test_mouse.cpp
44
for (int32 t = (width); t > 0; t--)
src/tests/kits/game/set_mouse_position_test/test_mouse.cpp
53
for (int32 t = 0; t < (width); t++)
src/tests/kits/game/set_mouse_position_test/test_mouse.cpp
75
double xplus = (double)width/y;
src/tests/kits/interface/StatusBarTest.cpp
42
float width, height;
src/tests/kits/interface/StatusBarTest.cpp
43
fStatusBar->GetPreferredSize(&width, &height);
src/tests/kits/interface/WidthBufferTest.cpp
71
float width = fWidthBuffer->StringWidth(buffer, 0,
src/tests/kits/interface/WidthBufferTest.cpp
73
printf("string: %s, width: %f\n", buffer, width);
src/tests/kits/interface/balert/AlertTest.cpp
1001
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1006
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1012
bi.width = 20.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1017
bi.width = 20.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1035
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1040
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1046
bi.width = 35.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1051
bi.width = 52.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1070
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1075
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1081
bi.width = 20.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1086
bi.width = 20.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1103
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1108
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1114
bi.width = 52.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1119
bi.width = 52.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1136
wi.width = 394.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1141
ti.width = 329.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1147
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1152
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1169
wi.width = 394.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1174
ti.width = 329.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1180
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1185
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1205
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1210
ti.width = 290.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1216
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1221
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1239
wi.width = 349.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1244
ti.width = 329.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1250
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1255
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1275
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1280
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1286
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1291
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1311
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1316
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1322
bi.width = 35.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1327
bi.width = 52.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1347
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1352
ti.width = 290.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1358
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1363
bi.width = 35.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1383
wi.width = 563.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1388
ti.width = 498.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1394
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1399
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1404
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1424
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1429
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1435
bi.width = 20.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1440
bi.width = 20.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1445
bi.width = 20.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1463
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1468
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1474
bi.width = 37.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1479
bi.width = 33.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1484
bi.width = 52.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1502
wi.width = 563.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1507
ti.width = 498.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1513
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1518
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1523
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1542
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1547
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1553
bi.width = 20.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1558
bi.width = 20.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1563
bi.width = 20.0f;
src/tests/kits/interface/balert/AlertTest.cpp
157
ASSERT_DEQUAL(fWinInfo.width, pAlert->Bounds().Width());
src/tests/kits/interface/balert/AlertTest.cpp
1580
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1585
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1591
bi.width = 56.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1596
bi.width = 56.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1601
bi.width = 56.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1618
wi.width = 563.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1623
ti.width = 498.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1629
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1634
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1639
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1656
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1661
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1667
bi.width = 52.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1672
bi.width = 52.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1677
bi.width = 52.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1694
wi.width = 563.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1699
ti.width = 498.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1705
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1710
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1715
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1736
wi.width = 518.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1741
ti.width = 498.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1747
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1752
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1757
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1777
wi.width = 335.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1782
ti.width = 270.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1788
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1793
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1798
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1818
wi.width = 335.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1823
ti.width = 270.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1829
bi.width = 37.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1834
bi.width = 33.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1839
bi.width = 52.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1859
wi.width = 335.0f;
src/tests/kits/interface/balert/AlertTest.cpp
186
ASSERT_DEQUAL(fButtonInfo[i].width, btns[i]->Bounds().Width());
src/tests/kits/interface/balert/AlertTest.cpp
1864
ti.width = 270.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1870
bi.width = 56.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1875
bi.width = 56.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1880
bi.width = 56.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1900
wi.width = 366.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1905
ti.width = 346.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1911
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1916
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
1921
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
228
ASSERT_DEQUAL(fTextInfo.width, textView->Bounds().Width());
src/tests/kits/interface/balert/AlertTest.cpp
365
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
370
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
376
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
394
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
399
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
405
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
423
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
428
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
434
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
452
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
457
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
46
float width;
src/tests/kits/interface/balert/AlertTest.cpp
463
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
481
wi.width = 365.0f;
src/tests/kits/interface/balert/AlertTest.cpp
486
ti.width = 300.0f;
src/tests/kits/interface/balert/AlertTest.cpp
492
bi.width = 300.0f;
src/tests/kits/interface/balert/AlertTest.cpp
512
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
517
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
523
bi.width = 20.0f;
src/tests/kits/interface/balert/AlertTest.cpp
541
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
546
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
552
bi.width = 35.0f;
src/tests/kits/interface/balert/AlertTest.cpp
570
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
575
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
581
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
599
wi.width = 365.0f;
src/tests/kits/interface/balert/AlertTest.cpp
604
ti.width = 300.0f;
src/tests/kits/interface/balert/AlertTest.cpp
610
bi.width = 300.0f;
src/tests/kits/interface/balert/AlertTest.cpp
629
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
634
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
640
bi.width = 20.0f;
src/tests/kits/interface/balert/AlertTest.cpp
657
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
662
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
668
bi.width = 35.0f;
src/tests/kits/interface/balert/AlertTest.cpp
685
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
690
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
696
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
716
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
721
ti.width = 290.0f;
src/tests/kits/interface/balert/AlertTest.cpp
727
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
745
wi.width = 320.0f;
src/tests/kits/interface/balert/AlertTest.cpp
750
ti.width = 300.0f;
src/tests/kits/interface/balert/AlertTest.cpp
756
bi.width = 300.0f;
src/tests/kits/interface/balert/AlertTest.cpp
776
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
781
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
787
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
804
wi.width = 365.0f;
src/tests/kits/interface/balert/AlertTest.cpp
809
ti.width = 300.0f;
src/tests/kits/interface/balert/AlertTest.cpp
815
bi.width = 300.0f;
src/tests/kits/interface/balert/AlertTest.cpp
835
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
840
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
846
bi.width = 35.0f;
src/tests/kits/interface/balert/AlertTest.cpp
866
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
871
ti.width = 290.0f;
src/tests/kits/interface/balert/AlertTest.cpp
877
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
897
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
902
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
908
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
913
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
931
wi.width = 310.0f;
src/tests/kits/interface/balert/AlertTest.cpp
936
ti.width = 245.0f;
src/tests/kits/interface/balert/AlertTest.cpp
942
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
947
bi.width = 75.0f;
src/tests/kits/interface/balert/AlertTest.cpp
965
wi.width = 394.0f;
src/tests/kits/interface/balert/AlertTest.cpp
970
ti.width = 329.0f;
src/tests/kits/interface/balert/AlertTest.cpp
976
bi.width = 160.0f;
src/tests/kits/interface/balert/AlertTest.cpp
981
bi.width = 160.0f;
src/tests/kits/interface/bbitmap/BBitmapTester.cpp
196
int32 width = testCase.bounds.IntegerWidth() + 1;
src/tests/kits/interface/bbitmap/BBitmapTester.cpp
198
int32 bpr = get_bytes_per_row(testCase.space, width);
src/tests/kits/interface/bbitmap/BBitmapTester.cpp
33
get_bytes_per_row(color_space colorSpace, int32 width)
src/tests/kits/interface/bbitmap/BBitmapTester.cpp
39
bpr = 8 * width;
src/tests/kits/interface/bbitmap/BBitmapTester.cpp
42
bpr = 6 * width;
src/tests/kits/interface/bbitmap/BBitmapTester.cpp
52
bpr = 4 * width;
src/tests/kits/interface/bbitmap/BBitmapTester.cpp
57
bpr = 3 * width;
src/tests/kits/interface/bbitmap/BBitmapTester.cpp
61
bpr = 2 * width;
src/tests/kits/interface/bbitmap/BBitmapTester.cpp
64
bpr = width;
src/tests/kits/interface/bbitmap/BBitmapTester.cpp
67
bpr = (width + 7) / 8;
src/tests/kits/interface/bbitmap/BBitmapTester.cpp
70
bpr = (width + 3) / 4 * 8;
src/tests/kits/interface/bbitmap/BBitmapTester.cpp
73
bpr = (width + 3) / 4 * 6;
src/tests/kits/interface/bbitmap/BBitmapTester.cpp
76
bpr = (width + 3) / 4 * 12;
src/tests/kits/interface/bbitmap/BBitmapTester.cpp
79
bpr = (width + 3) / 4 * 6;
src/tests/kits/interface/bbitmap/SetBitsTester.cpp
32
int32 width;
src/tests/kits/interface/bbitmap/SetBitsTester.cpp
386
int32 width = bounds.IntegerWidth() + 1;
src/tests/kits/interface/bbitmap/SetBitsTester.cpp
388
printf("BBitmap: %ldx%ld, %x\n", width, height, bitmap->ColorSpace());
src/tests/kits/interface/bbitmap/SetBitsTester.cpp
407
BRect bounds(0, 0, initialData.width - 1, initialData.height - 1);
src/tests/kits/interface/bbitmap/SetBitsTester.cpp
428
BRect bounds(0, 0, initialData.width - 1, initialData.height - 1);
src/tests/kits/interface/bbitmap/SetBitsTester.cpp
454
BRect bounds(0, 0, initialData.width - 1, initialData.height - 1);
src/tests/kits/interface/bbitmap/SetBitsTester.cpp
461
BRect bounds2(0, 0, setData.width - 1, setData.height - 1);
src/tests/kits/interface/flatten_picture/PictureTest.cpp
308
int32 width = bitmap1->Bounds().IntegerWidth() + 1;
src/tests/kits/interface/flatten_picture/PictureTest.cpp
313
for (int x = 0; x < width; x ++, pixel1 += bpp, pixel2 += bpp) {
src/tests/kits/interface/flatten_picture/PictureTestCases.cpp
617
static bool isBorder(int32 x, int32 y, int32 width, int32 height) {
src/tests/kits/interface/flatten_picture/PictureTestCases.cpp
618
return x == 0 || y == 0 || x == width - 1 || y == height - 1;
src/tests/kits/interface/flatten_picture/PictureTestCases.cpp
623
int32 width = bitmap.Bounds().IntegerWidth()+1;
src/tests/kits/interface/flatten_picture/PictureTestCases.cpp
625
for (int32 x = 0; x < width; x ++) {
src/tests/kits/interface/flatten_picture/PictureTestCases.cpp
628
if (isBorder(x, y, width, height)) {
src/tests/kits/interface/flatten_picture/PictureTestWindow.cpp
68
float width, height;
src/tests/kits/interface/flatten_picture/PictureTestWindow.cpp
69
fHeader->GetPreferredSize(&width, &height);
src/tests/kits/interface/flatten_picture/TestResultItem.cpp
101
float width = 0.0;
src/tests/kits/interface/flatten_picture/TestResultItem.cpp
104
width += font->StringWidth(fName.String());
src/tests/kits/interface/flatten_picture/TestResultItem.cpp
105
width += kDistance;
src/tests/kits/interface/flatten_picture/TestResultItem.cpp
106
width += font->StringWidth(fErrorMessage.String());
src/tests/kits/interface/flatten_picture/TestResultItem.cpp
108
width += 3 * kDistance;
src/tests/kits/interface/flatten_picture/TestResultItem.cpp
109
width += 3 * fBitmapSize.Width();
src/tests/kits/interface/flatten_picture/TestResultItem.cpp
114
width += 4;
src/tests/kits/interface/flatten_picture/TestResultItem.cpp
117
if (width > Width())
src/tests/kits/interface/flatten_picture/TestResultItem.cpp
118
SetWidth(width);
src/tests/kits/interface/flatten_picture/TestResultItem.cpp
179
float width = 0.0;
src/tests/kits/interface/flatten_picture/TestResultItem.cpp
183
width += font->StringWidth(fLabels[c].String());
src/tests/kits/interface/flatten_picture/TestResultItem.cpp
186
width += kDistance * (sizeof(fLabels) / sizeof(fLabels[0]) - 1);
src/tests/kits/interface/flatten_picture/TestResultItem.cpp
191
width += 4;
src/tests/kits/interface/flatten_picture/TestResultItem.cpp
194
if (width > Width())
src/tests/kits/interface/flatten_picture/TestResultItem.cpp
195
SetWidth(width);
src/tests/kits/interface/layout/LayoutTest1.cpp
148
void GetHeightForWidth(float width, float* minHeight, float* maxHeight,
src/tests/kits/interface/layout/LayoutTest1.cpp
151
fType->GetHeightForWidth(width,
src/tests/kits/interface/layout/LayoutTest1.cpp
167
virtual void GetHeightForWidth(float width, float* minHeight,
src/tests/kits/interface/layout/LayoutTest1.cpp
196
virtual void GetHeightForWidth(float width, float* minHeight,
src/tests/kits/interface/layout/LayoutTest1.cpp
199
float height = floor((width + 1) * fAspectRatio) - 1;
src/tests/kits/interface/layout/LayoutTest1.cpp
234
virtual void GetHeightForWidth(float width, float* minHeight,
src/tests/kits/interface/layout/LayoutTest1.cpp
237
float height = fSum - (width + 1) - 1;
src/tests/kits/interface/layout/LayoutTest1.cpp
272
virtual void GetHeightForWidth(float width, float* minHeight,
src/tests/kits/interface/layout/LayoutTest1.cpp
275
float height = floor(fProduct / (width + 1)) - 1;
src/tests/kits/interface/layout/widget_layout_test/GroupView.cpp
208
fColumnInfos[column].AddConstraints(min.width, max.width,
src/tests/kits/interface/layout/widget_layout_test/GroupView.cpp
209
preferred.width);
src/tests/kits/interface/layout/widget_layout_test/GroupView.cpp
314
size.width = BLayoutUtils::AddDistances(size.width,
src/tests/kits/interface/layout/widget_layout_test/GroupView.cpp
327
size.width = BLayoutUtils::SubtractDistances(size.width,
src/tests/kits/interface/layout/widget_layout_test/GroupView.cpp
414
HStrut::HStrut(float width)
src/tests/kits/interface/layout/widget_layout_test/GroupView.cpp
415
: Strut(width, -1)
src/tests/kits/interface/layout/widget_layout_test/GroupView.h
89
HStrut(float width);
src/tests/kits/interface/layout/widget_layout_test/StringView.cpp
61
size.width = fStringWidth - 1;
src/tests/kits/interface/layout/widget_layout_test/StringView.cpp
86
int widthDiff = (int)size.width + 1 - (int)fStringWidth;
src/tests/kits/interface/layout/widget_layout_test/View.cpp
96
frame.right = frame.left + size.width;
src/tests/kits/interface/layout/widget_layout_test/WidgetLayoutTest.cpp
202
if (maxSliderLocation.x + sliderSize.width > parentSize.width)
src/tests/kits/interface/layout/widget_layout_test/WidgetLayoutTest.cpp
203
maxSliderLocation.x = parentSize.width - sliderSize.width;
src/tests/kits/interface/layout/widget_layout_test/WidgetLayoutTest.cpp
258
_UpdateSizeView(widthView, size.width);
src/tests/kits/interface/layout/widget_layout_test/WidgetLayoutTest.cpp
67
return BPoint(p.x + size.width, p.y + size.height);
src/tests/kits/interface/layout/widget_layout_test/WrapperView.cpp
106
return BSize(BLayoutUtils::AddDistances(size.width, horizontalInsets),
src/tests/kits/interface/menu/menuworld/BitmapMenuItem.cpp
64
void BitmapMenuItem::GetContentSize(float* width, float* height)
src/tests/kits/interface/menu/menuworld/BitmapMenuItem.cpp
66
GetBitmapSize(width, height);
src/tests/kits/interface/menu/menuworld/BitmapMenuItem.cpp
74
void BitmapMenuItem::GetBitmapSize(float* width, float* height)
src/tests/kits/interface/menu/menuworld/BitmapMenuItem.cpp
77
*width = r.Width() + 4; // 2-pixel boundary on either side
src/tests/kits/interface/menu/menuworld/BitmapMenuItem.h
39
void GetContentSize(float* width, float* height);
src/tests/kits/interface/menu/menuworld/BitmapMenuItem.h
45
void GetBitmapSize(float* width, float* height);
src/tests/kits/interface/pictureprint/Preview.cpp
121
void PreviewView::FrameResized(float width, float height) {
src/tests/kits/interface/pictureprint/Preview.cpp
174
float width = PageRect().Width();
src/tests/kits/interface/pictureprint/Preview.cpp
176
x = width - frame.Width();
src/tests/kits/interface/pictureprint/Preview.cpp
187
scroll->SetProportion ((width - x) / width);
src/tests/kits/interface/pictureprint/Preview.h
65
void FrameResized(float width, float height);
src/tests/kits/media/VideoDecoder.cpp
23
VideoView(BMediaTrack* track, int32 width, int32 height);
src/tests/kits/media/VideoDecoder.cpp
33
VideoView::VideoView(BMediaTrack* track, int32 width, int32 height)
src/tests/kits/media/VideoDecoder.cpp
34
: BView(BRect(0, 0, width, height), "Video", B_FOLLOW_NONE,
src/tests/kits/media/VideoDecoder.cpp
37
, fBitmap(BRect(0, 0, width - 1, height - 1), B_RGB32)
src/tests/kits/opengl/demos/gears/gears.c
100
glVertex3f(r0 * cos(angle), r0 * sin(angle), -width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
102
glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), -width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
103
glVertex3f(r0 * cos(angle), r0 * sin(angle), -width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
114
glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), -width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
115
glVertex3f(r2 * cos(angle + 2 * da), r2 * sin(angle + 2 * da), -width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
116
glVertex3f(r2 * cos(angle + da), r2 * sin(angle + da), -width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
117
glVertex3f(r1 * cos(angle), r1 * sin(angle), -width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
126
glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
127
glVertex3f(r1 * cos(angle), r1 * sin(angle), -width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
134
glVertex3f(r2 * cos(angle + da), r2 * sin(angle + da), width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
135
glVertex3f(r2 * cos(angle + da), r2 * sin(angle + da), -width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
137
glVertex3f(r2 * cos(angle + 2 * da), r2 * sin(angle + 2 * da), width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
138
glVertex3f(r2 * cos(angle + 2 * da), r2 * sin(angle + 2 * da), -width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
142
glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
143
glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), -width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
147
glVertex3f(r1 * cos(0), r1 * sin(0), width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
148
glVertex3f(r1 * cos(0), r1 * sin(0), -width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
159
glVertex3f(r0 * cos(angle), r0 * sin(angle), -width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
160
glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
317
reshape(int width, int height)
src/tests/kits/opengl/demos/gears/gears.c
319
GLfloat h = (GLfloat) height / (GLfloat) width;
src/tests/kits/opengl/demos/gears/gears.c
321
glViewport(0, 0, (GLint) width, (GLint) height);
src/tests/kits/opengl/demos/gears/gears.c
49
gear(GLfloat inner_radius, GLfloat outer_radius, GLfloat width,
src/tests/kits/opengl/demos/gears/gears.c
71
glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
72
glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
74
glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
75
glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
86
glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
87
glVertex3f(r2 * cos(angle + da), r2 * sin(angle + da), width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
88
glVertex3f(r2 * cos(angle + 2 * da), r2 * sin(angle + 2 * da), width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
89
glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), width * 0.5);
src/tests/kits/opengl/demos/gears/gears.c
99
glVertex3f(r1 * cos(angle), r1 * sin(angle), -width * 0.5);
src/tests/kits/opengl/direct_mode/GLDirectMode.cpp
124
width = frame.right-frame.left;
src/tests/kits/opengl/direct_mode/GLDirectMode.cpp
134
gReshape(width, height);
src/tests/kits/opengl/direct_mode/GLDirectMode.cpp
146
width = newWidth;
src/tests/kits/opengl/direct_mode/GLDirectMode.cpp
149
gReshape(width,height);
src/tests/kits/opengl/direct_mode/GLDirectMode.cpp
218
void SampleGLView::gReshape(int width, int height)
src/tests/kits/opengl/direct_mode/GLDirectMode.cpp
220
glViewport(0, 0, width, height);
src/tests/kits/opengl/direct_mode/GLDirectMode.cpp
224
gluPerspective(45, width / (float) height, 1, 500);
src/tests/kits/opengl/direct_mode/GLDirectMode.cpp
28
void gReshape(int width, int height);
src/tests/kits/opengl/direct_mode/GLDirectMode.cpp
30
float width;
src/tests/kits/opengl/glinfo/CapabilitiesView.cpp
142
int width = 0;
src/tests/kits/opengl/glinfo/CapabilitiesView.cpp
144
GL_MAX_CONVOLUTION_WIDTH, &width);
src/tests/kits/opengl/glinfo/CapabilitiesView.cpp
151
convolution << (int32)width << 'x' << (int32)height;
src/tests/kits/opengl/glsl/brick.c
69
Reshape(int width, int height)
src/tests/kits/opengl/glsl/brick.c
71
glViewport(0, 0, width, height);
src/tests/kits/translation/BitmapStreamTest.cpp
204
int32 width = 5, height = 5;
src/tests/kits/translation/BitmapStreamTest.cpp
209
sheader.bounds.right = width - 1;
src/tests/kits/translation/BitmapStreamTest.cpp
211
sheader.rowBytes = width * 4;
src/tests/servers/app/benchmark/Benchmark.cpp
56
uint32 width = 500;
src/tests/servers/app/benchmark/Benchmark.cpp
60
frame.left = (frame.left + frame.right - width) / 2;
src/tests/servers/app/benchmark/Benchmark.cpp
61
frame.top = (frame.top + frame.bottom - width) / 2;
src/tests/servers/app/benchmark/Benchmark.cpp
62
frame.right = frame.left + width - 1;
src/tests/servers/app/bitmap_bounds/main.cpp
42
uint32 width = fBitmap->Bounds().IntegerWidth() + 1;
src/tests/servers/app/bitmap_bounds/main.cpp
48
for (uint32 x = 0; x < width; x++) {
src/tests/servers/app/bitmap_bounds/main.cpp
59
b[(width - 1) * 4 + 0] = 0;
src/tests/servers/app/bitmap_bounds/main.cpp
60
b[(width - 1) * 4 + 1] = 0;
src/tests/servers/app/bitmap_bounds/main.cpp
65
for (uint32 x = 0; x < width; x++) {
src/tests/servers/app/copy_bits/main.cpp
100
StrokeLine(BPoint(r.right - (width / lineCount) * i, r.bottom),
src/tests/servers/app/copy_bits/main.cpp
118
width = StringWidth(message);
src/tests/servers/app/copy_bits/main.cpp
119
BPoint p(r.left + r.Width() / 2.0 - width / 2.0,
src/tests/servers/app/copy_bits/main.cpp
125
width = StringWidth(message);
src/tests/servers/app/copy_bits/main.cpp
126
p.x = r.left + r.Width() / 2.0 - width / 2.0;
src/tests/servers/app/copy_bits/main.cpp
132
width = StringWidth(message);
src/tests/servers/app/copy_bits/main.cpp
133
p.x = r.left + r.Width() / 2.0 - width / 2.0;
src/tests/servers/app/copy_bits/main.cpp
139
width = StringWidth(message);
src/tests/servers/app/copy_bits/main.cpp
140
p.x = r.left + r.Width() / 2.0 - width / 2.0;
src/tests/servers/app/copy_bits/main.cpp
92
float width = r.Width();
src/tests/servers/app/copy_bits/main.cpp
98
StrokeLine(BPoint(r.left + (width / lineCount) * i, r.top),
src/tests/servers/app/hide_and_show/HideAndShow.cpp
26
virtual void FrameResized(float width, float height);
src/tests/servers/app/hide_and_show/HideAndShow.cpp
80
Window::FrameResized(float width, float height)
src/tests/servers/app/look_and_feel/LookAndFeel.cpp
155
float width, height;
src/tests/servers/app/look_and_feel/LookAndFeel.cpp
156
button->GetPreferredSize(&width, &height);
src/tests/servers/app/newerClipping/drawing/AccelerantHWInterface.cpp
679
params[i].width = (uint16)(sortedRectList[i].right - sortedRectList[i].left);
src/tests/servers/app/painter/Painter.cpp
1100
float width = fPenSize;
src/tests/servers/app/painter/Painter.cpp
1101
_Transform(&width);
src/tests/servers/app/painter/Painter.cpp
1103
fLineProfile.width(width);
src/tests/servers/app/painter/Painter.cpp
1144
float width = fPenSize;
src/tests/servers/app/painter/Painter.cpp
1145
_Transform(&width);
src/tests/servers/app/painter/Painter.cpp
1147
int32 divisions = (int32)max_c(12, ((xRadius + yRadius) * PI) / 2 * (int32)width);
src/tests/servers/app/painter/Painter.cpp
1337
int32 width = r.IntegerWidth() + 1;
src/tests/servers/app/painter/Painter.cpp
1341
for (int32 i = 0; i < width; i++) {
src/tests/servers/app/painter/Painter.cpp
1379
float width = fPenSize;
src/tests/servers/app/painter/Painter.cpp
1380
_Transform(&width);
src/tests/servers/app/painter/Painter.cpp
1381
if (width > 1.0) {
src/tests/servers/app/painter/Painter.cpp
1383
stroke.width(width);
src/tests/servers/app/painter/Painter.cpp
985
Painter::_Transform(float* width) const
src/tests/servers/app/painter/Painter.cpp
987
*width *= fScale;
src/tests/servers/app/painter/Painter.cpp
988
if (*width < 1)
src/tests/servers/app/painter/Painter.cpp
989
*width = 1;
src/tests/servers/app/painter/Painter.cpp
994
Painter::_Transform(const float& width) const
src/tests/servers/app/painter/Painter.cpp
996
float w = width * fScale;
src/tests/servers/app/painter/Painter.h
220
void _Transform(float* width) const;
src/tests/servers/app/painter/Painter.h
221
float _Transform(const float& width) const;
src/tests/servers/app/painter/main.cpp
111
test_lines(Surface& s, uint32 width, uint32 height)
src/tests/servers/app/painter/main.cpp
125
s.StrokeLine(BPoint(0, 0), BPoint(width, y), pat);
src/tests/servers/app/painter/main.cpp
126
s.StrokeLine(BPoint(width - 1, 0), BPoint(0, y), pat);
src/tests/servers/app/painter/main.cpp
128
for (uint32 x = 0; x <= width; x += 10) {
src/tests/servers/app/painter/main.cpp
130
s.StrokeLine(BPoint(width - 1, 0), BPoint(x, height), pat);
src/tests/servers/app/painter/main.cpp
141
test(Surface& s, uint32 width, uint32 height, BBitmap* testBitmap)
src/tests/servers/app/painter/main.cpp
149
BPoint center(width / 2.0, height / 2.0);
src/tests/servers/app/painter/main.cpp
162
s.StrokeLine(BPoint(0, 0), BPoint(width / 2, y)/*, kDottedBigger*/);
src/tests/servers/app/painter/main.cpp
163
for (uint32 x = 0; x <= width; x += 10)
src/tests/servers/app/painter/main.cpp
220
s.StrokeLine(BPoint(width - 1, 0));
src/tests/servers/app/painter/main.cpp
23
test_straight_lines(Surface& s, uint32 width, uint32 height)
src/tests/servers/app/painter/main.cpp
332
uint32 width = buffer->Width();
src/tests/servers/app/painter/main.cpp
350
painterNow += test_fill_rect(painter, width, height);
src/tests/servers/app/painter/main.cpp
37
s.StrokeLine(BPoint(0, y), BPoint(width - 1, y), pat);
src/tests/servers/app/painter/main.cpp
377
viewNow += test_fill_rect(*view, width, height);
src/tests/servers/app/painter/main.cpp
39
for (uint32 x = 0; x <= width; x += 5) {
src/tests/servers/app/painter/main.cpp
51
test_fill_rect(Surface& s, uint32 width, uint32 height)
src/tests/servers/app/painter/main.cpp
66
for (uint32 x = 10; x <= width; x += 20) {
src/tests/servers/app/painter/main.cpp
80
test_ellipses(Surface& s, uint32 width, uint32 height)
src/tests/servers/app/painter/main.cpp
93
BPoint center(floorf(width / 2.0), floorf(height / 2.0));
src/tests/servers/app/painter/main.cpp
94
float xRadius = width / 2.0;
src/tests/servers/app/playground/ObjectView.cpp
165
float width = StringWidth(message);
src/tests/servers/app/playground/ObjectView.cpp
167
BPoint p((r.Width() - width) / 2.0, r.Height() / 2.0);
src/tests/servers/app/playground/ObjectWindow.cpp
303
float width = max_c(mWidth, aWidth) + 20.0;
src/tests/servers/app/playground/ObjectWindow.cpp
304
fDrawingModeMF->SetDivider(width);
src/tests/servers/app/playground/ObjectWindow.cpp
305
fAlphaTC->SetDivider(width);
src/tests/servers/app/resize_limits/ResizeLimits.cpp
37
virtual void FrameResized(float width, float height);
src/tests/servers/app/resize_limits/ResizeLimits.cpp
72
Window::FrameResized(float width, float height)
src/tests/servers/app/scrollbar/main.cpp
28
virtual void FrameResized(float width, float height)
src/tests/servers/app/transformation/main.cpp
316
float width = view->Bounds().Width();
src/tests/servers/app/transformation/main.cpp
321
transform.TranslateBy(width, 0);
src/tests/servers/app/transformation/main.cpp
330
BRect r(-width, 0, size - width, 70);
src/tests/servers/app/transformation/main.cpp
336
view->DrawString(str, BPoint(-width, 70));
src/tests/servers/app/transformation/main.cpp
342
offsets[i].x = i * 35 - width;
src/tools/cppunit/TestListener.cpp
67
cout.width(2);
src/tools/cppunit/TestListener.cpp
74
cout.width(2);
src/tools/cppunit/TestListener.cpp
81
cout.width(2);
src/tools/generate_boot_screen.cpp
145
read_png(const char* filename, int& width, int& height, png_bytep*& rowPtrs,
src/tools/generate_boot_screen.cpp
186
width = (int)png_get_image_width(pngPtr, infoPtr);
src/tools/generate_boot_screen.cpp
190
if ((int)png_get_rowbytes(pngPtr, infoPtr) < width * 3) {
src/tools/generate_boot_screen.cpp
213
write_24bit_image(const char* baseName, int width, int height, png_bytep* rowPtrs)
src/tools/generate_boot_screen.cpp
215
fprintf(sOutput, "static const uint16 %sWidth = %d;\n", baseName, width);
src/tools/generate_boot_screen.cpp
225
zlib.Compress(rowPtrs[y], width * 3);
src/tools/generate_boot_screen.cpp
235
write_8bit_image(const char* baseName, int width, int height, unsigned char** rowPtrs)
src/tools/generate_boot_screen.cpp
247
zlib.Compress(rowPtrs[y], width);
src/tools/hvif2png/hvif2png.cpp
143
png_uint_32 width = (png_uint_32)rect.Width() + 1;
src/tools/hvif2png/hvif2png.cpp
146
png_set_IHDR(png, info, width, height, 8, PNG_COLOR_TYPE_RGBA,
src/tools/translation/bmpinfo/bmpinfo.cpp
135
printf(B_TRANSLATE(" width: %lu\n"), msh.width);
src/tools/translation/bmpinfo/bmpinfo.cpp
178
printf(B_TRANSLATE(" width: %u\n"), os2.width);
src/tools/translation/bmpinfo/bmpinfo.cpp
61
uint32 width; // bitmap width
src/tools/translation/bmpinfo/bmpinfo.cpp
75
uint16 width; // bitmap width
src/tools/translation/inspector/ActiveTranslatorsWindow.cpp
93
ActiveTranslatorsWindow::FrameResized(float width, float height)
src/tools/translation/inspector/ActiveTranslatorsWindow.h
43
void FrameResized(float width, float height);
src/tools/translation/inspector/ImageView.cpp
119
ImageView::FrameResized(float width, float height)
src/tools/translation/inspector/ImageView.cpp
599
float width, height;
src/tools/translation/inspector/ImageView.cpp
601
width = fpbitmap->Bounds().Width() + B_V_SCROLL_BAR_WIDTH + (BORDER_WIDTH * 2);
src/tools/translation/inspector/ImageView.cpp
606
if (width > rctscreen.Width())
src/tools/translation/inspector/ImageView.cpp
607
width = rctscreen.Width();
src/tools/translation/inspector/ImageView.cpp
610
pwin->SetSizeLimits(B_V_SCROLL_BAR_WIDTH * 4, width,
src/tools/translation/inspector/ImageView.cpp
612
pwin->SetZoomLimits(width, height);
src/tools/translation/inspector/ImageView.h
49
void FrameResized(float width, float height);
src/tools/translation/inspector/InfoWindow.cpp
75
InfoWindow::FrameResized(float width, float height)
src/tools/translation/inspector/InfoWindow.cpp
79
rcttext.right = rcttext.left + (width - B_V_SCROLL_BAR_WIDTH);
src/tools/translation/inspector/InfoWindow.h
43
void FrameResized(float width, float height);
src/tools/translation/pnginfo/pnginfo.cpp
136
png_uint_32 width, height;
src/tools/translation/pnginfo/pnginfo.cpp
138
png_get_IHDR(ppng, pinfo, &width, &height, &bit_depth, &color_type,
src/tools/translation/pnginfo/pnginfo.cpp
141
printf(" width: %lu\n", width);
src/tools/translation/tgainfo/tgainfo.cpp
188
imagespec.width = tga_uint16(reinterpret_cast<char *>(buf), 12);
src/tools/translation/tgainfo/tgainfo.cpp
199
static_cast<int>(imagespec.width));
src/tools/translation/tgainfo/tgainfo.cpp
80
uint16 width;