Commit Graph

58 Commits

Author SHA1 Message Date
Aaron Culliney
debd0370b3 Only choose 8888 color for now 2015-05-30 23:19:20 -07:00
Aaron Culliney
e6ec58a8ba Fix Android build break 2015-05-29 21:48:39 -07:00
Aaron Culliney
9e9939a3a6 Only allow explicit main menu requests to bubble up
- Works around existing bugs in various gltouchwidget's logic
2015-05-23 23:17:33 -07:00
Aaron Culliney
da0b4c51cf Changes Android Studio made when upgraded 2015-05-23 22:49:03 -07:00
Aaron Culliney
fe8aa03360 Updates for Android build 2015-05-10 14:06:20 -07:00
Aaron Culliney
5ec12f2e08 Remove unused configuration settings 2015-05-10 14:04:58 -07:00
Aaron Culliney
68011fa8f2 First cut at touch menu HUD
- Enables choosing touch keyboard or touch joystick
    - Enables increasing/decreasing speed
    - Enables opening main popup menu
    - Also migrates all gesture responsibility away from Java side of things
2015-05-09 19:23:52 -07:00
Aaron Culliney
4e23795cfd First cut at GL touch keyboard 2015-04-22 23:32:36 -07:00
Aaron Culliney
fc531ea8dd Disk selection now just returns to emulation 2015-04-18 15:29:04 -07:00
Aaron Culliney
c2bd14f9b5 REFACTOR : glcpuanim now manages all generic alert messages 2015-04-18 15:15:09 -07:00
Aaron Culliney
c48e72c27f Keep native side paused on "system" onResume() 2015-04-17 21:43:02 -07:00
Aaron Culliney
883403e6e8 Avoid android.view.WindowLeaked issue with lingering popups
- Was seeing android.view.WindowLeaked issue on certain devices if the main popup menu was left lingering (which was
      previously by design ... bad design apparently)
    - Simplifies lifecycle pause/resume (should be no Android UI showing now)
    - Emulation resumes automatically, will handle pausing-CPU-on-resume on native side in subsequent commit
2015-04-17 21:42:45 -07:00
Aaron Culliney
ee8660e394 Prevent creating a second native CPU thread on multiple onCreate() calls
- This was blowing up in an assert on the native side, yay defensive coding!
2015-04-17 21:41:46 -07:00
Aaron Culliney
2bc846d1fe Revert "Fix non-deterministic ctor load issues and use singleton for video_backend module access"
This reverts commit af95212a19.

    TODO : make ctor loads deterministic
2015-04-17 21:40:56 -07:00
Aaron Culliney
af95212a19 Fix non-deterministic ctor load issues and use singleton for video_backend module access 2015-04-16 21:53:12 -07:00
Aaron Culliney
ca139ee94a REFACTOR : glanimation rechristend, touch handling genericized
- 'animation' was too constrained a name to what these do, so switch to the overloaded term 'node' ;-)
    - Touch handling is no longer the sole purview of the touchjoy, (in prep for touchable HUD elements)
