Home
last modified time | relevance | path

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

/external/skia/gm/
Dimagemagnifier.cpp32 SkPaint filterPaint; in DEF_SIMPLE_GM_BG() local
33 filterPaint.setImageFilter( in DEF_SIMPLE_GM_BG()
39 canvas->saveLayer(nullptr, &filterPaint); in DEF_SIMPLE_GM_BG()
94 SkPaint filterPaint; in DEF_SIMPLE_GM_BG() local
95 filterPaint.setImageFilter(SkImageFilters::Magnifier( in DEF_SIMPLE_GM_BG()
98 canvas->saveLayer(nullptr, &filterPaint); in DEF_SIMPLE_GM_BG()
Dperspshaders.cpp92 SkPaint filterPaint; in drawRow() local
93 filterPaint.setAntiAlias(fDoAA); in drawRow()
112 canvas->drawImageRect(fBitmapImage, r, sampling, &filterPaint); in drawRow()
118 canvas->drawImage(fImage.get(), 0, 0, sampling, &filterPaint); in drawRow()
Dimagealphathreshold.cpp201 SkPaint filterPaint; variable
203 filterPaint.setImageFilter(SkImageFilters::AlphaThreshold(region, 0.2f, 0.7f,
206 canvas->saveLayer(nullptr, &filterPaint);
Dblurrect.cpp462 SkPaint filterPaint; in prepareMaskDifferences() local
463 filterPaint.setColor(SK_ColorWHITE); in prepareMaskDifferences()
/external/skqp/gm/
Dimagemagnifier.cpp20 SkPaint filterPaint; in DEF_SIMPLE_GM_BG() local
21 filterPaint.setImageFilter( in DEF_SIMPLE_GM_BG()
27 canvas->saveLayer(nullptr, &filterPaint); in DEF_SIMPLE_GM_BG()
83 SkPaint filterPaint; in DEF_SIMPLE_GM_BG() local
84 filterPaint.setImageFilter(SkMagnifierImageFilter::Make(srcRect, kInset, in DEF_SIMPLE_GM_BG()
88 canvas->saveLayer(nullptr, &filterPaint); in DEF_SIMPLE_GM_BG()
Dperspshaders.cpp80 SkPaint filterPaint; in drawRow() local
81 filterPaint.setFilterQuality(filterQ); in drawRow()
82 filterPaint.setAntiAlias(fDoAA); in drawRow()
102 canvas->drawBitmapRect(fBitmap, r, &filterPaint); in drawRow()
108 canvas->drawImage(fImage.get(), 0, 0, &filterPaint); in drawRow()
Dimagealphathreshold.cpp186 SkPaint filterPaint; variable
188 filterPaint.setImageFilter(SkAlphaThresholdFilter::Make(region, 0.2f, 0.7f,
191 canvas->saveLayer(nullptr, &filterPaint);
/external/skia/samplecode/
DSampleImageFilterDAG.cpp132 SkPaint filterPaint; in draw_node() local
133 filterPaint.setImageFilter(node.fFilter); in draw_node()
152 canvas->saveLayer(&content, &filterPaint); in draw_node()
/external/skia/modules/svg/src/
DSkSVGRenderContext.cpp308 SkPaint filterPaint; in applyFilter() local
309 filterPaint.setImageFilter(imageFilter); in applyFilter()
311 fCanvas->saveLayer(nullptr, &filterPaint); in applyFilter()
/external/skia/tests/
DImageFilterTest.cpp1035 SkPaint filterPaint; in draw_blurred_rect() local
1036 filterPaint.setColor(SK_ColorWHITE); in draw_blurred_rect()
1037 filterPaint.setImageFilter(SkImageFilters::Blur(SkIntToScalar(8), 0, nullptr)); in draw_blurred_rect()
1038 canvas->saveLayer(nullptr, &filterPaint); in draw_blurred_rect()
1142 SkPaint filterPaint; in DEF_TEST() local
1143 filterPaint.setImageFilter(std::move(filter)); in DEF_TEST()
1147 canvas.saveLayer(&bounds, &filterPaint); in DEF_TEST()
1430 SkPaint filterPaint; in DEF_TEST() local
1431 filterPaint.setImageFilter(std::move(matrixFilter)); in DEF_TEST()
1433 canvas.saveLayer(&bounds2, &filterPaint); in DEF_TEST()
[all …]
/external/skqp/tests/
DImageFilterTest.cpp1000 SkPaint filterPaint; in draw_blurred_rect() local
1001 filterPaint.setColor(SK_ColorWHITE); in draw_blurred_rect()
1002 filterPaint.setImageFilter(SkBlurImageFilter::Make(SkIntToScalar(8), 0, nullptr)); in draw_blurred_rect()
1003 canvas->saveLayer(nullptr, &filterPaint); in draw_blurred_rect()
1115 SkPaint filterPaint; in DEF_TEST() local
1116 filterPaint.setImageFilter(std::move(filter)); in DEF_TEST()
1120 canvas.saveLayer(&bounds, &filterPaint); in DEF_TEST()
1430 SkPaint filterPaint; in DEF_TEST() local
1431 filterPaint.setImageFilter(std::move(matrixFilter)); in DEF_TEST()
1433 canvas.saveLayer(&bounds2, &filterPaint); in DEF_TEST()
[all …]