Commit graph

301 commits

Author SHA1 Message Date
Vasily
d11f7414e4 Show close button when playing completed 2018-12-27 16:51:48 +02:00
kapodamy
3357fc0f17 more fixes
* use bold style in status (mission_item_linear.xml)
* fix download attemps not begin updated
* dont stop the queue if a download fails
* implement partial wake-lock & wifi-lock
* show notifications for failed downloads
* ¿proper bitmap dispose? (DownloadManagerService.java)
* improve buffer filling (CircularFile.java)
* [Mp4Dash] increment reserved space from 2MiB to 15MiB. This is expensive but useful for devices with low ram
* [WebM] use 2MiB of reserved space
* fix debug warning if one thread is used
* fix wrong download speed when the activity is suspended
* Fix "Queue" menu item that appears in post-processing errors
* fix mission length dont being updated (missing commit)
2018-11-22 23:33:34 -03:00
kapodamy
4d6cfd2043 resbase (08/11/2018) 2018-11-08 22:00:13 -03:00
kapodamy
21e205a6be main commit
Post-processing infrastructure
* remove interfaces with one implementation
* fix download resources with unknow length
* marquee style for ProgressDrawable
* "view details" option in mission context menu
* notification for finished downloads
* postprocessing infrastructure: sub-missions, circular file, layers for layers of abstractions for Java IO streams
* Mp4 muxing (only DASH brand)
* WebM muxing
* Captions downloading
* alert dialog for overwrite existing downloads finished or not.

Misc changes
* delete SQLiteDownloadDataSource.java
* delete DownloadMissionSQLiteHelper.java
* implement Localization from #114

Misc fixes (this branch)
* restore old mission listeners variables. Prevents registered listeners get de-referenced on low-end devices
* DownloadManagerService.checkForRunningMission() now return false if the mission has a error.
* use Intent.FLAG_ACTIVITY_NEW_TASK when launching an activity from gigaget threads (apparently it is required in old versions of android)

More changes
* proper error handling "infrastructure"
* queue instead of multiple downloads
* move serialized pending downloads (.giga files) to app data
* stop downloads when swicthing to mobile network (never works, see 2nd point)
* save the thread count for next downloads
* a lot of incoherences fixed
* delete DownloadManagerTest.java (too many changes to keep this file updated)
2018-11-08 19:00:44 -03:00
Christian Schabesberger
6f72ed7d65 Merge branch 'dev' into tablet_ui 2018-10-08 11:56:25 +02:00
jludden
3101914aa2 update linear layout
re-arrange elements and allow the video title to display over multiple lines
2018-09-30 07:42:02 +08:00
BO41
b30df0c03e fix broken merge resolve
fixing merge conflicts broke build
2018-09-11 19:37:12 +02:00
BO41
ce36b5b823 Java language level + javadoc + xml
replace with <>
String builder

BUILD SUCCESSFUL in 4s
39 actionable tasks: 4 executed, 35 up-to-date
2018-09-11 19:20:10 +02:00
BO41
63326ceff8 performance + usability
obsolete layout params
Ellipsis string can be replaced with ellipsis character
Missing inputType
Usage of showAsAction=always

BUILD SUCCESSFUL in 5s
39 actionable tasks: 4 executed, 35 up-to-date
2018-09-11 19:18:14 +02:00
BO41
6c101184b2 correctness
use apply() on SharedPreferences
use dp instead of sp for text sizes

BUILD SUCCESSFUL in 22s
39 actionable tasks: 10 executed, 29 up-to-date
2018-09-11 19:18:02 +02:00
BO41
8ec721733c accessibility
image without contentDescription
Keyboard inaccessible widget

BUILD SUCCESSFUL in 6s
39 actionable tasks: 4 executed, 35 up-to-date
2018-09-11 19:14:42 +02:00
Mauricio Colli
d3efd64525 Handle case where subscribers count is not available 2018-09-04 23:54:17 -03:00
Mauricio Colli
d38a7ced70 Improve tabs UX and saving/loading
- Show icons in the tabs list and dialog chooser
- Add a "restore to defaults" button
- Make removing gesture more user intuitive
2018-09-04 23:54:17 -03:00
Christian Schabesberger
d4f2ac6e9e fix drawer header font color for white theme 2018-09-01 12:33:08 +02:00
u1
b1d413d59a Grid layout for subscriptions 2018-08-31 16:49:25 +03:00
Vasily
fd68f37481 Grid layout for local lists 2018-08-31 14:34:32 +03:00
Christian Schabesberger
42739c8cf0 Merge branch 'dev' into tablet_ui 2018-08-28 21:28:10 +02:00
TheMatten
31a156ec44 Add background to fast rewind icon, change android:src to tools:src
-White icon was barely visible on bright backgrounds
-Secondly, drawable is set programmatically anyway and so it's setting in
 XML is good just for a confusion
2018-08-24 13:24:35 -03:00
TheMatten
df91c7d9ec Use animated circular design for gesture control (brightness and volume)
-Previous version used emojis for brightness and volume icons, which may
 be inconsistent across devices and do not fit well with other parts of UI
 (Frankly, previous version was more informative than eye-candy)

