/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
IntSize.h | 46 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) * widthScale) 128 int m_width, m_height; member in class:WebCore::IntSize [all...] |
LayoutSize.h | 50 LayoutSize(const IntSize& size) : m_width(size.width()), m_height(size.height()) { } 51 LayoutSize(LayoutUnit width, LayoutUnit height) : m_width(width), m_height(height) { } 53 explicit LayoutSize(const FloatSize& size) : m_width(size.width()), m_height(size.height()) { } 55 LayoutUnit width() const { return m_width; } 58 void setWidth(LayoutUnit width) { m_width = width; } 61 bool isEmpty() const { return m_width.rawValue() <= 0 || m_height.rawValue() <= 0; } 62 bool isZero() const { return !m_width && !m_height; } 64 float aspectRatio() const { return static_cast<float>(m_width) / static_cast<float>(m_height); } 68 m_width += width; 74 m_width -= width 130 LayoutUnit m_width, m_height; member in class:WebCore::LayoutSize [all...] |
FloatSize.h | 52 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 ? m_width : other.m_width 118 float m_width, m_height; member in class:WebCore::FloatSize [all...] |
FloatSize.cpp | 40 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);
|
/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(Length width) { m_width = width; } 46 Length width() const { return m_width; } 52 Length m_width; member in struct:WebCore::LengthSize
|
/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/html/ |
TextMetrics.h | 39 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/rendering/svg/ |
SVGTextMetrics.h | 44 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; } 69 float m_width; member in class:WebCore::SVGTextMetrics
|
/sdk/emulator/opengl/host/libs/Translator/EGL/ |
EglSurface.h | 41 void setDim(int width,int height){ m_width = width; m_height = height;}; 59 m_width(width), 69 EGLint m_width; member in class:EglSurface
|
/frameworks/av/libvideoeditor/vss/mcs/src/ |
M4MCS_VideoPreProcessing.c | 172 Params.m_inputSize.m_width = pC->pPreResizeFrame->u_width; 173 Params.m_outputSize.m_width = pPlaneOut->u_width; 239 //Params.m_inputSize.m_height < Params.m_inputSize.m_width) 242 Params.m_outputSize.m_width = pPlaneOut->u_width; 269 Params.m_outputSize.m_width = 276 Params.m_outputSize.m_width)>>1)); 277 pImagePlanesTemp[0].u_width = Params.m_outputSize.m_width; 280 (Params.m_outputSize.m_width>>1)))>>1); 281 pImagePlanesTemp[1].u_width = Params.m_outputSize.m_width>>1; 284 (Params.m_outputSize.m_width>>1)))>>1) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
FixedTableLayout.cpp | 88 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.size()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
BorderValue.h | 39 , m_width(3) 62 return m_width == o.m_width && m_style == o.m_style && m_color == o.m_color && m_colorIsValid == o.m_colorIsValid; 78 unsigned width() const { return m_width; } 85 unsigned m_width : 26;
|
StyleMultiColData.cpp | 30 : m_width(0) 48 , m_width(o.m_width) 68 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/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/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
BreakingContextInlineHeaders.h | 220 , m_width(lineWidth) 261 if (m_width.fitsOnLine() || m_lastWS == NOWRAP) 287 LineWidth m_width; member in class:WebCore::BreakingContext 425 if (m_width.fitsOnLine()) { 436 m_lineInfo.setEmpty(false, m_block, &m_width); 514 m_width.addUncommittedWidth(inlineLogicalWidth(box)); 527 if (m_floatsFitOnLine && m_width.fitsOnLine(m_block->logicalWidthForFloat(floatingObject))) { 528 m_block->positionNewFloatOnLine(floatingObject, m_lastFloatFromPreviousLine, m_lineInfo, m_width); 576 m_lineInfo.setEmpty(false, m_block, &m_width); 589 m_width.addUncommittedWidth(inlineLogicalWidth(m_current.object()) + borderPaddingMarginStart(flowBox) + b (…) [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);
|
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
ColorBuffer.h | 32 GLuint getWidth() const { return m_width; } 52 GLuint m_width; member in class:ColorBuffer
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
AnimatableLengthSize.h | 45 const AnimatableValue* width() const { return m_width.get(); } 54 : m_width(width) 61 RefPtr<AnimatableValue> m_width; member in class:WebCore::AnimatableLengthSize
|