Commit graph

3349 commits

Author SHA1 Message Date
litetex
e2f5b521bb Merge pull request #8621 from Stypox/deduplicate-feed
Deduplicate SQL queries to get feed streams
2022-07-24 14:52:35 +02:00
Stypox
94748e6718 Merge pull request #8670 from Isira-Seneviratne/Update_FocusAwareCoordinator
Remove deprecated method calls in FocusAwareCoordinator.
2022-07-23 17:12:29 +02:00
Stypox
256e780deb Merge pull request #8663 from Isira-Seneviratne/Remove_unnecessary_methods
Remove unnecessary methods.
2022-07-23 16:31:28 +02:00
Stypox
16d875b93c Merge pull request #8648 from Isira-Seneviratne/Use_IO_extensions
Use IO extensions.
2022-07-22 18:30:51 +02:00
Stypox
d660f787e9 Merge pull request #8676 from Stypox/fix-channel-placeholders
Fix wrong thumbnail used as placeholder for channel
2022-07-22 18:16:42 +02:00
Stypox
1bd45af4fb Fix ListHelperTest failure caused by immutable list being used 2022-07-22 16:09:43 +02:00
Stypox
47c66c3431 Fix wrong thumbnail used as placeholder for channel 2022-07-22 15:13:47 +02:00
Isira Seneviratne
d776c705da Remove deprecated method calls in FocusAwareCoordinator. 2022-07-21 09:01:19 +05:30
Isira Seneviratne
a8360f1002 Remove unnecessary method in ChannelFragment. 2022-07-21 08:02:23 +05:30
Isira Seneviratne
ec1154cf2d Refactor notifying method in PlayQueue. 2022-07-21 08:02:23 +05:30
Isira Seneviratne
bfabd7ae2e Use IO extensions.
Co-authored-by: Stypox <stypox@pm.me>
2022-07-21 05:15:39 +05:30
Stypox
24dad270d9 Merge pull request #8651 from Isira-Seneviratne/Use_limiting_methods
Use range-limiting methods.
2022-07-20 15:06:45 +02:00
Stypox
b882058c1a Improve code style 2022-07-20 15:05:25 +02:00
Stypox
d4b4e94a39 Merge pull request #8631 from Isira-Seneviratne/Use_collection_factories
Use Java 9 collection factories.
2022-07-20 14:52:18 +02:00
Stypox
6571c0ae20 Improve code style in List.of() 2022-07-20 14:50:23 +02:00
Stypox
b4aee4b196 Merge pull request #8635 from Isira-Seneviratne/Use_stream_sort
Use stream sorting.
2022-07-20 11:06:56 +02:00
Isira Seneviratne
7d0645a32d Use coerceIn(). 2022-07-20 05:36:01 +05:30
Isira Seneviratne
000da24de2 Use MathUtils.clamp().
Co-authored-by: Stypox <stypox@pm.me>
2022-07-20 05:36:01 +05:30
Isira Seneviratne
bcab7925d2 Use Map.of(). 2022-07-20 04:39:11 +05:30
Isira Seneviratne
7d25b35364 Replace LinkedHashMap with List.of(). 2022-07-20 04:39:11 +05:30
Isira Seneviratne
6f77ff6c53 Use List.of(). 2022-07-20 04:39:11 +05:30
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
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
a6cc11225d Rename dummy_* and more to placeholder_* 2022-07-14 14:27:33 +02:00
Stypox
0928add36b Remove bottom-sheet-thumbnail placeholder, clear the image instead 2022-07-14 14:14:33 +02:00
krlvm
6e3add060e Rename buddy.xml to dummy_person.xml 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
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