-This commit replaces old version with circular progress bar that shows
 current value (before conversion). Gesture mode (volume/brightness) is
 indicated by icon that changes between (4/3) modes according to current
 value

-Text information about current value was removed, because with progress
 bar present it does not add any real value to UI.
2018-08-24 13:24:35 -03:00
Somethingweirdhere
496d968771 Code reviewed 2018-08-24 12:26:15 +02:00
Somethingweirdhere
1c06d6b499 Fixes problems 1-3 2018-08-24 12:23:26 +02:00
Somethingweirdhere
aa26c71ee2 UI tweaks 2018-08-24 12:23:26 +02:00
Somethingweirdhere
015c2d3602 Added fab and handles, made cards cardier 2018-08-24 12:23:26 +02:00
Somethingweirdhere
219421094f UI redisign 2018-08-24 12:23:26 +02:00
Somethingweirdhere
7331ad2b88 + New Tab is now on the bottom
Made dialog more beautiful
2018-08-24 12:17:42 +02:00
Somethingweirdhere
0817731f57 Reduced Font size, fixed bugs that were created when moving the setting 2018-08-24 12:17:42 +02:00
Somethingweirdhere
0d4f810c0e Fixed 2. Use CardView to reprecent each tab. 2018-08-24 12:17:42 +02:00
Somethingweirdhere
f3c143d6bf Fixed 4. buggy behavior when adding a new tab. 2018-08-24 12:16:41 +02:00
Somethingweirdhere
59450e104f Reduced lag and increased button size for older devices&users. 2018-08-24 12:16:41 +02:00
Somethingweirdhere
804b466781 New selection menu 2018-08-24 12:16:41 +02:00
Somethingweirdhere
60ed3e1f81 Navigation drawer has services in a new menu! 2018-08-24 12:16:41 +02:00
Somethingweirdhere
891e2f420c Nav drawer now moves behind the status bar 2018-08-24 12:14:53 +02:00
Somethingweirdhere
188227a94c PopUp now looks better on hell theme 2018-08-24 12:14:53 +02:00
Somethingweirdhere
d1cf3ddddf Set up custom Main Page tabs 2018-08-24 12:14:53 +02:00
Somethingweirdhere
6c8f089967 Created a dialog for the main page content 2018-08-24 12:13:44 +02:00
Somethingweirdhere
a9003c4973 Added drawer menu 2018-08-24 12:04:35 +02:00
Mauricio Colli
cdb5b472c3 Add overlay to close popup 2018-08-22 23:57:57 -03:00
Vasily
1dbb297c5d Grid view 2018-08-22 10:14:01 +03:00
John Zhen Mo
2317ecc74d -Fixed playback parameter dialog settings not persisting through rotation.
-Moved playback parameter dialog step size selector to below pitch slider.
2018-06-28 12:04:30 -07:00
John Zhen Mo
a57265e920 -Fixed main video player end screen thumbnail not fitting screen aspect ratio. 2018-06-28 12:03:20 -07:00
John Zhen Mo
87a12db995 -Fixed statistics fragment button not animating when pressed.
-Removed background player notification button opacity change.
2018-06-28 11:58:33 -07:00
John Zhen Mo
6b09a40ffa -[#1383]Fixed popup player caption selector not populating due to full width aspect ratio selector.
-Fixed potential memory leak in media session connector containing player instance.
2018-06-28 11:58:32 -07:00
John Zhen Mo
1eac8f7500 -Added skip silence toggle to playback speed control.
-Added step size selector to playback speed control.
-Added skip silence flag to player intents.
-Moved default preset in playback speed control to neutral dialog button, renamed as reset.
-Removed nightcore preset from playback speed control.
2018-06-28 11:58:32 -07:00
annoyatron255
2f6dda0b45 Fix #1440 Broken Video Info Layout 2018-06-16 18:12:56 -05:00
TobiGr
5b937924ad Add dialog to accept privacy policy before sending crash report
Add link to privacy policy in about fragment
Replace some onClickListeners with Lamdas
2018-05-25 09:29:14 +02:00
Andrei.Rosca
b8592ceb01 Reduce overdraw 2018-05-05 10:26:35 +02:00
Christian Schabesberger
b986c61a60 Merge pull request #1342 from Somethingweirdhere/popupplayerdont
PopUpPlayer now also has a Play and Pause button
2018-05-03 17:25:11 +02:00
Somethingweirdhere
bef10ffff6 Now the play/pause button also has the correct scale! 2018-05-02 22:08:14 +02:00
Christian Schabesberger
c3fd7c8d2e make history ui more consistent 2018-04-29 12:51:57 +02:00
Christian Schabesberger
e319caec03 Project restructure for history part 1
- add HistoryInfoItem (deriving from StreamInfoItem)
  in order to add a special options menu for the list items
- delete HistoryActivity and everything that belongs to its UI (not the
  manager tho)
- put everything that is local into local. (subscriptions still missing)
2018-04-29 12:47:12 +02:00