OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:initialViewportSize
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/dom/
ViewportArguments.cpp
73
float ViewportArguments::resolveViewportLength(const Length& length, const FloatSize&
initialViewportSize
, Direction direction)
85
return
initialViewportSize
.width() * length.getFloatValue() / 100.0f;
88
return
initialViewportSize
.height() * length.getFloatValue() / 100.0f;
91
return min(
initialViewportSize
.width(),
initialViewportSize
.height()) * length.viewportPercentageLength() / 100.0f;
94
return max(
initialViewportSize
.width(),
initialViewportSize
.height()) * length.viewportPercentageLength() / 100.0f;
100
PageScaleConstraints ViewportArguments::resolve(const FloatSize&
initialViewportSize
, const FloatSize& deviceSize, int defaultWidth) const
112
float resultMaxWidth = resolveViewportLength(maxWidth,
initialViewportSize
, Horizontal);
113
float resultMinWidth = resolveViewportLength(minWidth,
initialViewportSize
, Horizontal)
[
all
...]
ViewportArguments.h
88
PageScaleConstraints resolve(const FloatSize&
initialViewportSize
, const FloatSize& deviceSize, int defaultWidth) const;
128
static float resolveViewportLength(const Length&, const FloatSize&
initialViewportSize
, Direction);
Document.h
[
all
...]
Document.cpp
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/testing/
Internals.cpp
941
IntSize
initialViewportSize
(availableWidth, availableHeight);
942
document->page()->mainFrame()->view()->setFrameRect(IntRect(IntPoint::zero(),
initialViewportSize
));
946
PageScaleConstraints constraints = arguments.resolve(
initialViewportSize
, FloatSize(deviceWidth, deviceHeight), 980 /* defaultLayoutWidthForNonMobilePages */);
[
all
...]
Completed in 842 milliseconds