straw/app/src/main/java/org/schabi/newpipe/player
Alex 6f7298b9db
Crop the notification thumbnail in 1:1 mode instead of stretching it (#8533)
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.

Also update the 1:1 mode strings to remove mentions of scaling or
distortions, as those no longer apply.
2022-07-13 17:19:44 +02:00
..
datasource Update ExoPlayer to 2.18.0 2022-06-25 21:14:42 -04:00
event Make volume progress bar match system volume when we start sliding 2022-05-09 21:40:13 +02:00
helper Wrap debug log in if(DEBUG) 2022-06-18 18:09:12 +02:00
listeners/view Add support of other delivery methods than progressive HTTP (in the player only) 2022-06-17 22:00:22 +02:00
mediaitem Update ExoPlayer to 2.18.0 2022-06-25 21:14:42 -04:00
mediasession updated: ExoPlayer to 2.17.1. 2022-03-19 15:56:45 -04:00
mediasource updated: source loading error for FailedMediaSource to wait for 3 seconds before allowing retry. 2022-03-27 13:24:37 -04:00
playback Update ExoPlayer to 2.18.0 2022-06-25 21:14:42 -04:00
playqueue Fix compile errors 2022-07-04 23:19:41 +02:00
resolver Update ExoPlayer to 2.18.0 2022-06-25 21:14:42 -04:00
seekbarpreview Replace UniversalImageLoader with Picasso 2021-08-24 10:56:25 +02:00
AudioServiceLeakFix.java Improve code style to be more consistent 2020-04-02 15:57:50 +02:00
MainPlayer.java Completely close player when changing stream w/o autoplay 2021-09-01 20:13:27 +02:00
NotificationConstants.java Fix Dark elements in Light Theme 2021-03-27 17:46:05 +03:00
NotificationUtil.java Crop the notification thumbnail in 1:1 mode instead of stretching it (#8533) 2022-07-13 17:19:44 +02:00
Player.java Merge pull request #8536 from TacoTheDank/bumpExoPlayer 2022-07-13 12:59:12 +02:00
PlayerServiceBinder.java Merge player classes into a single one 2021-01-14 10:25:44 +01:00
PlayerState.java Improve code style to be more consistent 2020-04-02 15:57:50 +02:00
PlayQueueActivity.java Update PlayQueueActivity.java 2022-04-17 18:15:13 +08:00