/frameworks/base/libs/hwui/ |
D | SkiaCanvas.cpp | 43 explicit SkiaCanvas(SkCanvas* canvas) : mCanvas(canvas) { in SkiaCanvas() 48 virtual SkCanvas* asSkCanvas() override { in asSkCanvas() 59 virtual int save(SkCanvas::SaveFlags flags) override; 64 const SkPaint* paint, SkCanvas::SaveFlags flags) override; 66 int alpha, SkCanvas::SaveFlags flags) override; 106 virtual void drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount, 134 SkCanvas::SaveFlags saveFlags; 137 void recordPartialSave(SkCanvas::SaveFlags flags); 142 SkCanvas::PointMode mode); 145 SkAutoTUnref<SkCanvas> mCanvas; [all …]
|
D | Canvas.h | 43 static Canvas* create_canvas(SkCanvas* skiaCanvas); 57 virtual SkCanvas* asSkCanvas() = 0; 70 virtual int save(SkCanvas::SaveFlags flags) = 0; 75 const SkPaint* paint, SkCanvas::SaveFlags flags) = 0; 77 int alpha, SkCanvas::SaveFlags flags) = 0; 129 virtual void drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount,
|
D | CanvasState.cpp | 44 SkCanvas::kMatrix_SaveFlag | SkCanvas::kClip_SaveFlag); in initializeSaveStack() 61 SkCanvas::kMatrix_SaveFlag | SkCanvas::kClip_SaveFlag); in setViewport()
|
D | RenderNode.cpp | 94 SkCanvas::kMatrix_SaveFlag | SkCanvas::kClip_SaveFlag); in output() 434 SkCanvas::kHasAlphaLayer_SaveFlag | SkCanvas::kClipToLayer_SaveFlag); in setViewProperties() 737 int rootRestoreTo = renderer.save(SkCanvas::kMatrix_SaveFlag); in issueOperationsOf3dChildren() 781 int restoreTo = renderer.save(SkCanvas::kMatrix_SaveFlag); in issueOperationsOf3dChildren() 803 handler(new (alloc) SaveOp(SkCanvas::kMatrix_SaveFlag | SkCanvas::kClip_SaveFlag), in issueOperationsOfProjectedChildren() 823 int restoreTo = renderer.save(SkCanvas::kMatrix_SaveFlag); in issueOperationsOfProjectedChildren() 877 handler(new (alloc) SaveOp(SkCanvas::kMatrix_SaveFlag | SkCanvas::kClip_SaveFlag), in issueOperations() 881 SkCanvas::kMatrix_SaveFlag | SkCanvas::kClip_SaveFlag, restoreTo); in issueOperations()
|
D | DisplayListCanvas.cpp | 96 SkCanvas* DisplayListCanvas::asSkCanvas() { in asSkCanvas() 113 int DisplayListCanvas::save(SkCanvas::SaveFlags flags) { in save() 136 const SkPaint* paint, SkCanvas::SaveFlags flags) { in saveLayer() 138 flags |= SkCanvas::kClip_SaveFlag | SkCanvas::kMatrix_SaveFlag; in saveLayer() 248 save(SkCanvas::kMatrix_SaveFlag); in drawBitmap() 269 save(SkCanvas::kMatrix_SaveFlag); in drawBitmap() 285 save(SkCanvas::kMatrix_SaveFlag); in drawBitmap() 299 save(SkCanvas::kMatrix_SaveFlag); in drawBitmap()
|
D | DisplayListCanvas.h | 137 virtual SkCanvas* asSkCanvas() override; 152 virtual int save(SkCanvas::SaveFlags flags) override; 157 SkCanvas::SaveFlags flags) override; 159 int alpha, SkCanvas::SaveFlags flags) override { in saveLayerAlpha() 215 virtual void drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount, in drawVertices()
|
D | SkiaCanvasProxy.cpp | 117 mCanvas->save(SkCanvas::kMatrixClip_SaveFlag); in onDrawSprite() 144 mCanvas->save(SkCanvas::kMatrixClip_SaveFlag); in willSave() 147 SkCanvas::SaveLayerStrategy SkiaCanvasProxy::willSaveLayer(const SkRect* rectPtr, in willSaveLayer() 156 return SkCanvas::kNoLayer_SaveLayerStrategy; in willSaveLayer() 338 this->drawVertices(SkCanvas::kTriangles_VertexMode, data.fVertexCount, data.fPoints, in onDrawPatch()
|
D | SkiaCanvasProxy.h | 40 class ANDROID_API SkiaCanvasProxy : public SkCanvas { 102 typedef SkCanvas INHERITED;
|
D | RenderProperties.cpp | 169 SkCanvas::kHasAlphaLayer_SaveFlag | SkCanvas::kClipToLayer_SaveFlag); in debugOutputProperties()
|
D | Snapshot.cpp | 62 if (saveFlags & SkCanvas::kMatrix_SaveFlag) { in Snapshot() 69 if (saveFlags & SkCanvas::kClip_SaveFlag) { in Snapshot()
|
D | DeferredDisplayList.cpp | 435 if (recordingComplexClip() && (saveFlags & SkCanvas::kClip_SaveFlag)) { in addSave() 646 renderer.save(SkCanvas::kMatrix_SaveFlag | SkCanvas::kClip_SaveFlag); in flush()
|
D | TessellationCache.h | 29 class SkCanvas; variable
|
D | PathCache.h | 34 class SkCanvas; variable
|
D | OpenGLRenderer.cpp | 525 flags |= SkCanvas::kClip_SaveFlag | SkCanvas::kMatrix_SaveFlag; in saveLayer() 586 if (!mState.currentlyIgnored() && (flags & SkCanvas::kClipToLayer_SaveFlag)) { in saveLayerDeferred() 663 const bool fboLayer = flags & SkCanvas::kClipToLayer_SaveFlag; in createLayer() 953 save(SkCanvas::kClip_SaveFlag | SkCanvas::kMatrix_SaveFlag); in composeLayerRegion() 2346 save(SkCanvas::kMatrix_SaveFlag);
|
D | TextureCache.cpp | 332 SkCanvas canvas(rgbaBitmap); in uploadLoFiTexture()
|
/frameworks/base/core/jni/android/graphics/pdf/ |
D | PdfDocument.cpp | 63 SkCanvas* startPage(int width, int height, in startPage() 73 SkCanvas* canvas = page->mPictureRecorder->beginRecording( in startPage() 94 SkCanvas* canvas = document->beginPage(page->mWidth, page->mHeight, in write() 130 SkCanvas* canvas = document->startPage(pageWidth, pageHeight, in nativeStartPage()
|
/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 | NinePatch.cpp | 35 extern void NinePatch_Draw(SkCanvas* canvas, const SkRect& bounds, const SkBitmap& bitmap, 91 static void draw(JNIEnv* env, SkCanvas* canvas, SkRect& bounds, const SkBitmap& bitmap, in draw() 123 SkCanvas* canvas = reinterpret_cast<Canvas*>(canvasHandle)->asSkCanvas(); in drawF() 142 SkCanvas* canvas = reinterpret_cast<Canvas*>(canvasHandle)->asSkCanvas(); in drawI()
|
D | Picture.cpp | 45 SkCanvas* canvas = mRecorder->beginRecording(width, height, NULL, 0); in beginRecording() 113 SkCanvas* canvas = reRecorder.beginRecording(mWidth, mHeight, NULL, 0); in makePartialCopy()
|
D | NinePatchImpl.cpp | 66 static void drawStretchyPatch(SkCanvas* canvas, SkIRect& src, const SkRect& dst, in drawStretchyPatch() 100 void NinePatch_Draw(SkCanvas* canvas, const SkRect& bounds, in NinePatch_Draw()
|
D | Camera.cpp | 99 SkCanvas* canvas = reinterpret_cast<android::Canvas*>(canvasHandle)->asSkCanvas(); in Camera_applyToCanvas()
|
D | GraphicsJNI.h | 16 class SkCanvas; variable
|
/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/core/jni/ |
D | android_graphics_Canvas.cpp | 77 SkCanvas::SaveFlags flags = static_cast<SkCanvas::SaveFlags>(flagsHandle); in save() 84 SkCanvas::SaveFlags flags = static_cast<SkCanvas::SaveFlags>(flagsHandle); in saveLayer() 90 SkCanvas::SaveFlags flags = static_cast<SkCanvas::SaveFlags>(flagsHandle); in saveLayerAlpha() 315 SkCanvas::VertexMode mode = static_cast<SkCanvas::VertexMode>(modeHandle); in drawVertices() 341 canvas->save(SkCanvas::kMatrixClip_SaveFlag); in drawBitmap()
|
/frameworks/base/libs/input/ |
D | SpriteController.cpp | 216 SkCanvas surfaceCanvas(surfaceBitmap); in doUpdateSprites()
|