Home
last modified time | relevance | path

Searched refs:blurRadius (Results 1 – 25 of 32) 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/
DBlurFilter.cpp79 sk_sp<SkImage> BlurFilter::generate(GrRecordingContext* context, const uint32_t blurRadius, in generate() argument
84 float tmpRadius = (float)blurRadius / 2.0f; in generate()
143 const uint32_t blurRadius, const float blurAlpha, in drawBlurRegion() argument
156 if (blurRadius < kMaxCrossFadeRadius) { in drawBlurRegion()
169 blurBuilder.uniform("mixFactor") = blurRadius / kMaxCrossFadeRadius; in drawBlurRegion()
DBlurFilter.h64 void drawBlurRegion(SkCanvas* canvas, const SkRRect& effectRegion, const uint32_t blurRadius,
/frameworks/av/media/libstagefright/filters/
DIntrinsicBlurFilter.cpp82 float blurRadius; in setParameters() local
83 if (params->findFloat("blur-radius", &blurRadius)) { in setParameters()
84 mBlurRadius = blurRadius; in setParameters()
/frameworks/native/services/surfaceflinger/tests/
DEffectLayer_test.cpp146 const auto blurRadius = canvasSize / 2; in TEST_F() local
150 t.setBackgroundBlurRadius(blurLayer, blurRadius); in TEST_F()
160 const auto blurAreaOffset = blurRadius * 0.7f; in TEST_F()
161 const auto blurAreaStartX = canvasSize / 2 - blurRadius + blurAreaOffset; in TEST_F()
162 const auto blurAreaEndX = canvasSize / 2 + blurRadius - blurAreaOffset; in TEST_F()
DLayerTypeAndRenderTypeTransaction_test.cpp509 const auto blurRadius = canvasSize / 2; in TEST_P() local
512 .setBackgroundBlurRadius(blurLayer, blurRadius) in TEST_P()
521 const auto blurAreaOffset = blurRadius * 0.7f; in TEST_P()
522 const auto blurAreaStartX = canvasSize / 2 - blurRadius + blurAreaOffset; in TEST_P()
523 const auto blurAreaEndX = canvasSize / 2 + blurRadius - blurAreaOffset; in TEST_P()
546 auto blurRadius = 50; in TEST_P() local
569 .setBackgroundBlurRadius(blurLayer1, blurRadius) in TEST_P()
570 .setBackgroundBlurRadius(blurLayer2, blurRadius) in TEST_P()
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DBackgroundBlurDrawable.java143 public void setBlurRadius(int blurRadius) { in setBlurRadius() argument
144 if (mBlurRadius != blurRadius) { in setBlurRadius()
145 mBlurRadius = blurRadius; in setBlurRadius()
392 public final int blurRadius; field in BackgroundBlurDrawable.BlurRegion
402 blurRadius = drawable.mBlurRadius; in BlurRegion()
415 floatArray[0] = blurRadius; in toFloatArray()
431 + "blurRadius=" + blurRadius in toString()
/frameworks/native/libs/renderengine/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/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/base/services/core/java/com/android/server/wm/
DDimmer.java207 float alpha, int blurRadius) { in dim() argument
223 t.setBackgroundBlurRadius(d.mDimLayer, blurRadius); in dim()
277 int blurRadius) { in dimBelow() argument
278 dim(t, container, -1, alpha, blurRadius); in dimBelow()
DLetterboxUiController.java260 int blurRadius = mLetterboxConfiguration.getLetterboxBackgroundWallpaperBlurRadius(); in getLetterboxWallpaperBlurRadius() local
261 return blurRadius < 0 ? 0 : blurRadius; in getLetterboxWallpaperBlurRadius()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/notifications/
DTvNotificationPanelActivity.java119 int blurRadius = getResources().getDimensionPixelSize( in enableBlur() local
123 getWindow().setBackgroundBlurRadius(blurRadius); in enableBlur()
/frameworks/layoutlib/bridge/src/android/graphics/
DEmbossMaskFilter_Delegate.java59 float specular, float blurRadius) { in nativeConstructor() argument
/frameworks/base/tests/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/native/services/surfaceflinger/CompositionEngine/src/
DLayerFECompositionState.cpp88 region.blurRadius, region.cornerRadiusTL, region.cornerRadiusTR, in dump()
/frameworks/native/libs/renderengine/skia/
DSkiaGLRenderEngine.cpp797 if (region.blurRadius < BlurFilter::kMaxCrossFadeRadius) { in drawLayers()
936 if (cachedBlurs[region.blurRadius] == nullptr) { in drawLayers()
938 cachedBlurs[region.blurRadius] = in drawLayers()
939 mBlurFilter->generate(grContext, region.blurRadius, blurInput, in drawLayers()
943 mBlurFilter->drawBlurRegion(canvas, getBlurRRect(region), region.blurRadius, in drawLayers()
945 cachedBlurs[region.blurRadius], blurInput); in drawLayers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShadeDepthController.kt530 fun onBlurRadiusChanged(blurRadius: Int) {} in <lambda>()
/frameworks/native/libs/gui/
DLayerState.cpp159 SAFE_PARCEL(output.writeUint32, region.blurRadius); in write()
289 SAFE_PARCEL(input.readUint32, &region.blurRadius); in read()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp602 float blurRadius = region[0]; in nativeSetBlurRegions() local
613 blurRegionVector.push_back(BlurRegion{.blurRadius = static_cast<uint32_t>(blurRadius), in nativeSetBlurRegions()
803 jlong nativeObject, jint blurRadius) { in nativeSetBackgroundBlurRadius() argument
807 transaction->setBackgroundBlurRadius(ctrl, blurRadius); in nativeSetBackgroundBlurRadius()
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp949 auto blurRadius = 50; in fillBufferAndBlurBackground() local
977 blurLayer.backgroundBlurRadius = blurRadius; in fillBufferAndBlurBackground()
996 auto blurRadius = 50; in fillSmallLayerAndBlurBackground() local
1014 blurLayer.backgroundBlurRadius = blurRadius; in fillSmallLayerAndBlurBackground()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h432 region.blurRadius,
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java1531 public final void setBackgroundBlurRadius(int blurRadius) { in setBackgroundBlurRadius() argument
1532 super.setBackgroundBlurRadius(blurRadius); in setBackgroundBlurRadius()
1534 if (mBackgroundBlurRadius != Math.max(blurRadius, 0)) { in setBackgroundBlurRadius()
1535 mBackgroundBlurRadius = Math.max(blurRadius, 0); in setBackgroundBlurRadius()

12