/external/webkit/Source/WebCore/platform/graphics/ |
D | IntSize.h | 64 IntSize() : m_width(0), m_height(0) { } in IntSize() 65 IntSize(int width, int height) : m_width(width), m_height(height) { } in IntSize() 68 int height() const { return m_height; } in height() 71 void setHeight(int height) { m_height = height; } in setHeight() 73 bool isEmpty() const { return m_width <= 0 || m_height <= 0; } in isEmpty() 74 bool isZero() const { return !m_width && !m_height; } in isZero() 76 float aspectRatio() const { return static_cast<float>(m_width) / static_cast<float>(m_height); } in aspectRatio() 81 m_height += height; in expand() 87 m_height = static_cast<int>(static_cast<float>(m_height) * scale); in scale() 93 m_height > other.m_height ? m_height : other.m_height); in expandedTo() [all …]
|
D | FloatSize.h | 52 FloatSize() : m_width(0), m_height(0) { } in FloatSize() 53 FloatSize(float width, float height) : m_width(width), m_height(height) { } in FloatSize() 59 float height() const { return m_height; } in height() 62 void setHeight(float height) { m_height = height; } in setHeight() 64 bool isEmpty() const { return m_width <= 0 || m_height <= 0; } in isEmpty() 66 float aspectRatio() const { return m_width / m_height; } in aspectRatio() 71 m_height *= scale; in scale() 77 m_height > other.m_height ? m_height : other.m_height); in expandedTo() 83 m_height < other.m_height ? m_height : other.m_height); in shrunkTo() 89 return m_width * m_width + m_height * m_height; in diagonalLengthSquared() [all …]
|
/external/opencv/otherlibs/highgui/ |
D | grfmt_bmp.cpp | 109 m_height = m_strm.GetDWord(); in ReadHeader() 116 if( m_width > 0 && m_height > 0 && in ReadHeader() 152 m_height = m_strm.GetWord(); in ReadHeader() 156 if( m_width > 0 && m_height > 0 && in ReadHeader() 180 m_width = m_height = -1; in ReadHeader() 204 data += (m_height - 1)*step; in ReadData() 227 for( y = 0; y < m_height; y++, data += step ) in ReadData() 241 for( y = 0; y < m_height; y++, data += step ) in ReadData() 296 int y_shift = m_height - y; in ReadData() 308 y, m_height, x_shift3, in ReadData() [all …]
|
D | grfmt_sunras.cpp | 104 m_height = m_strm.GetDWord(); in ReadHeader() 113 if( m_width > 0 && m_height > 0 && in ReadHeader() 166 m_width = m_height = -1; in ReadHeader() 209 for( y = 0; y < m_height; y++, data += step ) in ReadData() 266 if( ++y >= m_height ) break; in ReadData() 278 for( y = 0; y < m_height; y++, data += step ) in ReadData() 329 y, m_height, len, in ReadData() 333 y, m_height, len, in ReadData() 335 if( y >= m_height ) in ReadData() 345 if( ++y >= m_height ) break; in ReadData() [all …]
|
D | grfmt_tiff.cpp | 151 m_height = height; in ReadHeader() 172 if( m_tif && m_width && m_height ) in ReadData() 189 tile_height0 = m_height; in ReadData() 193 for( y = 0; y < m_height; y += tile_height0, data += step*tile_height0 ) in ReadData() 197 if( y + tile_height > m_height ) in ReadData() 198 tile_height = m_height - y; in ReadData() 370 m_height = -1; in ReadHeader() 415 m_height = value; in ReadHeader() 499 m_rows_per_strip = m_height; in ReadHeader() 501 if( m_width > 0 && m_height > 0 && m_strips > 0 && in ReadHeader() [all …]
|
D | grfmt_imageio.cpp | 113 m_height = CGImageGetHeight( imageRef ); in ReadHeader() 158 bitmap = (uchar*)malloc( bpp * m_height * m_width ); in ReadData() 167 m_height, /* height */ in ReadData() 181 CGRect rect = {{0,0},{m_width,m_height}}; in ReadData() 199 for (int y = 0; y < m_height; y++) in ReadData() 219 for (int y = 0; y < m_height; y++) in ReadData()
|
D | grfmt_png.cpp | 165 m_height = (int)height; in ReadHeader() 189 if( m_png_ptr && m_info_ptr && m_end_info && m_width && m_height ) in ReadData() 229 buffer = new uchar*[m_height]; in ReadData() 231 for( y = 0; y < m_height; y++ ) in ReadData()
|
D | grfmt_pxm.cpp | 167 m_height = ReadNumber( m_strm, INT_MAX ); in ReadHeader() 177 if( m_width > 0 && m_height > 0 && m_maxval > 0 && m_maxval < (1 << 16)) in ReadHeader() 189 m_width = m_height = -1; in ReadHeader() 240 for( y = 0; y < m_height; y++, data += step ) in ReadData() 253 for( y = 0; y < m_height; y++, data += step ) in ReadData() 269 for( y = 0; y < m_height; y++, data += step ) in ReadData()
|
D | grfmt_base.h | 71 int GetHeight() { return m_height; }; in GetHeight() 85 int m_height; // height of the image ( filled by ReadHeader ) variable
|
/external/webkit/Source/WebCore/platform/ |
D | LengthSize.h | 36 , m_height(height) in LengthSize() 42 return m_width == o.m_width && m_height == o.m_height; 48 void setHeight(Length height) { m_height = height; } in setHeight() 49 Length height() const { return m_height; } in height() 53 Length m_height; member
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
D | TextureInfo.cpp | 42 m_height = 0; in TextureInfo() 52 && otherTexture->m_height == m_height in equalsAttributes() 59 m_height = sourceTexture->m_height; in copyAttributes()
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
D | ImageDiff.cpp | 72 , m_height(0) {} in Image() 76 , m_height(image.m_height) in Image() 79 bool hasImage() const { return m_width > 0 && m_height > 0; } in hasImage() 81 int height() const { return m_height; } in height() 95 if (!webkit_support::DecodePNG(source.get(), byteLength, &m_data, &m_width, &m_height)) { in craeteFromStdin() 119 … if (!webkit_support::DecodePNG(&compressed[0], compressed.size(), &m_data, &m_width, &m_height)) { in createFromFilename() 128 m_width = m_height = 0; in clear() 136 ASSERT(y >= 0 && y < m_height); in pixelAt() 143 ASSERT(y >= 0 && y < m_height); in setPixelAt() 150 int m_width, m_height; member in Image
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
D | QTMovieGWorld.cpp | 88 int m_height; member in QTMovieGWorldPrivate 113 , m_height(0) in QTMovieGWorldPrivate() 178 if (!m_height || !m_width) in updateGWorld() 185 else if (m_gWorld && (m_width > m_gWorldWidth || m_height > m_gWorldHeight)) { in updateGWorld() 199 m_gWorldHeight = max(cGWorldMinHeight, m_height); in createGWorld() 211 bounds.bottom = m_height; in createGWorld() 236 if (m_width == width && m_height == height) in setSize() 239 m_height = height; in setSize() 263 bounds.bottom = m_height; in updateMovieSize() 347 height = m_private->m_height; in getCurrentFrameInfo() [all …]
|
D | IntSizeWin.cpp | 35 , m_height(s.cy) in IntSize() 41 SIZE s = {m_width, m_height}; in operator SIZE()
|
D | QTDecompressionSession.cpp | 55 , m_height(height) in QTDecompressionSession() 111 (**description).height = m_height; in initializeSession() 149 && inBuffer.height() == m_height; in canDecompress()
|
/external/webkit/Source/WebCore/rendering/style/ |
D | StyleBoxData.cpp | 44 , m_height(o.m_height) in StyleBoxData() 58 && m_height == o.m_height in operator ==()
|
D | StyleBoxData.h | 47 Length height() const { return m_height; } in height() 69 Length m_height; variable
|
/external/webkit/Source/WebCore/rendering/svg/ |
D | SVGTextMetrics.cpp | 32 , m_height(0) in SVGTextMetrics() 51 m_height = scaledFont.fontMetrics().floatHeight() / scalingFactor; in SVGTextMetrics() 63 && m_height == other.m_height in operator ==()
|
D | SVGTextMetrics.h | 39 float height() const { return m_height; } in height() 72 float m_height; variable
|
/external/webkit/Source/WebCore/svg/ |
D | PatternAttributes.h | 36 , m_height() in PatternAttributes() 58 SVGLength height() const { return m_height; } in height() 86 m_height = value; in setHeight() 142 SVGLength m_height; member
|
/external/webkit/Source/WebCore/html/canvas/ |
D | WebGLRenderbuffer.h | 52 m_height = height; in setSize() 55 GC3Dsizei getHeight() const { return m_height; } in getHeight() 77 GC3Dsizei m_width, m_height; variable
|
/external/webkit/Source/WebCore/rendering/ |
D | EllipsisBox.h | 35 , m_height(height) in EllipsisBox() 48 virtual int height() const { return m_height; } in height() 52 int m_height; variable
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
D | IntSizeWx.cpp | 36 , m_height(s.y) in IntSize() 42 return wxSize(m_width, m_height); in operator wxSize()
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
D | IntSizeCG.cpp | 35 IntSize::IntSize(const CGSize& s) : m_width(static_cast<int>(s.width)), m_height(static_cast<int>(s… in IntSize() 41 return CGSizeMake(m_width, m_height); in operator CGSize()
|
D | FloatSizeCG.cpp | 36 FloatSize::FloatSize(const CGSize& s) : m_width(s.width), m_height(s.height) in FloatSize() 42 return CGSizeMake(m_width, m_height); in operator CGSize()
|