Stypox
c80aba9a88
Use vector drawables instead of PNGs for material icons
...
For all manually-created images PNG have been kept.
- rename all icon attrs to have a `ic_` prefix
- always use `_24dp` icons, because there is no real difference, since they are vector drawables
- always use the original name found on material.io for icon drawables, as to not create confusion and possibly duplicates. Icon names can still be different from real drawable names, though I have made some of them compliant to this or maybe more meaningul.
- remove duplicate `getIconByAttr()` in ThemeHelper (use `resolveResourceIdFromAttr()`
- use standard icons for `expand_more` and `expand_less` instead of triangles
- use `play_button_outline` instead of custom PNG as play button in VideoDetailFragment (questionable, as there is no shadow anymore)
2020-05-21 15:39:35 +02:00
Stypox
5ede571a12
Merge pull request #3513 from Stypox/exoplayer
...
Update to ExoPlayer 2.11.4
2020-05-17 22:02:19 +02:00
Tobias Groza
cf1425bb96
Merge pull request #3337 from AioiLight/blocking-gesture-when-touch-from-navbar
...
Block the gesture when touch it from NavigationBar or StatusBar.
2020-05-09 10:43:15 +02:00
AioiLight
5245ac250d
Clean up code
...
Follow Checkstyle
Move to PlayerGestureListener from VideoPlayerImpl
Update app/src/main/java/org/schabi/newpipe/player/MainVideoPlayer.java
Co-authored-by: wb9688 <46277131+wb9688@users.noreply.github.com>
2020-05-09 10:11:46 +02:00
wb9688
4585c92fbe
Merge pull request #3545 from Stypox/kore
...
Fix Kodi button showing up with unsupported services
2020-05-07 21:44:09 +02:00
Stypox
5ae0ffca23
In player hide kodi button if service unsupported
2020-05-07 21:11:34 +02:00
wb9688
205c5ff2ca
Optimize imports
2020-05-01 20:13:01 +02:00
Stypox
f67aef64f7
Update to ExoPlayer 2.11.4
2020-05-01 15:03:54 +02:00
bopol
1e4e731a6a
Better detection of TV devices
...
Some devices were not detected as TV even though they are
2020-04-25 12:04:44 +02:00
Stypox
6d5f24c360
Fix pause button is not focused on player control activation
2020-04-21 09:25:09 +02:00
Alexander--
4cfeff6cbd
Don't break navigation if player Views other than controls are focused
2020-04-11 16:04:38 +06:59
Alexander--
a896f955f6
Fix Checkstyle violations in MediaSourceManager
2020-04-11 09:51:50 +06:59
Alexander--
a5e28105ac
Comply with Checkstyle rules
2020-04-11 09:02:22 +06:59
Alexander--
08459b3a90
Merge remote-tracking branch 'newpipe/dev' into rebase
2020-04-11 08:30:40 +06:59
Alexander--
2cac8a739d
Merge remote-tracking branch 'newpipe/dev' into rebase
2020-04-11 08:24:05 +06:59
Stypox
44fb0869b4
Fix checkstyle issues and improve code formatting
...
Also calculate differently the moved distance of a pointer: use euclidean and not manhattan geometry
2020-04-10 22:12:45 +02:00
Harshal Lele
2458d28244
formatting changes
2020-04-10 22:10:32 +02:00
Harshal Lele
9412c723f7
made formatting changes
2020-04-10 22:10:32 +02:00
Harshal Lele
feceb2bef8
changed popup resizing
2020-04-10 22:10:32 +02:00
Xiang Rong Lin
6472a5d69f
Save and restore playback parameters into/from preferences
...
Playback parameters are speed, pitch and skip silence.
Remove parameters being passed on as intent to the player, since the parameters can be restored from the preferences instead.
# Conflicts:
# app/src/main/java/org/schabi/newpipe/player/BasePlayer.java
2020-04-05 17:46:49 +02:00
AioiLight
74a78ad34c
Merge branch 'dev' into blocking-gesture-when-touch-from-navbar
2020-04-04 23:52:06 +09:00
Alexander--
a5d3ce0947
Merge remote-tracking branch 'newpipe/dev' into rebase
2020-04-03 06:56:52 +06:59
AioiLight
8c70316283
Block the gesture when touch it from NavigationBar or StatusBar.
2020-04-03 05:11:36 +09:00
wb9688
9c8349a8ed
Move things back to its original place
2020-04-02 15:57:50 +02:00
wb9688
ac264464ef
Improve code style to be more consistent
2020-04-02 15:57:50 +02:00
Stypox
459a68210e
Fix mute button causing crashes on API 19
...
Using rootView.getContext() because getApplicationContext() didn't work (it was probably missing information about theme)
2020-04-01 09:08:03 +02:00
Alexander--
6253ff6a36
Merge remote-tracking branch 'newpipe/dev' into rebase
2020-03-30 16:54:51 +06:59
Mauricio Colli
143656ecf4
Use correct class for getting a vector drawable in older APIs
2020-03-28 14:30:47 -03:00
bopol
9bf584bb3f
remove unused imports
2020-03-21 21:54:40 +01:00
bopol
837264767f
mute button color for queue
2020-03-21 21:51:11 +01:00
bopol
b7c986b40b
Change mute button color for more visibility
2020-03-21 16:58:53 +01:00
Alexander--
a1d056bdb8
Merge remote-tracking branch 'newpipe/dev' into rebase
2020-03-12 04:48:37 +06:59
Stypox
712a4222f6
Merge pull request #3165 from karkaminski/mute_button
...
Mute button
2020-03-08 10:29:25 +01:00
karol
c6bd30e44d
null risk issue
2020-03-05 19:07:46 +01:00
karol
735d05b1c3
mute/unmute text change in action bar
2020-03-04 18:53:17 +01:00
karol
642349a470
mute icon change in action bar
2020-03-04 18:37:04 +01:00
karol
c306ed423c
icon color change in action bar
2020-03-03 00:01:19 +01:00
karol
24ee7603cc
mute button in actionbar, no color change
2020-03-02 22:52:58 +01:00
karol
f81f7528d8
resolved issues
2020-03-02 21:12:02 +01:00
karol
e5ddc3171d
fix typo
2020-03-01 16:42:46 +01:00
karol
2ed9f70eed
set mute button in main player from other player
2020-03-01 13:02:20 +01:00
karol
553271b143
mute icon in main refactored
2020-02-27 23:30:17 +01:00
karol
ae8c842406
mute intent send between main-bckgrnd-popup players
2020-02-27 22:30:18 +01:00
Marcel Dopita
949c13632c
Support display cutout
...
Fixes #2682
2020-02-26 17:47:22 +01:00
Alexander--
c5c7c41c8f
Merge remote-tracking branch 'newpipe/dev' into rebase
2020-02-26 05:56:09 +06:59
karol
599b858bc6
icon change implemented in queque
2020-02-23 23:44:16 +01:00
karol
7294965c9d
mute-buton in queue layout and logic, but no icon change
2020-02-23 23:31:30 +01:00
karol
4ed056ad74
isMuted() added
2020-02-23 22:55:34 +01:00
karol
25c77f5349
mute-button implementation in main player
2020-02-23 22:32:23 +01:00
Tobias Groza
a30928c8d6
Merge branch 'dev' into unhook-save-restore
2020-02-23 00:19:44 +01:00