Home
last modified time | relevance | path

Searched refs:bgPaint (Results 1 – 11 of 11) sorted by relevance

/external/skia/gm/
Dxfermodes3.cpp40 SkPaint bgPaint; in onDrawBackground() local
41 bgPaint.setColor(sk_tool_utils::color_to_565(0xFF70D0E0)); in onDrawBackground()
42 canvas->drawPaint(bgPaint); in onDrawBackground()
155 SkPaint bgPaint; in drawMode() local
156 bgPaint.setAntiAlias(false); in drawMode()
157 bgPaint.setShader(fBGShader); in drawMode()
158 modeCanvas->drawRect(r, bgPaint); in drawMode()
Dmodecolorfilters.cpp80 SkPaint bgPaint; in onDraw() local
81 bgPaint.setShader(fBmpShader); in onDraw()
82 bgPaint.setBlendMode(SkBlendMode::kSrc); in onDraw()
139 canvas->drawRect(rect, bgPaint); in onDraw()
Dpixelsnap.cpp37 SkPaint bgPaint; in onDraw() local
38 bgPaint.setShader( in onDraw()
42 canvas->drawPaint(bgPaint); in onDraw()
Dconvexpolyclip.cpp145 SkPaint bgPaint; in onDraw() local
146 bgPaint.setAlpha(0x15); in onDraw()
148 canvas->drawBitmapRect(fBmp, SkRect::MakeIWH(size.fWidth, size.fHeight), &bgPaint); in onDraw()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYLegendWidget.java99 Paint bgPaint = plot.getGraphWidget().getGridBackgroundPaint(); in beginDrawingCell() local
100 if(drawIconBackgroundEnabled && bgPaint != null) { in beginDrawingCell()
101 canvas.drawRect(iconRect, bgPaint); in beginDrawingCell()
107 Paint bgPaint = plot.getGraphWidget().getGridBackgroundPaint(); in finishDrawingCell() local
108 if(drawIconBorderEnabled && bgPaint != null) { in finishDrawingCell()
109 iconBorderPaint.setColor(bgPaint.getColor()); in finishDrawingCell()
/external/skia/resources/
Dslides.lua293 local bgPaint = nil
296 if not bgPaint then
297 bgPaint = Sk.newPaint()
300 bgPaint:setShader(grad)
301 bgPaint:setDither(true)
304 canvas:drawPaint(bgPaint)
/external/skia/bench/
DTileBench.cpp99 SkPaint bgPaint; in onDraw() local
100 bgPaint.setColor(SK_ColorWHITE); in onDraw()
104 canvas->drawRect(r, bgPaint); in onDraw()
/external/skia/tools/viewer/sk_app/
DCommandSet.cpp104 SkPaint bgPaint; in drawHelp() local
105 bgPaint.setColor(0xC0000000); in drawHelp()
106 canvas->drawPaint(bgPaint); in drawHelp()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DXYRegionExampleActivity.java215 Paint bgPaint = new Paint(); in makePlotPretty() local
216 bgPaint.setColor(Color.BLACK); in makePlotPretty()
217 bgPaint.setStyle(Paint.Style.FILL); in makePlotPretty()
218 bgPaint.setAlpha(40); in makePlotPretty()
220 plot.getLegendWidget().setBackgroundPaint(bgPaint); in makePlotPretty()
/external/universal-tween-engine/java/applets/src/aurelienribon/tweenengine/applets/
DTweenApplet.java121 private TexturePaint bgPaint; field in TweenApplet.MyCanvas
133bgPaint = new TexturePaint(bgImage, new Rectangle(0, 0, bgImage.getWidth(), bgImage.getHeight())); in MyCanvas()
148 if (bgPaint != null) { in paintComponent()
149 gg.setPaint(bgPaint); in paintComponent()
DTimelineApplet.java188 private TexturePaint bgPaint; field in TimelineApplet.MyCanvas
203bgPaint = new TexturePaint(bgImage, new Rectangle(0, 0, bgImage.getWidth(), bgImage.getHeight())); in MyCanvas()
220 if (bgPaint != null) { in paintComponent()
221 gg.setPaint(bgPaint); in paintComponent()