Home
last modified time | relevance | path

Searched refs:setImageFilter (Results 1 – 25 of 196) sorted by relevance

12345678

/external/skia/gm/
Ddisplacement.cpp67 paint.setImageFilter(SkImageFilters::DisplacementMap( in onDraw()
70 paint.setImageFilter(SkImageFilters::DisplacementMap( in onDraw()
73 paint.setImageFilter(SkImageFilters::DisplacementMap( in onDraw()
76 paint.setImageFilter(SkImageFilters::DisplacementMap( in onDraw()
79 paint.setImageFilter(SkImageFilters::DisplacementMap( in onDraw()
83 paint.setImageFilter(SkImageFilters::DisplacementMap( in onDraw()
86 paint.setImageFilter(SkImageFilters::DisplacementMap( in onDraw()
89 paint.setImageFilter(SkImageFilters::DisplacementMap( in onDraw()
92 paint.setImageFilter(SkImageFilters::DisplacementMap( in onDraw()
95 paint.setImageFilter(SkImageFilters::DisplacementMap( in onDraw()
[all …]
Dlighting.cpp108 paint.setImageFilter(SkImageFilters::PointLitDiffuse( in onDraw()
112 paint.setImageFilter(SkImageFilters::DistantLitDiffuse( in onDraw()
116 paint.setImageFilter(SkImageFilters::SpotLitDiffuse( in onDraw()
122 paint.setImageFilter(SkImageFilters::SpotLitDiffuse( in onDraw()
128 paint.setImageFilter(SkImageFilters::SpotLitDiffuse( in onDraw()
134 paint.setImageFilter(SkImageFilters::DistantLitDiffuse( in onDraw()
141 paint.setImageFilter(SkImageFilters::PointLitSpecular( in onDraw()
145 paint.setImageFilter(SkImageFilters::DistantLitSpecular( in onDraw()
149 paint.setImageFilter(SkImageFilters::SpotLitSpecular( in onDraw()
155 paint.setImageFilter(SkImageFilters::SpotLitSpecular( in onDraw()
[all …]
Dxfermodeimagefilter.cpp94 paint.setImageFilter(SkImageFilters::Blend(gModes[i], background)); in onDraw()
103 paint.setImageFilter(SkImageFilters::Arithmetic(0, 1, 1, 0, true, background, nullptr)); in onDraw()
111 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kSrcOver, background)); in onDraw()
125 paint.setImageFilter(SkImageFilters::Blend( in onDraw()
134 paint.setImageFilter(SkImageFilters::Blend( in onDraw()
155 paint.setImageFilter(SkImageFilters::Blend(sampledModes[i], offsetBackground, in onDraw()
167 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kScreen, cropped, background)); in onDraw()
175 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kScreen, background, cropped)); in onDraw()
186 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kSrcIn, background, cropped, in onDraw()
Dimagefiltersgraph.cpp57 paint.setImageFilter(std::move(merge)); in onDraw()
73 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kSrcOver, in onDraw()
90 paint.setImageFilter(SkImageFilters::Arithmetic( in onDraw()
101 paint.setImageFilter( in onDraw()
125 paint.setImageFilter(std::move(convolve)); in onDraw()
141 paint.setImageFilter(std::move(color2)); in onDraw()
Dimagefiltersbase.cpp101 paint.setImageFilter(std::move(imf)); in draw_paint()
112 paint.setImageFilter(imf); in draw_line()
120 paint.setImageFilter(imf); in draw_rect()
129 paint.setImageFilter(imf); in draw_path()
136 paint.setImageFilter(imf); in draw_text()
145 paint.setImageFilter(std::move(imf)); in draw_bitmap()
161 paint.setImageFilter(std::move(imf)); in draw_patch()
191 paint.setImageFilter(std::move(imf)); in draw_atlas()
336 paint.setImageFilter(nullptr); in onDraw()
357 paint->setImageFilter(SkImageFilters::Blur(1.5f, 1.5f, nullptr)); in installFilter()
Dcolorfilterimagefilter.cpp137 paint.setImageFilter(std::move(bright));
146 paint.setImageFilter(std::move(grayscale));
153 paint.setImageFilter(std::move(brightness));
160 paint.setImageFilter(std::move(brightness));
167 paint.setImageFilter(std::move(blue));
174 paint.setImageFilter(std::move(brightness));
180 paint.setImageFilter(std::move(blue));
192 p.setImageFilter(SkImageFilters::ColorFilter(std::move(cf), nullptr));
Dimagefilters.cpp64 paint.setImageFilter(std::move(imf)); in do_draw()
110 paint.setImageFilter(SkImageFilters::Blur(sigma, sigma, nullptr));
226 testCFPaint.setImageFilter(edgeDetector);
231 expectedCFPaint.setImageFilter(SkImageFilters::Compose(edgeDetector,
265 testMaskPaint.setImageFilter(edgeBlend);
268 expectedMaskPaint.setImageFilter(SkImageFilters::Compose(edgeBlend,
Ddropshadowimagefilter.cpp32 paint.setImageFilter(std::move(imf)); in draw_paint()
43 paint.setImageFilter(std::move(imf)); in draw_path()
53 paint.setImageFilter(std::move(imf)); in draw_text()
73 paint.setImageFilter(std::move(imf)); in draw_bitmap()
Dcrbug_905548.cpp34 paint.setImageFilter(blended);
38 paint.setImageFilter(mult);
Dimagefilterscropped.cpp34 paint.setImageFilter(std::move(imf)); in draw_paint()
45 paint.setImageFilter(std::move(imf)); in draw_path()
52 paint.setImageFilter(std::move(imf)); in draw_text()
68 paint.setImageFilter(std::move(imf)); in draw_bitmap()
Dtileimagefilter.cpp83 paint.setImageFilter(std::move(filter)); in onDraw()
110 paint.setImageFilter(SkImageFilters::ColorFilter(std::move(cf), std::move(tile))); in onDraw()
135 paint.setImageFilter(SkImageFilters::Tile(srcRect, dstRect, std::move(green))); in onDraw()
/external/skqp/gm/
Ddisplacement.cpp61 paint.setImageFilter(SkDisplacementMapEffect::Make( in onDraw()
65 paint.setImageFilter(SkDisplacementMapEffect::Make( in onDraw()
69 paint.setImageFilter(SkDisplacementMapEffect::Make( in onDraw()
73 paint.setImageFilter(SkDisplacementMapEffect::Make( in onDraw()
77 paint.setImageFilter(SkDisplacementMapEffect::Make( in onDraw()
82 paint.setImageFilter(SkDisplacementMapEffect::Make( in onDraw()
86 paint.setImageFilter(SkDisplacementMapEffect::Make( in onDraw()
90 paint.setImageFilter(SkDisplacementMapEffect::Make( in onDraw()
94 paint.setImageFilter(SkDisplacementMapEffect::Make( in onDraw()
98 paint.setImageFilter(SkDisplacementMapEffect::Make( in onDraw()
[all …]
Dxfermodeimagefilter.cpp87 paint.setImageFilter(SkXfermodeImageFilter::Make(gModes[i], background)); in onDraw()
96 paint.setImageFilter(SkArithmeticImageFilter::Make(0, 1, 1, 0, true, background, in onDraw()
105 paint.setImageFilter(SkXfermodeImageFilter::Make(SkBlendMode::kSrcOver, background)); in onDraw()
123 paint.setImageFilter(SkXfermodeImageFilter::Make(SkBlendMode::kSrcOver, in onDraw()
134 paint.setImageFilter(SkXfermodeImageFilter::Make(SkBlendMode::kDarken, in onDraw()
158 paint.setImageFilter(SkXfermodeImageFilter::Make(sampledModes[i], in onDraw()
173 paint.setImageFilter(SkXfermodeImageFilter::Make(mode, cropped, background, nullptr)); in onDraw()
181 paint.setImageFilter(SkXfermodeImageFilter::Make(mode, background, cropped, nullptr)); in onDraw()
193 paint.setImageFilter(SkXfermodeImageFilter::Make(mode, background, in onDraw()
Dlighting.cpp96 paint.setImageFilter(SkLightingImageFilter::MakePointLitDiffuse(pointLocation, in onDraw()
104 paint.setImageFilter(SkLightingImageFilter::MakeDistantLitDiffuse(distantDirection, in onDraw()
112 paint.setImageFilter(SkLightingImageFilter::MakeSpotLitDiffuse(spotLocation, in onDraw()
125 paint.setImageFilter(SkLightingImageFilter::MakePointLitSpecular(pointLocation, in onDraw()
134 paint.setImageFilter(SkLightingImageFilter::MakeDistantLitSpecular(distantDirection, in onDraw()
143 paint.setImageFilter(SkLightingImageFilter::MakeSpotLitSpecular(spotLocation, in onDraw()
Dimagefiltersbase.cpp93 paint.setImageFilter(std::move(imf)); in draw_paint()
104 paint.setImageFilter(imf); in draw_line()
112 paint.setImageFilter(imf); in draw_rect()
121 paint.setImageFilter(imf); in draw_path()
128 paint.setImageFilter(imf); in draw_text()
137 paint.setImageFilter(std::move(imf)); in draw_bitmap()
272 paint.setImageFilter(nullptr); in onDraw()
293 paint->setImageFilter(SkBlurImageFilter::Make(1.5f, 1.5f, nullptr)); in installFilter()
Dimagefiltersgraph.cpp58 paint.setImageFilter(std::move(merge)); in onDraw()
74 paint.setImageFilter(SkXfermodeImageFilter::Make(SkBlendMode::kSrcOver, in onDraw()
92 paint.setImageFilter(SkArithmeticImageFilter::Make( in onDraw()
105 paint.setImageFilter( in onDraw()
138 paint.setImageFilter(std::move(convolve)); in onDraw()
160 paint.setImageFilter(std::move(color2)); in onDraw()
Dcolorfilterimagefilter.cpp128 paint.setImageFilter(std::move(bright));
137 paint.setImageFilter(std::move(grayscale));
144 paint.setImageFilter(std::move(brightness));
151 paint.setImageFilter(std::move(brightness));
158 paint.setImageFilter(std::move(blue));
165 paint.setImageFilter(std::move(brightness));
171 paint.setImageFilter(std::move(blue));
183 p.setImageFilter(SkColorFilterImageFilter::Make(std::move(cf), nullptr));
Ddropshadowimagefilter.cpp19 paint.setImageFilter(std::move(imf)); in draw_paint()
30 paint.setImageFilter(std::move(imf)); in draw_path()
40 paint.setImageFilter(std::move(imf)); in draw_text()
63 paint.setImageFilter(std::move(imf)); in draw_bitmap()
Dcrbug_905548.cpp31 paint.setImageFilter(blended);
35 paint.setImageFilter(mult);
Dimagefilterscropped.cpp26 paint.setImageFilter(std::move(imf)); in draw_paint()
37 paint.setImageFilter(std::move(imf)); in draw_path()
44 paint.setImageFilter(std::move(imf)); in draw_text()
63 paint.setImageFilter(std::move(imf)); in draw_bitmap()
/external/skqp/bench/
DColorFilterBench.cpp81 paint.setImageFilter(make_brightness(brightness, std::move(dim))); in onDraw()
107 paint.setImageFilter(make_grayscale(std::move(brightness))); in onDraw()
132 paint.setImageFilter(make_brightness(0.9f, std::move(grayscale))); in onDraw()
157 paint.setImageFilter(make_brightness(1.0f, std::move(blue))); in onDraw()
182 paint.setImageFilter(make_mode_blue(std::move(brightness))); in onDraw()
206 paint.setImageFilter(make_brightness(1.0f, nullptr)); in onDraw()
230 paint.setImageFilter(make_mode_blue(nullptr)); in onDraw()
254 paint.setImageFilter(make_grayscale(nullptr)); in onDraw()
DImageFilterDAGBench.cpp40 paint.setImageFilter(SkMergeImageFilter::Make(inputs, kNumInputs)); in onDraw()
109 paint.setImageFilter(SkDisplacementMapEffect::Make(xSelector, ySelector, scale, in onDraw()
138 paint.setImageFilter(xfermode); in onDraw()
/external/skia/docs/examples/
DPaint_refImageFilter.cpp8 paint1.setImageFilter(SkImageFilters::Offset(25, 25, nullptr)); in draw()
10 paint2.setImageFilter(paint1.refImageFilter()); in draw()
DImage_Filter_Methods.cpp15 paint.setImageFilter(SkImageFilters::Blur(5.0f, 5.0f, nullptr)); in draw()
17 paint.setImageFilter(nullptr); in draw()
/external/skia/bench/
DImageFilterDAGBench.cpp38 paint.setImageFilter(SkImageFilters::Merge(inputs, kNumInputs)); in onDraw()
123 paint.setImageFilter(SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kR, in onDraw()
155 paint.setImageFilter(xfermode); in onDraw()

12345678