Home
last modified time | relevance | path

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

12345

/frameworks/base/libs/hwui/tests/unit/
DSkiaPipelineTests.cpp45 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 …]
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()
281 canvas.drawColor(Color::Red_500, SkBlendMode::kSrcOver); in RENDERTHREAD_TEST()
/frameworks/base/services/core/java/com/android/server/wm/
DStrictModeFlash.java80 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/
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/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()
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()
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()
DJankyScene.cpp35 canvas.drawColor(0xFF0000FF, SkBlendMode::kSrcOver); in createContent()
37 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()
DHwLayerAnimation.cpp33 canvas.drawColor(0xFF0000FF, SkBlendMode::kSrcOver); in createContent()
35 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()
DShadowGridAnimation.cpp31 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent()
61 canvas.drawColor(0xFFEEEEEE, SkBlendMode::kSrcOver); in createCard()
DShadowGrid2Animation.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()
52 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()
DTvApp.cpp118 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/
DWallpaperColorsTest.java57 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/
DSaveLayerInterleaveActivity.java57 canvas.drawColor(Color.RED); in onCreate()
73 canvas.drawColor(Color.YELLOW); in onCreate()
/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/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/graphics/java/android/graphics/
DCanvas.java1693 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/
DTouchLatencyActivity.java103 canvas.drawColor(BACKGROUND_COLOR); in drawTouch()
114 canvas.drawColor(BACKGROUND_COLOR); in drawTouch()
182 canvas.drawColor(BACKGROUND_COLOR); in drawBall()

12345