summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* Support non-orientation aware keyboards and other devices.Jeff Brown2010-11-307-275/+643
| | | | | | | | | | | | | | | | | | | | | | | | | Fixed a bug with dpad keys on external keyboards being rotated according to the display orientation by adding a new input device configuration property called "keyboard.orientationAware". Added a mechanism for overriding the key layout and key character map in the input device configuration file using the new "keyboard.layout" and "keyboard.characterMap" properties. Also added "trackball.orientationAware", "touch.orientationAware" and "touch.deviceType" configuration properties. Rewrote the configuration property reading code in native code so that it can be used by EventHub and other components. Added basic support for installable idc, kl, and kcm files in /data/system/devices. However, there is no provision for copying files there yet. Disabled long-press character pickers on full keyboards so that key repeating works as expected. Change-Id: I1bd9f0c3d344421db444e7d271eb09bc8bab4791
* Update 9patch structure when rendering with different divs/colors.Romain Guy2010-11-306-87/+165
| | | | | | Bug #3221488 Change-Id: Ifc9e42a991d630feadc9e8032322f37504d09d6d
* fix messages from sqlite layer in c++ code to be useful.Vasu Nori2010-11-291-2/+4
| | | | Change-Id: Ib13f86f3481aae391f5e887bb14877f12bf48034
* Fix 'BCCscript' build break.Iain Merrick2010-11-291-2/+4
| | | | | | | | | | | | frameworks/compile/libbcc/include/bcc/bcc.h was updated in change I3f3d31fc. What used to be "struct BCCscript" is now "class bcc::BCCscript" for C++ code. Looks like the framework/base header rsScriptC.h is just trying to forward-declare the same type, so we just need to make the same change there. Change-Id: I6f6f9dd7608af01d519c2e26fd9b5e6649f71902
* Merge "Fix physics bug causing balls to stack."Jason Sams2010-11-242-2/+15
|\
| * Fix physics bug causing balls to stack.Jason Sams2010-11-242-2/+15
| | | | | | | | Change-Id: I681905cf7499bb92db47ba2a4cca10d0834cf425
* | Merge "Fix hang in native bitmap recycling due to nested mutex locks"Chet Haase2010-11-232-6/+0
|\ \
| * | Fix hang in native bitmap recycling due to nested mutex locksChet Haase2010-11-232-6/+0
| | | | | | | | | | | | Change-Id: Ic37d5408ddb3f68aba6520fb0c78ffde91dfbe62
* | | Merge "Port Emulator keymaps."Jeff Brown2010-11-232-4/+40
|\ \ \ | |/ / |/| |
| * | Port Emulator keymaps.Jeff Brown2010-11-232-4/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also added a validation tool for keymaps (not currently integrated into the build system but getting there). This change brings back Android.mk with the intent that it will be used to validate keymaps in a later change. Added some missing keys that are present on phones. Bug: 3215210 Bug: 3225421 Change-Id: Id817c6e2215164616942c51a42752915d9ceacd3
* | | am 9df7f313: am f0f6c54b: Merge "frameworks/base: Destroy the overlay even ↵Jean-Baptiste Queru2010-11-231-2/+7
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | if there is an error" * commit '9df7f31359866a77a47c9fab3171c71715fd0056': frameworks/base: Destroy the overlay even if there is an error
| * | am f0f6c54b: Merge "frameworks/base: Destroy the overlay even if there is an ↵Jean-Baptiste Queru2010-11-231-2/+7
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | error" * commit 'f0f6c54b13831b11bd7a3bd7a01dc49b7505e56e': frameworks/base: Destroy the overlay even if there is an error
| | * | frameworks/base: Destroy the overlay even if there is an errorNaomi Luis2010-11-221-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow the overlay object to be destroyed whenever the destroy is invoked. Currently the destroy call returns if there is an error encountered, which results in open data and control channels. Change-Id: I1f2ef4ebb5fb1dcabf05ab50b5bbf6e5e240a63a
| * | | am b27b8c0c: Fix a key repeating bug. (DO NOT MERGE)Jeff Brown2010-11-181-40/+40
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit 'b27b8c0caf8ff23d10eea655085769f314050427': Fix a key repeating bug. (DO NOT MERGE)
| | * | | Fix a key repeating bug. (DO NOT MERGE)Jeff Brown2010-11-171-40/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes a bug in the dispatcher where the window manager policy would incorrectly receive a key repeat count of 0 in the case where the key repeat was generated by the hardware or driver. Long-press on HOME was broken as a result. Repeating keys could also get stuck down. Bug: 3159581 Bug: 3208156 Change-Id: I1145487cfcc41a7850dba4cafc63c4a5951ace5b
| * | | | am bfc1cc2d: Fix stuck keys when released out of order. (DO NOT MERGE)Jeff Brown2010-11-181-2/+2
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'bfc1cc2d1ea85cc754e63b422eb8cef8ae6a3667': Fix stuck keys when released out of order. (DO NOT MERGE)
| | * | | Fix stuck keys when released out of order. (DO NOT MERGE)Jeff Brown2010-11-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3208156 Change-Id: I14e4d54f4912de5e2fabcd8638120623aa2d16e0
* | | | | More error checksJason Sams2010-11-2210-70/+65
| |_|_|/ |/| | | | | | | | | | | Change-Id: Id2b9ab7a76bbdf2ed745f5e36e552dc9b101982f
* | | | Fix SDK build on Windows due to use of mmap.Jeff Brown2010-11-191-15/+17
| | | | | | | | | | | | | | | | Change-Id: Id4bd9a6f932285c93c5853e540efc20b99876564
* | | | Remove unnecessary export_func pragma.Stephen Hines2010-11-1810-21/+0
| | | | | | | | | | | | | | | | Change-Id: Ibe5c5f186cfc12a31f3fb4f0f7472e3b60836394
* | | | Fixing the state restore bug.Alex Sakhartchouk2010-11-181-0/+1
| | | | | | | | | | | | | | | | Change-Id: I30446a2d552b98fc69878bc7b4fc1a0fd358fc99
* | | | Support for cubemaps.Alex Sakhartchouk2010-11-1815-49/+290
| | | | | | | | | | | | | | | | Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee
* | | | Merge "Added support for full PC-style keyboards."Jeff Brown2010-11-1810-629/+1363
|\ \ \ \
| * | | | Added support for full PC-style keyboards.Jeff Brown2010-11-1810-629/+1363
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BREAKING CHANGE: Redesigned the key character map format to accomodate full keyboards with more comprehensive suite of modifiers. Old key character maps will not work anymore and must be updated. The new format is plain text only and it not compiled to a binary file (so the "kcm" tool will be removed in a subsequent check-in). Added FULL keyboard type to support full PC-style keyboards. Added SPECIAL_FUNCTION keyboard type to support special function keypads that do not have any printable keys suitable for typing and only have keys like HOME and POWER Added a special VIRTUAL_KEYBOARD device id convention that maps to a virtual keyboard with a fixed known layout. This is designed to work around issues injecting input events on devices whose built-in keyboard does not have a useful key character map (ie. when the built-in keyboard is a special function keyboard only.) Modified several places where events were being synthesized to use the virtual keyboard. Removed support for the "qwerty" default layout. The new default layout is "Generic". For the most part "qwerty" was being used as a backstop in case the built-in keyboard did not have a key character map (probably because it was a special function keypad) and the framework needed to be able to inject key events anyways. The latter issue is resolved by using the special VIRTUAL_KEYBOARD device instead of BUILT_IN_KEYBOARD. Added the concept of a key modifier behavior so that MetaKeyKeyListener can distinguish between keyboards that use chorded vs. toggled modifiers. Wrote more robust key layout and key character map parsers to enable support for new keyboard features and user installable key maps. Fixed a bug in InputReader generating key ups when keys are released out of sequence. Updated tons of documentation. Currently QwertyKeyListener is being used for full keyboards with autotext and capitalization disabled. This mostly works but causes some problems with character pickers, etc. These issues will be resolved in subsequent changes. Change-Id: Ica48f6097a551141c215bc0d2c6f7b3fb634d354
* | | | | Merge "Mark a non-exported function as static."Stephen Hines2010-11-181-1/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Mark a non-exported function as static.Stephen Hines2010-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I2f497e8ec4dcfb878ce9491577e46d4c1ea09723
* | | | | Add caching support of BCC binaries.Shih-wei Liao2010-11-183-11/+20
| | | | | | | | | | | | | | | | | | | | Change-Id: I1e75bb84d88319cb6f1bbe6d907cf6e8ed546142
* | | | | am 5e069074: am a15e4886: Merge "Framebuffer: Support variable number of ↵Jean-Baptiste Queru2010-11-171-19/+26
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | framebuffers in the UI" * commit '5e0690745a45f99d12d940dd4aaae814b00a429e': Framebuffer: Support variable number of framebuffers in the UI
| * | | | am a15e4886: Merge "Framebuffer: Support variable number of framebuffers in ↵Jean-Baptiste Queru2010-11-171-19/+26
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | the UI" * commit 'a15e4886de8f75f3cb137f51743d330414c910e8': Framebuffer: Support variable number of framebuffers in the UI
| | * | | Framebuffer: Support variable number of framebuffers in the UIRodrigo Obregon2010-11-031-19/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change defines a macro NUM_FRAME_BUFFERS to set the desired number of framebuffers to be used by the UI, instead of hard-coding 2 framebuffers. Aditional logic has been added to handle the initialization and destruction of NUM_FRAME_BUFFERS buffers. Change-Id: I3a4bfec3e0f453432f2ffebf084c00f574d3be46 Signed-off-by: Rodrigo Obregon <robregon@ti.com>
| | * | | Only monitor recognized uevent devices.Sean McNeil2010-08-231-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | system_server can potentially monitor uevent devices that are of no use to it. For instance, an accelerometer implementation as uevents. This would cause the process to be busy when unnecessary. If a device cannot be classified, don't monitor it. Change-Id: I489cc453bdce7cb376102cba67a9ea470e13292d
| * | | | am fe40e9e0: Merge "fix [3148312] Region can access data out of bounds" into ↵Mathias Agopian2010-11-081-1/+1
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | gingerbread * commit 'fe40e9e0ce7b5536be9f9ff0596714a0eb921b1e': fix [3148312] Region can access data out of bounds
| | * | | Merge "fix [3148312] Region can access data out of bounds" into gingerbreadMathias Agopian2010-11-081-1/+1
| | |\ \ \
| | | * | | fix [3148312] Region can access data out of boundsMathias Agopian2010-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic46f31d40943f405e37da21a50b55edd5a2c4124
* | | | | | Create holder inner class for pushing context state.Jason Sams2010-11-177-83/+74
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug with rsForEach corrupting parent context state. Remove workaround from rsBalls. Change-Id: I43a948536e70d44645d1c2ef7b97e1c5906f6943
* | | | | Fix ref counting for globals when set from java code.Jason Sams2010-11-163-0/+29
| | | | | | | | | | | | | | | | | | | | Change-Id: I415b6ddeaab277e60233e905a6bae357cd5193eb
* | | | | Fix crash with extended debugging.Jason Sams2010-11-161-6/+5
| | | | | | | | | | | | | | | | | | | | Change-Id: I982a7c7ea7ccae074be5254032c43a862137747a
* | | | | Remove WARs for zero-init + destructors.Stephen Hines2010-11-153-6/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: I919db554f3f6fa1fb027402298602a16fba4a235
* | | | | Fixed a race condition where some recording frames may not be released.James Dong2010-11-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When startRecording() is called before setListener(), recording frames are sent right after startRecording(), but there is no listener to release the recording frames. This causes the hang in media server. bug - 3166356 Change-Id: I19366ca682ef9f6b847590c190c30a15ed32b8e4
* | | | | Merge "Split UTF functions from String8/16"Kenny Root2010-11-158-624/+815
|\ \ \ \ \
| * | | | | Split UTF functions from String8/16Kenny Root2010-11-128-624/+815
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split out all the UTF-8/16/32 handling code from String8/16 to its own file to allow better reuse of code. Change-Id: If9ce63920edc75472c38da4adce0d13cda9ad2f7
* | | | | | Add support for integer mod.Bryan Mawhinney2010-11-151-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I681b8220c8b39d865ade036a93ba93a965e259c9
* | | | | | Merge "Fix line drawing in RS example."Jason Sams2010-11-122-7/+14
|\ \ \ \ \ \
| * | | | | | Fix line drawing in RS example.Jason Sams2010-11-122-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I5a83ac8d943488d19d83af1bd20a15a3c02999da
* | | | | | | Enable touch splitting for all windows by default.Jeff Brown2010-11-121-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New default only applies to applications with targetSdkVersion >= HONEYCOMB. Old applications default to no touch splitting for their windows. In addition, enabled split touch for various system windows. Bug: 3049580 Change-Id: Idc8da9baa2cd8e1e4e76af8967d7b6a5ccb94427
* | | | | | | make ResourceCache for display lists thread-safeChet Haase2010-11-112-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I41885b4ae249d7d7c000bab17bf32340ba85ab3a
* | | | | | | Merge "Free resources only from the GL context thread. Bug #3179882"Romain Guy2010-11-1112-65/+121
|\ \ \ \ \ \ \
| * | | | | | | Free resources only from the GL context thread.Romain Guy2010-11-1112-65/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #3179882 Resources were freed following garbage collections on a worker thread. This worker thread had no EGL context, which would cause the renderer to incorrectly assume that the memory was liberated. Change-Id: Ifdb51f94ddf42641e8654522787bfac532976c7c
* | | | | | | | Merge "Implement reducing the buffer count of a Surface."Jamie Gennis2010-11-113-6/+82
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | |
| * | | | | | | Implement reducing the buffer count of a Surface.Jamie Gennis2010-11-113-6/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7f979c60c06d654aa8265002836277434bc1a64f Bug: 3095167