/external/chromium_org/third_party/WebKit/Source/core/platform/image-encoders/skia/ |
PNGImageEncoder.cpp | 71 static bool encodePixels(IntSize imageSize, unsigned char* inputPixels, bool premultiplied, Vector<unsigned char>* output) 73 imageSize.clampNegativeToZero(); 96 png_set_IHDR(png, info, imageSize.width(), imageSize.height(), 101 row.resize(imageSize.width() * sizeof(SkPMColor)); 102 const size_t pixelRowStride = imageSize.width() * 4; 103 for (int y = 0; y < imageSize.height(); ++y) { 105 preMultipliedBGRAtoRGBA(pixels, imageSize.width(), row.data());
|
WEBPImageEncoder.cpp | 86 static bool encodePixels(IntSize imageSize, const unsigned char* pixels, bool premultiplied, int quality, Vector<unsigned char>* output) 95 imageSize.clampNegativeToZero(); 96 if (!imageSize.width() || imageSize.width() > WEBP_MAX_DIMENSION) 98 picture.width = imageSize.width(); 99 if (!imageSize.height() || imageSize.height() > WEBP_MAX_DIMENSION) 101 picture.height = imageSize.height();
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderImageResourceStyleImage.h | 57 virtual LayoutSize imageSize(float multiplier) const OVERRIDE { return m_styleImage->imageSize(m_renderer, multiplier); }
|
RenderImage.cpp | 99 IntSize imageSize; 103 imageSize = brokenImageAndImageScaleFactor.first->size(); 104 imageSize.scale(1 / brokenImageAndImageScaleFactor.second); 106 imageSize = newImage->imageForRenderer(this)->size(); 108 // imageSize() returns 0 for the error image. We need the true size of the 110 return IntSize(paddingWidth + imageSize.width() * style()->effectiveZoom(), paddingHeight + imageSize.height() * style()->effectiveZoom()); 117 IntSize imageSize; 119 imageSize = imageSizeForError(newImage); 122 imageSize = IntSize(paddingWidth, paddingHeight) [all...] |
RenderImageResource.h | 66 virtual LayoutSize imageSize(float multiplier) const { return m_cachedImage ? m_cachedImage->imageSizeForRenderer(m_renderer, multiplier) : LayoutSize(); }
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
texcompress_cpal.h | 35 GLsizei imageSize, const void *palette);
|
texstore.h | 112 GLsizei imageSize, const GLvoid *data); 121 GLsizei imageSize, const GLvoid *data);
|
teximage.h | 259 GLint border, GLsizei imageSize, 265 GLsizei height, GLint border, GLsizei imageSize, 272 GLsizei imageSize, const GLvoid *data); 282 GLsizei imageSize, const GLvoid *data); 287 GLenum format, GLsizei imageSize, 294 GLsizei imageSize, const GLvoid *data);
|
/external/mesa3d/src/mesa/main/ |
texcompress_cpal.h | 35 GLsizei imageSize, const void *palette);
|
texstore.h | 112 GLsizei imageSize, const GLvoid *data); 121 GLsizei imageSize, const GLvoid *data);
|
teximage.h | 259 GLint border, GLsizei imageSize, 265 GLsizei height, GLint border, GLsizei imageSize, 272 GLsizei imageSize, const GLvoid *data); 282 GLsizei imageSize, const GLvoid *data); 287 GLenum format, GLsizei imageSize, 294 GLsizei imageSize, const GLvoid *data);
|
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/ |
PaletteTexture.h | 23 unsigned char* uncompressTexture(GLenum internalformat,GLenum& formatOut,GLsizei width,GLsizei height,GLsizei imageSize, const GLvoid* data,GLint level);
|
TextureUtils.h | 29 GLsizei imageSize, const GLvoid* data, void * funcPtr);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/ |
SVGImageCache.cpp | 68 IntSize imageSize = m_svgImage->size(); 70 return imageSize; 74 return imageSize;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
DragImage.cpp | 152 IntSize imageSize(labelSize.width() + kDragLabelBorderX * 2, labelSize.height() + kDragLabelBorderY * 2); 157 imageSize.setHeight(imageSize.height() + urlStringSize.height()); 159 imageSize.setWidth(kMaxDragLabelWidth); 162 imageSize.setWidth(std::max(labelSize.width(), urlStringSize.width()) + kDragLabelBorderX * 2); 167 IntSize scaledImageSize = imageSize; 175 IntRect rect(IntPoint(), imageSize); 182 urlString = StringTruncator::centerTruncate(urlString, imageSize.width() - (kDragLabelBorderX * 2.0f), urlFont, StringTruncator::EnableRoundingHacks); 183 IntPoint textPos(kDragLabelBorderX, imageSize.height() - (kLabelBorderYOffset + urlFont.fontMetrics().descent())); 189 label = StringTruncator::rightTruncate(label, imageSize.width() - (kDragLabelBorderX * 2.0f), labelFont, StringTruncator::EnableRoundingHacks) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
ImageDocument.cpp | 212 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this)); 215 float widthScale = (float)windowSize.width() / imageSize.width(); 216 float heightScale = (float)windowSize.height() / imageSize.height(); 226 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this)); 229 m_imageElement->setWidth(static_cast<int>(imageSize.width() * scale)); 230 m_imageElement->setHeight(static_cast<int>(imageSize.height() * scale)); 281 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), 1.0f); 282 m_imageElement->setWidth(imageSize.width()); 283 m_imageElement->setHeight(imageSize.height()); 302 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(t (…) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/loader/cache/ |
ImageResource.cpp | 235 LayoutSize imageSize; 238 imageSize = static_cast<BitmapImage*>(m_image.get())->sizeRespectingOrientation(); 240 imageSize = m_svgImageCache->imageSizeForRenderer(renderer); 242 imageSize = m_image->size(); 245 return imageSize; 250 LayoutSize minimumSize(imageSize.width() > 0 ? 1 : 0, imageSize.height() > 0 ? 1 : 0); 251 imageSize.scale(widthScale, heightScale); 252 imageSize.clampToMinimumSize(minimumSize); 253 ASSERT(multiplier != 1.0f || (imageSize.width().fraction() == 0.0f && imageSize.height().fraction() == 0.0f)) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
StyleGeneratedImage.cpp | 45 LayoutSize StyleGeneratedImage::imageSize(const RenderObject* renderer, float multiplier) const 71 IntSize size = flooredIntSize(imageSize(renderer, 1));
|
StyleFetchedImage.h | 48 virtual LayoutSize imageSize(const RenderObject*, float multiplier) const OVERRIDE;
|
StyleGeneratedImage.h | 45 virtual LayoutSize imageSize(const RenderObject*, float multiplier) const OVERRIDE;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/ |
SVGFEImage.cpp | 147 IntSize imageSize; 149 imageSize = m_image->size(); 151 imageSize = enclosingIntRect(renderer->repaintRectInLocalCoordinates()).size(); 155 ts << " image-size=\"" << imageSize.width() << "x" << imageSize.height() << "\"]\n";
|
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
TextureUtils.cpp | 45 GLsizei imageSize, const GLvoid* data, void * funcPtr) 60 SET_ERROR_IF((compressedSize > imageSize), GL_INVALID_VALUE); 96 unsigned char* uncompressed = uncompressTexture(internalformat,uncompressedFrmt,width,height,imageSize,data,i);
|
/external/opencv/cvaux/src/ |
cvepilines.cpp | 667 int icvGetAngleLine( CvPoint2D64d startPoint, CvSize imageSize,CvPoint2D64d *point1,CvPoint2D64d *point2) 678 pb.x = imageSize.width-1; 681 pd.x = imageSize.width-1; 682 pd.y = imageSize.height-1; 685 pc.y = imageSize.height-1; 697 else if( startPoint.y > imageSize.height-1 ) 708 else if ( startPoint.x > imageSize.width-1 ) 715 else if ( startPoint.y > imageSize.height-1 ) 730 if( startPoint.x < imageSize.width/2 ) 741 else if( startPoint.y > imageSize.height-1 [all...] |
/external/qemu-pc-bios/vgabios/tests/lfbprof/ |
lfbprof.c | 43 long imageSize; /* Length of the video image */ 510 imageSize = bytesperline * yres; 558 LfbMemset(LFBPtr,numClears++,imageSize); 561 clearsMbPerSec = (clearsPerSec * imageSize) / 1048576.0; 564 maxImages = ((512 * 1024U) / imageSize) + 2; 566 image[i] = malloc(imageSize); 569 memset(image[i],i+1,imageSize); 574 LfbMemcpy(LFBPtr,image[numBlts++ % maxImages],imageSize); 577 bitBltsMbPerSec = (bitBltsPerSec * imageSize) / 1048576.0;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AttachmentTileGrid.java | 138 final int imageSize = (width) / mColumnCount; 139 final int remainder = width - (imageSize * mColumnCount); 144 final int childWidth = imageSize + (i < remainder ? 1 : 0); 147 MeasureSpec.makeMeasureSpec(imageSize, MeasureSpec.EXACTLY) 155 numRows*(imageSize + getChildAt(0).getPaddingBottom()));
|