Home
last modified time | relevance | path

Searched refs:blurRadius (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/native/libs/ui/include/ui/
DBlurRegion.h28 uint32_t blurRadius; member
40 return blurRadius == other.blurRadius && cornerRadiusTL == other.cornerRadiusTL &&
52 *os << "\n .blurRadius = " << blurRegion.blurRadius; in PrintTo()
71 return android::hashCombine(region.blurRadius, region.cornerRadiusTL, region.cornerRadiusTR,
/frameworks/base/graphics/java/android/graphics/
DEmbossMaskFilter.java32 public EmbossMaskFilter(float[] direction, float ambient, float specular, float blurRadius) { in EmbossMaskFilter() argument
36 native_instance = nativeConstructor(direction, ambient, specular, blurRadius); in EmbossMaskFilter()
39 … native long nativeConstructor(float[] direction, float ambient, float specular, float blurRadius); in nativeConstructor() argument
/frameworks/native/libs/renderengine/skia/filters/
DGaussianBlurFilter.cpp45 sk_sp<SkImage> GaussianBlurFilter::generate(SkiaGpuContext* context, const uint32_t blurRadius, in generate() argument
56 blurRadius * kInputScale * BLUR_SIGMA_SCALE, in generate()
57 blurRadius * kInputScale * BLUR_SIGMA_SCALE, in generate()
DBlurFilter.cpp79 const uint32_t blurRadius, const float blurAlpha, in drawBlurRegion() argument
92 if (blurRadius < mMaxCrossFadeRadius) { in drawBlurRegion()
105 blurBuilder.uniform("mixFactor") = blurRadius / mMaxCrossFadeRadius; in drawBlurRegion()
DKawaseBlurFilter.cpp76 sk_sp<SkImage> KawaseBlurFilter::generate(SkiaGpuContext* context, const uint32_t blurRadius, in generate() argument
82 if (blurRadius == 0) { in generate()
89 float tmpRadius = (float)blurRadius / 2.0f; in generate()
DBlurFilter.h58 const uint32_t blurRadius, const float blurAlpha,
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DBackgroundBlurDrawable.java144 public void setBlurRadius(int blurRadius) { in setBlurRadius() argument
145 if (mBlurRadius != blurRadius) { in setBlurRadius()
146 mBlurRadius = blurRadius; in setBlurRadius()
433 public final int blurRadius; field in BackgroundBlurDrawable.BlurRegion
443 blurRadius = drawable.mBlurRadius; in BlurRegion()
456 floatArray[0] = blurRadius; in toFloatArray()
472 + "blurRadius=" + blurRadius in toString()
/frameworks/base/services/core/java/com/android/server/wm/
DSmoothDimmer.java84 void prepareLookChange(float alpha, int blurRadius) { in prepareLookChange() argument
85 mAnimationHelper.setRequestedAppearance(alpha, blurRadius); in prepareLookChange()
167 protected void adjustAppearance(WindowContainer container, float alpha, int blurRadius) { in adjustAppearance() argument
169 d.prepareLookChange(alpha, blurRadius); in adjustAppearance()
DDimmer.java81 WindowContainer container, float alpha, int blurRadius); in adjustAppearance() argument
DLegacyDimmer.java222 protected void adjustAppearance(WindowContainer container, float alpha, int blurRadius) { in adjustAppearance() argument
233 t.setBackgroundBlurRadius(d.mDimLayer, blurRadius); in adjustAppearance()
DDimmerAnimationHelper.java106 void setRequestedAppearance(float alpha, int blurRadius) { in setRequestedAppearance() argument
108 mRequestedProperties.mBlurRadius = blurRadius; in setRequestedAppearance()
/frameworks/native/services/surfaceflinger/tests/
DEffectLayer_test.cpp148 const auto blurRadius = canvasSize / 4; in TEST_F() local
152 t.setBackgroundBlurRadius(blurLayer, blurRadius); in TEST_F()
162 const auto expectedBlurAreaSize = blurRadius * 1.5f; in TEST_F()
168 const auto testAreaEndY = canvasSize - blurRadius * 2; in TEST_F()
DLayerTypeAndRenderTypeTransaction_test.cpp629 const auto blurRadius = canvasSize / 2; in TEST_P() local
632 .setBackgroundBlurRadius(blurLayer, blurRadius) in TEST_P()
641 const auto blurAreaOffset = blurRadius * 0.7f; in TEST_P()
642 const auto blurAreaStartX = canvasSize / 2 - blurRadius + blurAreaOffset; in TEST_P()
643 const auto blurAreaEndX = canvasSize / 2 + blurRadius - blurAreaOffset; in TEST_P()
666 auto blurRadius = 50; in TEST_P() local
689 .setBackgroundBlurRadius(blurLayer1, blurRadius) in TEST_P()
690 .setBackgroundBlurRadius(blurLayer2, blurRadius) in TEST_P()
/frameworks/av/media/libstagefright/renderfright/gl/
DGLSkiaShadowPort.cpp236 float blurRadius = args.fBlurRadius; in fillInCircleVerts() local
237 float distanceCorrection = outerRadius / blurRadius; in fillInCircleVerts()
370 float blurRadius = args.fBlurRadius; in fillInRRectVerts() local
390 float distanceCorrection = umbraInset / blurRadius; in fillInRRectVerts()
504 float lightRadius, float& blurRadius, float& scale, vec2& translate) { in GetSpotParams() argument
506 blurRadius = lightRadius * zRatio; in GetSpotParams()
513 float devRadius, float blurRadius, in getShadowGeometry() argument
527 umbraInset = std::max(outerRadius, blurRadius); in getShadowGeometry()
545 blurRadius, bounds, type, isCircle, isStroked}); in getShadowGeometry()
/frameworks/base/core/tests/coretests/src/android/view/
DBlurAggregatorTest.java87 assertEquals(TEST_BLUR_RADIUS, blurRegions[0].blurRadius); in testBlurRadiusUpdatePropagatesToRenderThreadIfNeeded()
136 assertEquals(TEST_BLUR_RADIUS, blurRegions[0].blurRadius); in testVisibleUpdatePropagatesToRenderThreadIfNeeded()
145 assertEquals(30, blurRegions1[0].blurRadius); in testBlurRegionCopyForRtIsSameIfNoUiUpdates()
267 assertEquals(50, blurRegions[0].blurRadius); in testUiThreadUpdatesDoNotChangeStateOnRenderThread()
280 assertEquals(50, blurRegions[0].blurRadius); in testUiThreadUpdatesDoNotChangeStateOnRenderThread()
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/utils/
DGraphicsUtils.kt77 @FloatRange(from = 0.0, to = 25.0) blurRadius: Float, in <lambda>()
86 blur.setRadius(blurRadius) in <lambda>()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/
DGlassActivity.kt69 blurRadiusSeekBar = requireViewById(R.id.blurRadius) in <lambda>()
102 materialView.blurRadius = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in <lambda>()
DGlassView.kt151 var blurRadius = 150f variable
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/
DDreamOverlayContainerViewControllerTest.java257 final float blurRadius = 1337f; in testBouncerAnimation_updateBlur() local
258 when(mBlurUtils.blurRadiusOfRatio(anyFloat())).thenReturn(blurRadius); in testBouncerAnimation_updateBlur()
268 verify(mBlurUtils).applyBlur(mViewRoot, (int) blurRadius, false); in testBouncerAnimation_updateBlur()
/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.cpp756 if (region.blurRadius < mBlurFilter->getMaxCrossFadeRadius()) { in drawLayersInternal()
884 if (cachedBlurs[region.blurRadius] == nullptr) { in drawLayersInternal()
886 cachedBlurs[region.blurRadius] = in drawLayersInternal()
887 mBlurFilter->generate(context, region.blurRadius, blurInput, in drawLayersInternal()
891 mBlurFilter->drawBlurRegion(canvas, getBlurRRect(region), region.blurRadius, in drawLayersInternal()
893 cachedBlurs[region.blurRadius], blurInput); in drawLayersInternal()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDimmerTests.java339 final int blurRadius = 50; in testDimmerWithBlurUpdatesTransaction_Legacy() local
340 mDimmer.adjustAppearance(mChild, 1, blurRadius); in testDimmerWithBlurUpdatesTransaction_Legacy()
346 verify(mHost.getPendingTransaction()).setBackgroundBlurRadius(dimLayer, blurRadius); in testDimmerWithBlurUpdatesTransaction_Legacy()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DLayerFECompositionState.cpp88 region.blurRadius, region.cornerRadiusTL, region.cornerRadiusTR, in dump()
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerSnapshotTest.cpp403 int blurRadius = 42; in TEST_F() local
404 setBackgroundBlurRadius(1221, static_cast<uint32_t>(blurRadius)); in TEST_F()
407 EXPECT_EQ(getSnapshot({.id = 1221})->backgroundBlurRadius, blurRadius); in TEST_F()
409 blurRadius = 21; in TEST_F()
410 setBackgroundBlurRadius(1221, static_cast<uint32_t>(blurRadius)); in TEST_F()
412 EXPECT_EQ(getSnapshot({.id = 1221})->backgroundBlurRadius, blurRadius); in TEST_F()
418 static_cast<int>(static_cast<float>(blurRadius) * alpha)); in TEST_F()
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp240 proto->set_blur_radius(region.blurRadius); in writeToProto()
254 outRegion.blurRadius = proto.blur_radius(); in readFromProto()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShadeDepthController.kt557 fun onBlurRadiusChanged(blurRadius: Int) {} in <lambda>()

12