Commit Graph

766 Commits

Author SHA1 Message Date
Henrik Rydgård
b87ae5d7db Consolidate DPI/sizing handling on Android 2017-08-07 15:55:19 +02:00
Henrik Rydgård
43de028209 updateDisplayMetrics was a poorly defined method, removed it. 2017-08-07 15:07:55 +02:00
Henrik Rydgård
ae64519f05 More splitting of dpi vars 2017-08-07 15:03:07 +02:00
Henrik Rydgård
eaceef9373 Re-enable resizing the window on Android, change onConfigurationChanged flags 2017-08-07 15:02:18 +02:00
Henrik Rydgård
f4cf501cf6 Separate X and Y dpi_scale 2017-08-07 13:37:01 +02:00
Henrik Rydgård
11c75476f7 Turn g_dpi into a float, because why not 2017-08-07 12:16:08 +02:00
Henrik Rydgård
d44309405a Android: Fix scaling issue on configuration changes. Why was that division by 2 there??
Must have been some old left-over debug code.
2017-08-07 11:49:09 +02:00
Henrik Rydgård
ea047fa43a Android: Turn off resizability until we can properly fix the sizing logic. Helps #9866 2017-08-06 20:37:36 +02:00
Henrik Rydgård
3ce8680d9a Make the OpenSL wrapper an object too, to make sure it's always initialized the same. 2017-08-01 15:42:47 +02:00
Henrik Rydgård
a453dc8123 Make a state object for the Android audio wrapper 2017-08-01 15:28:45 +02:00
Unknown W. Brackets
21fbacd993 Build: Include Roboto in buildscripts. 2017-06-06 23:28:43 -07:00
Henrik Rydgård
751c61bd69 We are already shipping Roboto-Condensed.ttf, let's use it 2017-06-06 15:45:43 +02:00
Henrik Rydgård
3a640ff8aa Address comments, make things closer to the Win32 code. Things work better. 2017-06-06 11:30:20 +02:00
Henrik Rydgård
0af19719cb Fix vertical positioning, eliminate double-& 2017-06-05 23:45:58 +02:00
Henrik Rydgård
0d3d642371 It works! 2017-06-05 23:09:12 +02:00
Henrik Rydgård
0bf92a4fa2 Font rendering code runs but it sure ain't right 2017-06-05 23:09:11 +02:00
Henrik Rydgård
d9c43642c2 Fix assorted JNI issues, the calls work now. 2017-06-05 23:09:10 +02:00
Henrik Rydgård
871260fcc4 Start sketching native text rendering for Android 2017-06-05 23:09:04 +02:00
Henrik Rydgård
c5ebeb4273 Merge pull request #9780 from unknownbrackets/ge-record
GE recorder and replay
2017-06-05 10:08:55 +02:00
Henrik Rydgård
2391c0edd5 Fix reported null pointer error in the Java code 2017-06-04 11:51:24 +02:00
Unknown W. Brackets
36069d1446 GE Debugger: Simple framework to load dumps.
This tries to execute them within the context of the emulator as much as
possible, so we don't have weird bugs.  Going with a file type so we can
easily load the dump by opening the file directly.
2017-06-03 15:29:11 -07:00
Unknown W. Brackets
cbbd3cac7e GE Debugger: Initial structure for GE data dumping.
This snapshots the GE commands and drawing to facilitate debugging.
2017-06-03 15:29:09 -07:00
Henrik Rydgård
7bfccfbb13 Merge pull request #9745 from hrydgard/android-backend-switch-restart
Android: Just like on Windows, prompt to restart when changing graphics backend
2017-05-31 11:53:03 +02:00
Henrik Rydgård
01635a5cd6 Android: Just like on Windows, prompt to restart when changing graphics backend. 2017-05-31 11:12:11 +02:00
Unknown W. Brackets
1b491fe156 SoftGPU: Stub a jit for texel fetch. 2017-05-30 22:57:30 -07:00
Unknown W. Brackets
d5426e4360 SoftGPU: Move sampler code to a dedicated file. 2017-05-30 22:53:23 -07:00
Henrik Rydgård
d21a1f8813 Android: Fallback to OpenGL if Vulkan fails to init. 2017-05-30 10:31:41 +02:00
Henrik Rydgård
3ae4c122e5 Update to v1.4.2 2017-05-27 11:58:05 +02:00
Henrik Rydgård
be77ffd4e8 Show the Android "board name" in system information. 2017-05-26 12:29:27 +02:00
Henrik Rydgård
e776eff6db Update version to 1.4.1 2017-05-23 12:45:38 +02:00
Unknown W. Brackets
984060a85f Merge pull request #9677 from hrydgard/joystick-sensitivity
Quick hack to enable analog stick sensitivity on non-windows platforms.
2017-05-20 13:41:27 -04:00
Henrik Rydgård
4491c7e2ca Quick hack to enable analog stick sensitivity on non-windows platforms.
See #8028
2017-05-18 15:15:10 +02:00
Henrik Rydgård
df6ce90c84 When what we need is a shared_ptr, we should just go ahead and use one.
One of the top crashes reported in the Play Console is a ManagedTexture crash, so seeing if this might help.
2017-05-18 13:28:56 +02:00
Henrik Rydgård
22e509905e gradle: Add a "flavor dimension" to make Android Studio 3.0 happy 2017-05-18 12:34:44 +02:00
Enyby
55f4e75e21 Update buildassets.sh
Fix assets pathes in build scripts.
2017-05-17 20:17:25 +03:00
Enyby
ffb24621cd Update ab.sh
Fix pathes.
2017-05-17 06:15:01 +03:00
Enyby
57ebdda63b Update ab.cmd
Fixed pathes and copy dirs.
2017-05-16 12:05:42 +03:00
Unknown W. Brackets
3b4103cb3b System: Use a separate API for bool props.
This simplifies defaulting, instead of -1 being "true".
2017-04-29 17:35:12 -07:00
Unknown W. Brackets
ee68f09be5 Merge pull request #9653 from xiushudongfang/UI_background_android
UI: Allow choosing bgs (android)
2017-04-29 20:23:58 -04:00
Unknown W. Brackets
9ea7281b3c Core: Cleanup MAC address handling.
No need to make it leak, even if it doesn't matter much on shutdown.
Better to have the leak listing empty.
2017-04-29 12:48:06 -07:00
xiushu
c3a6d5a392 Remove blank line 2017-04-30 02:09:52 +08:00
xiushu
93536997cd UI: Allow choosing bgs (android) 2017-04-30 02:06:37 +08:00
Henrik Rydgard
cf365bb257 Minor cleanup with GOLD define - only use it in System_GetPropertyInt 2017-04-05 16:21:08 +02:00
Henrik Rydgård
186d471305 Update AndroidManifest version to 1.4.
(Probably can stop doing this though as Eclipse builds are no longer used for
releases).
2017-03-31 11:34:57 +02:00
Henrik Rydgård
8a7661a44f Gradle: Use the main assets directory instead of the android/assets one which is only updated when doing old style builds... 2017-03-31 10:59:46 +02:00
Henrik Rydgard
50e45207ea Prepare for ultra-wide screens like S8 and G6. See https://android-developers.googleblog.com/2017/03/update-your-app-to-take-advantage-of.html?m=1 2017-03-29 23:26:32 +02:00
Henrik Rydgård
60f74c3ba2 Gradle: Output the computed version name and code to text files for further processing. 2017-03-27 16:58:08 +02:00
Henrik Rydgård
9f3580f67d gradle: Automatically set Android version number according to git commit, when version >= 1.4. Fixes #9490. 2017-03-27 12:06:31 +02:00
Henrik Rydgard
6a88d6c5a4 gradle: Avoid catch-22 where you can't change the config when it starts out at release (sync needs to pass) 2017-03-25 09:38:05 +01:00
Henrik Rydgård
45e9b45830 Create a way to externally set versioncode and versionname. Will be useful for Google Play beta builds. 2017-03-23 10:47:58 +01:00