Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[WIP] Reduce alpha of AOD Widget on low display brightness #3158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Der-Schubi
Copy link
Contributor

This tones down the alpha of the Always On Display Widget on low display brightness. Below a display brightness of 60 the alpha is gradually reduced from 1.0 down to 0.4 for brightness 0.

@Der-Schubi
Copy link
Contributor Author

Another one for Always On Display @Navid200 ;)

@ah7675
Copy link
Contributor

ah7675 commented Oct 28, 2023

Thank you for keep improving the experience.
Is it possible to make this optional? Or let user adjust slope?
The new alpha value looks too dim on my phone, 0.8 was perfect on my Pixel8.

@Der-Schubi
Copy link
Contributor Author

Thank you for keep improving the experience. Is it possible to make this optional? Or let user adjust slope? The new alpha value looks too dim on my phone, 0.8 was perfect on my Pixel8.

I was thinking of making it adjustable. Just wanted to put it up here and see what everyone is thinking.
I had a much simpler version of that in my own code for over a year now, I just switched from 0.8 to 0.4 below a brightness of 10. This worked good for my Pixel 5.

@Der-Schubi Der-Schubi changed the title Reduce alpha of AOD Widget on low display brightness [WIP] Reduce alpha of AOD Widget on low display brightness Oct 28, 2023
This tones down the alpha of the Always On Display Widget on low display brightness.
Below a display brightness of 60 the alpha is gradually reduced from 1.0 down to 0.4 for brightness 0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants