Home
last modified time | relevance | path

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

/external/chromium_org/third_party/skia/bench/
DPictureNestingBench.cpp36 SkIPoint canvasSize = onGetSize(); in doDraw() local
38 canvas->scale(SkIntToScalar(canvasSize.x()), SkIntToScalar(canvasSize.y())); in doDraw()
107 SkIPoint canvasSize = onGetSize(); in onDraw() local
111 SkCanvas* c = recorder.beginRecording(SkIntToScalar(canvasSize.x()), in onDraw()
112 SkIntToScalar(canvasSize.y())); in onDraw()
127 SkIPoint canvasSize = onGetSize(); in PictureNestingPlayback() local
129 SkCanvas* c = recorder.beginRecording(SkIntToScalar(canvasSize.x()), in PictureNestingPlayback()
130 SkIntToScalar(canvasSize.y())); in PictureNestingPlayback()
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.cpp104 SkIPoint canvasSize = onGetSize(); in getTranslateDelta() local
105 return SkPoint::Make(SkIntToScalar((PICTURE_WIDTH - canvasSize.fX)/M), in getTranslateDelta()
106 SkIntToScalar((PICTURE_HEIGHT- canvasSize.fY)/M)); in getTranslateDelta()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderHTMLCanvas.cpp60 IntSize canvasSize = toHTMLCanvasElement(node())->size(); in canvasSizeChanged() local
61 …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.cpp104 SkIPoint canvasSize = onGetSize(); in getTranslateDelta() local
105 return SkPoint::Make(SkIntToScalar((PICTURE_WIDTH - canvasSize.fX)/M), in getTranslateDelta()
106 SkIntToScalar((PICTURE_HEIGHT- canvasSize.fY)/M)); in getTranslateDelta()
/external/skia/src/utils/
DSkDeferredCanvas.cpp646 SkISize canvasSize = this->getDeviceSize(); in isFullFrame() local
671 transformedRect.fRight < SkIntToScalar(canvasSize.fWidth) || in isFullFrame()
672 transformedRect.fBottom < SkIntToScalar(canvasSize.fHeight)) { in isFullFrame()
678 SkIntToScalar(canvasSize.fWidth), SkIntToScalar(canvasSize.fHeight))); in isFullFrame()
/external/chromium_org/third_party/skia/src/utils/
DSkDeferredCanvas.cpp646 SkISize canvasSize = this->getCanvasSize(); in isFullFrame() local
671 transformedRect.fRight < SkIntToScalar(canvasSize.fWidth) || in isFullFrame()
672 transformedRect.fBottom < SkIntToScalar(canvasSize.fHeight)) { in isFullFrame()
678 SkIntToScalar(canvasSize.fWidth), SkIntToScalar(canvasSize.fHeight))); in isFullFrame()
/external/chromium_org/third_party/skia/tests/
DCanvasTest.cpp807 SkISize canvasSize = referenceCanvas.getDeviceSize(); in TestNWayCanvasStateConsistency() local
808 SkNWayCanvas nWayCanvas(canvasSize.width(), canvasSize.height()); in TestNWayCanvasStateConsistency()
/external/skia/tests/
DCanvasTest.cpp839 SkISize canvasSize = referenceCanvas.getDeviceSize(); in TestNWayCanvasStateConsistency() local
840 SkNWayCanvas nWayCanvas(canvasSize.width(), canvasSize.height()); in TestNWayCanvasStateConsistency()
/external/deqp/modules/gles2/functional/
Des2fPolygonOffsetTests.cpp256 …e, const char* description, GLenum internalFormat, const char* internalFormatName, int canvasSize);
267 …me, const char* description, GLenum internalFormat, const char* internalFormatName, int canvasSize) in PolygonOffsetTestCase() argument
271 , m_targetSize (canvasSize) in PolygonOffsetTestCase()
/external/deqp/modules/gles3/functional/
Des3fPolygonOffsetTests.cpp259 …e, const char* description, GLenum internalFormat, const char* internalFormatName, int canvasSize);
270 …me, const char* description, GLenum internalFormat, const char* internalFormatName, int canvasSize) in PolygonOffsetTestCase() argument
274 , m_targetSize (canvasSize) in PolygonOffsetTestCase()