Home
last modified time | relevance | path

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

/external/skia/bench/
DPictureNestingBench.cpp34 SkIPoint canvasSize = onGetSize(); in doDraw() local
36 canvas->scale(SkIntToScalar(canvasSize.x()), SkIntToScalar(canvasSize.y())); in doDraw()
120 SkIPoint canvasSize = onGetSize(); in onDraw() local
124 SkCanvas* c = recorder.beginRecording(SkIntToScalar(canvasSize.x()), in onDraw()
125 SkIntToScalar(canvasSize.y())); in onDraw()
144 SkIPoint canvasSize = onGetSize(); in onDelayedSetup() local
146 SkCanvas* c = recorder.beginRecording(SkIntToScalar(canvasSize.x()), in onDelayedSetup()
147 SkIntToScalar(canvasSize.y())); in onDelayedSetup()
/external/skqp/bench/
DPictureNestingBench.cpp34 SkIPoint canvasSize = onGetSize(); in doDraw() local
36 canvas->scale(SkIntToScalar(canvasSize.x()), SkIntToScalar(canvasSize.y())); in doDraw()
120 SkIPoint canvasSize = onGetSize(); in onDraw() local
124 SkCanvas* c = recorder.beginRecording(SkIntToScalar(canvasSize.x()), in onDraw()
125 SkIntToScalar(canvasSize.y())); in onDraw()
144 SkIPoint canvasSize = onGetSize(); in onDelayedSetup() local
146 SkCanvas* c = recorder.beginRecording(SkIntToScalar(canvasSize.x()), in onDelayedSetup()
147 SkIntToScalar(canvasSize.y())); in onDelayedSetup()
/external/skqp/tools/viewer/
DStatsLayer.cpp82 SkISize canvasSize = canvas->getBaseLayerSize(); in onPaint() local
83 SkRect rect = SkRect::MakeXYWH(SkIntToScalar(canvasSize.fWidth-kDisplayWidth-kDisplayPadding), in onPaint()
90 canvas->concat(SkMatrix::MakeRectToRect(SkRect::Make(canvasSize), in onPaint()
91 SkRect::MakeXYWH(canvasSize.width() * (1 - kScale), in onPaint()
93 canvasSize.width() * kScale, in onPaint()
94 canvasSize.height() * kScale), in onPaint()
/external/skia/tools/viewer/
DStatsLayer.cpp84 SkISize canvasSize = canvas->getBaseLayerSize(); in onPaint() local
85 SkRect rect = SkRect::MakeXYWH(SkIntToScalar(canvasSize.fWidth-kDisplayWidth-kDisplayPadding), in onPaint()
92 canvas->concat(SkMatrix::MakeRectToRect(SkRect::Make(canvasSize), in onPaint()
93 SkRect::MakeXYWH(canvasSize.width() * (1 - kScale), in onPaint()
95 canvasSize.width() * kScale, in onPaint()
96 canvasSize.height() * kScale), in onPaint()
/external/clang/test/Sema/
Dinit-struct-qualified.c10 extern NSSize canvasSize();
12 const NSRect canvasRect = { NSZeroPoint, canvasSize() }; in func()
/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()
/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/pdfium/core/fxge/skia/
Dfx_skia_device.cpp2180 const SkImageInfo& canvasSize = m_pCanvas->imageInfo(); in GetClipBox()
2181 pRect->right = canvasSize.width(); in GetClipBox()
2182 pRect->bottom = canvasSize.height(); in GetClipBox()