summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Correctly release the OpenGL Canvas on EGL error."Romain Guy2010-12-073-24/+49
|\
| * Correctly release the OpenGL Canvas on EGL error.Romain Guy2010-12-073-24/+49
| | | | | | | | Change-Id: Ib31fd8445f7ce5f7aa7e0205de0e7db80d024fc2
* | Add support for fallback keycodes.Jeff Brown2010-12-077-62/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change enables the framework to synthesize key events to implement default behavior when an application does not handle a key. For example, this change enables numeric keypad keys to perform their associated special function when numlock is off. The application is informed that it is processing a fallback keypress so it can choose to ignore it. Added a new keycode for switching applications. Added ALT key deadkeys. New default key mappings: - ESC -> BACK - Meta+ESC -> HOME - Alt+ESC -> MENU - Meta+Space -> SEARCH - Meta+Tab -> APP_SWITCH Fixed some comments. Fixed some tests. Change-Id: Id7f3b6645f3a350275e624547822f72652f3defe
* | am 48f42f8c: am 4153bf3a: Merge "[3171580] don\'t automatically log ↵Mathias Agopian2010-12-072-4/+12
|\ \ | |/ |/| | | | | | | | | GraphicBuffer allocation failures" into gingerbread * commit '48f42f8c3fbd33b2f46c6290ff5963dd58938cf9': [3171580] don't automatically log GraphicBuffer allocation failures
| * am 4153bf3a: Merge "[3171580] don\'t automatically log GraphicBuffer ↵Mathias Agopian2010-12-072-4/+12
| |\ | | | | | | | | | | | | | | | | | | allocation failures" into gingerbread * commit '4153bf3a259624a2f2dc497b77b225a1fb517abc': [3171580] don't automatically log GraphicBuffer allocation failures
| | * Merge "[3171580] don't automatically log GraphicBuffer allocation failures" ↵Mathias Agopian2010-12-072-4/+12
| | |\ | | | | | | | | | | | | into gingerbread
| | | * [3171580] don't automatically log GraphicBuffer allocation failuresMathias Agopian2010-12-032-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | some of these failures are not fatal and even expected in some cases so they should not emit a dump in the log in those cases. Change-Id: Idcfa252e3bfa9d74e27fe4ad8f8623aa01aa9c5e
| * | | am d57fbe88: Fixed a race condition where some recording frames may not be ↵James Dong2010-12-061-0/+3
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | released * commit 'd57fbe887fabd027e644caeaa2139c863143a786': Fixed a race condition where some recording frames may not be released
| | * | Fixed a race condition where some recording frames may not be releasedJames Dong2010-12-061-0/+3
| | |/ | | | | | | | | | | | | | | | bug - 3258924 Change-Id: I4f30d04a713676f5da40e6a7dd861510cc041f9b
* | | Make ScriptC's mEnvironment.mIsThreadable survive the bcc caching andShih-wei Liao2010-12-071-0/+6
| | | | | | | | | | | | | | | | | | then cache-reloading. Change-Id: I0f5d54160dd9ee567fae53c69b246f99096993da
* | | Merge "Fix 9patch rendering Bug #3253396"Romain Guy2010-12-073-8/+6
|\ \ \
| * | | Fix 9patch renderingRomain Guy2010-12-073-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #3253396 Some quads were incorrectly assumed to be degenerate. Change-Id: I9155699edc3424afe9d5a131886bb9966d46b109
* | | | Merge "API review cleanup."Jason Sams2010-12-0631-98/+65
|\ \ \ \
| * | | | API review cleanup.Jason Sams2010-12-0631-98/+65
| | | | | | | | | | | | | | | | | | | | Change-Id: Ieae7d450308b5637ed4253fe9baed3634c6ed141
* | | | | Merge "Draw text decorations correctly."Romain Guy2010-12-061-1/+3
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Draw text decorations correctly.Romain Guy2010-12-061-1/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: I237c0ca8bfe9f233e62476e80f72bcea4359398e
* | | | | Merge "Correctly render text when coordinates are not integers. Bug #3225632"Romain Guy2010-12-064-27/+98
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | |
| * | | Correctly render text when coordinates are not integers.Romain Guy2010-12-064-27/+98
| | | | | | | | | | | | | | | | | | | | | | | | Bug #3225632 Change-Id: If09759e6e95eb2885362ab3ba088cf5aae64c7bf
* | | | Stop using anonymous structs in RS.Stephen Hines2010-12-062-2/+2
|/ / / | | | | | | | | | Change-Id: I90344683939f2934f841031fd5339dbe91cc9e05
* | | Merge "Prevent message overrun in LocklessCommandFifo."Jason Sams2010-12-051-3/+2
|\ \ \
| * | | Prevent message overrun in LocklessCommandFifo.Bryan Mawhinney2010-12-051-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous logic in makeSpace and makeSpaceNonBlocking was incorrect (probably a typo). We shouldn't loop if looping will overwrite unread messages, or if we would make the buffer appear empty (mPut == mGet). Change-Id: Iabc82ca94a585a7041069db97cbed7709f2d388f
* | | | Merge "Don't render degenerate triangles in 9patches. Bug #3251983"Romain Guy2010-12-036-34/+61
|\ \ \ \
| * | | | Don't render degenerate triangles in 9patches.Romain Guy2010-12-036-34/+61
| |/ / / | | | | | | | | | | | | | | | | | | | | Bug #3251983 Change-Id: Ib0b38a7b8111542372f4c4c106b6321c26fe4ad4
* | | | Merge "Move disk usage utilities to its own library"Kenny Root2010-12-033-0/+99
|\ \ \ \ | |/ / / |/| | |
| * | | Move disk usage utilities to its own libraryKenny Root2010-11-303-0/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disk usage calculation will happen in more places now, so move the installd calculation utilities out to its own library that only gets built for the target. Change-Id: Idceb6bd663ca6ab3d38fa00e57ee74a25b784855
* | | | Merge "Correctly index transparent quads when generating 9patch meshes. Bug ↵Romain Guy2010-12-021-1/+12
|\ \ \ \ | | | | | | | | | | | | | | | #3250026"
| * | | | Correctly index transparent quads when generating 9patch meshes.Romain Guy2010-12-021-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #3250026 Change-Id: Id7e051e9ed81f6b4e7748756503d8055ac7d531a
* | | | | Improve support for external keyboards.Jeff Brown2010-12-0211-413/+703
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use Vendor ID, Product ID and optionally the Version to locate keymaps and configuration files for external devices. Moved virtual key definition parsing to native code so that EventHub can identify touch screens with virtual keys and load the appropriate key layout file. Cleaned up a lot of old code in EventHub. Fixed a regression in ViewRoot's fallback event handling. Fixed a minor bug in FileMap that caused it to try to munmap or close invalid handled when released if the attempt to map the file failed. Added a couple of new String8 conveniences for formatting strings. Modified Tokenizer to fall back to open+read when mmap fails since we can't mmap sysfs files as needed to open the virtual key definition files in /sys/board_properties/. Change-Id: I6ca5e5f9547619fd082ddac47e87ce185da69ee6
* | | | Rescale ColorMatrix' vector to the [0..1] rangeRomain Guy2010-12-021-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Bug #3246354 Change-Id: Idea7a1e6633c71119628315d65315076bc445eb0
* | | | Merge "Add preferred preview size support in the camera framework"James Dong2010-12-011-0/+9
|\ \ \ \
| * | | | Add preferred preview size support in the camera frameworkJames Dong2010-11-301-0/+9
| |/ / / | | | | | | | | | | | | | | | | | | | | bug - 3237021 Change-Id: Ica8a3ae5cfbee462b74de98770e33277186c9a2b
* | | | Ensure the ShortcutManager uses the correct key character map.Jeff Brown2010-11-304-20/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ShortcutManager used to only receive the key code of the key event that triggered the shortcut. This change now provides the shortcut manager with the whole key event so it can look up the associated character using the correct key character map. To make this more efficient, added a mechanism for recycling key events. At the moment it is only used by key events owned by the system process, since clients of the existing API (such as Views) might continue to hold on to key events after dispatch has finished so they would break if the key event were recycled by the framework. Deprecated KeyCharacterMap.BUILT_IN_KEYBOARD. Change-Id: I4313725dd63f2be01c350c005a41c7fde9bc67e8
* | | | 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