Home
last modified time | relevance | path

Searched refs:drawColor (Results 1 – 25 of 119) sorted by relevance

12345

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DMediaArtworkProcessorTest.kt64 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/
DRenderNodeTests.cpp43 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()
DSkiaPipelineTests.cpp47 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/
DPartialDamageAnimation.cpp36 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent()
44 canvas.drawColor(color, SkBlendMode::kSrcOver); in createContent()
59 canvas.drawColor(color, SkBlendMode::kSrcOver); in doFrame()
DSaveLayerAnimation.cpp32 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()
DClippingAnimation.cpp31 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()
DJankyScene.cpp35 canvas.drawColor(0xFF0000FF, SkBlendMode::kSrcOver); in createContent()
37 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); // background in createContent()
DHwLayerAnimation.cpp33 canvas.drawColor(0xFF0000FF, SkBlendMode::kSrcOver); in createContent()
35 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); // background in createContent()
DHwLayerSizeAnimation.cpp34 canvas.drawColor(0xFF0000FF, SkBlendMode::kSrcOver); in createContent()
36 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); // background in createContent()
DRectGridAnimation.cpp31 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent()
35 canvas.drawColor(0xFFFF00FF, SkBlendMode::kSrcOver); in createContent()
DShadowGrid2Animation.cpp31 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent()
61 canvas.drawColor(0xFFEEEEEE, SkBlendMode::kSrcOver); in createCard()
DShadowGridAnimation.cpp31 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent()
61 canvas.drawColor(0xFFEEEEEE, SkBlendMode::kSrcOver); in createCard()
DSaveLayer2Animation.cpp36 canvas.drawColor(SkColorSetARGB(255, 255, 0, 0), SkBlendMode::kSrcOver); in createContent()
51 canvas.drawColor(SkColorSetARGB(255, 255, 255, 0), SkBlendMode::kSrcOver); in createContent()
DRoundRectClippingAnimation.cpp29 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent()
38 canvas.drawColor(color, SkBlendMode::kSrcOver); in createContent()
DRecentsAnimation.cpp38 renderer.drawColor(Color::White, SkBlendMode::kSrcOver); in createContent()
77 canvas.drawColor(Color::Grey_200, SkBlendMode::kSrcOver); in createCard()
DShapeAnimation.cpp82 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/
DStrictModeFlash.java91 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/
DWallpaperColorsTest.java58 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/
DMediaNotificationProcessorTest.java63 canvas.drawColor(Color.WHITE); in findBackgroundSwatch_white()
75 canvas.drawColor(Color.RED); in findBackgroundSwatch_red()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DSaveLayerInterleaveActivity.java57 canvas.drawColor(Color.RED); in onCreate()
73 canvas.drawColor(Color.YELLOW); in onCreate()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMyLittleTextureView.java64 canvas.drawColor(Color.BLUE); in onCreate()
71 canvas.drawColor(Color.WHITE); in onCreate()
DCustomRenderer.java66 canvas.drawColor(Color.WHITE); in setupRoot()
89 canvas.drawColor(Color.RED); in setupChild()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DSurfaceAndTextureViews.java114 canvas.drawColor(mColor); in onDraw()
141 canvas.drawColor(mColor); in surfaceChanged()
181 canvas.drawColor(mColor); in onSurfaceTextureSizeChanged()
/frameworks/base/graphics/java/android/graphics/
DCanvas.java1710 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/
DRenderNodeBench.cpp42 canvas->drawColor(0x00000000, SkBlendMode::kSrcOver); in BM_RenderNode_recordSimple()

12345