aboutsummaryrefslogtreecommitdiffstats
path: root/android/ui-core-protocol.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix incorrect orientation at boot.David 'Digit' Turner2010-10-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The goldfish kernel's event driver is very picky about the state of the virtual device it talks to. Essentially, it can only listen to h/w events if the corresponding IRQ is raised _after_ it has completed some initial setup. If the IRQ is raised before, the driver will refuse to listen to events, and any interaction becomes impossible. We changed the way our UI windows are built and managed previously, and this had the unfortunate effect of sending one h/w event too soon, which, in the old code, would raise the IRQ prematurely. This resulted in an input freeze. To work around this the UI code was modified to not send the initial h/w event, but this resulted in bad orientation of the home screen at the end of the boot sequence. This change allows the virtual device to wait for the kernel driver before raising the IRQ, in the case any h/w event has been buffered. It also removes the hack in the UI code, allowing the send of the initial h/w event at startup. BONUS MINOR CHANGES: EsounD probe: fix error message. console: fix compiler warnings libpng: proper handling of MMX support. android-configure.sh: fix --ignore-audio handling The option didn't do anything if the audio development packages are properly installed on the system. Change-Id: Ib134158873d5cb72290c9676d92d20233226c889
* emulator-ui: fix crash on exitDavid 'Digit' Turner2010-10-131-3/+0
| | | | | | | | + remove net_cleanup() call in qemu_main(). It is not needed since the corresponding function only deals with the virtual LAN management and was causing build issues on some machines. Change-Id: I63896b9886c59259f75025277601711b450b2c0d
* Passed boot properties from main to core as -boot-property parameters.Vladimir Chtchetkine2010-09-081-0/+1
| | | | Change-Id: I56955fb13a073b15ee2a41fdfbd6845bfe65edc5
* Add android_port initialization in the core.Vladimir Chtchetkine2010-09-011-0/+52
| | | | | | Also some minor cleanups to the ui <-> core stuff. Change-Id: I7d64ec1aa694c027851b7e262b6e1b80bb6cef08
* Fixed dependency ob core data in android/help.cVladimir Chtchetkine2010-09-011-0/+82
| | | | | | Also moved along -tcpdump option Change-Id: I9fc53e0dc6a86e9a880d6127bf2da3ac1d7ec58a
* Added qemu-android build target which will build bare (UI-stripped) emulatorVladimir Chtchetkine2010-07-271-1/+6
| | | | | | Also has some minor separation changes Change-Id: I367e26f691d4d77b43c59b090b01434133d33584
* Better separation of UI and Core sources for framebuffer emulation.David 'Digit' Turner2010-07-271-0/+24
| | | | | | + new document under docs/DISPLAY-STATE.TXT to explain what's happening. Change-Id: Ia0d233377266212da49af932c7528f46f5feb92d
* Moved dependency on android_ui_set_window_scale to ui-core-protocol.hVladimir Chtchetkine2010-07-161-0/+7
| | | | | | Also cleaned up dependency on android_base_port variable Change-Id: I8c1675a859e3d24e9bb174471dd03556c696aff1
* Removed hw-control dependency from the UI.Vladimir Chtchetkine2010-07-081-0/+11
| | | | | | | qemulator_setup has been setting brighness callback via direct call to hw-control. After the change callback is set via call to ui-core-protocol Change-Id: Ib96887d47cf765f38f4a7ad39f4f39963d9fb90d
* Move key event generation out of the UI realm into neutral space.Vladimir Chtchetkine2010-07-071-0/+29
Abstracted keycode event array into keycode_array.[hc], Moved key to keycode translation into charmap.c Change-Id: I4de0c9853fa93d675895fc361e62ee36c1c0a652