Home
last modified time | relevance | path

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

12

/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/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/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.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_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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShadeDepthController.kt212 var blur = shadeRadius.toInt() in <lambda>() variable
220 blur = 0 in <lambda>()
225 blur = 0 in <lambda>()
229 blur = (blur * (1f - brightnessMirrorSpring.ratio)).toInt() in <lambda>()
231 return Pair(blur, zoomOut) in <lambda>()
240 val (blur, zoomOut) = computeBlurAndZoomOut() in <lambda>() constant
242 Trace.traceCounter(Trace.TRACE_TAG_APP, "shade_blur_radius", blur) in <lambda>()
243 blurUtils.applyBlur(root.viewRootImpl, blur, opaque) in <lambda>()
244 lastAppliedBlur = blur in <lambda>()
248 it.onBlurRadiusChanged(blur) in <lambda>()
[all …]
DBlurUtils.kt67 fun ratioOfBlurRadius(blur: Float): Float { in ratioOfBlurRadius()
68 if (blur == 0f) { in ratioOfBlurRadius()
72 0f /* maxStart */, 1f /* maxStop */, blur) in ratioOfBlurRadius()
/frameworks/base/core/java/android/util/
DLauncherIcons.java75 float blur = ICON_SIZE_BLUR_FACTOR * shadowSize; in getShadowBitmap() local
78 int bitmapSize = (int) (shadowSize + 2 * blur + keyShadowDistance); in getShadowBitmap()
82 canvas.translate(blur + keyShadowDistance / 2, blur); in getShadowBitmap()
88 paint.setShadowLayer(blur, 0, 0, AMBIENT_SHADOW_ALPHA << 24); in getShadowBitmap()
93 paint.setShadowLayer(blur, 0, 0, KEY_SHADOW_ALPHA << 24); in getShadowBitmap()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/
DDoubleShadowTextHelper.kt25 val blur: Float, constant in com.android.systemui.shared.shadow.DoubleShadowTextHelper.ShadowInfo
40 ambientShadowInfo.blur, in applyShadows()
55 keyShadowInfo.blur, in applyShadows()
DDoubleShadowIconDrawable.kt63 mAmbientShadowInfo.blur, in createShadowRenderNode()
70 mKeyShadowInfo.blur, in createShadowRenderNode()
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/utils/
DGraphicsUtils.kt83 val blur = ScriptIntrinsicBlur.create(renderScript, Element.U8_4(renderScript)) in <lambda>() constant
86 blur.setRadius(blurRadius) in <lambda>()
87 blur.setInput(allocationIn) in <lambda>()
88 blur.forEach(allocationOut) in <lambda>()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDimmerTests.java183 final int blur = 50; in testDimBelowWithChildSurfaceCreatesSurfaceBelowChild_Smooth() local
185 mDimmer.adjustAppearance(mChild, alpha, blur); in testDimBelowWithChildSurfaceCreatesSurfaceBelowChild_Smooth()
196 verify(mTransaction).setBackgroundBlurRadius(dimLayer, blur); in testDimBelowWithChildSurfaceCreatesSurfaceBelowChild_Smooth()
220 final int blur = 50; in testDimBelowWithChildSurfaceDestroyedWhenReset_Smooth() local
222 mDimmer.adjustAppearance(mChild, alpha, blur); in testDimBelowWithChildSurfaceDestroyedWhenReset_Smooth()
258 final int blur = 20; in testDimBelowWithChildSurfaceNotDestroyedWhenPersisted() local
260 mDimmer.adjustAppearance(mChild, alpha, blur); in testDimBelowWithChildSurfaceNotDestroyedWhenPersisted()
266 mDimmer.adjustAppearance(mChild, alpha, blur); in testDimBelowWithChildSurfaceNotDestroyedWhenPersisted()
/frameworks/base/services/core/java/com/android/server/wm/
DDimmerAnimationHelper.java226 void setAlphaBlur(SurfaceControl sc, float alpha, int blur, SurfaceControl.Transaction t) { in setAlphaBlur() argument
229 t.setBackgroundBlurRadius(sc, blur); in setAlphaBlur()
273 AnimationSpec.AnimationExtremes<Integer> blur, long duration) { in AnimationSpec() argument
275 mBlur = blur; in AnimationSpec()
/frameworks/native/libs/renderengine/skia/filters/
DMouriMap.cpp119 auto localLux = blur(context, downchunked.get()); in mouriMap()
161 sk_sp<SkImage> MouriMap::blur(SkiaGpuContext* context, SkImage* input) const { in blur() function in android::renderengine::skia::MouriMap
DMouriMap.h72 sk_sp<SkImage> blur(SkiaGpuContext* context, SkImage* input) const;
/frameworks/native/services/surfaceflinger/tests/
DLayerTypeAndRenderTypeTransaction_test.cpp704 sp<SurfaceControl> blur; in TEST_P() local
725 ASSERT_NO_FATAL_FAILURE(blur = createLayer("BackgroundBlur", size * 2, size)); in TEST_P()
726 ASSERT_NO_FATAL_FAILURE(fillLayerColor(blur, Color::TRANSPARENT, size * 2, size)); in TEST_P()
733 .setLayer(blur, mLayerZBase + 4) in TEST_P()
734 .setBackgroundBlurRadius(blur, size) // set the blur radius to the size of one rect in TEST_P()
735 .reparent(blur, blurParent) in TEST_P()
/frameworks/rs/toolkit/
DRenderScriptToolkit.h223 void blur(const uint8_t* _Nonnull in, uint8_t* _Nonnull out, size_t sizeX, size_t sizeY,
DJniEntryPoints.cpp232 toolkit->blur(input.get(), output.get(), size_x, size_y, vectorSize, radius, restrict.get()); in Java_android_renderscript_toolkit_Toolkit_nativeBlur()
243 toolkit->blur(input.get(), output.get(), input.width(), input.height(), input.vectorSize(), in Java_android_renderscript_toolkit_Toolkit_nativeBlurBitmap()
DBlur.cpp525 void RenderScriptToolkit::blur(const uint8_t* in, uint8_t* out, size_t sizeX, size_t sizeY, in blur() function in android::renderscript::RenderScriptToolkit
/frameworks/native/services/surfaceflinger/
Dsurfaceflinger_flags.aconfig193 description: "Restore drawing the blur input prior to drawing blurred content."
/frameworks/rs/toolkit/java/
DToolkit.kt176 fun blur( in blur() method
229 fun blur(inputBitmap: Bitmap, radius: Int = 5, restriction: Range2d? = null): Bitmap { in blur() method
/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/toolkit/test/
DAllTests.kt243 toolkit.blur(inputArray, vectorSize, sizeX, sizeY, radius, restriction) in <lambda>()
271 toolkit.blur(bitmap, radius, restriction) in <lambda>()

12