HomeSort by relevance Sort by last modified time
    Searched refs:imageSize (Results 1 - 25 of 133) sorted by null

1 2 3 4 5 6

  /external/webkit/Source/WebKit2/Shared/API/c/cg/
WKImageCG.cpp 44 IntSize imageSize(CGImageGetWidth(imageRef), CGImageGetHeight(imageRef));
45 RefPtr<WebImage> webImage = WebImage::create(imageSize, toImageOptions(options));
47 CGContextDrawImage(graphicsContext->platformContext(), CGRectMake(0, 0, imageSize.width(), imageSize.height()), imageRef);
  /external/webkit/Tools/DumpRenderTree/chromium/
TestEventPrinter.cpp 45 void handleImage(const char* actualHash, const char* expectedHash, const unsigned char* imageData, size_t imageSize, const char* fileName) const;
57 void handleImage(const char* actualHash, const char* expectedHash, const unsigned char* imageData, size_t imageSize, const char* fileName) const;
94 void DRTPrinter::handleImage(const char* actualHash, const char* expectedHash, const unsigned char* imageData, size_t imageSize, const char*) const
100 if (imageData && imageSize) {
103 printf("Content-Length: %d\n", static_cast<int>(imageSize));
104 if (fwrite(imageData, 1, imageSize, stdout) != imageSize) {
140 void TestShellPrinter::handleImage(const char* actualHash, const char*, const unsigned char* imageData, size_t imageSize, const char* fileName) const
143 if (imageData && imageSize) {
150 if (fwrite(imageData, 1, imageSize, fp) != imageSize)
    [all...]
TestEventPrinter.h 43 virtual void handleImage(const char* actualHash, const char* expectedHash, const unsigned char* imageData, size_t imageSize, const char* fileName) const = 0;
  /external/webkit/Source/WebCore/platform/image-encoders/skia/
PNGImageEncoder.cpp 74 IntSize imageSize(inputSize);
75 imageSize.clampNegativeToZero();
98 png_set_IHDR(png, info, imageSize.width(), imageSize.height(),
103 row.resize(imageSize.width() * sizeof(SkPMColor));
104 for (int y = 0; y < imageSize.height(); ++y) {
106 preMultipliedBGRAtoRGBA(pixels, imageSize.width(), row.data());
110 pixels += imageSize.width() * 4;
124 IntSize imageSize(bitmap.width(), bitmap.height());
125 return encodePixels(imageSize, static_cast<unsigned char*>(bitmap.getPixels()), true, output)
    [all...]
JPEGImageEncoder.cpp 105 IntSize imageSize(inputSize);
106 imageSize.clampNegativeToZero();
128 cinfo.image_height = imageSize.height();
129 cinfo.image_width = imageSize.width();
159 IntSize imageSize(bitmap.width(), bitmap.height());
161 return encodePixels(imageSize, static_cast<unsigned char *>(bitmap.getPixels()),
  /development/tools/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/webkit/Source/WebCore/platform/graphics/win/
ImageCGWin.cpp 77 IntSize imageSize = BitmapImage::size();
81 draw(&gc, FloatRect(0.0f, 0.0f, bmpInfo.bmWidth, bmpInfo.bmHeight), FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), ColorSpaceDeviceRGB, CompositeCopy);
104 IntSize imageSize = BitmapImage::size();
105 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()), ColorSpaceDeviceRGB, CompositeCopy);
110 IntSize imageSize = BitmapImage::size();
111 draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), ColorSpaceDeviceRGB, compositeOp);
  /external/webkit/Source/WebCore/rendering/
RenderImageResource.h 65 virtual IntSize imageSize(float multiplier) const { return m_cachedImage ? m_cachedImage->imageSize(multiplier) : IntSize(); }
RenderImageResourceStyleImage.h 57 virtual IntSize imageSize(float multiplier) const { return m_styleImage->imageSize(m_renderer, multiplier); }
  /external/webkit/Source/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;
StylePendingImage.h 49 virtual IntSize imageSize(const RenderObject*, float /*multiplier*/) const { return IntSize(); }
StyleGeneratedImage.cpp 37 IntSize StyleGeneratedImage::imageSize(const RenderObject* renderer, float multiplier) const
  /external/webkit/Source/WebCore/html/
ImageDocument.cpp 158 IntSize size = cachedImage->imageSize(1.0f);
238 IntSize imageSize = m_imageElement->cachedImage()->imageSize(pageZoomFactor(this));
241 float widthScale = (float)windowSize.width() / imageSize.width();
242 float heightScale = (float)windowSize.height() / imageSize.height();
252 IntSize imageSize = m_imageElement->cachedImage()->imageSize(pageZoomFactor(this));
255 m_imageElement->setWidth(static_cast<int>(imageSize.width() * scale));
256 m_imageElement->setHeight(static_cast<int>(imageSize.height() * scale));
292 if (m_imageElement->cachedImage()->imageSize(pageZoomFactor(this)).isEmpty()
    [all...]
  /external/webkit/Source/WebCore/svg/graphics/filters/
SVGFEImage.cpp 85 IntSize imageSize = m_image->size();
89 ts << " image-size=\"" << imageSize.width() << "x" << imageSize.height() << "\"]\n";
  /external/webkit/Source/WebCore/platform/win/
DragImageWin.cpp 168 IntSize imageSize(labelSize.width() + DragLabelBorderX * 2, labelSize.height() + DragLabelBorderY * 2);
173 imageSize.setHeight(imageSize.height() + urlStringSize.height());
175 imageSize.setWidth(MaxDragLabelWidth);
178 imageSize.setWidth(std::max(labelSize.width(), urlStringSize.width()) + DragLabelBorderX * 2);
192 image = allocImage(workingDC, imageSize, &contextRef);
205 IntRect rect(0, 0, imageSize.width(), imageSize.height());
213 urlString = StringTruncator::rightTruncate(urlString, imageSize.width() - (DragLabelBorderX * 2.0f), *urlFont);
214 IntPoint textPos(DragLabelBorderX, imageSize.height() - (LabelBorderYOffset + urlFont->fontMetrics().descent()))
    [all...]
  /external/webkit/Source/WebCore/platform/mac/
DragImageMac.mm 261 NSSize imageSize;
262 imageSize.width = labelSize.width + DragLabelBorderX * 2;
263 imageSize.height = labelSize.height + DragLabelBorderY * 2;
268 imageSize.height += urlStringSize.height;
270 imageSize.width = std::max(MaxDragLabelWidth + DragLabelBorderY * 2, MinDragLabelWidthBeforeClip);
273 imageSize.width = std::max(labelSize.width + DragLabelBorderX * 2, urlStringSize.width + DragLabelBorderX * 2);
275 NSImage *dragImage = [[[NSImage alloc] initWithSize: imageSize] autorelease];
283 [path appendBezierPathWithOvalInRect: NSMakeRect(0, imageSize.height - DragLabelRadius * 2, DragLabelRadius * 2, DragLabelRadius * 2)];
284 [path appendBezierPathWithOvalInRect: NSMakeRect(imageSize.width - DragLabelRadius * 2, imageSize.height - DragLabelRadius * 2, DragLabelRadius * 2, DragLabelRadius * 2)]
    [all...]
  /external/webkit/Tools/DumpRenderTree/gtk/
ImageDiff.cpp 45 GdkPixbuf* readPixbufFromStdin(long imageSize)
51 while (imageSize > 0) {
52 size_t bytesToRead = min<int>(imageSize, 2048);
62 imageSize -= static_cast<int>(bytesRead);
209 long imageSize = strtol(tokens[1], 0, 10);
211 if (imageSize > 0 && !actualImage) {
212 if (!(actualImage = readPixbufFromStdin(imageSize))) {
216 } else if (imageSize > 0 && !baselineImage) {
217 if (!(baselineImage = readPixbufFromStdin(imageSize))) {
  /external/webkit/Source/WebCore/loader/cache/
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.
  /external/webkit/Tools/DumpRenderTree/qt/
ImageDiff.cpp 53 int imageSize = strtol(strtok(0, " "), 0, 10);
55 if (imageSize <= 0) {
63 while (imageSize > 0) {
64 size_t bytesToRead = qMin(imageSize, 2048);
67 imageSize -= static_cast<int>(bytesRead);
  /development/tools/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/webkit/Source/WebCore/rendering/svg/
SVGImageBufferTools.cpp 55 IntSize imageSize(roundedImageBufferSize(clampedAbsoluteTargetRect.size()));
59 if (imageSize.isEmpty())
62 OwnPtr<ImageBuffer> image = ImageBuffer::create(imageSize, colorSpace);
  /external/webkit/Source/WebCore/platform/graphics/cairo/
CairoUtilities.h 46 void drawPatternToCairoContext(cairo_t* cr, cairo_surface_t* image, const IntSize& imageSize, const FloatRect& tileRect,

Completed in 3291 milliseconds

1 2 3 4 5 6