Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

💡 [需求] 系统界面 - 锁屏 - 相机和负一屏按钮模糊 模糊背景半径自定义 #792

Closed
hrsthrt74 opened this issue Aug 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@hrsthrt74
Copy link
Contributor

需求内容

(标题不是模糊半径,而是模糊背景半径
在不同设备上,背景半径显示不一样,在部分设备上会过大,所以请求可以自定义半径大小

实现思路&截图

https://github.com/ReChronoRain/HyperCeiler/blob/main/app/src/main/java/com/sevtinge/hyperceiler/module/hook/systemui/lockscreen/BlurButton.kt
应该是位于这里的代码,在 HyperOS 上通过反编译修改本类里所有的400x28)后发现,值越大半径越小
但因为是反编译修改的结果,不确定修改源代码是是否也是值越大半径越小;此外也没确定 oldBlur 是否同样(我懒XD)

简单例子

Screenshot_2024-08-04-13-08-58-224_lockscreen
100xa
Screenshot_2024-08-04-13-10-35-537_lockscreen
600x3c

@hrsthrt74 hrsthrt74 added the enhancement New feature or request label Aug 4, 2024
@Liden-3028722843
Copy link

支持

lingqiqi5211 added a commit that referenced this issue Aug 29, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants