imageSize 725 Source/core/accessibility/AXRenderObject.cpp LayoutSize imageSize = image->cachedImage()->imageSizeForRenderer(m_renderer, image->view()->zoomFactor()); imageSize 726 Source/core/accessibility/AXRenderObject.cpp return imageSize.height() <= 1 || imageSize.width() <= 1; imageSize 261 Source/core/fetch/ImageResource.cpp LayoutSize imageSize; imageSize 264 Source/core/fetch/ImageResource.cpp imageSize = toBitmapImage(m_image.get())->sizeRespectingOrientation(); imageSize 266 Source/core/fetch/ImageResource.cpp imageSize = m_svgImageCache->imageSizeForRenderer(renderer); imageSize 268 Source/core/fetch/ImageResource.cpp imageSize = m_image->size(); imageSize 271 Source/core/fetch/ImageResource.cpp return imageSize; imageSize 276 Source/core/fetch/ImageResource.cpp LayoutSize minimumSize(imageSize.width() > 0 ? 1 : 0, imageSize.height() > 0 ? 1 : 0); imageSize 277 Source/core/fetch/ImageResource.cpp imageSize.scale(widthScale, heightScale); imageSize 278 Source/core/fetch/ImageResource.cpp imageSize.clampToMinimumSize(minimumSize); imageSize 279 Source/core/fetch/ImageResource.cpp ASSERT(multiplier != 1.0f || (imageSize.width().fraction() == 0.0f && imageSize.height().fraction() == 0.0f)); imageSize 280 Source/core/fetch/ImageResource.cpp return imageSize; imageSize 226 Source/core/html/ImageDocument.cpp LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this)); imageSize 229 Source/core/html/ImageDocument.cpp float widthScale = windowSize.width().toFloat() / imageSize.width().toFloat(); imageSize 230 Source/core/html/ImageDocument.cpp float heightScale = windowSize.height().toFloat() / imageSize.height().toFloat(); imageSize 240 Source/core/html/ImageDocument.cpp LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this)); imageSize 243 Source/core/html/ImageDocument.cpp m_imageElement->setWidth(static_cast<int>(imageSize.width() * scale)); imageSize 244 Source/core/html/ImageDocument.cpp m_imageElement->setHeight(static_cast<int>(imageSize.height() * scale)); imageSize 295 Source/core/html/ImageDocument.cpp LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), 1.0f); imageSize 296 Source/core/html/ImageDocument.cpp m_imageElement->setWidth(imageSize.width()); imageSize 297 Source/core/html/ImageDocument.cpp m_imageElement->setHeight(imageSize.height()); imageSize 316 Source/core/html/ImageDocument.cpp LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this)); imageSize 319 Source/core/html/ImageDocument.cpp return imageSize.width() <= windowSize.width() && imageSize.height() <= windowSize.height(); imageSize 1151 Source/core/rendering/RenderBoxModelObject.cpp IntSize imageSize = calculateImageIntrinsicDimensions(styleImage, borderImageRect.size(), DoNotScaleByEffectiveZoom); imageSize 1154 Source/core/rendering/RenderBoxModelObject.cpp styleImage->setContainerSizeForRenderer(this, imageSize, style->effectiveZoom()); imageSize 1156 Source/core/rendering/RenderBoxModelObject.cpp int imageWidth = imageSize.width(); imageSize 1157 Source/core/rendering/RenderBoxModelObject.cpp int imageHeight = imageSize.height(); imageSize 1194 Source/core/rendering/RenderBoxModelObject.cpp RefPtr<Image> image = styleImage->image(this, imageSize); imageSize 102 Source/core/rendering/RenderImage.cpp IntSize imageSize; imageSize 106 Source/core/rendering/RenderImage.cpp imageSize = brokenImageAndImageScaleFactor.first->size(); imageSize 107 Source/core/rendering/RenderImage.cpp imageSize.scale(1 / brokenImageAndImageScaleFactor.second); imageSize 109 Source/core/rendering/RenderImage.cpp imageSize = newImage->imageForRenderer(this)->size(); imageSize 113 Source/core/rendering/RenderImage.cpp return IntSize(paddingWidth + imageSize.width() * style()->effectiveZoom(), paddingHeight + imageSize.height() * style()->effectiveZoom()); imageSize 120 Source/core/rendering/RenderImage.cpp IntSize imageSize; imageSize 122 Source/core/rendering/RenderImage.cpp imageSize = imageSizeForError(newImage); imageSize 125 Source/core/rendering/RenderImage.cpp imageSize = IntSize(paddingWidth, paddingHeight); imageSize 134 Source/core/rendering/RenderImage.cpp imageSize = imageSize.expandedTo(paddedTextSize); imageSize 137 Source/core/rendering/RenderImage.cpp if (imageSize == intrinsicSize()) imageSize 140 Source/core/rendering/RenderImage.cpp setIntrinsicSize(imageSize); imageSize 170 Source/core/rendering/RenderImage.cpp view()->frameView()->incrementVisuallyNonEmptyPixelCount(flooredIntSize(m_imageResource->imageSize(1.0f))); imageSize 257 Source/core/rendering/RenderImage.cpp repaintRect = enclosingIntRect(mapRect(*rect, FloatRect(FloatPoint(), m_imageResource->imageSize(1.0f)), contentBoxRect())); imageSize 329 Source/core/rendering/RenderImage.cpp IntSize imageSize = image->size(); imageSize 330 Source/core/rendering/RenderImage.cpp imageSize.scale(1 / brokenImageAndImageScaleFactor.second); imageSize 332 Source/core/rendering/RenderImage.cpp LayoutUnit centerX = (usableWidth - imageSize.width()) / 2; imageSize 335 Source/core/rendering/RenderImage.cpp LayoutUnit centerY = (usableHeight - imageSize.height()) / 2; imageSize 339 Source/core/rendering/RenderImage.cpp context->drawImage(image.get(), pixelSnappedIntRect(LayoutRect(paintOffset + imageOffset, imageSize)), CompositeSourceOver, shouldRespectImageOrientation()); imageSize 67 Source/core/rendering/RenderImageResource.h virtual LayoutSize imageSize(float multiplier) const { return getImageSize(multiplier, ImageResource::NormalSize); } imageSize 57 Source/core/rendering/RenderImageResourceStyleImage.h virtual LayoutSize imageSize(float multiplier) const OVERRIDE { return m_styleImage->imageSize(m_renderer, multiplier); } imageSize 58 Source/core/rendering/RenderImageResourceStyleImage.h virtual LayoutSize intrinsicSize(float multiplier) const OVERRIDE { return m_styleImage->imageSize(m_renderer, multiplier); } imageSize 1328 Source/core/rendering/RenderListMarker.cpp setWidth(m_image->imageSize(this, style()->effectiveZoom()).width()); imageSize 1329 Source/core/rendering/RenderListMarker.cpp setHeight(m_image->imageSize(this, style()->effectiveZoom()).height()); imageSize 1354 Source/core/rendering/RenderListMarker.cpp if (width() != m_image->imageSize(this, style()->effectiveZoom()).width() || height() != m_image->imageSize(this, style()->effectiveZoom()).height() || m_image->errorOccurred()) imageSize 1380 Source/core/rendering/RenderListMarker.cpp IntSize imageSize = calculateImageIntrinsicDimensions(m_image.get(), defaultBulletSize, DoNotScaleByEffectiveZoom); imageSize 1381 Source/core/rendering/RenderListMarker.cpp m_image->setContainerSizeForRenderer(this, imageSize, style()->effectiveZoom()); imageSize 1482 Source/core/rendering/RenderListMarker.cpp LayoutSize imageSize = m_image->imageSize(this, style()->effectiveZoom()); imageSize 1483 Source/core/rendering/RenderListMarker.cpp m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = style()->isHorizontalWritingMode() ? imageSize.width() : imageSize.height(); imageSize 1708 Source/core/rendering/RenderListMarker.cpp return IntRect(0, 0, m_image->imageSize(this, style()->effectiveZoom()).width(), m_image->imageSize(this, style()->effectiveZoom()).height()); imageSize 91 Source/core/rendering/shapes/ShapeInfo.cpp const IntSize& imageSize = renderBox->calculateImageIntrinsicDimensions(styleImage, roundedIntSize(referenceBoxSize), RenderImage::ScaleByEffectiveZoom); imageSize 92 Source/core/rendering/shapes/ShapeInfo.cpp styleImage->setContainerSizeForRenderer(renderBox, imageSize, renderBox->style()->effectiveZoom()); imageSize 98 Source/core/rendering/shapes/ShapeInfo.cpp rect = LayoutRect(LayoutPoint(), imageSize); imageSize 48 Source/core/rendering/style/StyleFetchedImage.h virtual LayoutSize imageSize(const RenderObject*, float multiplier) const OVERRIDE; imageSize 62 Source/core/rendering/style/StyleFetchedImageSet.h virtual LayoutSize imageSize(const RenderObject*, float multiplier) const OVERRIDE; imageSize 71 Source/core/rendering/style/StyleGeneratedImage.cpp IntSize size = flooredIntSize(imageSize(renderer, 1)); imageSize 45 Source/core/rendering/style/StyleGeneratedImage.h virtual LayoutSize imageSize(const RenderObject*, float multiplier) const OVERRIDE; imageSize 57 Source/core/rendering/style/StyleImage.h virtual LayoutSize imageSize(const RenderObject*, float multiplier) const = 0; imageSize 54 Source/core/rendering/style/StylePendingImage.h virtual LayoutSize imageSize(const RenderObject*, float /*multiplier*/) const OVERRIDE { return LayoutSize(); } imageSize 75 Source/core/rendering/svg/RenderSVGImage.cpp if (intrinsicSize != m_imageResource->imageSize(style()->effectiveZoom())) { imageSize 244 Source/core/rendering/svg/RenderSVGResourcePattern.cpp IntSize imageSize(roundedIntSize(clampedAbsoluteTileBoundaries.size())); imageSize 245 Source/core/rendering/svg/RenderSVGResourcePattern.cpp if (imageSize.isEmpty()) imageSize 247 Source/core/rendering/svg/RenderSVGResourcePattern.cpp OwnPtr<ImageBuffer> tileImage = ImageBuffer::create(imageSize); imageSize 214 Source/core/svg/SVGPreserveAspectRatio.cpp FloatSize imageSize = srcRect.size(); imageSize 268 Source/core/svg/SVGPreserveAspectRatio.cpp srcRect.setY(srcRect.y() + imageSize.height() / 2 - srcRect.height() / 2); imageSize 273 Source/core/svg/SVGPreserveAspectRatio.cpp srcRect.setY(srcRect.y() + imageSize.height() - srcRect.height()); imageSize 287 Source/core/svg/SVGPreserveAspectRatio.cpp srcRect.setX(srcRect.x() + imageSize.width() / 2 - srcRect.width() / 2); imageSize 292 Source/core/svg/SVGPreserveAspectRatio.cpp srcRect.setX(srcRect.x() + imageSize.width() - srcRect.width()); imageSize 66 Source/core/svg/graphics/SVGImageCache.cpp IntSize imageSize = m_svgImage->size(); imageSize 68 Source/core/svg/graphics/SVGImageCache.cpp return imageSize; imageSize 72 Source/core/svg/graphics/SVGImageCache.cpp return imageSize; imageSize 170 Source/core/svg/graphics/filters/SVGFEImage.cpp IntSize imageSize; imageSize 172 Source/core/svg/graphics/filters/SVGFEImage.cpp imageSize = m_image->size(); imageSize 174 Source/core/svg/graphics/filters/SVGFEImage.cpp imageSize = enclosingIntRect(getRendererRepaintRect(renderer)).size(); imageSize 178 Source/core/svg/graphics/filters/SVGFEImage.cpp ts << " image-size=\"" << imageSize.width() << "x" << imageSize.height() << "\"]\n"; imageSize 148 Source/platform/DragImage.cpp IntSize imageSize(labelSize.width() + kDragLabelBorderX * 2, labelSize.height() + kDragLabelBorderY * 2); imageSize 153 Source/platform/DragImage.cpp imageSize.setHeight(imageSize.height() + urlStringSize.height()); imageSize 155 Source/platform/DragImage.cpp imageSize.setWidth(kMaxDragLabelWidth); imageSize 158 Source/platform/DragImage.cpp imageSize.setWidth(std::max(labelSize.width(), urlStringSize.width()) + kDragLabelBorderX * 2); imageSize 163 Source/platform/DragImage.cpp IntSize scaledImageSize = imageSize; imageSize 172 Source/platform/DragImage.cpp IntRect rect(IntPoint(), imageSize); imageSize 179 Source/platform/DragImage.cpp urlString = StringTruncator::centerTruncate(urlString, imageSize.width() - (kDragLabelBorderX * 2.0f), urlFont, StringTruncator::EnableRoundingHacks); imageSize 180 Source/platform/DragImage.cpp IntPoint textPos(kDragLabelBorderX, imageSize.height() - (kLabelBorderYOffset + urlFont.fontMetrics().descent())); imageSize 186 Source/platform/DragImage.cpp label = StringTruncator::rightTruncate(label, imageSize.width() - (kDragLabelBorderX * 2.0f), labelFont, StringTruncator::EnableRoundingHacks); imageSize 193 Source/platform/DragImage.cpp int availableWidth = imageSize.width() - kDragLabelBorderX * 2; imageSize 210 Source/platform/graphics/skia/NativeImageSkia.cpp SkISize imageSize = SkISize::Make(bitmap().width(), bitmap().height()); imageSize 211 Source/platform/graphics/skia/NativeImageSkia.cpp SkISize scaledImageSize = SkISize::Make(clampToInteger(roundf(imageSize.width() * scaleX)), imageSize 212 Source/platform/graphics/skia/NativeImageSkia.cpp clampToInteger(roundf(imageSize.height() * scaleY))); imageSize 214 Source/platform/graphics/skia/NativeImageSkia.cpp SkRect imageRect = SkRect::MakeWH(imageSize.width(), imageSize.height()); imageSize 97 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void compressedTexImage2D(WGC3Denum target, WGC3Dint level, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border, WGC3Dsizei imageSize, const void* data) { } imageSize 98 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void compressedTexSubImage2D(WGC3Denum target, WGC3Dint level, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Dsizei imageSize, const void* data) { } imageSize 120 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp static bool encodePixels(IntSize imageSize, unsigned char* inputPixels, bool premultiplied, int quality, Vector<unsigned char>* output) imageSize 144 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp imageSize.clampNegativeToZero(); imageSize 145 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp cinfo.image_height = imageSize.height(); imageSize 146 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp cinfo.image_width = imageSize.width(); imageSize 71 Source/platform/image-encoders/skia/PNGImageEncoder.cpp static bool encodePixels(IntSize imageSize, unsigned char* inputPixels, bool premultiplied, Vector<unsigned char>* output) imageSize 73 Source/platform/image-encoders/skia/PNGImageEncoder.cpp imageSize.clampNegativeToZero(); imageSize 96 Source/platform/image-encoders/skia/PNGImageEncoder.cpp png_set_IHDR(png, info, imageSize.width(), imageSize.height(), imageSize 101 Source/platform/image-encoders/skia/PNGImageEncoder.cpp row.resize(imageSize.width() * sizeof(SkPMColor)); imageSize 102 Source/platform/image-encoders/skia/PNGImageEncoder.cpp const size_t pixelRowStride = imageSize.width() * 4; imageSize 103 Source/platform/image-encoders/skia/PNGImageEncoder.cpp for (int y = 0; y < imageSize.height(); ++y) { imageSize 105 Source/platform/image-encoders/skia/PNGImageEncoder.cpp preMultipliedBGRAtoRGBA(pixels, imageSize.width(), row.data()); imageSize 86 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp static bool encodePixels(IntSize imageSize, const unsigned char* pixels, bool premultiplied, int quality, Vector<unsigned char>* output) imageSize 95 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp imageSize.clampNegativeToZero(); imageSize 96 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp if (!imageSize.width() || imageSize.width() > WEBP_MAX_DIMENSION) imageSize 98 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp picture.width = imageSize.width(); imageSize 99 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp if (!imageSize.height() || imageSize.height() > WEBP_MAX_DIMENSION) imageSize 101 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp picture.height = imageSize.height(); imageSize 236 public/platform/WebGraphicsContext3D.h virtual void compressedTexImage2D(WGC3Denum target, WGC3Dint level, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border, WGC3Dsizei imageSize, const void* data) = 0; imageSize 237 public/platform/WebGraphicsContext3D.h virtual void compressedTexSubImage2D(WGC3Denum target, WGC3Dint level, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Dsizei imageSize, const void* data) = 0;