Home
last modified time | relevance | path

Searched refs:canvasSize (Results 1 – 10 of 10) 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.cpp93 SkISize canvasSize = canvas->getBaseLayerSize(); in onPaint() local
94 SkRect rect = SkRect::MakeXYWH(SkIntToScalar(canvasSize.fWidth-kDisplayWidth-kDisplayPadding), in onPaint()
101 canvas->concat(SkMatrix::RectToRect(SkRect::Make(canvasSize), in onPaint()
102 SkRect::MakeXYWH(canvasSize.width() * (1 - kScale), in onPaint()
104 canvasSize.width() * kScale, in onPaint()
105 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/llvm-project/clang/test/Sema/
Dinit-struct-qualified.c10 extern NSSize canvasSize();
12 const NSRect canvasRect = { NSZeroPoint, canvasSize() }; in func()
/external/skia/fuzz/
DFuzzDDLThreading.cpp118 SkISize canvasSize = kPromiseImageSize; in DDLFuzzer() local
119 canvasSize.fWidth *= kPromiseImagesPerDDL; in DDLFuzzer()
120 SkImageInfo ii = SkImageInfo::Make(canvasSize, kRGBA_8888_SkColorType, kPremul_SkAlphaType); in DDLFuzzer()
/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()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp2314 const SkImageInfo& canvasSize = m_pCanvas->imageInfo(); in GetClipBox()
2315 pRect->right = canvasSize.width(); in GetClipBox()
2316 pRect->bottom = canvasSize.height(); in GetClipBox()