Home
last modified time | relevance | path

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

123456

/frameworks/base/libs/hwui/tests/common/scenes/
DPartialDamageAnimation.cpp38 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent()
46 canvas.drawColor(color, SkBlendMode::kSrcOver); in createContent()
61 canvas.drawColor(color, SkBlendMode::kSrcOver); in doFrame()
DSaveLayerAnimation.cpp34 canvas.drawColor(Color::White, SkBlendMode::kSrcOver); // background in createContent()
39 canvas.drawColor(Color::Green_700, SkBlendMode::kSrcOver); in createContent()
42 canvas.drawColor(Color::Blue_500, SkBlendMode::kSrcOver); in createContent()
DClippingAnimation.cpp33 canvas.drawColor(Color::White, SkBlendMode::kSrcOver); in createContent()
42 canvas.drawColor(Color::Blue_500, SkBlendMode::kSrcOver); in createContent()
51 canvas.drawColor(Color::Red_500, SkBlendMode::kSrcOver); in createContent()
DJankyScene.cpp37 canvas.drawColor(0xFF0000FF, SkBlendMode::kSrcOver); in createContent()
39 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); // background in createContent()
DHwLayerAnimation.cpp35 canvas.drawColor(0xFF0000FF, SkBlendMode::kSrcOver); in createContent()
37 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); // background in createContent()
DHwLayerSizeAnimation.cpp36 canvas.drawColor(0xFF0000FF, SkBlendMode::kSrcOver); in createContent()
38 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); // background in createContent()
DRectGridAnimation.cpp33 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent()
37 canvas.drawColor(0xFFFF00FF, SkBlendMode::kSrcOver); in createContent()
DShadowGrid2Animation.cpp33 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent()
63 canvas.drawColor(0xFFEEEEEE, SkBlendMode::kSrcOver); in createCard()
DShadowGridAnimation.cpp33 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent()
63 canvas.drawColor(0xFFEEEEEE, SkBlendMode::kSrcOver); in createCard()
DSaveLayer2Animation.cpp37 canvas.drawColor(SkColorSetARGB(255, 255, 0, 0), SkBlendMode::kSrcOver); in createContent()
52 canvas.drawColor(SkColorSetARGB(255, 255, 255, 0), SkBlendMode::kSrcOver); in createContent()
DRoundRectClippingAnimation.cpp33 canvas.drawColor(0xFFFFFFFF, SkBlendMode::kSrcOver); in createContent()
43 canvas.drawColor(color, SkBlendMode::kSrcOver); in createContent()
DRecentsAnimation.cpp43 renderer.drawColor(Color::White, SkBlendMode::kSrcOver); in createContent()
82 canvas.drawColor(Color::Grey_200, SkBlendMode::kSrcOver); in createCard()
DShapeAnimation.cpp84 canvas.drawColor(Color::White, SkBlendMode::kSrcOver); in createContent()
95 canvas.drawColor(Color::Grey_500, SkBlendMode::kSrcOver); in createContent()
/frameworks/base/libs/hwui/tests/unit/
DSkiaPipelineTests.cpp48 redCanvas.drawColor(SK_ColorRED, SkBlendMode::kSrcOver); in RENDERTHREAD_TEST()
58 surface->getCanvas()->drawColor(SK_ColorBLUE, SkBlendMode::kSrcOver); in RENDERTHREAD_TEST()
80 surface->getCanvas()->drawColor(SK_ColorBLUE, SkBlendMode::kSrcOver); in RENDERTHREAD_TEST()
95 redCanvas.drawColor(SK_ColorRED, SkBlendMode::kSrcOver); in RENDERTHREAD_TEST()
104 surface->getCanvas()->drawColor(SK_ColorBLUE, SkBlendMode::kSrcOver); in RENDERTHREAD_TEST()
117 redCanvas.drawColor(SK_ColorRED, SkBlendMode::kSrcOver); in RENDERTHREAD_TEST()
120 surfaceLayer1->getCanvas()->drawColor(SK_ColorWHITE, SkBlendMode::kSrcOver); in RENDERTHREAD_TEST()
128 blueCanvas.drawColor(SK_ColorBLUE, SkBlendMode::kSrcOver); in RENDERTHREAD_TEST()
131 surfaceLayer2->getCanvas()->drawColor(SK_ColorWHITE, SkBlendMode::kSrcOver); in RENDERTHREAD_TEST()
162 canvas.drawColor(SK_ColorWHITE, SkBlendMode::kSrcOver); in RENDERTHREAD_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()
284 canvas.drawColor(Color::Red_500, SkBlendMode::kSrcOver); in RENDERTHREAD_TEST()
/frameworks/base/services/core/java/com/android/server/wm/
DStrictModeFlash.java92 c.drawColor(Color.RED); in drawIfNeeded()
97 c.drawColor(Color.RED); in drawIfNeeded()
102 c.drawColor(Color.RED); in drawIfNeeded()
107 c.drawColor(Color.RED); in drawIfNeeded()
/frameworks/base/tests/Internal/src/android/app/
DWallpaperColorsTest.java58 canvas.drawColor(Color.WHITE); in whiteSurfaceColorHintsTest()
83 xsmall_canvas.drawColor(Color.WHITE); in xSmallWhiteSurfaceColorHintsTest()
101 canvas.drawColor(Color.BLACK); in blackSurfaceColorHintsTest()
118 canvas.drawColor(Color.WHITE); in bitmapHintsTest()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java126 public void drawColor(int color) { in drawColor() method in NopCanvas
130 public void drawColor(int color, Mode mode) { in drawColor() method in NopCanvas
318 public void drawColor(long color) { in drawColor() method in NopCanvas
322 public void drawColor(int color, BlendMode mode) { in drawColor() method in NopCanvas
326 public void drawColor(long color, BlendMode mode) { in drawColor() method in NopCanvas
/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/libs/systemui/weathereffects/graphics/tests/src/com/google/android/wallpaper/weathereffects/graphics/
DFrameBufferTest.kt42 buffer.beginDrawing().drawColor(expectedColor) in onImageReady_invokesCallback()
72 buffer.beginDrawing().drawColor(Color.RED) in close_onImageReady_doesNotInvokeCallback()
/frameworks/base/tests/graphics/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()
DFrontBufferedLayer.kt53 canvas.drawColor(Color.LTGRAY) in surfaceChanged()
78 drawColor(Color.WHITE, BlendMode.SRC) in clearOverlay()
/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/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyView.java100 canvas.drawColor(BACKGROUND_COLOR); in drawTouch()
111 canvas.drawColor(BACKGROUND_COLOR); in drawTouch()
179 canvas.drawColor(BACKGROUND_COLOR); in drawBall()

123456