summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorGalia Peycheva <galinap@google.com>2021-02-03 15:09:54 +0100
committerGalia Peycheva <galinap@google.com>2021-02-03 16:25:49 +0000
commit8e30771f55e84199106f9e9e3be10e4de343608a (patch)
tree8712dacc24883dc2e35f9e85cab9bbf2a9d36e29 /rs/java/android/renderscript/ProgramStore.java
parente6ae6e325a5eab6ab8d7e676966d834b48f78e33 (diff)
Make window blur behind public API
This CL makes the blur behind functionality a public API. As part of this change, we change its previous name (windowBackgroundBlurRadius) to windowBlurBehindRadius. This avoids a name clash with the Window background blur, which only blurs the area of the window. Blur behind blurs everything behind the window (similar behaviour to the dim). This CL exposes WM.LP.blurBehindRadius and, in addition, undeprecates an old flag - FLAG_BLUR_BEHIND. FLAG_BLUR_BEHIND enables the blur behind and blurBehindRadius specifies how dense the blur will be. In addition, we expose two xml attributes on the Window - windowBlurBehindEnable and windowBlurBehindRadius. The usage is similar to the dim api. Bug: 167166562 Bug: 177524486 Test: m && test app Change-Id: If2fcde644c5bcca112495ca99ee66bae909877db Merged-In: If2fcde644c5bcca112495ca99ee66bae909877db
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions