Home
last modified time | relevance | path

Searched refs:canvasSize (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderHTMLCanvas.cpp81 IntSize canvasSize = toHTMLCanvasElement(node())->size(); in canvasSizeChanged() local
82 …LayoutSize zoomedSize(canvasSize.width() * style()->effectiveZoom(), canvasSize.height() * style()… in canvasSizeChanged()
/external/clang/test/Sema/
Dinit-struct-qualified.c10 extern NSSize canvasSize();
12 const NSRect canvasRect = { NSZeroPoint, canvasSize() }; in func()
/external/skia/bench/
DPicturePlaybackBench.cpp56 SkIPoint canvasSize = onGetSize(); in getTranslateDelta() local
57 return SkPoint::Make(SkIntToScalar((PICTURE_WIDTH - canvasSize.fX)/N), in getTranslateDelta()
58 SkIntToScalar((PICTURE_HEIGHT- canvasSize.fY)/N)); in getTranslateDelta()
DPictureRecordBench.cpp103 SkIPoint canvasSize = onGetSize(); in getTranslateDelta() local
104 return SkPoint::Make(SkIntToScalar((PICTURE_WIDTH - canvasSize.fX)/M), in getTranslateDelta()
105 SkIntToScalar((PICTURE_HEIGHT- canvasSize.fY)/M)); in getTranslateDelta()
/external/skia/src/utils/
DSkDeferredCanvas.cpp673 SkISize canvasSize = this->getDeviceSize(); in isFullFrame() local
698 transformedRect.fRight < SkIntToScalar(canvasSize.fWidth) || in isFullFrame()
699 transformedRect.fBottom < SkIntToScalar(canvasSize.fHeight)) { in isFullFrame()
705 SkIntToScalar(canvasSize.fWidth), SkIntToScalar(canvasSize.fHeight))); in isFullFrame()
/external/chromium_org/third_party/skia/src/utils/
DSkDeferredCanvas.cpp673 SkISize canvasSize = this->getDeviceSize(); in isFullFrame() local
698 transformedRect.fRight < SkIntToScalar(canvasSize.fWidth) || in isFullFrame()
699 transformedRect.fBottom < SkIntToScalar(canvasSize.fHeight)) { in isFullFrame()
705 SkIntToScalar(canvasSize.fWidth), SkIntToScalar(canvasSize.fHeight))); in isFullFrame()
/external/skia/tests/
DCanvasTest.cpp844 SkISize canvasSize = referenceCanvas.getDeviceSize(); in TestNWayCanvasStateConsistency() local
845 SkNWayCanvas nWayCanvas(canvasSize.width(), canvasSize.height()); in TestNWayCanvasStateConsistency()
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DWebGLRenderingContext.cpp672 IntSize canvasSize = clampedCanvasSize(); in initializeNewContext() local
673 m_drawingBuffer->reset(canvasSize); in initializeNewContext()
675 m_context->viewport(0, 0, canvasSize.width(), canvasSize.height()); in initializeNewContext()
676 m_context->scissor(0, 0, canvasSize.width(), canvasSize.height()); in initializeNewContext()