aboutsummaryrefslogtreecommitdiffstats
path: root/android/skin
Commit message (Collapse)AuthorAgeFilesLines
* Fix incorrect orientation at boot.David 'Digit' Turner2010-10-201-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Remove dependencies from qemu sources.David 'Digit' Turner2010-10-191-6/+6
| | | | | | This change removes some QEMU-specifics that crept into the UI code. Change-Id: Ib1974dc64e54a35dc0cd01aec1eb547a9263a0c8
* Remove compiler warnings when building the emulator.David 'Digit' Turner2010-09-223-3/+4
| | | | | | | This forces -Wall during the build. Note that this patch doesn't remove all warnings, but most of the remaining ones are from upstream anyway. Change-Id: I8808d8495e99866e156ce5780d2e3c305eab491f
* Added qemu-android build target which will build bare (UI-stripped) emulatorVladimir Chtchetkine2010-07-271-3/+3
| | | | | | Also has some minor separation changes Change-Id: I367e26f691d4d77b43c59b090b01434133d33584
* Better separation of UI and Core sources for framebuffer emulation.David 'Digit' Turner2010-07-271-10/+12
| | | | | | + new document under docs/DISPLAY-STATE.TXT to explain what's happening. Change-Id: Ia0d233377266212da49af932c7528f46f5feb92d
* Move key event generation out of the UI realm into neutral space.Vladimir Chtchetkine2010-07-071-88/+11
| | | | | | | Abstracted keycode event array into keycode_array.[hc], Moved key to keycode translation into charmap.c Change-Id: I4de0c9853fa93d675895fc361e62ee36c1c0a652
* Add small user-event abstraction interface.David 'Digit' Turner2010-05-252-7/+8
| | | | | | | | | | | | | | | | Preparation for future UI frontend/backend separation. This is done to ensure that the code under android/skin/ does not depend on any QEMU-specific header. We achieve this by adding a new abstract header "user-events.h" and one QEMU-specific implementations for the functions defined here. This also modifies console.h and vl-android.c to make them closer to upstream (by removing Android-specific changes). + fix Makefile.android to always build SDL from sources in standalone mode. Change-Id: I0d152741e7bb2c9cd283f5c35bd054385c7c1eb3
* Upstream: HOST_WORDS_ALIGNED -> WORDS_ALIGNEDDavid 'Digit' Turner2010-05-101-2/+2
| | | | Change-Id: Ica9022695d83fb48a8c25fdb1e1f0dc1c63747ff
* Do not use qemu_malloc() to allocate arrays.David 'Digit' Turner2009-10-061-5/+8
| | | | | This function will call abort() for zero-sized arrays. This is stupid so use the Android-specific functions that return NULL instead.
* Implementation for dynamic charmap option in emulator.vchtchetkine2009-09-212-22/+37
| | | | | Created .kcm parser and added -charmap option to the emulator, so user can specify keyboard layout for emulator session.
* Allow skins to provide a "dpad-rotation" field for each layout.David 'Digit' Turner2009-09-194-2/+24
| | | | | | | | | | This is used to deal with the fact that the framework *always* assumes that the physical DPad is rotated in landscaped mode, while the default skin no longer does that. NOTE: tested on old skin files for backwards compatibility. (Upcoming skin fixes coming in another patch)
* Add our modified SDL sources under distrib/sdl-1.2.12David 'Digit' Turner2009-06-081-5/+11
| | | | | | Fix distrib/make-distrib.sh script to work with git Fix distrib/build-emulator.sh to accomodate for new SDL configure script Handle Tiger SDK usage in SDL configure script
* Allow emulator skins to provide a button for the "search" hardware scan-code.David 'Digit' Turner2009-05-261-0/+1
| | | | This is different from using the F5 default key-binding that generates the same thing.
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-181-0/+6
|
* auto import from //branches/cupcake/...@137873The Android Open Source Project2009-03-112-155/+5
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0324-0/+16938
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0324-16938/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-1024-0/+16938