Searched refs:deviceSize (Results 1 – 4 of 4) sorted by relevance
127 static float getLayoutWidthForNonWideViewport(const FloatSize& deviceSize, float initialScale) in getLayoutWidthForNonWideViewport() argument129 return initialScale == -1 ? deviceSize.width() : deviceSize.width() / initialScale; in getLayoutWidthForNonWideViewport()132 static float computeHeightByAspectRatio(float width, const FloatSize& deviceSize) in computeHeightByAspectRatio() argument134 return width * (deviceSize.height() / deviceSize.width()); in computeHeightByAspectRatio()
428 …ferSurface> HTMLCanvasElement::createImageBufferSurface(const IntSize& deviceSize, int* msaaSample… in createImageBufferSurface() argument436 if (shouldAccelerate(deviceSize)) { in createImageBufferSurface()454 IntSize deviceSize = size(); in createImageBuffer() local455 if (deviceSize.width() * deviceSize.height() > MaxCanvasArea) in createImageBuffer()458 if (deviceSize.width() > MaxSkiaDim || deviceSize.height() > MaxSkiaDim) in createImageBuffer()461 if (!deviceSize.width() || !deviceSize.height()) in createImageBuffer()465 OwnPtr<ImageBufferSurface> surface = createImageBufferSurface(deviceSize, &msaaSampleCount); in createImageBuffer()
138 …PassOwnPtr<ImageBufferSurface> createImageBufferSurface(const IntSize& deviceSize, int* msaaSample…
426 reportDeviceTooSmall: function(deviceSize) { argument429 localStrings.getStringF('warningNoSpace', deviceSize);