/frameworks/base/libs/hwui/tests/unit/ |
D | RecordingCanvasTests.cpp | 50 auto dl = TestUtils::createDisplayList<RecordingCanvas>(100, 200, [](RecordingCanvas& canvas) { in TEST() 58 auto dl = TestUtils::createDisplayList<RecordingCanvas>(100, 100, [](RecordingCanvas& canvas) { in TEST() 74 auto dl = TestUtils::createDisplayList<RecordingCanvas>(200, 200, [](RecordingCanvas& canvas) { in TEST() 85 auto dl = TestUtils::createDisplayList<RecordingCanvas>(200, 200, [](RecordingCanvas& canvas) { in TEST() 106 auto dl = TestUtils::createDisplayList<RecordingCanvas>(200, 200, [](RecordingCanvas& canvas) { in TEST() 122 auto dl = TestUtils::createDisplayList<RecordingCanvas>(100, 200, [](RecordingCanvas& canvas) { in TEST() 139 auto dl = TestUtils::createDisplayList<RecordingCanvas>(100, 200, [](RecordingCanvas& canvas) { in TEST() 152 auto dl = TestUtils::createDisplayList<RecordingCanvas>(100, 200, [](RecordingCanvas& canvas) { in TEST() 159 dl = TestUtils::createDisplayList<RecordingCanvas>(100, 200, [](RecordingCanvas& canvas) { in TEST() 168 auto dl = TestUtils::createDisplayList<RecordingCanvas>(200, 200, [](RecordingCanvas& canvas) { in TEST() [all …]
|
D | RenderNodeTests.cpp | 42 [](RenderProperties& props, TestCanvas& canvas) { in TEST() 46 [&child](RenderProperties& props, TestCanvas& canvas) { in TEST() 55 TestUtils::recordNode(*parent, [](TestCanvas& canvas) { in TEST() 84 [&](RenderProperties& props, TestCanvas& canvas) { in TEST() 91 TestUtils::recordNode(*node, [&](TestCanvas& canvas) { in TEST() 100 TestUtils::recordNode(*node, [](TestCanvas& canvas) {}); in TEST() 116 [](RenderProperties& props, TestCanvas& canvas) { in RENDERTHREAD_TEST()
|
D | FrameBuilderTests.cpp | 131 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() 159 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() 175 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() 202 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() 238 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() 291 [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() 298 [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() 304 [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() 350 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() 375 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() [all …]
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
D | GlifPatternDrawableTest.java | 46 final Canvas canvas = new Canvas(bitmap); in testDraw() local 64 final Canvas canvas = new Canvas(bitmap); in testDrawTwice() local 84 final Canvas canvas = new Canvas(); in testScaleToCanvasSquare() local 100 final Canvas canvas = new Canvas(); in testScaleToCanvasTall() local 117 final Canvas canvas = new Canvas(); in testScaleToCanvasWide() local 134 final Canvas canvas = new Canvas(); in testScaleToCanvasMaxSize() local
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | ListViewAnimation.cpp | 39 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 50 [this](RenderProperties& props, TestCanvas& canvas) { in createContent() 65 TestCanvas canvas( in doFrame() local 85 SkCanvas canvas(bitmap); in createRandomCharIcon() local 108 SkCanvas canvas(bitmap); in createBoxBitmap() local 122 [this, cardId](RenderProperties& props, TestCanvas& canvas) { in createCard()
|
D | PartialDamageAnimation.cpp | 32 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 47 [color](RenderProperties& props, TestCanvas& canvas) { in createContent() 61 TestUtils::recordNode(*cards[0], [curFrame](TestCanvas& canvas) { in doFrame()
|
D | HwLayerAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 33 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
|
D | GlyphStressAnimation.cpp | 36 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 49 TestCanvas canvas( in doFrame() local
|
D | ClippingAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 34 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
|
D | OvalAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 34 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
|
D | SaveLayerAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 35 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | BasicTexture.java | 57 protected BasicTexture(GLCanvas canvas, int id, int state) { in BasicTexture() 70 protected void setAssociatedCanvas(GLCanvas canvas) { in setAssociatedCanvas() 137 public void draw(GLCanvas canvas, int x, int y) { in draw() 142 public void draw(GLCanvas canvas, int x, int y, int w, int h) { in draw() 148 abstract protected boolean onBind(GLCanvas canvas); in onBind() 173 GLCanvas canvas = mCanvasRef; in freeResource() local
|
D | Texture.java | 41 public void draw(GLCanvas canvas, int x, int y); in draw() 42 public void draw(GLCanvas canvas, int x, int y, int w, int h); in draw()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | FramebufferBlendActivity.java | 64 protected void onDraw(Canvas canvas) { in onDraw() 87 private void drawBlendedBitmap(Canvas canvas, PorterDuff.Mode mode) { in drawBlendedBitmap() 99 private void drawBlendedBitmapInverse(Canvas canvas, PorterDuff.Mode mode) { in drawBlendedBitmapInverse()
|
D | Lines2Activity.java | 75 private void drawLines(Canvas canvas, Paint p, float xOffset, float yOffset) { in drawLines() 89 private void drawVerticalLine(Canvas canvas, Paint p, float length, float x, float y) { in drawVerticalLine() 93 private void drawDiagonalLine(Canvas canvas, Paint p, float length, float x, float y) { in drawDiagonalLine() 98 protected void onDraw(Canvas canvas) { in onDraw()
|
D | GradientsActivity.java | 111 protected void onDraw(Canvas canvas) { in onDraw() 136 protected void onDraw(Canvas canvas) { in onDraw() 161 protected void onDraw(Canvas canvas) { in onDraw() 185 protected void onDraw(Canvas canvas) { in onDraw() 215 protected void onDraw(Canvas canvas) { in onDraw()
|
D | XfermodeActivity.java | 54 protected void onDraw(Canvas canvas) { in onDraw() 127 private void drawRects(Canvas canvas, PorterDuff.Mode mode) { in drawRects()
|
D | NewLayersActivity.java | 49 protected void onDraw(Canvas canvas) { in onDraw() 64 private void drawStuff(Canvas canvas, int saveFlags) { in drawStuff()
|
/frameworks/base/libs/hwui/tests/microbench/ |
D | DisplayListCanvasBench.cpp | 55 TestCanvas canvas(100, 100); in BM_DisplayListCanvas_record_empty() local 67 TestCanvas canvas(100, 100); in BM_DisplayListCanvas_record_saverestore() local 83 TestCanvas canvas(100, 100); in BM_DisplayListCanvas_record_translate() local 102 TestCanvas canvas(100, 100); in BM_DisplayListCanvas_record_simpleBitmapView() local
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | CircularBitmapDrawable.java | 93 protected void onDrawBitmap(final Canvas canvas, final Rect src, in onDrawBitmap() 95 onDrawCircularBitmap(getBitmap().bmp, canvas, src, dst, 1f); in onDrawBitmap() local 99 protected void onDrawPlaceholderOrProgress(final Canvas canvas, in onDrawPlaceholderOrProgress() 122 protected void onDrawCircularBitmap(final Bitmap bitmap, final Canvas canvas, in onDrawCircularBitmap() 131 protected void onDrawCircularBitmap(final Bitmap bitmap, final Canvas canvas, in onDrawCircularBitmap()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | UsageGraph.java | 201 protected void onDraw(Canvas canvas) { in onDraw() 206 drawDivider((int) ((canvas.getHeight() - mDividerSize) * mMiddleDividerLoc), canvas, in onDraw() local 208 drawDivider(canvas.getHeight() - mDividerSize, canvas, -1); in onDraw() local 220 private void drawProjection(Canvas canvas) { in drawProjection() 229 private void drawLinePath(Canvas canvas) { in drawLinePath() 246 private void drawFilledPath(Canvas canvas) { in drawFilledPath() 268 private void drawDivider(int y, Canvas canvas, int tintColor) { in drawDivider()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 46 /*package*/ static boolean drawChild(ViewGroup thisVG, Canvas canvas, View child, in drawChild() 64 private static void drawShadow(ViewGroup parent, Canvas canvas, View child, in drawShadow() 92 private static BufferedImage getPathShadow(Outline outline, Canvas canvas, float elevation) { in getPathShadow() 108 private static int transformCanvas(ViewGroup thisVG, Canvas canvas, View child) { in transformCanvas()
|
D | RectShadowPainter.java | 46 public static void paintShadow(Outline viewOutline, float elevation, Canvas canvas) { in paintShadow() 116 private static int modifyCanvas(Canvas canvas, float shadowSize) { in modifyCanvas() 131 private static void sideShadow(Canvas canvas, Paint edgePaint, in sideShadow() 152 private static void drawCorner(Canvas canvas, Paint paint, Path path, float x, float y, in drawCorner()
|
/frameworks/base/core/jni/android/graphics/ |
D | Picture.cpp | 46 SkCanvas* canvas = mRecorder->beginRecording(width, height, NULL, 0); in beginRecording() local 98 void Picture::draw(Canvas* canvas) { in draw() 114 SkCanvas* canvas = reRecorder.beginRecording(mWidth, mHeight, NULL, 0); in makePartialCopy() local
|
/frameworks/base/core/jni/ |
D | android_view_DisplayListCanvas.cpp | 96 Canvas* canvas = reinterpret_cast<Canvas*>(canvasPtr); in android_view_DisplayListCanvas_insertReorderBarrier() local 106 Canvas* canvas = reinterpret_cast<Canvas*>(canvasPtr); in android_view_DisplayListCanvas_callDrawGLFunction() local 140 Canvas* canvas = reinterpret_cast<Canvas*>(canvasPtr); in android_view_DisplayListCanvas_drawRoundRectProps() local 153 Canvas* canvas = reinterpret_cast<Canvas*>(canvasPtr); in android_view_DisplayListCanvas_drawCircleProps() local 167 Canvas* canvas = reinterpret_cast<Canvas*>(canvasPtr); in android_view_DisplayListCanvas_finishRecording() local 178 Canvas* canvas = reinterpret_cast<Canvas*>(canvasPtr); in android_view_DisplayListCanvas_resetDisplayListCanvas() local 185 Canvas* canvas = reinterpret_cast<Canvas*>(canvasPtr); in android_view_DisplayListCanvas_drawRenderNode() local 196 Canvas* canvas = reinterpret_cast<Canvas*>(canvasPtr); in android_view_DisplayListCanvas_drawLayer() local
|