axmol/core/platform/android
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
..
ControllerManualAdapter Android: Update AGP to 8.1.1 2023-09-12 01:13:06 +08:00
java Cross-platform media controller for video playback (#1845) 2024-04-24 22:28:59 +08:00
jni Use different global names and #undef the #defines to stay unity build friendly. (#1653) 2024-02-06 07:39:54 +08:00
libaxmol Update android media3 to 1.2.1 2024-04-18 23:33:39 +08:00
libaxmol-with-controller Android: Update AGP to 8.1.1 2023-09-12 01:13:06 +08:00
Application-android.cpp Use different global names and #undef the #defines to stay unity build friendly. (#1653) 2024-02-06 07:39:54 +08:00
Application-android.h Fix memory leaks refreshed (#1638) 2024-01-29 22:30:14 +08:00
CMakeLists.txt Rename folder thirdparty ==> 3rdparty 2024-03-19 21:33:02 +08:00
Common-android.cpp Remove CC prefix from code file name (#1230) 2023-06-11 13:08:08 +08:00
Device-android.cpp Use different global names and #undef the #defines to stay unity build friendly. (#1653) 2024-02-06 07:39:54 +08:00
FileUtils-android.cpp Use different global names and #undef the #defines to stay unity build friendly. (#1653) 2024-02-06 07:39:54 +08:00
FileUtils-android.h Merge: 41714a04fd 2631c8405b 2023-09-02 19:56:50 +08:00
GL-android.h Prepare 2.1.0 release 2023-12-08 01:04:43 +08:00
GLViewImpl-android.cpp Implement new axmol log system based on fmtlib (#1732) 2024-03-07 08:47:00 +08:00
GLViewImpl-android.h Merge: 41714a04fd 2631c8405b 2023-09-02 19:56:50 +08:00
StdC-android.h Remove CC prefix from code file name (#1230) 2023-06-11 13:08:08 +08:00
javaactivity-android.cpp Rename cocos_android_app_init to axmol_android_app_init and othre code cleanup 2024-01-29 08:51:35 +08:00