/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaPipelineTests.cpp | 45 redCanvas.drawColor(SK_ColorRED, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 55 surface->getCanvas()->drawColor(SK_ColorBLUE, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 65 redCanvas.drawColor(SK_ColorRED, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 86 surface->getCanvas()->drawColor(SK_ColorBLUE, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 110 surface->getCanvas()->drawColor(SK_ColorBLUE, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 125 redCanvas.drawColor(SK_ColorRED, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 134 surface->getCanvas()->drawColor(SK_ColorBLUE, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 147 redCanvas.drawColor(SK_ColorRED, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 150 surfaceLayer1->getCanvas()->drawColor(SK_ColorWHITE, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 158 blueCanvas.drawColor(SK_ColorBLUE, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() [all …]
|
D | RenderNodeTests.cpp | 43 canvas.drawColor(Color::Red_500, SkBlendMode::kSrcOver); in TEST() 56 canvas.drawColor(Color::Amber_500, SkBlendMode::kSrcOver); in TEST() 70 canvas.drawColor(Color::Red_500, SkBlendMode::kSrcOver); in TEST() 90 canvas.drawColor(Color::Amber_500, SkBlendMode::kSrcOver); in TEST() 106 canvas.drawColor(Color::Amber_500, SkBlendMode::kSrcOver); in TEST() 132 canvas.drawColor(Color::Red_500, SkBlendMode::kSrcOver); in TEST() 169 canvas.drawColor(Color::Amber_500, SkBlendMode::kSrcOver); in TEST() 182 canvas.drawColor(Color::Amber_500, SkBlendMode::kSrcOver); in TEST() 195 canvas.drawColor(Color::Red_500, SkBlendMode::kSrcOver); in TEST() 281 canvas.drawColor(Color::Red_500, SkBlendMode::kSrcOver); in RENDERTHREAD_TEST()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | StrictModeFlash.java | 80 c.drawColor(Color.RED); in drawIfNeeded() 85 c.drawColor(Color.RED); in drawIfNeeded() 90 c.drawColor(Color.RED); in drawIfNeeded() 95 c.drawColor(Color.RED); in drawIfNeeded()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | MediaArtworkProcessorTest.kt | 64 Canvas(artwork).drawColor(Color.BLUE) in testProcessArtwork() 77 Canvas(artwork).drawColor(Color.BLUE) in testCache() 90 Canvas(artwork).drawColor(Color.BLUE) in testConfig() 101 Canvas(artwork).drawColor(Color.BLUE) in testRecycledArtwork()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | PartialDamageAnimation.cpp | 36 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent() 44 canvas.drawColor(color, SkBlendMode::kSrcOver); in createContent() 59 canvas.drawColor(color, SkBlendMode::kSrcOver); in doFrame()
|
D | ClippingAnimation.cpp | 31 canvas.drawColor(Color::White, SkBlendMode::kSrcOver); in createContent() 40 canvas.drawColor(Color::Blue_500, SkBlendMode::kSrcOver); in createContent() 49 canvas.drawColor(Color::Red_500, SkBlendMode::kSrcOver); in createContent()
|
D | SaveLayerAnimation.cpp | 32 canvas.drawColor(Color::White, SkBlendMode::kSrcOver); // background in createContent() 37 canvas.drawColor(Color::Green_700, SkBlendMode::kSrcOver); in createContent() 40 canvas.drawColor(Color::Blue_500, SkBlendMode::kSrcOver); in createContent()
|
D | JankyScene.cpp | 35 canvas.drawColor(0xFF0000FF, SkBlendMode::kSrcOver); in createContent() 37 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); // background in createContent()
|
D | HwLayerSizeAnimation.cpp | 34 canvas.drawColor(0xFF0000FF, SkBlendMode::kSrcOver); in createContent() 36 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); // background in createContent()
|
D | HwLayerAnimation.cpp | 33 canvas.drawColor(0xFF0000FF, SkBlendMode::kSrcOver); in createContent() 35 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); // background in createContent()
|
D | RectGridAnimation.cpp | 31 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent() 35 canvas.drawColor(0xFFFF00FF, SkBlendMode::kSrcOver); in createContent()
|
D | ShadowGridAnimation.cpp | 31 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent() 61 canvas.drawColor(0xFFEEEEEE, SkBlendMode::kSrcOver); in createCard()
|
D | ShadowGrid2Animation.cpp | 31 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent() 61 canvas.drawColor(0xFFEEEEEE, SkBlendMode::kSrcOver); in createCard()
|
D | SaveLayer2Animation.cpp | 36 canvas.drawColor(SkColorSetARGB(255, 255, 0, 0), SkBlendMode::kSrcOver); in createContent() 52 canvas.drawColor(SkColorSetARGB(255, 255, 255, 0), SkBlendMode::kSrcOver); in createContent()
|
D | RoundRectClippingAnimation.cpp | 29 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent() 38 canvas.drawColor(color, SkBlendMode::kSrcOver); in createContent()
|
D | RecentsAnimation.cpp | 38 renderer.drawColor(Color::White, SkBlendMode::kSrcOver); in createContent() 77 canvas.drawColor(Color::Grey_200, SkBlendMode::kSrcOver); in createCard()
|
D | ShapeAnimation.cpp | 82 canvas.drawColor(Color::White, SkBlendMode::kSrcOver); in createContent() 93 canvas.drawColor(Color::Grey_500, SkBlendMode::kSrcOver); in createContent()
|
D | TvApp.cpp | 118 canvas.drawColor(0xFFFFEEEE, SkBlendMode::kSrcOver); in createInfoNode() 136 canvas.drawColor(color, SkBlendMode::kSrcOver); in createColorNode() 212 canvas->drawColor((curFrame % 150) << 24, SkBlendMode::kSrcOver); in updateCard()
|
/frameworks/base/tests/Internal/src/android/app/ |
D | WallpaperColorsTest.java | 57 canvas.drawColor(Color.WHITE); in colorHintsTest() 67 canvas.drawColor(Color.BLACK); in colorHintsTest() 77 canvas.drawColor(Color.WHITE); in colorHintsTest()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | SaveLayerInterleaveActivity.java | 57 canvas.drawColor(Color.RED); in onCreate() 73 canvas.drawColor(Color.YELLOW); in onCreate()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | SurfaceAndTextureViews.java | 114 canvas.drawColor(mColor); in onDraw() 141 canvas.drawColor(mColor); in surfaceChanged() 181 canvas.drawColor(mColor); in onSurfaceTextureSizeChanged()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MyLittleTextureView.java | 64 canvas.drawColor(Color.BLUE); in onCreate() 71 canvas.drawColor(Color.WHITE); in onCreate()
|
D | CustomRenderer.java | 66 canvas.drawColor(Color.WHITE); in setupRoot() 89 canvas.drawColor(Color.RED); in setupChild()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 1693 public void drawColor(@ColorInt int color) { in drawColor() method in Canvas 1694 super.drawColor(color); in drawColor() 1706 public void drawColor(@ColorLong long color) { in drawColor() method in Canvas 1707 super.drawColor(color, BlendMode.SRC_OVER); in drawColor() 1717 public void drawColor(@ColorInt int color, @NonNull PorterDuff.Mode mode) { in drawColor() method in Canvas 1718 super.drawColor(color, mode); in drawColor() 1728 public void drawColor(@ColorInt int color, @NonNull BlendMode mode) { in drawColor() method in Canvas 1729 super.drawColor(color, mode); in drawColor() 1742 public void drawColor(@ColorLong long color, @NonNull BlendMode mode) { in drawColor() method in Canvas 1743 super.drawColor(color, mode); in drawColor()
|
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
D | TouchLatencyActivity.java | 103 canvas.drawColor(BACKGROUND_COLOR); in drawTouch() 114 canvas.drawColor(BACKGROUND_COLOR); in drawTouch() 182 canvas.drawColor(BACKGROUND_COLOR); in drawBall()
|