HomeSort by relevance Sort by last modified time
    Searched refs:intrinsicSize (Results 1 - 13 of 13) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderReplaced.h 32 RenderReplaced(Element*, const LayoutSize& intrinsicSize);
48 virtual LayoutSize intrinsicSize() const OVERRIDE FINAL { return m_intrinsicSize; }
50 virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const;
62 void setIntrinsicSize(const LayoutSize& intrinsicSize) { m_intrinsicSize = intrinsicSize; }
RenderReplaced.cpp 51 RenderReplaced::RenderReplaced(Element* element, const LayoutSize& intrinsicSize)
53 , m_intrinsicSize(intrinsicSize)
277 FloatSize intrinsicSize;
279 contentRenderer->computeIntrinsicRatioInformation(intrinsicSize, intrinsicRatio, isPercentageIntrinsicSize);
285 intrinsicSize.scale(style()->effectiveZoom());
287 intrinsicSize.scale(toRenderImage(this)->imageDevicePixelRatio());
296 if (intrinsicRatio && !isPercentageIntrinsicSize && !intrinsicSize.isEmpty())
297 m_intrinsicSize = LayoutSize(intrinsicSize);
302 intrinsicSize = intrinsicSize.transposedSize()
    [all...]
RenderImageResourceStyleImage.h 58 virtual LayoutSize intrinsicSize(float multiplier) const OVERRIDE { return m_styleImage->imageSize(m_renderer, multiplier); }
RenderHTMLCanvas.cpp 84 if (zoomedSize == intrinsicSize())
RenderImageResource.h 67 virtual LayoutSize intrinsicSize(float multiplier) const { return getImageSize(multiplier, ImageResource::IntrinsicSize); }
RenderImage.cpp 137 if (imageSize == intrinsicSize())
199 if (newSize == intrinsicSize() && !imageSizeChanged)
218 bool intrinsicSizeChanged = updateIntrinsicSizeIfNeeded(m_imageResource->intrinsicSize(style()->effectiveZoom()), imageSizeChanged);
525 return m_imageResource->errorOccurred() ? intrinsicSize().height() : LayoutUnit();
610 void RenderImage::computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const
612 RenderReplaced::computeIntrinsicRatioInformation(intrinsicSize, intrinsicRatio, isPercentageIntrinsicSize);
614 // Our intrinsicSize is empty if we're rendering generated images with relative width/height. Figure out the right intrinsic size to use.
615 if (intrinsicSize.isEmpty() && (m_imageResource->imageHasRelativeWidth() || m_imageResource->imageHasRelativeHeight())) {
619 intrinsicSize.setWidth(box->availableLogicalWidth());
620 intrinsicSize.setHeight(box->availableLogicalHeight(IncludeMarginBorderPadding))
    [all...]
RenderVideo.cpp 81 if (size == intrinsicSize())
130 m_cachedImageSize = intrinsicSize();
RenderImage.h 70 virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const OVERRIDE FINAL;
RenderBox.h 416 virtual LayoutSize intrinsicSize() const { return LayoutSize(); }
417 LayoutUnit intrinsicLogicalWidth() const { return style()->isHorizontalWritingMode() ? intrinsicSize().width() : intrinsicSize().height(); }
418 LayoutUnit intrinsicLogicalHeight() const { return style()->isHorizontalWritingMode() ? intrinsicSize().height() : intrinsicSize().width(); }
560 virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */, double& /* intrinsicRatio */, bool& /* isPercentageIntrinsicSize */) const { }
    [all...]
RenderBox.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGRoot.cpp 59 void RenderSVGRoot::computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const
82 intrinsicSize.setWidth(floatValueForLength(intrinsicWidthAttribute, 0, 0));
84 intrinsicSize.setHeight(floatValueForLength(intrinsicHeightAttribute, 0, 0));
85 if (!intrinsicSize.isEmpty())
86 intrinsicRatio = intrinsicSize.width() / static_cast<double>(intrinsicSize.height());
94 intrinsicSize = svg->viewBoxCurrentValue().size();
95 if (!intrinsicSize.isEmpty()) {
97 intrinsicRatio = intrinsicSize.width() / static_cast<double>(intrinsicSize.height())
    [all...]
RenderSVGImage.cpp 74 LayoutSize intrinsicSize = cachedImage->imageSizeForRenderer(0, style()->effectiveZoom());
75 if (intrinsicSize != m_imageResource->imageSize(style()->effectiveZoom())) {
76 m_imageResource->setContainerSizeForRenderer(roundedIntSize(intrinsicSize));
RenderSVGRoot.h 43 virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const;

Completed in 32 milliseconds