OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:intrinsicRatio
(Results
1 - 23
of
23
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
GeneratedImage.cpp
39
void GeneratedImage::computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize&
intrinsicRatio
)
41
Image::computeIntrinsicDimensions(intrinsicWidth, intrinsicHeight,
intrinsicRatio
);
42
intrinsicRatio
= FloatSize();
GeneratedImage.h
43
virtual void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize&
intrinsicRatio
) OVERRIDE;
Image.cpp
234
void Image::computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize&
intrinsicRatio
)
236
intrinsicRatio
= size();
237
intrinsicWidth = Length(
intrinsicRatio
.width(), Fixed);
238
intrinsicHeight = Length(
intrinsicRatio
.height(), Fixed);
Image.h
81
virtual void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize&
intrinsicRatio
);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderReplaced.cpp
264
void RenderReplaced::computeAspectRatioInformationForRenderBox(RenderBox* contentRenderer, FloatSize& constrainedSize, double&
intrinsicRatio
, bool& isPercentageIntrinsicSize) const
268
contentRenderer->computeIntrinsicRatioInformation(intrinsicSize,
intrinsicRatio
, isPercentageIntrinsicSize);
269
if (
intrinsicRatio
)
277
intrinsicRatio
= 1;
282
if (
intrinsicRatio
&& !isPercentageIntrinsicSize && !intrinsicSize.isEmpty())
286
if (
intrinsicRatio
)
287
intrinsicRatio
= 1 /
intrinsicRatio
;
291
computeIntrinsicRatioInformation(intrinsicSize,
intrinsicRatio
, isPercentageIntrinsicSize);
292
if (
intrinsicRatio
) {
[
all
...]
RenderReplaced.h
49
virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double&
intrinsicRatio
, bool& isPercentageIntrinsicSize) const;
85
void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize& constrainedSize, double&
intrinsicRatio
, bool& isPercentageIntrinsicSize) const;
RenderImage.h
67
virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double&
intrinsicRatio
, bool& isPercentageIntrinsicSize) const OVERRIDE FINAL;
RenderBoxModelObject.cpp
[
all
...]
RenderImage.cpp
556
void RenderImage::computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double&
intrinsicRatio
, bool& isPercentageIntrinsicSize) const
558
RenderReplaced::computeIntrinsicRatioInformation(intrinsicSize,
intrinsicRatio
, isPercentageIntrinsicSize);
571
intrinsicRatio
= 1;
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
StyleFetchedImage.cpp
79
void StyleFetchedImage::computeIntrinsicDimensions(const RenderObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize&
intrinsicRatio
)
81
m_image->computeIntrinsicDimensions(intrinsicWidth, intrinsicHeight,
intrinsicRatio
);
StyleFetchedImageSet.cpp
87
void StyleFetchedImageSet::computeIntrinsicDimensions(const RenderObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize&
intrinsicRatio
)
89
m_bestFitImage->computeIntrinsicDimensions(intrinsicWidth, intrinsicHeight,
intrinsicRatio
);
StyleGeneratedImage.cpp
68
void StyleGeneratedImage::computeIntrinsicDimensions(const RenderObject* renderer, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize&
intrinsicRatio
)
74
intrinsicRatio
= size;
StyleFetchedImage.h
51
virtual void computeIntrinsicDimensions(const RenderObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize&
intrinsicRatio
);
StyleGeneratedImage.h
48
virtual void computeIntrinsicDimensions(const RenderObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize&
intrinsicRatio
);
StyleFetchedImageSet.h
65
virtual void computeIntrinsicDimensions(const RenderObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize&
intrinsicRatio
);
StyleImage.h
58
virtual void computeIntrinsicDimensions(const RenderObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize&
intrinsicRatio
) = 0;
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
SVGImageForContainer.h
50
virtual void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize&
intrinsicRatio
) OVERRIDE
52
m_image->computeIntrinsicDimensions(intrinsicWidth, intrinsicHeight,
intrinsicRatio
);
SVGImage.h
74
virtual void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize&
intrinsicRatio
) OVERRIDE;
SVGImage.cpp
272
void SVGImage::computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize&
intrinsicRatio
)
286
intrinsicRatio
= rootElement->viewBoxCurrentValue().size();
287
if (
intrinsicRatio
.isEmpty() && intrinsicWidth.isFixed() && intrinsicHeight.isFixed())
288
intrinsicRatio
= FloatSize(floatValueForLength(intrinsicWidth, 0), floatValueForLength(intrinsicHeight, 0));
/external/chromium_org/third_party/WebKit/Source/core/loader/cache/
ImageResource.h
70
void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize&
intrinsicRatio
);
ImageResource.cpp
257
void ImageResource::computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize&
intrinsicRatio
)
260
m_image->computeIntrinsicDimensions(intrinsicWidth, intrinsicHeight,
intrinsicRatio
);
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGRoot.h
43
virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double&
intrinsicRatio
, bool& isPercentageIntrinsicSize) const;
RenderSVGRoot.cpp
60
void RenderSVGRoot::computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double&
intrinsicRatio
, bool& isPercentageIntrinsicSize) const
87
intrinsicRatio
= intrinsicSize.width() / static_cast<double>(intrinsicSize.height());
98
intrinsicRatio
= intrinsicSize.width() / static_cast<double>(intrinsicSize.height());
Completed in 576 milliseconds