/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() 101 auto dl = TestUtils::createDisplayList<RecordingCanvas>(100, 200, [](RecordingCanvas& canvas) { in TEST() 118 auto dl = TestUtils::createDisplayList<RecordingCanvas>(100, 200, [](RecordingCanvas& canvas) { in TEST() 131 auto dl = TestUtils::createDisplayList<RecordingCanvas>(100, 200, [](RecordingCanvas& canvas) { in TEST() 138 dl = TestUtils::createDisplayList<RecordingCanvas>(100, 200, [](RecordingCanvas& canvas) { in TEST() 147 auto dl = TestUtils::createDisplayList<RecordingCanvas>(200, 200, [](RecordingCanvas& canvas) { in TEST() 168 auto dl = TestUtils::createDisplayList<RecordingCanvas>(200, 200, [](RecordingCanvas& canvas) { in TEST() [all …]
|
D | RenderNodeTests.cpp | 29 [](RenderProperties& props, TestCanvas& canvas) { in TEST() 33 [&child](RenderProperties& props, TestCanvas& canvas) { in TEST() 42 TestUtils::recordNode(*parent, [](TestCanvas& canvas) { in TEST() 71 [&](RenderProperties& props, TestCanvas& canvas) { in TEST() 78 TestUtils::recordNode(*node, [&](TestCanvas& canvas) { in TEST() 87 TestUtils::recordNode(*node, [](TestCanvas& canvas) {}); in 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 | 34 final Canvas canvas = new Canvas(bitmap); in testDraw() local 52 final Canvas canvas = new Canvas(bitmap); in testDrawTwice() local 72 final Canvas canvas = new Canvas(); in testScaleToCanvasSquare() local 86 final Canvas canvas = new Canvas(); in testScaleToCanvasTall() local 101 final Canvas canvas = new Canvas(); in testScaleToCanvasWide() 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 | SaveLayerAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 35 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
|
D | ClippingAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 34 [](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 | OvalAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 34 [](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
|
/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/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/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/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/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | GlifPatternDrawable.java | 70 public void draw(Canvas canvas) { in draw() 80 private void renderOnCanvas(Canvas canvas) { in renderOnCanvas() 161 public void scaleCanvasToBounds(Canvas canvas) { in scaleCanvasToBounds() 181 private void drawPath(Canvas canvas, Path path, float[] hsv) { in drawPath()
|
/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
|