Commit graph

9620 commits

Author SHA1 Message Date
Isira Seneviratne
6d98753526 Use Set.of(). 2022-07-19 08:53:15 +05:30
Isira Seneviratne
5e33193c72 Update app/src/main/java/org/schabi/newpipe/fragments/detail/DescriptionFragment.java
Co-authored-by: Stypox <stypox@pm.me>
2022-07-19 05:13:38 +05:30
Stypox
cf9eb8312c Merge pull request #8475 from TacoTheDank/bumpMiscLibraries
Update some misc libraries
2022-07-18 23:56:41 +02:00
Stypox
808935152b Deduplicate SQL queries to get feed streams 2022-07-18 23:39:57 +02:00
Stypox
2fd85aa78e Merge pull request #8633 from Isira-Seneviratne/Use_ViewCompat_setBackgroundTintList
Use ViewCompat.setBackgroundTintList().
2022-07-18 23:31:56 +02:00
Isira Seneviratne
f9daa00017 Use stream sorting. 2022-07-16 08:34:04 +05:30
Isira Seneviratne
64f7889b52 Use ViewCompat.setBackgroundTintList(). 2022-07-16 05:49:52 +05:30
litetex
dc341bb6ac Fixed conflicts/build 2022-07-15 20:00:08 +02:00
litetex
b548b5d8d3 Added note that explains that unused code was removed. 2022-07-15 19:55:19 +02:00
litetex
c32fd9a20c Changed the code accordingly
+ Removed some unused code
2022-07-15 19:55:19 +02:00
litetex
1706856f24 Merge pull request #8170 from Stypox/player-refactor
Refactor player and extract UI components
2022-07-15 19:41:23 +02:00
Stypox
66e3a170d0 Fix random NullPointerException when adding video player view 2022-07-14 22:14:03 +02:00
Stypox
23da27886e Make video and playlist placeholder thumbnails 16:9
After making the playlist and video thumbnails' scaleType fitCenter, the 24dp*24dp thumbnails would appear as a square, which would be strange, since the image view is 16:9.
2022-07-14 14:47:54 +02:00
Stypox
a6cc11225d Rename dummy_* and more to placeholder_* 2022-07-14 14:27:33 +02:00
Stypox
d0788550ba Improve placeholder thumbnail SVGs and remove theme customization
Theme customization does not seem to work well with Picasso: square/picasso#1275
2022-07-14 14:14:33 +02:00
Stypox
0928add36b Remove bottom-sheet-thumbnail placeholder, clear the image instead 2022-07-14 14:14:33 +02:00
krlvm
aea711a3f7 Fix swapped colors in video and playlist thumbnails 2022-07-14 14:14:32 +02:00
krlvm
6e3add060e Rename buddy.xml to dummy_person.xml 2022-07-14 14:14:32 +02:00
krlvm
9e488dc461 Optimize thumbnail placeholder drawables 2022-07-14 14:14:32 +02:00
krlvm
9f48436b3d Use corresponding material icon in user profile thumbnail 2022-07-14 14:14:32 +02:00
krlvm
175459cd4f Improve image placeholders
- Show placeholders until the image is loaded because timeout can be very long and missing profile pictures and video thumbnails make app inconvenient to use

- Adapt profile picture and video thumbnail placeholders to light theme

- Replace profile picture and video thumbnail placeholders with vector graphics
2022-07-14 14:14:32 +02:00
TacoTheDank
85f8d5f16b Update OkHttp to 4.x 2022-07-14 03:23:45 -04:00
TacoTheDank
99c6530ce4 Update some miscellaneous libraries 2022-07-14 01:48:52 -04:00
Stypox
067239b4f7 Merge pull request #8542 from carmebar/share-playlist
Add 'Share playlist' option to Playlist fragment
2022-07-13 23:45:08 +02:00
Stypox
d71da66cc5 Move PlayerType into its own class and add documentation
Also replace some `isPlayerOpen` with direct `playerType == null` checks.
2022-07-13 23:33:18 +02:00
Stypox
47589426b1 Fix SonarLint java:S5320, restrict broadcasts to app package 2022-07-13 23:33:18 +02:00
Stypox
6e571a252a Some SonarLint refactors 2022-07-13 23:33:18 +02:00
Stypox
65651e0302 Some refactorings after review comments 2022-07-13 23:33:18 +02:00
Stypox
7e64750460 Move popup layout param to PopupPlayerUi 2022-07-13 23:33:18 +02:00
Stypox
cf4a472b5c Move functions to get Android dimen to ThemeHelper 2022-07-13 23:33:18 +02:00
Stypox
cb4a771a4e Fix volume gestures not working anymore 2022-07-13 23:33:18 +02:00
Stypox
b3201b20c7 Solve some Sonarlint warnings 2022-07-13 23:33:16 +02:00
Stypox
986be98a80 Restore checkstyle and solve its errors 2022-07-13 23:32:27 +02:00
Stypox
74addaa1c2 Add some javadocs; move preparing player uis to PlayerUiList 2022-07-13 23:31:59 +02:00
Stypox
9b701b373f Improve //region comments in player UIs 2022-07-13 23:30:30 +02:00
Stypox
9f2d912691 Add comment about broadcast receiver 2022-07-13 23:27:24 +02:00
Stypox
d689c9013b Remove unused PlayerServiceBinder 2022-07-13 23:27:24 +02:00
Stypox
e707113920 Remove unused PlayerState 2022-07-13 23:27:24 +02:00
Stypox
0352d546fd Move player-notification files into their package 2022-07-13 23:27:24 +02:00
Stypox
7f99dbbfe8 Move all notification-related calls to NotificationPlayerUi 2022-07-13 23:27:24 +02:00
Stypox
eba3996878 Fix some crashes / issues after player refactor 2022-07-13 23:27:23 +02:00
Stypox
5ba14c4b7c Refactor player: separate UIs and more 2022-07-13 23:25:26 +02:00
TacoTheDank
940d0443b6 More minSdk 21 cleanup 2022-07-13 19:03:47 +02:00
TacoTheDank
265637cd6a Remove AndroidX Webkit 2022-07-13 19:03:47 +02:00
litetex
353347aa19 Clean up pre-Lollipop theming 2022-07-13 19:03:47 +02:00
litetex
9071397ee9 Clean up pre-Lollipop compat attributes 2022-07-13 19:03:45 +02:00
litetex
4a4ca3c18e Clean up pre-Lollipop checks 2022-07-13 19:02:24 +02:00
litetex
abe2745b4a Remove MultiDex 2022-07-13 19:02:24 +02:00
litetex
7de93e31d1 Bump minSdk to 21 (Android 5 / Lollipop) 2022-07-13 19:02:23 +02:00
Stypox
2f5bcd4b37 Merge pull request #8573 from Stypox/better-thumbnails
Make thumbnails' `scaleType` `fitCenter`
2022-07-13 18:33:19 +02:00