Commit Graph

8 Commits

Author SHA1 Message Date
James Chen b6a3153435 [android] Fix CanvasRenderingContext2D. Call fillData after recreateBuffer. System Font is displayed correctly on Android now. 2018-04-09 13:56:40 +08:00
James Chen 4397330777 [runtime, android] Fix local reference table overflow error problem in CCCanvasRenderingContext2D-android.cpp. (#1180) 2018-04-03 14:34:48 +08:00
James Chen 3c1da2db6c alphabetic textBaseline support. (#1173) 2018-03-29 16:24:36 +08:00
James Chen 73eb73c690 [android] textAlign supports 'middle'. recreate buffer in the constructor of CanvasRenderingContext2D. (#1172)
* [android] textAlign supports 'middle'. recreate buffer in the constructor of CanvasRenderingContext2D.

* bug fix in CanvasRenderingContext2DImpl.java

* java version 1.8
2018-03-29 15:50:38 +08:00
James Chen c341d94d1a Adds missing function implementation. (#1161) 2018-03-22 16:16:10 +08:00
James Chen c3602eb1e3 [runtime] Android testcase works. (#1148)
* Adds jsb_run_script_module for CommonJS module, reverts original `require`.

* Uses window.gameTick for sending tick event.

* Removes unused scripts.

* Android testcase works.
2018-03-15 18:12:38 +08:00
James Chen 2c3a86f7b1 [new-renderer] Label on android works. (#1146)
* Android HelloWorld without label works.

* Label on android works.
2018-03-14 21:19:51 +08:00
James Chen f0a79242d7 Android compile ok. (#1145)
* Android compile ok.

* Fixes for Android build .
2018-03-14 10:28:03 +08:00