OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:initialViewportSize
(Results
1 - 6
of
6
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/dom/
ViewportDescription.cpp
52
float ViewportDescription::resolveViewportLength(const Length& length, const FloatSize&
initialViewportSize
, Direction direction)
64
return
initialViewportSize
.width() * length.getFloatValue() / 100.0f;
67
return
initialViewportSize
.height() * length.getFloatValue() / 100.0f;
70
return
initialViewportSize
.width();
73
return
initialViewportSize
.height();
79
PageScaleConstraints ViewportDescription::resolve(const FloatSize&
initialViewportSize
, Length legacyFallbackWidth) const
99
float resultMaxWidth = resolveViewportLength(copyMaxWidth,
initialViewportSize
, Horizontal);
100
float resultMinWidth = resolveViewportLength(copyMinWidth,
initialViewportSize
, Horizontal);
103
float resultMaxHeight = resolveViewportLength(maxHeight,
initialViewportSize
, Vertical);
104
float resultMinHeight = resolveViewportLength(minHeight,
initialViewportSize
, Vertical)
[
all
...]
ViewportDescription.h
79
PageScaleConstraints resolve(const FloatSize&
initialViewportSize
, Length legacyFallbackWidth) const;
134
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
821
IntSize
initialViewportSize
(availableWidth, availableHeight);
822
document->page()->deprecatedLocalMainFrame()->view()->setFrameRect(IntRect(IntPoint::zero(),
initialViewportSize
));
825
PageScaleConstraints constraints = description.resolve(
initialViewportSize
, Length());
[
all
...]
/external/chromium_org/third_party/WebKit/Source/web/tests/
ViewportTest.cpp
121
IntSize
initialViewportSize
(initialWidth, initialHeight);
122
toLocalFrame(page->mainFrame())->view()->setFrameRect(IntRect(IntPoint::zero(),
initialViewportSize
));
124
PageScaleConstraints constraints = description.resolve(
initialViewportSize
, Length(980, blink::Fixed));
[
all
...]
Completed in 596 milliseconds