Home
last modified time | relevance | path

Searched defs:paint (Results 1 – 25 of 572) sorted by relevance

12345678910>>...23

/external/skia/gm/
Dconcavepaths.cpp16 void test_concave(SkCanvas* canvas, const SkPaint& paint) { in test_concave()
27 void test_reverse_concave(SkCanvas* canvas, const SkPaint& paint) { in test_reverse_concave()
40 void test_bowtie(SkCanvas* canvas, const SkPaint& paint) { in test_bowtie()
53 void test_fake_bowtie(SkCanvas* canvas, const SkPaint& paint) { in test_fake_bowtie()
68 void test_fish(SkCanvas* canvas, const SkPaint& paint) { in test_fish()
83 void test_collinear_edges(SkCanvas* canvas, const SkPaint& paint) { in test_collinear_edges()
96 void test_hole(SkCanvas* canvas, const SkPaint& paint) { in test_hole()
113 void test_star(SkCanvas* canvas, const SkPaint& paint) { in test_star()
128 void test_stairstep(SkCanvas* canvas, const SkPaint& paint) { in test_stairstep()
142 void test_stairstep2(SkCanvas* canvas, const SkPaint& paint) { in test_stairstep2()
[all …]
Dpatheffects.cpp18 static void compose_pe(SkPaint* paint) { in compose_pe()
31 static void hair_pe(SkPaint* paint) { in hair_pe()
35 static void hair2_pe(SkPaint* paint) { in hair2_pe()
40 static void stroke_pe(SkPaint* paint) { in stroke_pe()
45 static void dash_pe(SkPaint* paint) { in dash_pe()
63 static void one_d_pe(SkPaint* paint) { in one_d_pe()
80 static void fill_pe(SkPaint* paint) { in fill_pe()
85 static void discrete_pe(SkPaint* paint) { in discrete_pe()
99 static void tile_pe(SkPaint* paint) { in tile_pe()
118 SkPaint paint; in onDraw() local
Dsrcmode.cpp22 static void identity_paintproc(SkPaint* paint) { in identity_paintproc()
26 static void gradient_paintproc(SkPaint* paint) { in gradient_paintproc()
37 static void draw_hair(SkCanvas* canvas, const SkPaint& paint) { in draw_hair()
43 static void draw_thick(SkCanvas* canvas, const SkPaint& paint) { in draw_thick()
49 static void draw_rect(SkCanvas* canvas, const SkPaint& paint) { in draw_rect()
53 static void draw_oval(SkCanvas* canvas, const SkPaint& paint) { in draw_oval()
57 static void draw_text(SkCanvas* canvas, const SkPaint& paint) { in draw_text()
82 SkPaint paint; in drawContent() local
Dimagefiltersbase.cpp109 SkPaint paint; in draw_paint() local
119 SkPaint paint; in draw_line() local
127 SkPaint paint; in draw_rect() local
136 SkPaint paint; in draw_path() local
144 SkPaint paint; in draw_text() local
155 SkPaint paint; in draw_bitmap() local
171 SkPaint paint; in draw_sprite() local
204 SkPaint paint; in draw_frame() local
285 SkPaint paint(origPaint); in drawWaterfall() local
299 SkPaint paint; in onDraw() local
[all …]
Dtechtalk1.cpp46 static void setFade(SkPaint* paint, bool showGL) { in setFade()
50 static void setGLFrame(SkPaint* paint) { in setGLFrame()
58 SkPaint paint; in show_mesh() local
66 const SkPaint& paint) { in drawLine()
72 SkPaint paint; in show_mesh() local
83 SkPaint paint; in show_glframe() local
111 SkPaint paint; in show_fan() local
128 SkPaint paint; in draw_line() local
147 SkPaint paint; in draw_rect() local
179 SkPaint paint; in draw_oval() local
[all …]
Dtextbloblooper.cpp29 SkPaint paint(origPaint); in add_to_text_blob() local
63 static void mask_filter(SkPaint* paint) { in mask_filter()
79 static void path_effect(SkPaint* paint) { in path_effect()
97 static void color_filter(SkPaint* paint) { in color_filter()
104 static void kitchen_sink(SkPaint* paint) { in kitchen_sink()
124 SkPaint* paint = looperBuilder.addLayer(info); in setupLooper() local
145 SkPaint paint; in onOnceBeforeDraw() local
230 SkPaint paint; in onDraw() local
/external/skia/src/utils/
DSkPaintFilterCanvas.cpp15 AutoPaintFilter(const SkPaintFilterCanvas* canvas, Type type, const SkPaint* paint) { in AutoPaintFilter()
21 AutoPaintFilter(const SkPaintFilterCanvas* canvas, Type type, const SkPaint& paint) { in AutoPaintFilter()
25 const SkPaint* paint() const { return fLazyPaint.getMaybeNull(); } in paint() function in SkPaintFilterCanvas::AutoPaintFilter
33 void SkPaintFilterCanvas::onDrawPaint(const SkPaint& paint) { in onDrawPaint()
39 const SkPaint& paint) { in onDrawPoints()
44 void SkPaintFilterCanvas::onDrawRect(const SkRect& rect, const SkPaint& paint) { in onDrawRect()
49 void SkPaintFilterCanvas::onDrawRRect(const SkRRect& rrect, const SkPaint& paint) { in onDrawRRect()
55 const SkPaint& paint) { in onDrawDRRect()
60 void SkPaintFilterCanvas::onDrawOval(const SkRect& rect, const SkPaint& paint) { in onDrawOval()
65 void SkPaintFilterCanvas::onDrawPath(const SkPath& path, const SkPaint& paint) { in onDrawPath()
[all …]
DSkLuaCanvas.cpp89 SkCanvas::SaveLayerStrategy SkLuaCanvas::willSaveLayer(const SkRect* bounds, const SkPaint* paint, in willSaveLayer()
165 void SkLuaCanvas::onDrawPaint(const SkPaint& paint) { in onDrawPaint()
171 const SkPoint pts[], const SkPaint& paint) { in onDrawPoints()
177 void SkLuaCanvas::onDrawOval(const SkRect& rect, const SkPaint& paint) { in onDrawOval()
183 void SkLuaCanvas::onDrawRect(const SkRect& rect, const SkPaint& paint) { in onDrawRect()
189 void SkLuaCanvas::onDrawRRect(const SkRRect& rrect, const SkPaint& paint) { in onDrawRRect()
196 const SkPaint& paint) { in onDrawDRRect()
203 void SkLuaCanvas::onDrawPath(const SkPath& path, const SkPaint& paint) { in onDrawPath()
210 const SkPaint* paint) { in onDrawBitmap()
218 const SkPaint* paint, DrawBitmapRectFlags flags) { in onDrawBitmapRect()
[all …]
DSkNWayCanvas.cpp69 SkCanvas::SaveLayerStrategy SkNWayCanvas::willSaveLayer(const SkRect* bounds, const SkPaint* paint, in willSaveLayer()
137 void SkNWayCanvas::onDrawPaint(const SkPaint& paint) { in onDrawPaint()
145 const SkPaint& paint) { in onDrawPoints()
152 void SkNWayCanvas::onDrawRect(const SkRect& rect, const SkPaint& paint) { in onDrawRect()
159 void SkNWayCanvas::onDrawOval(const SkRect& rect, const SkPaint& paint) { in onDrawOval()
166 void SkNWayCanvas::onDrawRRect(const SkRRect& rrect, const SkPaint& paint) { in onDrawRRect()
174 const SkPaint& paint) { in onDrawDRRect()
181 void SkNWayCanvas::onDrawPath(const SkPath& path, const SkPaint& paint) { in onDrawPath()
189 const SkPaint* paint) { in onDrawBitmap()
197 const SkPaint* paint, DrawBitmapRectFlags flags) { in onDrawBitmapRect()
[all …]
DSkDumpCanvas.cpp180 void SkDumpCanvas::dump(Verb verb, const SkPaint* paint, in dump()
202 SkCanvas::SaveLayerStrategy SkDumpCanvas::willSaveLayer(const SkRect* bounds, const SkPaint* paint, in willSaveLayer()
297 void SkDumpCanvas::onDrawPaint(const SkPaint& paint) { in onDrawPaint()
302 const SkPoint pts[], const SkPaint& paint) { in onDrawPoints()
307 void SkDumpCanvas::onDrawOval(const SkRect& rect, const SkPaint& paint) { in onDrawOval()
313 void SkDumpCanvas::onDrawRect(const SkRect& rect, const SkPaint& paint) { in onDrawRect()
319 void SkDumpCanvas::onDrawRRect(const SkRRect& rrect, const SkPaint& paint) { in onDrawRRect()
326 const SkPaint& paint) { in onDrawDRRect()
334 void SkDumpCanvas::onDrawPath(const SkPath& path, const SkPaint& paint) { in onDrawPath()
341 const SkPaint* paint) { in onDrawBitmap()
[all …]
DSkDeferredCanvas.cpp50 const SkPaint* paint, size_t bitmapSizeThreshold) { in should_draw_immediately()
195 void drawPaint(const SkDraw&, const SkPaint& paint) override in drawPaint()
199 const SkPaint& paint) override in drawPoints()
202 const SkPaint& paint) override in drawRect()
207 const SkPaint& paint) override in drawRRect()
210 const SkPaint& paint, in drawPath()
215 const SkMatrix& matrix, const SkPaint& paint) override in drawBitmap()
222 int x, int y, const SkPaint& paint) override in drawSprite()
230 SkScalar x, SkScalar y, const SkPaint& paint) override in drawText()
234 const SkPoint& offset, const SkPaint& paint) override in drawPosText()
[all …]
/external/mesa3d/src/gallium/state_trackers/vega/
Dpaint.c197 struct vg_paint *paint = CALLOC_STRUCT(vg_paint); in paint_create() local
226 void paint_destroy(struct vg_paint *paint) in paint_destroy()
240 void paint_set_color(struct vg_paint *paint, in paint_set_color()
254 static INLINE void paint_color_buffer(struct vg_paint *paint, void *buffer) in paint_color_buffer()
264 static INLINE void paint_linear_gradient_buffer(struct vg_paint *paint, in paint_linear_gradient_buffer()
300 static INLINE void paint_radial_gradient_buffer(struct vg_paint *paint, in paint_radial_gradient_buffer()
356 static INLINE void paint_pattern_buffer(struct vg_paint *paint, in paint_pattern_buffer()
378 void paint_set_type(struct vg_paint *paint, VGPaintType type) in paint_set_type()
383 void paint_set_ramp_stops(struct vg_paint *paint, const VGfloat *stops, in paint_set_ramp_stops()
449 void paint_set_linear_gradient(struct vg_paint *paint, in paint_set_linear_gradient()
[all …]
Dapi_params.c1043 struct vg_paint *paint = handle_to_paint(object); in vegaSetParameteri() local
1059 struct vg_paint *paint = handle_to_paint(object); in vegaSetParameteri() local
1073 struct vg_paint *paint = handle_to_paint(object); in vegaSetParameteri() local
1136 struct vg_paint *paint = handle_to_paint(object); in vegaSetParameterfv() local
1148 struct vg_paint *paint = handle_to_paint(object); in vegaSetParameterfv() local
1166 struct vg_paint *paint = handle_to_paint(object); in vegaSetParameterfv() local
1183 struct vg_paint *paint = handle_to_paint(object); in vegaSetParameterfv() local
1252 struct vg_paint *paint = handle_to_paint(object); in vegaSetParameteriv() local
1266 struct vg_paint *paint = handle_to_paint(object); in vegaSetParameteriv() local
1284 struct vg_paint *paint = handle_to_paint(object); in vegaSetParameteriv() local
[all …]
Dapi_paint.c52 void vegaSetPaint(VGPaint paint, VGbitfield paintModes) in vegaSetPaint()
82 VGPaint paint = VG_INVALID_HANDLE; in vegaGetPaint() local
100 void vegaSetColor(VGPaint paint, VGuint rgba) in vegaSetColor()
123 VGuint vegaGetColor(VGPaint paint) in vegaGetColor()
143 void vegaPaintPattern(VGPaint paint, VGImage pattern) in vegaPaintPattern()
/external/skia/src/core/
DSkPicturePlayback.cpp160 const SkPaint* paint = fPictureData->getPaint(reader); in handleOp() local
166 const SkPaint* paint = fPictureData->getPaint(reader); in handleOp() local
175 const SkPaint* paint = fPictureData->getPaint(reader); in handleOp() local
185 const SkPaint* paint = fPictureData->getPaint(reader); in handleOp() local
201 const SkPaint& paint = *fPictureData->getPaint(reader); in handleOp() local
220 const SkPaint& paint = *fPictureData->getPaint(reader); in handleOp() local
227 const SkPaint& paint = *fPictureData->getPaint(reader); in handleOp() local
252 const SkPaint& paint = *fPictureData->getPaint(reader); in handleOp() local
259 const SkPaint* paint = fPictureData->getPaint(reader); in handleOp() local
266 const SkPaint& paint = *fPictureData->getPaint(reader); in handleOp() local
[all …]
DSkRecorder.cpp129 void SkRecorder::onDrawPaint(const SkPaint& paint) { in onDrawPaint()
136 const SkPaint& paint) { in onDrawPoints()
140 void SkRecorder::onDrawRect(const SkRect& rect, const SkPaint& paint) { in onDrawRect()
144 void SkRecorder::onDrawOval(const SkRect& oval, const SkPaint& paint) { in onDrawOval()
148 void SkRecorder::onDrawRRect(const SkRRect& rrect, const SkPaint& paint) { in onDrawRRect()
152 void SkRecorder::onDrawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint& paint) { in onDrawDRRect()
164 void SkRecorder::onDrawPath(const SkPath& path, const SkPaint& paint) { in onDrawPath()
171 const SkPaint* paint) { in onDrawBitmap()
178 const SkPaint* paint, in onDrawBitmapRect()
193 const SkPaint* paint) { in onDrawBitmapNine()
[all …]
DSkCanvas.cpp311 static SkColorFilter* image_to_color_filter(const SkPaint& paint) { in image_to_color_filter()
336 AutoDrawLooper(SkCanvas* canvas, const SkSurfaceProps& props, const SkPaint& paint, in AutoDrawLooper()
348 SkPaint* paint = set_if_needed(&fLazyPaintInit, fOrigPaint); in AutoDrawLooper() local
393 SkPaint* paint = set_if_needed(&fLazyPaintInit, fOrigPaint); in AutoDrawLooper() local
407 const SkPaint& paint() const { in paint() function in AutoDrawLooper
446 SkPaint* paint = fLazyPaintPerLooper.set(fLazyPaintInit.isValid() ? in doNext() local
486 #define LOOPER_BEGIN_DRAWDEVICE(paint, type) \ argument
492 #define LOOPER_BEGIN(paint, type, bounds) \ argument
969 int SkCanvas::saveLayer(const SkRect* bounds, const SkPaint* paint) { in saveLayer()
979 int SkCanvas::saveLayer(const SkRect* bounds, const SkPaint* paint, SaveFlags flags) { in saveLayer()
[all …]
DSkBitmapDevice.cpp16 #define CHECK_FOR_ANNOTATION(paint) \ argument
177 void SkBitmapDevice::drawPaint(const SkDraw& draw, const SkPaint& paint) { in drawPaint()
182 const SkPoint pts[], const SkPaint& paint) { in drawPoints()
187 void SkBitmapDevice::drawRect(const SkDraw& draw, const SkRect& r, const SkPaint& paint) { in drawRect()
192 void SkBitmapDevice::drawOval(const SkDraw& draw, const SkRect& oval, const SkPaint& paint) { in drawOval()
202 void SkBitmapDevice::drawRRect(const SkDraw& draw, const SkRRect& rrect, const SkPaint& paint) { in drawRRect()
218 const SkPaint& paint, const SkMatrix* prePathMatrix, in drawPath()
225 const SkMatrix& matrix, const SkPaint& paint) { in drawBitmap()
231 const SkPaint& paint, in drawBitmapRect()
322 int x, int y, const SkPaint& paint) { in drawSprite()
[all …]
DSkPaintPriv.cpp16 bool isPaintOpaque(const SkPaint* paint, SkPaintBitmapOpacity contentType) { in isPaintOpaque()
41 bool isPaintOpaque(const SkPaint* paint, const SkBitmap* bmpReplacesShader) { in isPaintOpaque()
54 bool isPaintOpaque(const SkPaint* paint, const SkImage* image) { in isPaintOpaque()
/external/skia/src/utils/android/
DSkAndroidSDKCanvas.cpp18 void CheckShader(SkPaint* paint) { in CheckShader()
39 void Filter(SkPaint* paint) { in Filter()
108 void SkAndroidSDKCanvas::onDrawPaint(const SkPaint& paint) { in onDrawPaint()
115 const SkPaint& paint) { in onDrawPoints()
119 void SkAndroidSDKCanvas::onDrawOval(const SkRect& r, const SkPaint& paint) { in onDrawOval()
123 void SkAndroidSDKCanvas::onDrawRect(const SkRect& r, const SkPaint& paint) { in onDrawRect()
127 void SkAndroidSDKCanvas::onDrawRRect(const SkRRect& r, const SkPaint& paint) { in onDrawRRect()
131 void SkAndroidSDKCanvas::onDrawPath(const SkPath& path, const SkPaint& paint) { in onDrawPath()
138 const SkPaint* paint) { in onDrawBitmap()
145 const SkPaint* paint, in onDrawBitmapRect()
[all …]
/external/skia/experimental/PdfViewer/
DSkTrackDevice.h50 virtual void drawPaint(const SkDraw& dummy1, const SkPaint& paint) { in drawPaint()
57 const SkPoint dummy2[], const SkPaint& paint) { in drawPoints()
64 const SkPaint& paint) { in drawRect()
72 const SkPaint& paint) { in drawOval()
79 const SkPaint& paint) { in drawRRect()
95 const SkMatrix& matrix, const SkPaint& paint) { in drawBitmap()
102 int x, int y, const SkPaint& paint) { in drawSprite()
110 const SkPaint& paint, in drawBitmapRect()
118 SkScalar x, SkScalar y, const SkPaint& paint) { in drawText()
126 const SkPoint& offset, const SkPaint& paint) { in drawPosText()
[all …]
DSkNulCanvas.h54 virtual SaveLayerStrategy willSaveLayer(const SkRect* bounds, const SkPaint* paint, in willSaveLayer()
61 SkScalar y, const SkPaint& paint) override {} in onDrawText()
63 const SkPoint pos[], const SkPaint& paint) override {} in onDrawPosText()
66 const SkPaint& paint) override {} in onDrawPosTextH()
69 const SkPaint& paint) override {} in onDrawTextOnPath()
78 void onDrawPaint(const SkPaint& paint) override {} in onDrawPaint()
80 const SkPaint& paint) override {} in onDrawPoints()
81 void onDrawRect(const SkRect& rect, const SkPaint& paint) override {} in onDrawRect()
83 void onDrawRRect(const SkRRect& rrect, const SkPaint& paint) override {} in onDrawRRect()
84 void onDrawPath(const SkPath& path, const SkPaint& paint) override {} in onDrawPath()
[all …]
/external/skia/tests/
DDrawPathTest.cpp34 SkPaint paint; in test_big_aa_rect() local
99 SkPaint paint; in test_crbug131181() local
115 SkPaint paint; in test_crbug_140803() local
132 SkPaint paint; in test_inversepathwithclip() local
170 SkPaint paint; in test_bug533() local
212 SkPaint paint; in test_bigcubic() local
227 SkPaint paint; in test_giantaa() local
247 SkPaint paint; in test_infinite_dash() local
266 SkPaint paint; in test_crbug_165432() local
/external/skia/src/utils/debugger/
DSkDebugCanvas.cpp70 void onFilterPaint(SkPaint* paint, Type) const override { in onFilterPaint()
81 void onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) { in onDrawPicture()
411 SkScalar top, const SkPaint* paint) { in onDrawBitmap()
416 const SkPaint* paint, DrawBitmapRectFlags flags) { in onDrawBitmapRect()
421 const SkRect& dst, const SkPaint* paint) { in onDrawBitmapNine()
426 const SkPaint* paint) { in onDrawImage()
431 const SkPaint* paint) { in onDrawImageRect()
447 void SkDebugCanvas::onDrawOval(const SkRect& oval, const SkPaint& paint) { in onDrawOval()
451 void SkDebugCanvas::onDrawPaint(const SkPaint& paint) { in onDrawPaint()
455 void SkDebugCanvas::onDrawPath(const SkPath& path, const SkPaint& paint) { in onDrawPath()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DPaintTest.java20 Paint paint = Robolectric.newInstanceOf(Paint.class); in shouldGetIsDitherInfo() local
29 Paint paint = Robolectric.newInstanceOf(Paint.class); in shouldGetIsAntiAlias() local
38 Paint paint = Robolectric.newInstanceOf(Paint.class); in testCtor() local

12345678910>>...23