Home
last modified time | relevance | path

Searched refs:deviceSize (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/web/
DPageScaleConstraintsSet.cpp127 static float getLayoutWidthForNonWideViewport(const FloatSize& deviceSize, float initialScale) in getLayoutWidthForNonWideViewport() argument
129 return initialScale == -1 ? deviceSize.width() : deviceSize.width() / initialScale; in getLayoutWidthForNonWideViewport()
132 static float computeHeightByAspectRatio(float width, const FloatSize& deviceSize) in computeHeightByAspectRatio() argument
134 return width * (deviceSize.height() / deviceSize.width()); in computeHeightByAspectRatio()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLCanvasElement.cpp428 …ferSurface> HTMLCanvasElement::createImageBufferSurface(const IntSize& deviceSize, int* msaaSample… in createImageBufferSurface() argument
436 if (shouldAccelerate(deviceSize)) { in createImageBufferSurface()
454 IntSize deviceSize = size(); in createImageBuffer() local
455 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()
DHTMLCanvasElement.h138 …PassOwnPtr<ImageBufferSurface> createImageBufferSurface(const IntSize& deviceSize, int* msaaSample…
/external/chromium_org/chrome/browser/resources/chromeos/
Dimage_burner.js426 reportDeviceTooSmall: function(deviceSize) { argument
429 localStrings.getStringF('warningNoSpace', deviceSize);