/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); } 58 virtual LayoutSize intrinsicSize(float multiplier) const OVERRIDE { return m_styleImage->imageSize(m_renderer, multiplier); }
|
RenderImage.cpp | 102 IntSize imageSize; 106 imageSize = brokenImageAndImageScaleFactor.first->size(); 107 imageSize.scale(1 / brokenImageAndImageScaleFactor.second); 109 imageSize = newImage->imageForRenderer(this)->size(); 111 // imageSize() returns 0 for the error image. We need the true size of the 113 return IntSize(paddingWidth + imageSize.width() * style()->effectiveZoom(), paddingHeight + imageSize.height() * style()->effectiveZoom()); 120 IntSize imageSize; 122 imageSize = imageSizeForError(newImage); 125 imageSize = IntSize(paddingWidth, paddingHeight) [all...] |
/external/chromium_org/third_party/WebKit/Source/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/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 | 66 IntSize imageSize = m_svgImage->size(); 68 return imageSize; 72 return imageSize;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
DragImage.cpp | 149 IntSize imageSize(labelSize.width() + kDragLabelBorderX * 2, labelSize.height() + kDragLabelBorderY * 2); 154 imageSize.setHeight(imageSize.height() + urlStringSize.height()); 156 imageSize.setWidth(kMaxDragLabelWidth); 159 imageSize.setWidth(std::max(labelSize.width(), urlStringSize.width()) + kDragLabelBorderX * 2); 164 IntSize scaledImageSize = imageSize; 173 IntRect rect(IntPoint(), imageSize); 180 urlString = StringTruncator::centerTruncate(urlString, imageSize.width() - (kDragLabelBorderX * 2.0f), urlFont, StringTruncator::EnableRoundingHacks); 181 IntPoint textPos(kDragLabelBorderX, imageSize.height() - (kLabelBorderYOffset + urlFont.fontMetrics().descent())); 187 label = StringTruncator::rightTruncate(label, imageSize.width() - (kDragLabelBorderX * 2.0f), labelFont, StringTruncator::EnableRoundingHacks) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
ImageResource.cpp | 238 LayoutSize imageSize; 241 imageSize = toBitmapImage(m_image.get())->sizeRespectingOrientation(); 243 imageSize = m_svgImageCache->imageSizeForRenderer(renderer); 245 imageSize = m_image->size(); 248 return imageSize; 253 LayoutSize minimumSize(imageSize.width() > 0 ? 1 : 0, imageSize.height() > 0 ? 1 : 0); 254 imageSize.scale(widthScale, heightScale); 255 imageSize.clampToMinimumSize(minimumSize); 256 ASSERT(multiplier != 1.0f || (imageSize.width().fraction() == 0.0f && imageSize.height().fraction() == 0.0f)) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
ImageDocument.cpp | 224 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this)); 227 float widthScale = (float)windowSize.width() / imageSize.width(); 228 float heightScale = (float)windowSize.height() / imageSize.height(); 238 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this)); 241 m_imageElement->setWidth(static_cast<int>(imageSize.width() * scale)); 242 m_imageElement->setHeight(static_cast<int>(imageSize.height() * scale)); 293 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), 1.0f); 294 m_imageElement->setWidth(imageSize.width()); 295 m_imageElement->setHeight(imageSize.height()); 314 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(t (…) [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 | 144 IntSize imageSize; 146 imageSize = m_image->size(); 148 imageSize = enclosingIntRect(renderer->repaintRectInLocalCoordinates()).size(); 152 ts << " image-size=\"" << imageSize.width() << "x" << imageSize.height() << "\"]\n";
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
Shape.cpp | 220 const IntSize& imageSize = image->size(); 221 OwnPtr<RasterShapeIntervals> intervals = adoptPtr(new RasterShapeIntervals(imageSize.height())); 222 OwnPtr<ImageBuffer> imageBuffer = ImageBuffer::create(imageSize); 227 RefPtr<Uint8ClampedArray> pixelArray = imageBuffer->getUnmultipliedImageData(IntRect(IntPoint(), imageSize)); 232 ASSERT(static_cast<unsigned>(imageSize.width() * imageSize.height() * 4) == pixelArrayLength); 234 for (int y = 0; y < imageSize.height(); ++y) { 236 for (int x = 0; x < imageSize.width() && pixelArrayOffset < pixelArrayLength; ++x, pixelArrayOffset += 4) { 240 } else if (startX != -1 && (alpha <= alphaPixelThreshold || x == imageSize.width() - 1)) { 248 OwnPtr<RasterShape> rasterShape = adoptPtr(new RasterShape(intervals.release(), imageSize)); [all...] |
/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()));
|