2015-04-12 15:55:06 -07:00
Aaron Culliney
19e1a8e3d8 REFACTOR : beginnings of object-oriented approach for HUD models 2015-04-12 00:40:43 -07:00
Aaron Culliney
101d78d160 Assure we use only landscape dimensions 2015-04-11 11:42:40 -07:00
Aaron Culliney
e876cd03b6 REFACTOR : begin consolidating common code for OpenGL HUD interfaces 2015-04-11 11:42:18 -07:00
Aaron Culliney
bbf10565a8 Eliminate flicker when main menu showing by continuing to render 2015-04-07 22:50:00 -07:00
Aaron Culliney
d298601bbe Android main menu : quit choice should be last 2015-04-07 22:46:36 -07:00
Aaron Culliney
e808dd9861 First cut at Android disk selection interface 2015-04-07 22:42:47 -07:00
Aaron Culliney
ae27a891dd Various updates to menu system 2015-04-07 22:18:25 -07:00
Aaron Culliney
10590052f2 Avoid NPEs when servicing gestures 2015-04-04 22:36:04 -07:00
Aaron Culliney
30236cb400 First cut at GL Touch Joystick 2015-04-01 19:59:38 -07:00
Aaron Culliney
ccca77908a Tweaks to get ndk-gdb.py running again
- magick incantation : ndk-gdb.py --force --launch org.deadc0de.apple2ix.Apple2Activity
2015-03-30 22:03:38 -07:00
Aaron Culliney
e878ff7750 tests run again on Android 2015-03-22 21:44:03 -07:00
Aaron Culliney
c96f4ef6fb Some Android build tweaks 2015-03-22 19:16:18 -07:00
Aaron Culliney
dc8ed4f611 Two flavors of the Android build 2015-03-22 19:14:15 -07:00
Aaron Culliney
a4987671d9 Android rotates to the sensor landscape 2015-03-22 19:13:28 -07:00
Aaron Culliney
47ff7b5c08 Android keyboard delete operates as expected 2015-03-22 19:12:52 -07:00
Aaron Culliney
af42dc36b2 Squashed commit of the following:
CPU speed animation touch-ups, and enable building for desktop
    Rename/shuffle animation declarations and code
    Refactor backend video system to be a dynamically initialized module
    Basic CPU speed texture animation works on desktop Linux and Android
    Use static pixel buffers to avoid malloc/free churn
    Improve CPU animations
    First cut at CPU speed message animation
    Refactor some of the classic interface functions to be potentially reusable elsewhere
2015-03-22 18:53:13 -07:00
Aaron Culliney
1635cd5245 Android build system updates to support demo and full versions for both debug and release 2015-03-15 15:52:10 -07:00
Aaron Culliney
51617fa620 Android : use GestureDetector instead of raw touch handling
- Also simplifies general settings (now you can swipe to change emulation speed)
2015-03-14 15:42:02 -07:00
Aaron Culliney
45c59fcb56 Improved Android main menu and begin to implement the settings page 2015-03-12 23:08:38 -07:00
Aaron Culliney
99d9c3510e Handle more key codes 2015-03-12 15:09:26 -07:00
Aaron Culliney
e5fde057c9 Don't create new cpu_thread on app resume 2015-03-12 14:45:17 -07:00
Aaron Culliney
91e7136b8f A more visually-pleasing and functional main menu on Android 2015-03-11 19:08:12 -07:00
Aaron Culliney
2965afe12e Two-finger-touch pops up softkeyboard and adjusts GL viewport 2015-03-11 12:54:50 -07:00
Aaron Culliney
d934e06d8a First cut at Android main menu 2015-03-10 23:32:08 -07:00
Aaron Culliney
1d9ec627f8 Android CLI builds hiccup on this file ... comment for now 2015-03-10 14:39:08 -07:00
Aaron Culliney
febadf34eb Add proper icons to Android Studio project 2015-03-10 14:32:48 -07:00
Aaron Culliney
31eff71a84 Android Studio appears to build and run the project
- Still need to pre-build the NDK component from CLI, but eh, diminishing returns at the moment
2015-03-10 14:20:58 -07:00
Aaron Culliney
1ee52c1d02 Renamespace Android app 2015-03-10 13:38:14 -07:00
Aaron Culliney
91c9790d87 Initial Android Studio Gradle project 2015-03-10 13:28:27 -07:00
Aaron Culliney
e839baa931 Updates to prepare/support Android Studio / Gradle builds 2015-03-10 13:15:36 -07:00
Aaron Culliney
2cb26b089f First cut at translating Android keys to Emulator keys 2015-02-28 21:48:08 -08:00
Aaron Culliney
1d6e9cd0d5 Build testdisplay and testvm
- Build system is becoming a bit redundant, but eh, would rather just avoid the blackhole of build system refactoring that =P
2015-02-24 20:54:43 -08:00
Aaron Culliney
c3969f9d1d Fixes to get Android tests rendering 2015-02-24 20:53:19 -08:00
Aaron Culliney
bf1e15b6c9 testdisk appears to work and is rendering on Android 2015-02-24 16:03:21 -08:00