HomeSort by relevance Sort by last modified time
    Searched refs:deviceSize (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLCanvasElement.cpp 442 FloatSize HTMLCanvasElement::convertDeviceToLogical(const FloatSize& deviceSize) const
444 float width = ceilf(deviceSize.width() / m_deviceScaleFactor);
445 float height = ceilf(deviceSize.height() / m_deviceScaleFactor);
489 FloatSize deviceSize = convertLogicalToDevice(logicalSize);
490 if (!deviceSize.isExpressibleAsIntSize())
493 if (deviceSize.width() * deviceSize.height() > MaxCanvasArea)
496 if (deviceSize.width() > MaxSkiaDim || deviceSize.height() > MaxSkiaDim)
499 IntSize bufferSize(deviceSize.width(), deviceSize.height())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/page/
PageScaleConstraintsSet.cpp 123 static float getLayoutWidthForNonWideViewport(const FloatSize& deviceSize, float initialScale)
125 return initialScale == -1 ? deviceSize.width() : deviceSize.width() / initialScale;
128 static float computeHeightByAspectRatio(float width, const FloatSize& deviceSize)
130 return width * (deviceSize.height() / deviceSize.width());
  /external/chromium_org/third_party/WebKit/Source/core/dom/
ViewportArguments.h 88 PageScaleConstraints resolve(const FloatSize& initialViewportSize, const FloatSize& deviceSize, int defaultWidth) const;
ViewportArguments.cpp 100 PageScaleConstraints ViewportArguments::resolve(const FloatSize& initialViewportSize, const FloatSize& deviceSize, int defaultWidth) const
191 resultWidth = deviceSize.width();
194 resultWidth = deviceSize.height();
200 resultHeight = deviceSize.width();
203 resultHeight = deviceSize.height();
  /external/chromium_org/chrome/browser/resources/chromeos/
image_burner.js 424 * @param {number} deviceSize Received device size.
426 reportDeviceTooSmall: function(deviceSize) {
429 localStrings.getStringF('warningNoSpace', deviceSize);

Completed in 419 milliseconds