summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* am 04b95313: am c8c79a65: Merge "Re-use existing Surface objects when ↵Jamie Gennis2010-07-161-2/+8
|\ | | | | | | | | | | | | | | | | reading them from parcels." into gingerbread Merge commit '04b953132edb5482f0aa6d992f89e7016961528c' * commit '04b953132edb5482f0aa6d992f89e7016961528c': Re-use existing Surface objects when reading them from parcels.
| * Merge "Re-use existing Surface objects when reading them from parcels." into ↵Jamie Gennis2010-07-161-2/+8
| |\ | | | | | | | | | gingerbread
| | * Re-use existing Surface objects when reading them from parcels.Jamie Gennis2010-07-161-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds a process-global cache of previously deserialized Surface objects so that if a Surface object wrapping the same ISurface gets received again the same Surface can be used. This is important because the 'tail' pointer in the SharedBufferClient is stored only on the client side, and needs to be the same for all the Surface objects wrapping an ISurface instance. This solves the problem by making there only be one Surface object wrapping an ISurface per process. Change-Id: I4bf0b8787885c56277622fca053022d2bb638902
* | | am 7b8df313: am 00ba8844: Fix individual pointer id up/down reporting.Jeff Brown2010-07-161-1/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '7b8df313f714d6e8d536e0f8bbe5496fe9a6c26d' * commit '7b8df313f714d6e8d536e0f8bbe5496fe9a6c26d': Fix individual pointer id up/down reporting.
| * | Fix individual pointer id up/down reporting.Jeff Brown2010-07-161-1/+2
| |/ | | | | | | | | | | Fix a minor threading bug in InputManager dump. Change-Id: Ic2eecf7df5a8dc9f40561fcb03ebe58a2c073778
* | resolved conflicts for merge of f7adbe10 to masterJeff Brown2010-07-161-0/+2
|\ \ | |/ | | | | Change-Id: I898a5e53b180adaee2337c0c0b9896c799d056e7
| * Merge "Fix bug with phantom input windows." into gingerbreadJeff Brown2010-07-161-0/+2
| |\
| | * Fix bug with phantom input windows.Jeff Brown2010-07-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add dumpsys integration for the native input dispatcher. Add some InputDevice API stubs. Add an appendFormat helper method to String8 for printf style string formatting mainly for debugging purposes. Use generic ArrayList<WindowState> everywhere in WindowManagerService to eliminate unnecessary casts all over. Change-Id: I9d1e3bd90eb7222d10620200477f11b7bfd25e44
* | | am f16b3f10: am b0374a0e: Merge "Several improvements in audio effects ↵Eric Laurent2010-07-161-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | volume control." into gingerbread Merge commit 'f16b3f104f60738447db60bcf2c44c7610e17199' * commit 'f16b3f104f60738447db60bcf2c44c7610e17199': Several improvements in audio effects volume control.
| * | Merge "Several improvements in audio effects volume control." into gingerbreadEric Laurent2010-07-161-1/+1
| |\ \ | | |/ | |/|
| | * Several improvements in audio effects volume control.Eric Laurent2010-07-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fixed crash when deleting an effect chained before an effect having volume control - Changed EFFECT_FLAG_VOLUME_CTRL to implicitely include EFFECT_FLAG_VOLUME_IND (not need to set both in effect descriptor). - Volume control changes from one effect to another if needed according to effect enable state - EFFECT_CMD_SET_VOLUME is only sent when their is an actual change in volume Change-Id: Ieebaf09157e2627366023569d95516646e03e26c
* | | am 9c37e5ad: am 75a91389: Merge "Implement native key pre-dispatching to ↵Dianne Hackborn2010-07-162-9/+65
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | IMEs." into gingerbread Merge commit '9c37e5add9d7678a29b4e0d1e178fe78a13db961' * commit '9c37e5add9d7678a29b4e0d1e178fe78a13db961': Implement native key pre-dispatching to IMEs.
| * | Implement native key pre-dispatching to IMEs.Dianne Hackborn2010-07-152-9/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This significantly re-works the native key dispatching code to allow events to be pre-dispatched to the current IME before being processed by native code. It introduces one new public API, which must be called after retrieving an event if the app wishes for it to be pre-dispatched. Currently the native code will only do pre-dispatching of system keys, to avoid significant overhead for gaming input. This should be improved to be smarted, filtering for only keys that the IME is interested in. Unfortunately IMEs don't currently provide this information. :p Change-Id: Ic1c7aeec8b348164957f2cd88119eb5bd85c2a9f
* | | resolved conflicts for merge of aca672ba to masterJeff Brown2010-07-155-23/+109
|\ \ \ | |/ / | | | | | | Change-Id: I7ae11fca0acdbf513a4870226d0d3e3cafbe9a08
| * | Add support for new input sources.Jeff Brown2010-07-155-23/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added several new coordinate values to MotionEvents to capture touch major/minor area, tool major/minor area and orientation. Renamed NDK input constants per convention. Added InputDevice class in Java which will eventually provide useful information about available input devices. Added APIs for manufacturing new MotionEvent objects with multiple pointers and all necessary coordinate data. Fixed a bug in the input dispatcher where it could get stuck with a pointer down forever. Fixed a bug in the WindowManager where the input window list could end up containing stale removed windows. Fixed a bug in the WindowManager where the input channel was being removed only after the final animation transition had taken place which caused spurious WINDOW DIED log messages to be printed. Change-Id: Ie55084da319b20aad29b28a0499b8dd98bb5da68
* | | am cc52121c: am c4b204bd: Merge "More StrictMode work, keeping Binder & ↵Brad Fitzpatrick2010-07-151-1/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | BlockGuard\'s thread-locals in-sync." into gingerbread Merge commit 'cc52121c4f88e9feb8404937bcbfff6e73084666' * commit 'cc52121c4f88e9feb8404937bcbfff6e73084666': More StrictMode work, keeping Binder & BlockGuard's thread-locals in-sync.
| * | Merge "More StrictMode work, keeping Binder & BlockGuard's thread-locals ↵Brad Fitzpatrick2010-07-151-1/+5
| |\ \ | | | | | | | | | | | | in-sync." into gingerbread
| | * | More StrictMode work, keeping Binder & BlockGuard's thread-locals in-sync.Brad Fitzpatrick2010-07-151-1/+5
| | | | | | | | | | | | | | | | Change-Id: Ia67cabcc17a73a0f15907ffea683d06bc41b90e5
* | | | am 078ccbdb: am 2c40582a: Merge "Add native C APIs for working with the ↵Christopher Tate2010-07-151-1/+19
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Asset Manager" into gingerbread Merge commit '078ccbdbb98c118aa87cab2fef61ff90dd128358' * commit '078ccbdbb98c118aa87cab2fef61ff90dd128358': Add native C APIs for working with the Asset Manager
| * | | Add native C APIs for working with the Asset ManagerChristopher Tate2010-07-151-1/+19
| |/ / | | | | | | | | | Change-Id: I493b142c4b35e5cc1a1e85283bb5dfb306a6d261
* | | am b068b47c: am d6a85a21: Merge "Support user-supplied timescales for ↵James Dong2010-07-152-0/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | authoring" into gingerbread Merge commit 'b068b47c6d0214256116a0c661740bddf7acc18c' * commit 'b068b47c6d0214256116a0c661740bddf7acc18c': Support user-supplied timescales for authoring
| * | Merge "Support user-supplied timescales for authoring" into gingerbreadJames Dong2010-07-152-0/+3
| |\ \ | | |/ | |/|
| | * Support user-supplied timescales for authoringJames Dong2010-07-142-0/+3
| | | | | | | | | | | | | | | | | | - also, change all the real time unit to microseconds in MPEG4Writer Change-Id: I260f512f2eb670ade7b8858a56335a5d639de756
* | | am c74034b6: am 24651682: added BinderService<> template to help creating ↵Mathias Agopian2010-07-141-0/+60
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | native binder services Merge commit 'c74034b6bf0940dc80c4d4efa1e677ad0d2dfd6c' * commit 'c74034b6bf0940dc80c4d4efa1e677ad0d2dfd6c': added BinderService<> template to help creating native binder services
| * | added BinderService<> template to help creating native binder servicesMathias Agopian2010-07-141-0/+60
| |/ | | | | | | Change-Id: Id980899d2647b56479f8a27c89eaa949f9209dfe
* | am db386f2c: am c9a11088: Merge "first step at implementing the native ↵Mathias Agopian2010-07-146-0/+389
|\ \ | |/ | | | | | | | | | | | | | | sensor support" into gingerbread Merge commit 'db386f2c263c6e9e4b825d4c9a320849f8f2c916' * commit 'db386f2c263c6e9e4b825d4c9a320849f8f2c916': first step at implementing the native sensor support
| * Merge "first step at implementing the native sensor support" into gingerbreadMathias Agopian2010-07-146-0/+389
| |\
| | * first step at implementing the native sensor supportMathias Agopian2010-07-136-0/+389
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in this commit: - implemented the C stub - implemented the binder interfaces involved - implemented most of the C++ client side missing: - SensorManager cannot connect to the SensorServer yet (because there is no SensorServer yet) Change-Id: I75010cbeef31c98d6fa62fd5d388dcef87c2636b
* | | am 5473434f: am 97eb728a: Use the OpenSL ES definition of SL_IID_EQUALIZER ↵Jean-Michel Trivi2010-07-141-4/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | for the EQ effect UUID instead of defining it locally. Merge commit '5473434f060d8c036a30a1992b036a2f70da265d' * commit '5473434f060d8c036a30a1992b036a2f70da265d': Use the OpenSL ES definition of SL_IID_EQUALIZER for the EQ
| * | Use the OpenSL ES definition of SL_IID_EQUALIZER for the EQJean-Michel Trivi2010-07-141-4/+3
| | | | | | | | | | | | | | | | | | effect UUID instead of defining it locally. Change-Id: Id6018fef20d286899cf7503fec3521dcd56db7e0
* | | am f8d9379b: am d76b67c3: IME events are now dispatched to native applications.Dianne Hackborn2010-07-133-27/+63
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'f8d9379bd834573feca085284970cf686993c330' * commit 'f8d9379bd834573feca085284970cf686993c330': IME events are now dispatched to native applications.
| * | IME events are now dispatched to native applications.Dianne Hackborn2010-07-133-27/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And also: - APIs to show and hide the IME, and control its interaction with the app. - APIs to tell the app when its window resizes and needs to be redrawn. - API to tell the app the content rectangle of its window (to layout around the IME or status bar). There is still a problem with IME interaction -- we need a way for the app to deliver events to the IME before it handles them, so that for example the back key will close the IME instead of finishing the app. Change-Id: I37b75fc2ec533750ef36ca3aedd2f0cc0b5813cd
* | | am 89ee578b: am fd035829: Add initial gamepad support.Jeff Brown2010-07-133-409/+358
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '89ee578b7053d27a50922f82feb94bf6054b330c' * commit '89ee578b7053d27a50922f82feb94bf6054b330c': Add initial gamepad support.
| * | Add initial gamepad support.Jeff Brown2010-07-133-409/+358
| | | | | | | | | | | | Change-Id: I0439648f6eb5405f200e4223c915eb3a418b32b9
* | | am 706623dd: am c0a7e690: Add Parcel::readExceptionCode() and ↵Brad Fitzpatrick2010-07-131-1/+13
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | Parcel::writeNoException() Merge commit '706623ddb8314850c0551f0b66e24b5f0bd28620' * commit '706623ddb8314850c0551f0b66e24b5f0bd28620': Add Parcel::readExceptionCode() and Parcel::writeNoException()
| * | Add Parcel::readExceptionCode() and Parcel::writeNoException()Brad Fitzpatrick2010-07-131-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add native Parcel methods analogous to the Java versions. Currently, these don't do much, but upcoming StrictMode work changes the RPC calling conventions in some cases, so it's important that everybody uses these consistently, rather than having a lot of code trying to parse RPC responses out of Parcels themselves. As a summary, the current convention that Java Binder services use is to prepend the reply Parcel with an int32 signaling the exception status: 0: no exception -1: Security exception -2: Bad Parcelable -3: ... -4: ... -5: ... ... followed by Parceled String if the exception code is non-zero. With an upcoming change, it'll be the case that a response Parcel can, non-exceptionally return rich data in the header, and also return data to the caller. The important thing to note in this new case is that the first int32 in the reply parcel *will not be zero*, so anybody manually checking for it with reply.readInt32() will get false negative failures. Short summary: If you're calling into a Java service and manually checking the exception status with reply.readInt32(), change it to reply.readExceptionCode(). Change-Id: I23f9a0e53a8cfbbd9759242cfde16723641afe04
* | | am 66fa2b44: am 8e886be4: Merge "Modifications in audio effect engine state ↵Eric Laurent2010-07-131-0/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | management." into gingerbread Merge commit '66fa2b44cadf8694cc1b7e2aae1f8abaff4fc547' * commit '66fa2b44cadf8694cc1b7e2aae1f8abaff4fc547': Modifications in audio effect engine state management.
| * | Modifications in audio effect engine state management.Eric Laurent2010-07-131-0/+7
| |/ | | | | | | | | | | | | | | | | | | | | - Separate the updating of effect engine state from the process call in EffectModule so that the state of all effects in the same effect chain is updated simultaneusly before all process functions are called. - Added a mechanism for the effect engine to continue being called for processing after receiving the disable commands untils it considers that the framework can stop calling the process function without causing a glitch or loosing some effect tail. - Updated test reverb and equalizer to support this new feature Change-Id: Icb56ae2c84c076d4dbad6cf733b1a62f823febe7
* | am b14f325a: am 289b9b62: Add ANativeWindow API for directly drawing to the ↵Dianne Hackborn2010-07-093-18/+81
|\ \ | |/ | | | | | | | | | | | | | | surface bits. Merge commit 'b14f325a0118ffce286155caaabaae149653462c' * commit 'b14f325a0118ffce286155caaabaae149653462c': Add ANativeWindow API for directly drawing to the surface bits.
| * Add ANativeWindow API for directly drawing to the surface bits.Dianne Hackborn2010-07-093-18/+81
| | | | | | | | | | | | | | | | | | | | | | Also other cleanup and fixes: - We now properly set the default window format to 565. - New APIs to set the window format and flags from native code. - Tweaked glue for simpler handling of the "destroy" message. - Um, other stuff. Change-Id: Id7790a21a2fa9a19b91854d225324a7c1e7c6ade
* | am 4f440632: am 929642ee: Add runtime dumpsys support for media recorder clientJames Dong2010-07-092-0/+2
|\ \ | |/ | | | | | | | | | | Merge commit '4f4406322dafd6e128b437edbc541327f0b38d04' * commit '4f4406322dafd6e128b437edbc541327f0b38d04': Add runtime dumpsys support for media recorder client
| * Add runtime dumpsys support for media recorder clientJames Dong2010-07-082-0/+2
| | | | | | | | Change-Id: I4c8a81720f3be2db54678a7e84fe12849255046b
* | am b4b0f67a: am fd84f97a: Added JAVA classes to control bass boost, ↵Eric Laurent2010-07-084-20/+145
|\ \ | |/ | | | | | | | | | | | | | | equalizer, reverberation and virtualizer Effects. Merge commit 'b4b0f67a4743503a024b1dce758acf53d9fb86f7' * commit 'b4b0f67a4743503a024b1dce758acf53d9fb86f7': Added JAVA classes to control bass boost, equalizer, reverberation and virtualizer Effects.
| * Added JAVA classes to control bass boost, equalizer, reverberation and ↵Eric Laurent2010-07-084-20/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | virtualizer Effects. Defined the following JAVA classes on top of AudioEffect class to facilitate control off built-in audio effects with APIs aligned with interfaces defined in OpenSL ES specification: - BastBoot.java - Equalizer.java - PresetReverb.java - EnvironmentalReverb.java - Virtualizer.java Split reverb API header file in two, one for preset reverb and one for environmental reverb. Some changes in test reverb to support preset reverb. Change-Id: Ie0a5ba06002e63dfd6da22cace5568c1e0b76ea1
* | am 49159f07: am 74bf59b4: Merge "Add new glue code for writing native apps." ↵Dianne Hackborn2010-07-081-8/+34
|\ \ | |/ | | | | | | | | | | | | | | into gingerbread Merge commit '49159f0748c704e53a7bd754f26113d9ab844a97' * commit '49159f0748c704e53a7bd754f26113d9ab844a97': Add new glue code for writing native apps.
| * Add new glue code for writing native apps.Dianne Hackborn2010-07-081-8/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This factors out the boiler-plate code from the sample app to a common glue code that can be used for everyone writing this style of app: a dedicated app thread that takes care of waiting for events and processing them. As part of doing this, ALooper has a new facility to allow registration of fds that cause ALooper_pollOnce() to return the fd that has data, allowing the app to drive the loop without callbacks. Hopefully this makes some people feel better. :) Also do some other cleanup of the ALooper API, plus some actual documentation. Change-Id: Ic53bd56bdf627e3ba28a3c093faa06a92be522b8
* | am d481cdd4: am c9535de8: Merge "Add OBB file helper class" into gingerbreadKenny Root2010-07-081-0/+87
|\ \ | |/ | | | | | | | | | | Merge commit 'd481cdd4c0305f8afd857fe3ec3fbf189b744370' * commit 'd481cdd4c0305f8afd857fe3ec3fbf189b744370': Add OBB file helper class
| * Merge "Add OBB file helper class" into gingerbreadKenny Root2010-07-071-0/+87
| |\
| | * Add OBB file helper classKenny Root2010-07-071-0/+87
| | | | | | | | | | | | | | | | | | | | | ObbFile is a binary blob that will be used in packaging large files with smaller APKs. Change-Id: Ib1594346cfa2f49113de6565af77c24efbd89d63
* | | resolved conflicts for merge of 167449e5 to masterJeff Brown2010-07-081-5/+10
|\ \ \ | |/ / | | | | | | Change-Id: Ib448e69a726eb45b5c9099d2574e40b8345eee67