/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/unit/ |
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() 285 canvas.drawColor(Color::Red_500, SkBlendMode::kSrcOver); in RENDERTHREAD_TEST()
|
D | SkiaPipelineTests.cpp | 47 redCanvas.drawColor(SK_ColorRED, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 57 surface->getCanvas()->drawColor(SK_ColorBLUE, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 79 surface->getCanvas()->drawColor(SK_ColorBLUE, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 94 redCanvas.drawColor(SK_ColorRED, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 103 surface->getCanvas()->drawColor(SK_ColorBLUE, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 116 redCanvas.drawColor(SK_ColorRED, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 119 surfaceLayer1->getCanvas()->drawColor(SK_ColorWHITE, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 127 blueCanvas.drawColor(SK_ColorBLUE, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 130 surfaceLayer2->getCanvas()->drawColor(SK_ColorWHITE, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() 161 canvas.drawColor(SK_ColorWHITE, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST() [all …]
|
/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 | 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 | 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 | JankyScene.cpp | 35 canvas.drawColor(0xFF0000FF, SkBlendMode::kSrcOver); in createContent() 37 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 | HwLayerSizeAnimation.cpp | 34 canvas.drawColor(0xFF0000FF, SkBlendMode::kSrcOver); in createContent() 36 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 | ShadowGrid2Animation.cpp | 31 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent() 61 canvas.drawColor(0xFFEEEEEE, SkBlendMode::kSrcOver); in createCard()
|
D | ShadowGridAnimation.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() 51 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()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | StrictModeFlash.java | 91 c.drawColor(Color.RED); in drawIfNeeded() 96 c.drawColor(Color.RED); in drawIfNeeded() 101 c.drawColor(Color.RED); in drawIfNeeded() 106 c.drawColor(Color.RED); in drawIfNeeded()
|
/frameworks/base/tests/Internal/src/android/app/ |
D | WallpaperColorsTest.java | 58 canvas.drawColor(Color.WHITE); in colorHintsTest() 68 canvas.drawColor(Color.BLACK); in colorHintsTest() 78 canvas.drawColor(Color.WHITE); in colorHintsTest()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | MediaNotificationProcessorTest.java | 63 canvas.drawColor(Color.WHITE); in findBackgroundSwatch_white() 75 canvas.drawColor(Color.RED); in findBackgroundSwatch_red()
|
/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/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/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/graphics/java/android/graphics/ |
D | Canvas.java | 1710 public void drawColor(@ColorInt int color) { 1711 super.drawColor(color); 1723 public void drawColor(@ColorLong long color) { 1724 super.drawColor(color, BlendMode.SRC_OVER); 1734 public void drawColor(@ColorInt int color, @NonNull PorterDuff.Mode mode) { 1735 super.drawColor(color, mode); 1745 public void drawColor(@ColorInt int color, @NonNull BlendMode mode) { 1746 super.drawColor(color, mode); 1759 public void drawColor(@ColorLong long color, @NonNull BlendMode mode) { 1760 super.drawColor(color, mode);
|
/frameworks/base/libs/hwui/tests/microbench/ |
D | RenderNodeBench.cpp | 42 canvas->drawColor(0x00000000, SkBlendMode::kSrcOver); in BM_RenderNode_recordSimple()
|