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

Crop the notification thumbnail in 1:1 mode instead of stretching it #8533

Merged
merged 6 commits into from
Jul 13, 2022
Merged

Crop the notification thumbnail in 1:1 mode instead of stretching it #8533

merged 6 commits into from
Jul 13, 2022

Commits on Jun 3, 2022

  1. Change square bitmap transformation strategy

    Change the bitmap transformation strategy when a 1:1 aspect ratio is
    enabled to not stretch the bitmap but rather crop it.
    
    On Android 11/12, the way the whole thumbnail was used for the
    notification icon was not ideal, however the setting to toggle a 1:1
    (as it states in settings) resulted in distortions.
    
    Fix this by simply cropping the bitmap.
    OxygenCobalt committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    8fe5440 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2022

  1. Configuration menu
    Copy the full SHA
    585221f View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. Configuration menu
    Copy the full SHA
    45108af View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2022

  1. Update 1:1 mode strings

    Update the 1:1 mode strings to remove mentions of scaling or
    distortions, as those no longer apply.
    OxygenCobalt committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    3b1f97b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1882bed View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2022

  1. Configuration menu
    Copy the full SHA
    ebb77d6 View commit details
    Browse the repository at this point in the history