/external/webkit/WebCore/platform/gtk/ |
DragImageGtk.cpp | 44 IntSize imageSize = dragImageSize(image); 46 imageSize.width() * scale.width(), 47 imageSize.height() * scale.height(),
|
/external/webkit/WebCore/platform/image-encoders/skia/ |
PNGImageEncoder.cpp | 123 IntSize imageSize(size); 124 imageSize.clampNegativeToZero(); 127 if (inputColorComponents * imageSize.width() > bytesPerRow) { 157 png_set_IHDR(pngPtr, infoPtr, imageSize.width(), imageSize.height(), 8, pngOutputColorType, 162 OwnArrayPtr<unsigned char> rowPixels(new unsigned char[imageSize.width() * outputColorComponents]); 163 for (int y = 0; y < imageSize.height(); y ++) { 164 convertBetweenBGRAandRGBA(&input[y * bytesPerRow], imageSize.width(), rowPixels.get());
|
/external/webkit/WebCore/rendering/ |
RenderImageGeneratedContent.h | 53 virtual IntSize imageSize(float multiplier) const { return m_styleImage->imageSize(this, multiplier); }
|
RenderImage.h | 91 virtual IntSize imageSize(float multiplier) const { return m_cachedImage ? m_cachedImage->imageSize(multiplier) : IntSize(); }
|
RenderImage.cpp | 132 IntSize imageSize(image->image()->width(), image->image()->height()); 139 if (imageSize == size) { 240 // imageSize() returns 0 for the error image. We need the true size of the 253 IntSize imageSize = IntSize(imageWidth, imageHeight); 254 if (imageSize == intrinsicSize()) 257 setIntrinsicSize(imageSize); 281 if (imageSize(style()->effectiveZoom()) != intrinsicSize() || imageSizeChanged) { 283 setIntrinsicSize(imageSize(style()->effectiveZoom())); 313 repaintRect = enclosingIntRect(mapRect(*rect, FloatRect(FloatPoint(), imageSize(1.0f)), contentBoxRect())); 596 width = imageSize(style()->effectiveZoom()).width() [all...] |
RenderListMarker.cpp | [all...] |
RenderBoxModelObject.cpp | 126 IntSize imageSize(image->width(), image->height()); 135 if (!contextIsScaled && imageSize == size) { 651 w = image->imageSize(this, style()->effectiveZoom()).width() * h / image->imageSize(this, style()->effectiveZoom()).height(); 653 h = image->imageSize(this, style()->effectiveZoom()).height() * w / image->imageSize(this, style()->effectiveZoom()).width(); 657 w = image->imageSize(this, style()->effectiveZoom()).width(); 658 h = image->imageSize(this, style()->effectiveZoom()).height(); 665 IntSize imageIntrinsicSize = image->imageSize(this, 1); 675 return image->imageSize(this, style()->effectiveZoom()) [all...] |
/external/webkit/WebCore/platform/graphics/win/ |
ImageCGWin.cpp | 78 IntSize imageSize = BitmapImage::size(); 82 draw(&gc, FloatRect(0.0f, 0.0f, bmpInfo.bmWidth, bmpInfo.bmHeight), FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), DeviceColorSpace, CompositeCopy); 106 IntSize imageSize = BitmapImage::size(); 107 draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), styleColorSpace, compositeOp);
|
ImageCairoWin.cpp | 83 IntSize imageSize = BitmapImage::size(); 87 draw(&gc, FloatRect(0.0f, 0.0f, bmpInfo.bmWidth, bmpInfo.bmHeight), FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), DeviceColorSpace, CompositeCopy); 110 IntSize imageSize = BitmapImage::size(); 111 draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), DeviceColorSpace, compositeOp);
|
/external/webkit/WebCore/rendering/style/ |
StyleCachedImage.cpp | 52 IntSize StyleCachedImage::imageSize(const RenderObject* /*renderer*/, float multiplier) const 54 return m_image->imageSize(multiplier);
|
StyleCachedImage.h | 48 virtual IntSize imageSize(const RenderObject*, float multiplier) const;
|
StyleGeneratedImage.cpp | 37 IntSize StyleGeneratedImage::imageSize(const RenderObject* renderer, float multiplier) const
|
StyleGeneratedImage.h | 47 virtual IntSize imageSize(const RenderObject*, float multiplier) const;
|
StyleImage.h | 54 virtual IntSize imageSize(const RenderObject*, float multiplier) const = 0;
|
/external/webkit/WebCore/loader/ |
ImageDocument.cpp | 148 IntSize size = cachedImage->imageSize(m_doc->frame()->pageZoomFactor()); 223 IntSize imageSize = m_imageElement->cachedImage()->imageSize(frame()->pageZoomFactor()); 226 float widthScale = (float)windowSize.width() / imageSize.width(); 227 float heightScale = (float)windowSize.height() / imageSize.height(); 237 IntSize imageSize = m_imageElement->cachedImage()->imageSize(frame()->pageZoomFactor()); 240 m_imageElement->setWidth(static_cast<int>(imageSize.width() * scale)); 241 m_imageElement->setHeight(static_cast<int>(imageSize.height() * scale)); 277 if (m_imageElement->cachedImage()->imageSize(frame()->pageZoomFactor()).isEmpty() [all...] |
CachedImage.h | 50 bool canRender(float multiplier) const { return !errorOccurred() && !imageSize(multiplier).isEmpty(); } 60 IntSize imageSize(float multiplier) const; // returns the size of the complete image.
|
CachedImage.cpp | 174 IntSize CachedImage::imageSize(float multiplier) const 289 IntSize s = imageSize(1.0f);
|
/external/webkit/WebKitTools/DumpRenderTree/qt/ |
ImageDiff.cpp | 52 int imageSize = strtol(strtok(0, " "), 0, 10); 54 if (imageSize <= 0) { 62 while (imageSize > 0) { 63 size_t bytesToRead = qMin(imageSize, 2048); 66 imageSize -= static_cast<int>(bytesRead);
|
/external/webkit/WebKit/win/WebCoreSupport/ |
WebDragClient.cpp | 258 IntSize imageSize(labelSize.width() + DRAG_LABEL_BORDER_X * 2, 264 imageSize.setHeight(imageSize.height() + urlStringSize.height()); 266 imageSize.setWidth(MAX_DRAG_LABEL_WIDTH); 269 imageSize.setWidth(std::max(labelSize.width(), urlStringSize.width()) + DRAG_LABEL_BORDER_X * 2); 284 image = allocImage(workingDC, imageSize, &contextRef); 297 IntRect rect(0, 0, imageSize.width(), imageSize.height()); 305 urlString = StringTruncator::rightTruncate(urlString, imageSize.width() - (DRAG_LABEL_BORDER_X * 2.0f), *urlFont, false); 306 IntPoint textPos(DRAG_LABEL_BORDER_X, imageSize.height() - (DRAG_LABEL_BORDER_Y_OFFSET + urlFont->descent())) [all...] |
/external/webkit/WebKitTools/DumpRenderTree/cg/ |
ImageDiffCG.cpp | 203 int imageSize = strtol(strtok(0, " "), 0, 10); 205 if (imageSize > 0 && !actualImage) 206 actualImage = createImageFromStdin(imageSize); 207 else if (imageSize > 0 && !baselineImage) 208 baselineImage = createImageFromStdin(imageSize);
|
/external/webkit/WebCore/svg/ |
SVGPreserveAspectRatio.cpp | 164 FloatSize imageSize = srcRect.size(); 209 srcRect.setY(destRect.y() + imageSize.height() / 2.0f - srcRect.height() / 2.0f); 214 srcRect.setY(destRect.y() + imageSize.height() - srcRect.height()); 226 srcRect.setX(destRect.x() + imageSize.width() / 2.0f - srcRect.width() / 2.0f); 231 srcRect.setX(destRect.x() + imageSize.width() - srcRect.width());
|
/external/webkit/WebCore/html/ |
HTMLImageElement.cpp | 248 return m_imageLoader.image()->imageSize(zoomFactor).width(); 272 return m_imageLoader.image()->imageSize(zoomFactor).height(); 289 return m_imageLoader.image()->imageSize(1.0f).width(); 297 return m_imageLoader.image()->imageSize(1.0f).height();
|
/external/webkit/WebCore/platform/graphics/cairo/ |
ImageCairo.cpp | 187 IntRect imageSize = enclosingIntRect(tileRect); 188 OwnPtr<ImageBuffer> imageSurface = ImageBuffer::create(imageSize.size());
|
/frameworks/base/opengl/java/android/opengl/ |
ETC1Util.java | 78 int imageSize = data.remaining(); 80 border, imageSize, data);
|
/frameworks/base/core/jni/android/opengl/ |
util.cpp | 670 const size_t imageSize = size + palette_size; 671 void* const data = malloc(imageSize); 678 glCompressedTexImage2D(target, level, internalformat, w, h, border, imageSize, data); 893 jint imageSize = stride * height; 895 if (inB.remaining() < imageSize) { 926 jint imageSize = stride * height; 930 } else if (outB.remaining() < imageSize) {
|