Commit Graph

269 Commits

Author SHA1 Message Date
mmyduckx 95acc35ab9 add some native feature for videoplayer (#16096)
* add some native feature for videoplayer

* fix review&clang-tidy

* update version
2023-08-25 14:23:37 +08:00
mmyduckx 8c1a005d21 add http patch request process (#15898) 2023-08-09 11:27:39 +08:00
bofeng-song 95c93e51c1 refine: Optimize the display of the editing box on the Android platform. (#15730)
* refine: Optimize the display of the editing box on the Android platform.
2023-07-17 16:11:13 +08:00
ChiaNing bf7874a9f4 fix android label shadow Pollution (#15470) 2023-06-18 19:31:26 +08:00
mmyduckx e2f86928f6 fix android videoplayer player again cannot work (#15118) 2023-05-24 10:29:32 +08:00
minggo fbafcaace4 fix compiling error 2023-04-24 15:32:23 +08:00
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
bofeng-song 73412caf59 Fix the issue of button response offset caused by listening to incorrect objects (#14864) 2023-04-20 17:29:12 +08:00
bofeng-song 6822177313 Android platform, the edit box does not immediately display the contents of the soft keyboard (#14687) 2023-03-30 10:29:49 +08:00
江战 cdfd194c4c Add HPE Feature Detetion and JNI Method Refactoring (#14633) 2023-03-26 16:26:45 +08:00
江战 181bbc6569 Android: Game Activity Supports Controller Integration (#14625)
* Android Game activity support Controller
2023-03-24 13:44:09 +08:00
James Chen 756dbb736d Fix GlobalObject.runOnUiThread, keep the same logic as Activity.runOnUiThread. (#14616)
If we didn't fix this, ANR will be triggered in WebView test. But I think CocosWebView implementation is wrong.
Currently, CocosWebView.ShouldStartLoadingWorker.run is invoked in UI thread. latch.await is also called in UI thread, which is really dangerous and easily causes infinite waiting.
2023-03-21 16:26:16 +08:00
James Chen 937eb10402 [android] Remove dependence of Activity, prepare for surface-less rendering (#14612)
* Use `context` instead of `activity` as possible.

* Remove unused JniNativeGlue.h include.

* Remove unused import.

* Update JniHelper.h/.cpp, JniHelper::sActivity -> JniHelper::sContext.

* Fix log output name in CocosHelper.java

* Rename the second parameter JniHelper::init from `activity` to `context`.

* Update todo in JniHelper::getActivity()
2023-03-21 11:54:23 +08:00
bofeng-song 92c0220258 fix shadow not work while radiu set to 0 (#14047)
* fix shadow not work while radiu set to 0
2023-01-20 08:11:17 +08:00
bofeng-song 1da965c9ff Remind users to turn off the security keyboard if the keyboard does not pop up (#13981)
* Remind users to turn off the security keyboard if the keyboard does not pop up
2023-01-03 11:50:22 +08:00
minggo bfeca12a09 Merge branch 'v3.6.3' into merge-v3.6.3 2022-12-21 17:26:22 +08:00
bofeng-song 7b08aeb27e Repair that some switch buttons on the android platform do not respond (#13873) 2022-12-21 16:39:45 +08:00
bofeng-song 7361109947 fix potential crash due to null pointer (#13802)
* fix potential crash due to null pointer
2022-12-13 16:04:06 +08:00
OnlyKoei e0cd2932b7 Update Android KeepScreenOn handling (#13746) 2022-12-08 17:47:42 +08:00
bofeng-song 317a30d85b disable unused code (#13591)
* disable unused code
2022-12-05 11:56:52 +08:00
mmyduckx 854dd6859a set default HTTP protocol to HTTP 1.1 (#13578)
* set downloader default HTTP protocol to HTTP 1.1
2022-11-28 15:21:31 +08:00
santy-wang 91c884362d Merge branch 'v3.6.2' of github.com:cocos-creator/engine into v3.6.1-sync 2022-10-11 20:12:14 +08:00
bofeng-song 8f40d29372 refine: remove appCompat's dependency (#12854)
* refine: remove appCompat's dependency
2022-09-30 10:21:10 +08:00
bofeng-song 82cbdfb232 fix crash while dynamic call createSurface (#12829)
* fix crash while dynamic call createSurface

* Fix the application crash when returning from the background to the foreground
2022-09-22 10:57:12 +08:00
bofeng-song 6189898878 support create surfaceview dynamically at android platform (#12551)
* support create surfaceview dynamically at android platform
2022-09-20 11:38:42 +08:00
mmyduckx a5768715a8 fix okhttp onClosing not call close (#12783) 2022-09-16 10:37:35 +08:00
林玮 785fd91511 Add multi-windows support (#12243)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
2022-09-15 14:55:44 +08:00
James Chen 225e29e34c Fix downloader connection timeout (#12642) 2022-09-01 15:49:07 +08:00
timlyeee 9688366644 Trigger onerror callback when path cannot be write into (#12391) 2022-08-19 09:40:47 +08:00
minggo 5778aab354 Merge branch 'v3.6.0' into merge_v3.6 2022-08-08 10:49:46 +08:00
bofeng-song 9c7df0123c context2d support shadow attribute at Android platform (#12332) 2022-08-08 10:14:59 +08:00
bofeng-song 563a72a9dc only enable sensor need to register sensor listener (#12283) 2022-08-01 09:44:50 +08:00
timlyeee 50ffa3b39a V3.6.0 get language with LocaleList on Android7+ (#12073)
* get language by using system language settings
2022-07-20 11:18:09 +08:00
yangchao 2507bfe184 Fix video player bug (#11933) 2022-07-12 18:16:18 +08:00
timlyeee b43de1af07 V3.6.0 exit (#11856) 2022-07-07 14:07:47 +08:00
mmyduckx 0077fee553 fix android onProgress may over 100% when trigger breakpoint download (#11638) 2022-06-23 14:32:29 +08:00
timlyeee 98786920d0 Improve the experience of EditBox on iOS and fix some EditBox bugs
1. Improve the experience by using InputboxAccessoryView on TextView and TextField.
2. Fix bug when trying to show an editbox with no show info on Android
3. Fix bug when touch outside of the inputbox but cannot hide it.
2022-06-17 14:00:52 +08:00
江战 0f0b722318 follow MDN standard, fix Origin header format (#11509) 2022-06-16 14:00:55 +08:00
江战 1ee47a8142 fix url & add origin (#11505) 2022-06-15 09:57:28 +08:00
kenshin 6af32ff046 fix ttf font render on android (#11298)
use ttf font with splice string "-Bold" can not found in sTypefaceCache.
2022-06-01 15:58:42 +08:00
mmyduckx 22cc2e4878 add SharedPreferences related stroage implement (#11097) 2022-05-17 11:35:48 +08:00
bofeng-song 4e6a2f1be3 Android: support exit procedure (#10937) 2022-05-11 18:13:53 +08:00
bofeng-song 5bd5b59de4 reset gradle & jdk11 dependency (#11015)
* reset gradle to the original version
set compile tools version to 28
reset jdk11 dependency
2022-05-11 13:41:06 +08:00
minggo 84c27e7f71 Merge branch 'v3.5.0' into v3.6.0_merge_v3.5 2022-04-24 13:41:27 +08:00
bofeng-song ef7d80f8ae integrate game-activity (#10794) 2022-04-22 13:48:43 +08:00
bofeng-song 3a3e71632d disable sensor by default, game developer can enable it by set 'acce… (#10770)
* disable sensor by default,  game developer can enable it by set 'accelerometerEnable' to true
2022-04-15 09:49:56 +08:00
minggo a6bf766170 Merge branch 'v3.5.0' into v3.6_merge_v3.5 2022-03-29 18:26:40 +08:00
江战 909c9df9e9 prevent class CocosWebSocket from obfuscation in release mode (#10511) 2022-03-26 11:00:42 +08:00
Zeqiang Li e64301ad34 3.5.0 swappy (#10327)
* gles2/3 swappy
* vk swappy
* manually fallback in GL

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com>
2022-03-24 15:37:38 +08:00
kenshin 93f37f2b82 Optimize android download tasks. (#10274) 2022-03-21 19:53:11 +08:00