/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
LayoutSize.h | 48 LayoutSize(const IntSize& size) : m_width(size.width()), m_height(size.height()) { } 49 LayoutSize(LayoutUnit width, LayoutUnit height) : m_width(width), m_height(height) { } 51 explicit LayoutSize(const FloatSize& size) : m_width(size.width()), m_height(size.height()) { } 53 LayoutUnit width() const { return m_width; } 56 void setWidth(LayoutUnit width) { m_width = width; } 59 bool isEmpty() const { return m_width.rawValue() <= 0 || m_height.rawValue() <= 0; } 60 bool isZero() const { return !m_width && !m_height; } 62 float aspectRatio() const { return m_width.toFloat() / m_height.toFloat(); } 66 m_width += width; 72 m_width -= width 133 LayoutUnit m_width, m_height; member in class:blink::LayoutSize [all...] |
IntSize.h | 45 IntSize() : m_width(0), m_height(0) { } 46 IntSize(int width, int height) : m_width(width), m_height(height) { } 48 int width() const { return m_width; } 51 void setWidth(int width) { m_width = width; } 54 bool isEmpty() const { return m_width <= 0 || m_height <= 0; } 55 bool isZero() const { return !m_width && !m_height; } 57 float aspectRatio() const { return static_cast<float>(m_width) / static_cast<float>(m_height); } 61 m_width += width; 67 m_width = static_cast<int>(static_cast<float>(m_width) * widthScale) 128 int m_width, m_height; member in class:blink::IntSize [all...] |
FloatSize.h | 49 FloatSize() : m_width(0), m_height(0) { } 50 FloatSize(float width, float height) : m_width(width), m_height(height) { } 51 FloatSize(const IntSize& size) : m_width(size.width()), m_height(size.height()) { } 56 float width() const { return m_width; } 59 void setWidth(float width) { m_width = width; } 62 bool isEmpty() const { return m_width <= 0 || m_height <= 0; } 66 float aspectRatio() const { return m_width / m_height; } 70 m_width += width; 78 m_width *= scaleX; 84 return FloatSize(m_width > other.m_width ? m_width : other.m_width 125 float m_width, m_height; member in class:blink::FloatSize [all...] |
FloatBox.h | 44 , m_width(0) 54 , m_width(width) 64 , m_width(box.width()) 83 m_width = origin.x(); 119 m_width = maxX - minX; 147 bool isEmpty() const { return (m_width <= 0 && m_height <= 0) || (m_width <= 0 && m_depth <= 0) || (m_height <= 0 && m_depth <= 0); } 149 float right() const { return m_x + m_width; } 155 float width() const { return m_width; } 162 float m_width; member in class:blink::FloatBox [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
LengthSize.h | 35 : m_width(width) 42 return m_width == o.m_width && m_height == o.m_height; 45 void setWidth(const Length& width) { m_width = width; } 46 const Length& width() const { return m_width; } 52 Length m_width; member in class:blink::LengthSize
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DOMRectReadOnly.h | 19 double width() const { return m_width; } 23 double right() const { return std::max(m_x, m_x + m_width); } 25 double left() const { return std::min(m_x, m_x + m_width); } 34 double m_width; member in class:blink::DOMRectReadOnly
|
DOMRectReadOnly.cpp | 18 , m_width(width)
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/ |
MemoryFlyoutPreferences.java | 22 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/rendering/svg/ |
SVGTextMetrics.h | 49 bool isEmpty() const { return !m_width && !m_height && m_length <= 1; } 51 float width() const { return m_width; } 52 void setWidth(float width) { m_width = width; } 63 float m_width; member in class:blink::SVGTextMetrics
|
/external/deqp/framework/common/ |
tcuSurface.hpp | 53 int getWidth (void) const { return m_width; } 68 int m_width; member in class:tcu::Surface 75 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); 77 const int pixOffset = y*m_width + x; 92 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); 94 const int pixOffset = y*m_width + x; 113 DE_ASSERT(x < m_width); 119 DE_ASSERT(x + width <= m_width); 122 const deUint8* ptr = (m_pixels.empty() ? NULL : ((deUint8*)&m_pixels[0]) + 4 * (x + y * m_width)); 123 return ConstPixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), width, height, 1, m_width*4, 0, ptr) [all...] |
/sdk/emulator/opengl/host/libs/Translator/EGL/ |
EglSurface.h | 42 void setDim(int width,int height){ m_width = width; m_height = height;}; 60 m_width(width), 70 EGLint m_width; member in class:EglSurface
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
BreakingContextInlineHeaders.h | 64 , m_width(lineWidth) 105 if (m_width.fitsOnLine() || m_lastWS == NOWRAP) 131 LineWidth m_width; member in class:blink::BreakingContext 272 if (m_width.fitsOnLine()) { 283 m_lineInfo.setEmpty(false, m_block, &m_width); 361 m_width.addUncommittedWidth(inlineLogicalWidth(box).toFloat()); 374 if (m_floatsFitOnLine && m_width.fitsOnLine(m_block->logicalWidthForFloat(floatingObject).toFloat(), ExcludeWhitespace)) { 375 m_block->positionNewFloatOnLine(floatingObject, m_lastFloatFromPreviousLine, m_lineInfo, m_width); 419 m_lineInfo.setEmpty(false, m_block, &m_width); 438 m_width.addUncommittedWidth((inlineLogicalWidth(m_current.object()) + borderPaddingMarginStart(flowBox) + (…) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
FixedTableLayout.cpp | 86 m_width.resize(nEffCols); 87 m_width.fill(Length(Auto)); 111 m_width.append(Length()); 117 m_width.append(Length()); 122 m_width[currentEffectiveColumn] = colStyleLogicalWidth; 123 m_width[currentEffectiveColumn] *= spanInCurrentEffectiveColumn; 159 if (m_width[currentColumn].isAuto() && logicalWidth.type() != Auto) { 160 m_width[currentColumn] = logicalWidth; 161 m_width[currentColumn] *= eSpan / span; 212 if (nEffCols != m_width.size()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
StyleMultiColData.cpp | 30 : m_width(0) 47 , m_width(o.m_width) 65 return m_width == o.m_width && m_count == o.m_count && m_gap == o.m_gap
|
CollapsedBorderValue.h | 37 , m_width(0) 47 , m_width(border.nonZero() ? border.width() : 0) 54 unsigned width() const { return m_style > BHIDDEN ? m_width : 0; } 69 unsigned m_width : 23;
|
StyleBoxData.cpp | 51 , m_width(o.m_width) 67 return m_width == o.m_width
|
/external/deqp/modules/gles3/functional/ |
es3fFboDepthbufferTests.cpp | 55 , m_width (width) 89 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height); 92 glRenderbufferStorage(GL_RENDERBUFFER, m_format, m_width, m_height); 100 glViewport(0, 0, m_width, m_height); 132 readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f)); 137 int m_width; member in class:deqp::gles3::Functional::BasicFboDepthCase 147 , m_width (width) 179 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height); 182 glTexImage2D(GL_TEXTURE_2D, 0, m_format, m_width, m_height, 0, transferFmt.format, transferFmt.dataType, DE_NULL); 192 glViewport(0, 0, m_width, m_height) 223 const int m_width; member in class:deqp::gles3::Functional::DepthWriteClampCase 303 const int m_width; member in class:deqp::gles3::Functional::DepthTestClampCase [all...] |
/external/opencv/otherlibs/highgui/ |
grfmt_pxm.cpp | 166 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_palette ) [all...] |
grfmt_sunras.cpp | 103 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_bpp + 7)/8 [all...] |
grfmt_bmp.cpp | 108 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_palette ) [all...] |
grfmt_tiff.cpp | 150 m_width = width; 172 if( m_tif && m_width && m_height ) 175 int tile_width0 = m_width, tile_height0 = 0; 186 tile_width0 = m_width; 200 for( x = 0; x < m_width; x += tile_width0 ) 204 if( x + tile_width > m_width ) 205 tile_width = m_width - x; 369 m_width = -1; 411 m_width = value; 501 if( m_width > 0 && m_height > 0 && m_strips > 0 & [all...] |
/external/pdfium/core/src/fxge/dib/ |
fx_dib_main.cpp | 41 m_Width = m_Height = 0;
67 m_Width = m_Height = m_Pitch = 0;
96 m_Width = width;
106 m_Width = m_Height = m_Pitch = 0;
155 m_Width = pSrcBitmap->m_Width;
161 FX_RECT rect(0, 0, m_Width, m_Height);
244 if (!m_pAlphaMask->Create(m_Width, m_Height, FXDIB_8bppMask)) {
329 for (int col = 0; col < m_Width; col ++) {
343 for (int i = 0; i < m_Width; i ++) { [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/geometry/cg/ |
IntSizeCG.cpp | 33 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/chromium_org/third_party/WebKit/Source/platform/geometry/mac/ |
FloatSizeMac.mm | 34 FloatSize::FloatSize(const NSSize& s) : m_width(s.width), m_height(s.height) 40 return NSMakeSize(m_width, m_height);
|
IntSizeMac.mm | 33 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);
|