/frameworks/base/libs/hwui/ |
D | SkiaCanvas.cpp | 53 explicit SkiaCanvas(SkCanvas* canvas) : mCanvas(canvas) { in SkiaCanvas() 58 virtual SkCanvas* asSkCanvas() override { in asSkCanvas() 133 virtual void drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount, 187 SkCanvas::PointMode mode); 189 SkAutoTUnref<SkCanvas> mCanvas; 197 Canvas* Canvas::create_canvas(SkCanvas* skiaCanvas) { in create_canvas() 202 mCanvas.reset(new SkCanvas(bitmap)); in SkiaCanvas() 209 class ClipCopier : public SkCanvas::ClipVisitor { 211 ClipCopier(SkCanvas* dstCanvas) : m_dstCanvas(dstCanvas) {} in ClipCopier() 224 SkCanvas* m_dstCanvas; [all …]
|
D | SkiaCanvasProxy.cpp | 165 static inline SaveFlags::Flags saveFlags(SkCanvas::SaveLayerFlags layerFlags) { in saveFlags() 168 if (!(layerFlags & SkCanvas::kDontClipToLayer_Legacy_SaveLayerFlag)) { in saveFlags() 172 if (!(layerFlags & SkCanvas::kIsOpaque_SaveLayerFlag)) { in saveFlags() 179 SkCanvas::SaveLayerStrategy SkiaCanvasProxy::getSaveLayerStrategy(const SaveLayerRec& saveLayerRec)… in getSaveLayerStrategy() 188 return SkCanvas::kNoLayer_SaveLayerStrategy; in getSaveLayerStrategy() 374 this->drawVertices(SkCanvas::kTriangles_VertexMode, data.fVertexCount, data.fPoints, in onDrawPatch()
|
D | VectorDrawable.h | 104 virtual void draw(SkCanvas* outCanvas, const SkMatrix& currentMatrix, 164 void draw(SkCanvas* outCanvas, const SkMatrix& groupStackedMatrix, 190 virtual void drawPath(SkCanvas *outCanvas, SkPath& renderPath, 384 void drawPath(SkCanvas* outCanvas, SkPath& renderPath, 404 void drawPath(SkCanvas* outCanvas, SkPath& renderPath, 514 virtual void draw(SkCanvas* outCanvas, const SkMatrix& currentMatrix,
|
D | SkiaCanvasProxy.h | 40 class ANDROID_API SkiaCanvasProxy : public SkCanvas { 100 typedef SkCanvas INHERITED;
|
D | VectorDrawable.cpp | 36 void Path::draw(SkCanvas* outCanvas, const SkMatrix& groupStackedMatrix, float scaleX, float scaleY, in draw() 195 void FullPath::drawPath(SkCanvas* outCanvas, SkPath& renderPath, float strokeScale, in drawPath() 311 void ClipPath::drawPath(SkCanvas* outCanvas, SkPath& renderPath, in drawPath() 320 void Group::draw(SkCanvas* outCanvas, const SkMatrix& currentMatrix, float scaleX, in draw() 552 SkCanvas outCanvas(*outCache); in updateBitmapCache()
|
D | RecordingCanvas.h | 86 virtual SkCanvas* asSkCanvas() override; 171 virtual void drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount, in drawVertices()
|
D | DisplayListCanvas.h | 109 virtual SkCanvas* asSkCanvas() override; 192 virtual void drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount, in drawVertices()
|
D | TessellationCache.h | 37 class SkCanvas; variable
|
D | PathCache.h | 36 class SkCanvas; variable
|
D | Texture.cpp | 244 SkCanvas canvas(rgbaBitmap); in upload()
|
/frameworks/base/core/jni/android/graphics/pdf/ |
D | PdfDocument.cpp | 64 SkCanvas* startPage(int width, int height, in startPage() 74 SkCanvas* canvas = page->mPictureRecorder->beginRecording( in startPage() 95 SkCanvas* canvas = document->beginPage(page->mWidth, page->mHeight, in write() 129 SkCanvas* canvas = document->startPage(pageWidth, pageHeight, in nativeStartPage()
|
/frameworks/base/libs/hwui/utils/ |
D | TestWindowContext.h | 22 class SkCanvas; variable 44 SkCanvas* prepareToDraw();
|
D | NinePatch.h | 31 static void Draw(SkCanvas* canvas, const SkRect& bounds, const SkBitmap& bitmap,
|
D | TestWindowContext.cpp | 99 SkCanvas* prepareToDraw() { in prepareToDraw() 198 SkCanvas* TestWindowContext::prepareToDraw() { in prepareToDraw()
|
D | NinePatchImpl.cpp | 64 static void drawStretchyPatch(SkCanvas* canvas, SkIRect& src, const SkRect& dst, in drawStretchyPatch() 98 void NinePatch::Draw(SkCanvas* canvas, const SkRect& bounds, in Draw()
|
/frameworks/webview/chromium/plat_support/ |
D | graphics_utils.cpp | 41 PixelInfo(SkCanvas* canvas); 46 PixelInfo::PixelInfo(SkCanvas* canvas) { in PixelInfo() 62 SkCanvas* canvas = nativeCanvas->asSkCanvas(); in GetPixels()
|
/frameworks/base/core/jni/android/graphics/ |
D | Picture.cpp | 46 SkCanvas* canvas = mRecorder->beginRecording(width, height, NULL, 0); in beginRecording() 114 SkCanvas* canvas = reRecorder.beginRecording(mWidth, mHeight, NULL, 0); in makePartialCopy()
|
D | Camera.cpp | 99 SkCanvas* canvas = reinterpret_cast<android::Canvas*>(canvasHandle)->asSkCanvas(); in Camera_applyToCanvas()
|
D | GraphicsJNI.h | 18 class SkCanvas; variable
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 84 static Canvas* create_canvas(SkCanvas* skiaCanvas); 98 virtual SkCanvas* asSkCanvas() = 0; 193 virtual void drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount,
|
/frameworks/minikin/sample/ |
D | example_skia.cpp | 80 void drawToSkia(SkCanvas *canvas, SkPaint *paint, Layout *layout, float x, float y) { in drawToSkia() 133 SkCanvas canvas(bitmap); in runMinikinTest()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | ListViewAnimation.cpp | 85 SkCanvas canvas(bitmap); in createRandomCharIcon() 108 SkCanvas canvas(bitmap); in createBoxBitmap()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaCanvasTests.cpp | 45 SkCanvas* skCanvas = recorder.beginRecording(200, 200, NULL, 0); in TEST()
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 333 SkCanvas::VertexMode mode = static_cast<SkCanvas::VertexMode>(modeHandle); in drawVertices()
|
/frameworks/base/libs/input/ |
D | SpriteController.cpp | 216 SkCanvas surfaceCanvas(surfaceBitmap); in doUpdateSprites()
|