Home
last modified time | relevance | path

Searched refs:blur (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/hwui/utils/
DPaintUtils.h78 SkDrawLooper::BlurShadowRec blur; in getTextShadow() local
79 if (paint && paint->getLooper() && paint->getLooper()->asABlurShadow(&blur)) { in getTextShadow()
81 textShadow->radius = Blur::convertSigmaToRadius(blur.fSigma); in getTextShadow()
82 textShadow->dx = blur.fOffset.fX; in getTextShadow()
83 textShadow->dy = blur.fOffset.fY; in getTextShadow()
84 textShadow->color = blur.fColor; in getTextShadow()
/frameworks/base/libs/hwui/tests/unit/
DSkiaBehaviorTests.cpp91 SkDrawLooper::BlurShadowRec blur; in TEST() local
92 bool success = looper->asABlurShadow(&blur); in TEST()
95 ASSERT_EQ(SK_ColorRED, blur.fColor); in TEST()
96 ASSERT_EQ(5.0f, blur.fSigma); in TEST()
97 ASSERT_EQ(3.0f, blur.fOffset.fX); in TEST()
98 ASSERT_EQ(4.0f, blur.fOffset.fY); in TEST()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DArtistic1.java30 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS)); in createTest() local
31 blur.setRadius(20); in createTest()
32 blur.setInput(mInPixelsAllocation); in createTest()
33 blur.forEach(mBlured); in createTest()
Dthreshold.rscript35 // Compute gaussian weights for the blur
45 // The larger the radius gets, the more our gaussian blur
46 // will resemble a box blur since with large sigma
52 // the blur calculations
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DArtistic1.java33 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS)); in createTest() local
34 blur.setRadius(20); in createTest()
35 blur.setInput(mInPixelsAllocation); in createTest()
36 blur.forEach(mBlured); in createTest()
Dthreshold_half.rscript35 // Compute gaussian weights for the blur
45 // The larger the radius gets, the more our gaussian blur
46 // will resemble a box blur since with large sigma
52 // the blur calculations
Dthreshold.rscript35 // Compute gaussian weights for the blur
45 // The larger the radius gets, the more our gaussian blur
46 // will resemble a box blur since with large sigma
52 // the blur calculations
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DArtistic1.java33 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS)); in createTest() local
34 blur.setRadius(20); in createTest()
35 blur.setInput(mInPixelsAllocation); in createTest()
36 blur.forEach(mBlured); in createTest()
Dthreshold.rscript35 // Compute gaussian weights for the blur
45 // The larger the radius gets, the more our gaussian blur
46 // will resemble a box blur since with large sigma
52 // the blur calculations
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DMediaArtworkProcessor.kt52 val blur = ScriptIntrinsicBlur.create(renderScript, Element.U8_4(renderScript)) in processArtwork() constant
76 blur.setRadius(BLUR_RADIUS) in processArtwork()
77 blur.setInput(input) in processArtwork()
78 blur.forEach(output) in processArtwork()
92 blur.destroy() in processArtwork()
/frameworks/base/core/java/android/util/
DLauncherIcons.java73 float blur = ICON_SIZE_BLUR_FACTOR * shadowSize; in getShadowBitmap() local
76 int bitmapSize = (int) (shadowSize + 2 * blur + keyShadowDistance); in getShadowBitmap()
80 canvas.translate(blur + keyShadowDistance / 2, blur); in getShadowBitmap()
86 paint.setShadowLayer(blur, 0, 0, AMBIENT_SHADOW_ALPHA << 24); in getShadowBitmap()
91 paint.setShadowLayer(blur, 0, 0, KEY_SHADOW_ALPHA << 24); in getShadowBitmap()
/frameworks/rs/script_api/
Drs_graphics.spec928 summary: Get program store blur component color mask
930 Get program store blur component color mask
/frameworks/rs/script_api/include/
Drs_graphics.rsh1418 * rsgProgramStoreIsColorMaskBlueEnabled: Get program store blur component color mask
1422 * Get program store blur component color mask
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
Dcanny.rscript192 ushort __attribute__((kernel)) blur(uint32_t x, uint32_t y) {
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dlayered_filter_fast_f32.rscript15 // value interval that has no blur.
Dlayered_filter_fast_d1new.rscript15 // value interval that has no blur.