summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Merge "new SensorService" into gingerbreadMathias Agopian2010-07-214-5/+15
|\
| * new SensorServiceMathias Agopian2010-07-194-5/+15
| | | | | | | | | | | | | | remove old sensor service and implement SensorManager on top of the new (native) SensorManger API. Change-Id: Iddb77d498755da3e11646473a44d651f12f40281
* | Merge "Support finer seek control on MediaSources." into gingerbreadAndreas Huber2010-07-213-2/+13
|\ \
| * | Support finer seek control on MediaSources.Andreas Huber2010-07-213-2/+13
| | | | | | | | | | | | | | | | | | related-to-bug: 2858448 Change-Id: Ifb4b13b990fd5889113e47e2c62249ac43391fa1
* | | Added support for auxiliary audio effects to AudioTrack and MediaPlayer.Eric Laurent2010-07-213-2/+8
|/ / | | | | | | | | | | | | | | Added methods to AudioTrack and MediaPlayer java classes to enable use of auxiliary audio effects. The effect can be attached and detached by specifying its ID and the send level controlled. Change-Id: Ie74ff54a453096a742688476f612ce355543b6f3
* | Merge "Progress status notification" into gingerbreadJames Dong2010-07-201-0/+1
|\ \
| * | Progress status notificationJames Dong2010-07-201-0/+1
| | | | | | | | | | | | | | | | | | - Keep track of per-track progress Change-Id: Ibd36f0e8c78581928c8aa2f5e23c5e7e0615c2cc
* | | Merge "Audio policy manager changes for audio effects" into gingerbreadEric Laurent2010-07-203-4/+41
|\ \ \
| * | | Audio policy manager changes for audio effectsEric Laurent2010-07-203-4/+41
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added methods for audio effects management by audio policy manager. - control of total CPU load and memory used by effect engines - selection of output stream for global effects - added audio session id in parameter list for startOutput() and stopOutput(). this is not used in default audio policy manager implementation. Modifications of audio effect framework in AudioFlinger to allow moving and reconfiguring effect engines from one output mixer thread to another when audio tracks in the same session are moved or when requested by audio policy manager. Also fixed mutex deadlock problem with effect chains locks. Change-Id: Ida43484b06e9b890d6b9e53c13958d042720ebdb
* | | Support a single format change at the beginning of audio playback. This way ↵Andreas Huber2010-07-201-0/+4
|/ / | | | | | | | | | | | | the AAC+ decoder may change its output format from what is originally encoded in the audio stream and we'll still play it back correctly. Change-Id: Icc790122744745e9a88099788d4818ca1e265a82 related-to-bug: 2826841
* | 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
* | | Fix individual pointer id up/down reporting.Jeff Brown2010-07-161-1/+2
|/ / | | | | | | | | | | Fix a minor threading bug in InputManager dump. Change-Id: Ic2eecf7df5a8dc9f40561fcb03ebe58a2c073778
* | 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
* | | 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
* | | 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
* | | 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
* | | 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
* | | Add native C APIs for working with the Asset ManagerChristopher Tate2010-07-151-1/+19
|/ / | | | | | | Change-Id: I493b142c4b35e5cc1a1e85283bb5dfb306a6d261
* | 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
* | added BinderService<> template to help creating native binder servicesMathias Agopian2010-07-141-0/+60
|/ | | | Change-Id: Id980899d2647b56479f8a27c89eaa949f9209dfe
* 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
* | 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
* | 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
* | Add initial gamepad support.Jeff Brown2010-07-133-409/+358
| | | | | | | | Change-Id: I0439648f6eb5405f200e4223c915eb3a418b32b9
* | 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
* | 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
* 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
* Add runtime dumpsys support for media recorder clientJames Dong2010-07-082-0/+2
| | | | Change-Id: I4c8a81720f3be2db54678a7e84fe12849255046b
* 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
* 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
* 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
* | Merge "More native input dispatch work." into gingerbreadChris Tate2010-07-071-5/+10
|\ \
| * | More native input dispatch work.Jeff Brown2010-07-031-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed old input dispatch code. Refactored the policy callbacks. Pushed a tiny bit of the power manager state down to native. Fixed long press on MENU. Made the virtual key detection and cancelation a bit more precise. Change-Id: I5d8c1062f7ea0ab3b54c6fadb058c4d5f5a9e02e
* | | Merge "Added Visualizer effect." into gingerbreadEric Laurent2010-07-075-38/+252
|\ \ \
| * | | Added Visualizer effect.Eric Laurent2010-07-075-38/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The visualizer enables application to retrieve part of the currently playing audio for visualization purpose. It is not an audio recording interface and only returns partial and low quality audio content as a waveform or a frequency representation (FFT). Removed temporary hack made in MediaPlayer for animated wall papers based on audio visualization (snoop() method. This commit also includes a change in AudioEffect class: - the enable()/disable() methods have been replaced bya more standard setEnabled() method. - some fixes in javadoc Change-Id: Id092a1340e9e38dae68646ade7be054e3a36980e
* | | | Allow application to set two more encoding paramters: video profile and levelJames Dong2010-07-072-0/+11
| |_|/ |/| | | | | | | | Change-Id: I673e681cefe184d5c556c612c54600a24a2143e5
* | | ALooperRoster no longer holds strong references to handlers and loopers.Andreas Huber2010-07-071-2/+2
| | | | | | | | | | | | Change-Id: I038d69b0a34eda1bfc5216d92c837a5ddf4fb802
* | | Merge "An AHandler can now find its associated ALooper." into gingerbreadAndreas Huber2010-07-072-0/+4
|\ \ \
| * | | An AHandler can now find its associated ALooper.Andreas Huber2010-07-022-0/+4
| | | | | | | | | | | | | | | | Change-Id: Ic7087b8dcbc0d9abda272df0cb01b04b006f82ad
* | | | Add new native Looper API.Dianne Hackborn2010-07-022-1/+38
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to avoid exposing the file descriptor of the event queue; instead, you attach an event queue to a looper. This will also should allow native apps to be written without the need for a separate thread, by attaching the event queue to the main thread's looper and scheduling their own messages there. Change-Id: I38489282635895ae2cbfacb88599c1b1cad9b239
* | | Merge "Add an option to ALooper::start that allows it to call back into java ↵Andreas Huber2010-07-021-1/+4
|\ \ \ | |/ / |/| | | | | or not." into gingerbread
| * | Add an option to ALooper::start that allows it to call back into java or not.Andreas Huber2010-07-021-1/+4
| | | | | | | | | | | | Change-Id: Iec172901a04a575d8d350bd162565f04677c3f26
* | | Merge "Added AMessage::debugString() for debugging purposes." into gingerbreadAndreas Huber2010-07-021-0/+2
|\ \ \