Lines Matching refs:initialScale
109 if (args.initialScale != ViewportArguments::ValueAuto)
110 args.initialScale = min(float(10), max(args.initialScale, float(0.1)));
130 result.initialScale = args.initialScale;
131 if (result.initialScale == ViewportArguments::ValueAuto) {
132 result.initialScale = availableWidth / desktopWidth;
134 result.initialScale = availableWidth / args.width;
137 result.initialScale = max(result.initialScale, availableHeight / args.height);
142 result.initialScale = min(result.maximumScale, max(result.minimumScale, result.initialScale));
149 if (args.initialScale == ViewportArguments::ValueAuto)
154 width = availableWidth / result.initialScale;
165 width = max(width, availableWidth / result.initialScale);
166 height = max(height, availableHeight / result.initialScale);
176 result.maximumScale = result.minimumScale = result.initialScale;
321 arguments->initialScale = findScaleValue(keyString, valueString, document);