axmol/core/platform/android/java
RH 3916a2367b
Cross-platform media controller for video playback (#1845)
* Initial work on media controller

* Media player controller for WMF media engine

* Add getDuration and getCurrentTime methods to media engines

* Fix compilation

* Fix Android media timeline issues

* Fix compilation issue

* Fix WinRT compilation issue

* Fix compilation issue

* Add missing header include

* Make it simpler to create a custom media controller

* Ensure the basic media controller widget size is the same size as the media player on initialization

* Add dark media control underlay to give more contrast to the controls
ADd copyright notices

* Removing existing media controller from parent if required

* Adjust for view scaling since embedded resources are created for a scale of 1.

* Scale central media controls if required on content size change

* Remove pointless fast forward and fast reverse buttons
Ensure media controller correctly resizes on full-screen media playback

* Allow enable vlc on windows

* Improve media macro detect

* Add media controls drawn by DrawNode into single texture
Add fullscreen enter and exit controls
setUserInputEnabled and isUserInputEnabled replaced by setMediaControllerEnabled and isMediaControllerEnabled

* Update function calls to new names

* Revert back to setUserInputEnabled and isUserInputEnabled

* Remove embedded circle image and create it with DrawNode

* Change radius of drawn circle to half the total image size

---------

Co-authored-by: halx99 <halx99@live.com>
2024-04-24 22:28:59 +08:00
..
libs Rename core folder name 2021-12-31 14:39:08 +08:00
res Rename core folder name 2021-12-31 14:39:08 +08:00
src Cross-platform media controller for video playback (#1845) 2024-04-24 22:28:59 +08:00
AndroidManifest.xml Android: Update AGP to 8.1.1 2023-09-12 01:13:06 +08:00
build.xml Rename core folder name 2021-12-31 14:39:08 +08:00
lint.xml Final migrate (#876) 2022-10-01 16:24:52 +08:00
proguard-project.txt Rename core folder name 2021-12-31 14:39:08 +08:00