Searched refs:m_width (Results 1 - 25 of 62) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/html/
H A DTextMetrics.h39 float width() const { return m_width; }
40 void setWidth(float w) { m_width = w; }
44 : m_width(0)
49 float m_width; member in class:WebCore::TextMetrics
/external/chromium_org/third_party/WebKit/Source/core/platform/
H A DLengthSize.h35 : m_width(width)
42 return m_width == o.m_width && m_height == o.m_height;
45 void setWidth(Length width) { m_width = width; }
46 Length width() const { return m_width; }
52 Length m_width; member in struct:WebCore::LengthSize
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/cg/
H A DFloatSizeCG.cpp34 FloatSize::FloatSize(const CGSize& s) : m_width(s.width), m_height(s.height)
40 return CGSizeMake(m_width, m_height);
H A DIntSizeCG.cpp33 IntSize::IntSize(const CGSize& s) : m_width(static_cast<int>(s.width)), m_height(static_cast<int>(s.height))
39 return CGSizeMake(m_width, m_height);
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/
H A DMemoryFlyoutPreferences.java22 private int m_width; field in class:MemoryFlyoutPreferences
32 m_width = width;
49 return m_width;
61 m_width = width;
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
H A DIntSize.h46 IntSize() : m_width(0), m_height(0) { }
47 IntSize(int width, int height) : m_width(width), m_height(height) { }
49 int width() const { return m_width; }
52 void setWidth(int width) { m_width = width; }
55 bool isEmpty() const { return m_width <= 0 || m_height <= 0; }
56 bool isZero() const { return !m_width && !m_height; }
58 float aspectRatio() const { return static_cast<float>(m_width) / static_cast<float>(m_height); }
62 m_width += width;
68 m_width = static_cast<int>(static_cast<float>(m_width) * widthScal
128 int m_width, m_height; member in class:WebCore::IntSize
[all...]
H A DLayoutSize.h44 LayoutSize() : m_width(0), m_height(0) { }
45 LayoutSize(const IntSize& size) : m_width(size.width()), m_height(size.height()) { }
46 LayoutSize(LayoutUnit width, LayoutUnit height) : m_width(width), m_height(height) { }
48 explicit LayoutSize(const FloatSize& size) : m_width(size.width()), m_height(size.height()) { }
50 LayoutUnit width() const { return m_width; }
53 void setWidth(LayoutUnit width) { m_width = width; }
56 bool isEmpty() const { return m_width <= 0 || m_height <= 0; }
57 bool isZero() const { return !m_width && !m_height; }
59 float aspectRatio() const { return static_cast<float>(m_width) / static_cast<float>(m_height); }
63 m_width
116 LayoutUnit m_width, m_height; member in class:WebCore::LayoutSize
[all...]
H A DFloatSize.cpp40 FloatSize::FloatSize(const IntSize& size) : m_width(size.width()), m_height(size.height())
44 FloatSize::FloatSize(const LayoutSize& size) : m_width(size.width()), m_height(size.height())
55 return fabs(m_width) < numeric_limits<float>::epsilon() && fabs(m_height) < numeric_limits<float>::epsilon();
60 return isWithinIntRange(m_width) && isWithinIntRange(m_height);
H A DFloatSize.h52 FloatSize() : m_width(0), m_height(0) { }
53 FloatSize(float width, float height) : m_width(width), m_height(height) { }
59 float width() const { return m_width; }
62 void setWidth(float width) { m_width = width; }
65 bool isEmpty() const { return m_width <= 0 || m_height <= 0; }
69 float aspectRatio() const { return m_width / m_height; }
73 m_width += width;
81 m_width *= scaleX;
87 return FloatSize(m_width > other.m_width
118 float m_width, m_height; member in class:WebCore::FloatSize
[all...]
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/mac/
H A DFloatSizeMac.mm34 FloatSize::FloatSize(const NSSize& s) : m_width(s.width), m_height(s.height)
40 return NSMakeSize(m_width, m_height);
H A DIntSizeMac.mm33 IntSize::IntSize(const NSSize& s) : m_width(static_cast<int>(s.width)), m_height(static_cast<int>(s.height))
39 return NSMakeSize(m_width, m_height);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DFixedTableLayout.cpp88 m_width.resize(nEffCols);
89 m_width.fill(Length(Auto));
113 m_width.append(Length());
119 m_width.append(Length());
124 m_width[currentEffectiveColumn] = colStyleLogicalWidth;
125 m_width[currentEffectiveColumn] *= spanInCurrentEffectiveColumn;
161 if (m_width[currentColumn].isAuto() && logicalWidth.type() != Auto) {
162 m_width[currentColumn] = logicalWidth;
163 m_width[currentColumn] *= eSpan / span;
214 if (nEffCols != m_width
[all...]
H A DFixedTableLayout.h43 Vector<Length> m_width; member in class:WebCore::FixedTableLayout
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DBorderValue.h40 , m_width(3)
63 return m_width == o.m_width && m_style == o.m_style && m_color == o.m_color && m_colorIsValid == o.m_colorIsValid && m_currentColor == o.m_currentColor;
80 unsigned width() const { return m_width; }
88 unsigned m_width : 25;
H A DStyleMultiColData.cpp30 : m_width(0)
47 , m_width(o.m_width)
66 return m_width == o.m_width && m_count == o.m_count && m_gap == o.m_gap
H A DOutlineValue.h42 return m_width == o.m_width && m_style == o.m_style && m_color == o.m_color && m_colorIsValid == o.m_colorIsValid && m_offset == o.m_offset && m_isAuto == o.m_isAuto;
H A DCollapsedBorderValue.h38 , m_width(0)
49 , m_width(border.nonZero() ? border.width() : 0)
56 unsigned width() const { return m_style > BHIDDEN ? m_width : 0; }
72 unsigned m_width : 22;
H A DStyleBoxData.cpp52 , m_width(o.m_width)
68 return m_width == o.m_width
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGTextMetrics.h44 bool isEmpty() const { return !m_width && !m_height && !m_glyph.isValid && m_length == 1; }
46 float width() const { return m_width; }
47 void setWidth(float width) { m_width = width; }
76 float m_width; member in class:WebCore::SVGTextMetrics
H A DSVGTextMetrics.cpp30 : m_width(0)
37 : m_width(0)
54 m_width = scaledFont.width(run, length, m_glyph.name) / scalingFactor;
112 m_width = width / scalingFactor;
/external/opencv/otherlibs/highgui/
H A Dgrfmt_pxm.cpp166 m_width = ReadNumber( m_strm, INT_MAX );
177 if( m_width > 0 && m_height > 0 && m_maxval > 0 && m_maxval < (1 << 16))
189 m_width = m_height = -1;
205 int src_pitch = (m_width*m_bpp*m_bit_depth/8 + 7)/8;
207 int width3 = m_width*nch;
242 for( x = 0; x < m_width; x++ )
246 FillColorRow8( data, src, m_width, palette );
248 FillGrayRow8( data, src, m_width, gray_palette );
258 FillColorRow1( data, src, m_width, palette );
260 FillGrayRow1( data, src, m_width, gray_palett
[all...]
H A Dgrfmt_sunras.cpp103 m_width = m_strm.GetDWord();
113 if( m_width > 0 && m_height > 0 &&
166 m_width = m_height = -1;
182 int src_pitch = ((m_width*m_bpp + 7)/8 + 1) & -2;
184 int width3 = m_width*nch;
193 if( m_width*3 + 32 > buffer_size )
194 bgr = new uchar[m_width*3 + 32];
213 FillColorRow1( data, src, m_width, m_palette );
215 FillGrayRow1( data, src, m_width, gray_palette );
221 uchar* line_end = src + (m_width*m_bp
[all...]
H A Dgrfmt_bmp.cpp108 m_width = m_strm.GetDWord();
116 if( m_width > 0 && m_height > 0 &&
151 m_width = m_strm.GetWord();
156 if( m_width > 0 && m_height > 0 &&
180 m_width = m_height = -1;
196 int src_pitch = ((m_width*(m_bpp != 15 ? m_bpp : 16) + 7)/8 + 3) & -4;
198 int width3 = m_width*nch;
216 if( m_width*3 + 32 > buffer_size ) bgr = new uchar[m_width*3 + 32];
230 FillColorRow1( color ? data : bgr, src, m_width, m_palett
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DWebGLRenderbuffer.h50 m_width = width;
53 GC3Dsizei getWidth() const { return m_width; }
77 GC3Dsizei m_width, m_height; member in class:WebCore::WebGLRenderbuffer
H A DWebGLRenderbuffer.cpp48 , m_width(0)

Completed in 2388 milliseconds

123