OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:resultheight
(Results
1 - 1
of
1
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/dom/
ViewportDescription.cpp
102
float
resultHeight
= ValueAuto;
157
resultHeight
= compareIgnoringAuto(resultMinHeight, compareIgnoringAuto(resultMaxHeight, initialViewportSize.height(), std::min), std::max);
161
if (
resultHeight
== ViewportDescription::ValueAuto || !initialViewportSize.height())
164
resultWidth =
resultHeight
* (initialViewportSize.width() / initialViewportSize.height());
168
if (
resultHeight
== ViewportDescription::ValueAuto) {
170
resultHeight
= initialViewportSize.height();
172
resultHeight
= resultWidth * initialViewportSize.height() / initialViewportSize.width();
179
if (
resultHeight
!= ViewportDescription::ValueAuto &&
resultHeight
> 0) {
181
resultZoom = std::max<float>(resultZoom, initialViewportSize.height() /
resultHeight
);
[
all
...]
Completed in 121 milliseconds