yausername
890d1cb50b
update extractor, kiosk names and icons
2019-12-03 01:50:23 +05:30
yausername
4c89d1a6e5
Merge remote-tracking branch 'upstream/dev' into peertube-ui
2019-12-03 01:21:25 +05:30
Alexander--
3f51114129
Improve usability of settings on TV devices
...
* Add focus overlay to SettingsActivity
* Make screen "Contents of Main Page" navigable from remote
2019-12-01 12:43:38 +06:59
Alexander--
29136d633a
Intercept ActivityNotFoundException for ACTION_CAPTIONING_SETTINGS
2019-12-01 12:43:38 +06:59
Alexander--
20bff1389e
Disable touchScreenBlocksFocus on AppBarLayout
...
For some inexplicable reason this attribute got
enabled by default on Android 9, which effectively
prevents details screen from working
2019-12-01 12:41:11 +06:59
Alexander--
106e538d08
Excpicitly disable touchscreen requirement
2019-12-01 12:41:11 +06:59
Alexander--
dc7ae3917e
Leanback launcher support
2019-12-01 12:41:11 +06:59
Alexander--
c0fb96a911
Release seekbar on any confirmation key, not just DPAD_CENTER
2019-12-01 12:41:11 +06:59
Alexander--
a1e02f7704
Default to landscape orientation for Android TV
2019-12-01 12:41:11 +06:59
Alexander--
436c75ca6c
Make comment pic explicitly non-focusable
2019-12-01 12:41:11 +06:59
Alexander--
7d75950624
Disable srolling down comment list while comments are loading
...
Prevents comment list from losing focus to some outside View
when user tries to scroll down after reaching "end"
2019-12-01 12:41:11 +06:59
Alexander--
5f051a9766
More fixes to comment focus handling
2019-12-01 12:41:11 +06:59
Alexander--
5716cf8cb2
Add hints for focus transition from description
2019-12-01 12:41:11 +06:59
Alexander--
7bb5cacb0d
Special MovementMethod for video description
...
Video descriptions can be very long. Some of them are
basically walls of text with couple of lines at top or bottom.
They are also not scrolled within TextView itself, - instead
NewPipe expects user to scroll their containing ViewGroup.
This renders all builtin MovementMethod implementations useless.
This commit adds a new MovementMethod, that uses requestRectangleOnScreen
to intelligently re-position the TextView within it's scrollable container.
2019-12-01 12:41:11 +06:59
Alexander--
9801cf50e3
Save/restore focused item
2019-12-01 12:41:11 +06:59
Alexander--
b5558a8b78
Remove FixedGridLayoutManager
2019-12-01 12:41:11 +06:59
Alexander--
a7c31e6bcc
RecyclerView scroll fixes
...
* Move all focus-related work arouns to NewPipeRecyclerView
* Try to pass focus within closer parents first
* Do small arrow scroll if there are not more focusables in move direction
2019-12-01 12:41:11 +06:59
Alexander
6e76610f30
Eliminate bunch of ExoPlayer warnings
2019-12-01 12:41:11 +06:59
Alexander
6da2b399e8
Allow comment links (if any) to gain focus
2019-12-01 12:41:11 +06:59
Alexander
79c962fc88
More robust focus search in SuperScrollLayoutManager
...
FocusFinder has glitches when some of target Views have different size.
Fortunately LayoutManager can redefine focus search strategy to override
the default behavior.
2019-12-01 12:41:11 +06:59
Alexander
28fb864ed0
Focus video view thumbnail after it is loaded
2019-12-01 12:41:11 +06:59
Alexander
d23227d427
Implement global focus highlight
2019-12-01 12:41:11 +06:59
Alexander
eb6d26b6a4
Focus drawer when it opens
...
It is still buggy because of NavigationView (why the hell
is NavigationMenuView marked as focusable?) but at least initial
opening works as intended
2019-12-01 12:41:10 +06:59
Alexander
a8a28294d3
Support for seeking videos in directional navigation mode
2019-12-01 12:41:10 +06:59
Alexander
7db1ba40eb
Do not allow focus to escape from open DrawerLayout
...
Upstream DrawerLayout does override addFocusables, but
incorrectly checks for isDrawerOpen instread of isDrawerVisible
2019-12-01 12:41:10 +06:59
Alexander
d8bd8d87ec
Make player screen controls into buttons
...
Buttons are more likely to have "correct" styling and are
focusable/clickable out of box
2019-12-01 12:41:10 +06:59
Alexander
d29e0aa1a7
Improve usability of MainVideoActivity with directional navigation
...
* Hide player controls when back is pressed (only on TV devices)
* Do not hide control after click unless in touch mode
* Show player controls on dpad usage
* Notably increase control hide timeout when not in touch mode
2019-12-01 12:41:10 +06:59
Alexander
644ad110c0
Make description focusable, so TV users can scroll it
2019-12-01 12:41:10 +06:59
Alexander
6791de5fc0
Do not discriminate against non-Amazon TV boxes
2019-12-01 12:41:10 +06:59
Alexander
1bb96ef405
When child of CoordinatorLayout wants focus, show it!
...
The same logic is present in RecyclerView, ScrollView etc.
Android really should default to this behavior for all Views
with isScrollContainer = true
2019-12-01 12:41:10 +06:59
Alexander
7dc4ccf144
MainPlayer: make title and subtitle non-focusable
...
Focus isn't needed for marquee, only selection
2019-12-01 12:41:10 +06:59
Alexander
2b39438eba
Fix scrolling in main screen grid
...
GridLayoutManager is buggy - https://issuetracker.google.com/issues/37067220 :
it randomly loses or incorrectly assigns focus when being scrolled via
direction-based navigation. This commit reimplements onFocusSearchFailed()
on top of scrollBy() to work around that problem.
Ordinary touch-based navigation should not be affected.
2019-12-01 12:41:10 +06:59
Alexander
8952e2b0cd
Close DrawerLayout on back button press
2019-12-01 12:41:10 +06:59
Alexander
4806ac62ee
Correctly move focus from toolbar search bar to dropdown
...
We don't hide MainFragment when search is show, so FocusFinder
sometimes gives focus to (obscured) main content
2019-12-01 12:41:10 +06:59
Alexander
eaa1179572
Fix scrolling comments list
...
AppBarLayout mostly gets it, but we still need to uphold our own part -
expanding it back after focus returns to it
2019-12-01 12:41:10 +06:59
Rex_sa
77d3a1ef45
Translated using Weblate (Arabic)
...
Currently translated at 99.4% (505 of 508 strings)
2019-11-30 19:22:13 +01:00
Hosted Weblate
6e289b44c7
Merge branch 'origin/dev' into Weblate.
2019-11-29 20:05:27 +01:00
Jeff Huang
8039055a87
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (508 of 508 strings)
2019-11-29 20:05:25 +01:00
Florian
6c0f5bef21
Translated using Weblate (French)
...
Currently translated at 100.0% (508 of 508 strings)
2019-11-29 20:05:24 +01:00
Lucas Galello
7dd7ea1a32
Translated using Weblate (Spanish)
...
Currently translated at 99.6% (506 of 508 strings)
2019-11-29 20:05:24 +01:00
JoC
3bce9a8ead
Translated using Weblate (Spanish)
...
Currently translated at 99.6% (506 of 508 strings)
2019-11-29 20:05:23 +01:00
narayaan
da82e3f5d1
Translated using Weblate (Dutch)
...
Currently translated at 90.7% (461 of 508 strings)
2019-11-29 20:05:23 +01:00
Stefano Panzeri
0df5d7a934
Translated using Weblate (Italian)
...
Currently translated at 100.0% (508 of 508 strings)
2019-11-29 20:05:22 +01:00
WaldiS
27f38f329f
Translated using Weblate (Polish)
...
Currently translated at 100.0% (508 of 508 strings)
2019-11-29 20:05:21 +01:00
zeritti
c4707978c4
Translated using Weblate (Czech)
...
Currently translated at 100.0% (508 of 508 strings)
2019-11-29 20:05:20 +01:00
BennyBeat
2ad0792581
Translated using Weblate (Catalan)
...
Currently translated at 100.0% (508 of 508 strings)
2019-11-29 20:05:16 +01:00
naofum
8741856234
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (508 of 508 strings)
2019-11-29 20:05:00 +01:00
ssantos
e37a86efc2
Translated using Weblate (German)
...
Currently translated at 100.0% (508 of 508 strings)
2019-11-29 20:04:59 +01:00
Geoflly Adonias
baee238a2c
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (508 of 508 strings)
2019-11-29 20:04:59 +01:00
k1rakishou
e8437052d8
Add a setting for the lock screen thumbnail feature
2019-11-28 21:47:15 +03:00