summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Remove check if the target video resolution is not supported by CameraSourceJames Dong2010-12-051-0/+2
| | | | | | | | and clean up Camera is CameraSource could not created. bug - 3254411 Change-Id: I43497c450e7007de5ce027e2912b1421119e8887
* Prepare for publishing MediaMetadataRetriever as public APIJames Dong2010-12-033-7/+4
| | | | | | | | | | step one: o replaced captureFrame with getFrameAtTime o removed getMode bug - 2433195 Change-Id: I38a8cecef29014692f0b08b8818326e3ebb40a12
* Merge "Move disk usage utilities to its own library"Kenny Root2010-12-031-0/+30
|\
| * Move disk usage utilities to its own libraryKenny Root2010-11-301-0/+30
| | | | | | | | | | | | | | | | 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
* | Improve support for external keyboards.Jeff Brown2010-12-027-86/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Add preferred preview size support in the camera framework"James Dong2010-12-011-0/+23
|\ \
| * | Add preferred preview size support in the camera frameworkJames Dong2010-11-301-0/+23
| |/ | | | | | | | | | | bug - 3237021 Change-Id: Ica8a3ae5cfbee462b74de98770e33277186c9a2b
* | Ensure the ShortcutManager uses the correct key character map.Jeff Brown2010-11-302-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-305-37/+170
|/ | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge "Support streaming data across binder boundaries."Andreas Huber2010-11-243-0/+77
|\
| * Support streaming data across binder boundaries.Andreas Huber2010-11-233-0/+77
| | | | | | | | Change-Id: Ifbac61406dcb81343765f99ccba08bd90f9274cc
* | Allow status bar panels to be on top of the status bar.Joe Onorato2010-11-241-1/+3
|/ | | | Change-Id: I3c74ece5f7042e6302717f4263746d59d5447ec9
* am 24a90c26: am d9334934: Merge "Update of DRM Framework."Gloria Wang2010-11-222-0/+123
|\ | | | | | | | | * commit '24a90c2674270fee0783bafa54fd5d845bdf0c18': Update of DRM Framework.
| * am d9334934: Merge "Update of DRM Framework."Gloria Wang2010-11-222-0/+123
| |\ | | | | | | | | | | | | * commit 'd93349342a89a25c7a884e8543c6adc048c5f86d': Update of DRM Framework.
| | * Update of DRM Framework.Takeshi Aimi2010-11-192-0/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Access permission handling Introduce an internal function which allows the desired process to access decryption flow. This new function is just for reference and each OEM manufacturer should implement/replace with their solutions. -New API, getMetadata() This API is for retrieving media metadata from container-based DRM, such as OMA forward-lock content. This API asks DRM agent to retrieve media metadata hiddein inside of DRM special container. -New API, acquireRights() This API wraps acquireDrmInfo() and processDrmInfo(). If DRM agent has valid implementation of both APIs, Application can acquire DrmRights only by calling this API. -Bug fix in event loop of OnInfoListener. Separate OnInfo event loop from mail thread loop so as to avoid the issue that message is not dispatched when mail thread is busy. Changes are made by SEMC and Sony. Change-Id: I04ee3e0988152a71e221f2256d83253749a29da0
* | | Merge "Squashed commit of the following:"Andreas Huber2010-11-222-15/+46
|\ \ \
| * | | Squashed commit of the following:Andreas Huber2010-11-222-15/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 0870f7bdd10a7cd36087d723d1957d8e1b967ca7 Author: Andreas Huber <andih@google.com> Date: Mon Nov 22 12:57:04 2010 -0800 set_surface_crop doesn't seem to work right yet, stop using it in the SoftwareRenderer. Change-Id: If0a24f78b7810a6cecaa82eb4f23d0f90c22cc42 commit 4767b52bee3a54ae117a8708d6832276a44e6a6a Author: Andreas Huber <andih@google.com> Date: Mon Nov 22 11:14:57 2010 -0800 info->mMediaBuffer may still be NULL at this point... Change-Id: I25a71569015b1bb87f1ea7efff7588958774426f commit 0cef79874e1f1ddb10b7402177a87d3cffc7de92 Author: Andreas Huber <andih@google.com> Date: Mon Nov 22 10:55:12 2010 -0800 QCOM's YVU420 color format conversion has now been tested. Change-Id: I7fef4b642a928af15d42f006f7cdc107d5ff1d67 commit 84fe05a6c969ede0ce8a85a530e110afca07c7a7 Author: Andreas Huber <andih@google.com> Date: Mon Nov 22 09:59:50 2010 -0800 Removed remaining traces of suspend/resume. Proper reporting of video dimensions based on cropping rectangle. Change-Id: Ib238b80cbc1f19e7d312f2422eb5e9ab6b06b1bc commit 50970cdc837c5c498bcf0cb61b436196ca9e2ef7 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 16:11:06 2010 -0800 Revamped Software Renderer respects the crop rectangle. Removed obsolete ADRENO support code. Change-Id: I984cbc8a99c4d97e09e7d1b1292099c88b9ae535 commit 8abbc6a5608bff650f968540f24a2eab75f254ed Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 16:10:41 2010 -0800 The metadata retriever now respects the crop rectangle while capturing a video frame. Change-Id: Id3377176060086d16717f62c77ce26fabe899050 commit 2d42e4466609d304e88bd2cdd6eb7b297340cc21 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 16:09:50 2010 -0800 Changed ColorConverter APIs to be more general. Clients can now refer to crop rectangles in both source and destination. Change-Id: Ief151d736818396d0389ec04e7df5650e3ad7c04 commit 273184303d54a54febd3e9c3dd4df30507ea78b5 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 15:04:06 2010 -0800 The stagefright commandline tool now writes the extracted video frame to /sdcard/out.jpg Change-Id: Ieb2ab3fda7a7cd9294beccb8db0eed75096eeef4 commit 2d43390328cadf4ba94c1c3c02e4fb30baa29690 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 14:36:55 2010 -0800 The AVC software decoder now properly advertises the cropping rectangle. Change-Id: Idb7a8a7e2fde5740f0fc34b7e8c92eca2577104b commit 9a7ed23c2fac8ce19dce7a34a603acee945a89f6 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 13:40:39 2010 -0800 OMXCodec now signals a format change if the cropping rectangle changes. ...and puts the cropping info into its output format. Change-Id: I3ffbd8e877ba286fe06a82c536ef20d92548d2e2 commit efe0323947029df1c502599ccc288c8d676dfd31 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 11:29:39 2010 -0800 Stagefright's MetaData object now supports rectangle items. Change-Id: I5667bb5ee6622c76104b99fb57f60abb802a8504 Change-Id: I27cb78f2c5e0353f95fdfc5cb53991949ed75b70
* | | | Merge "64-bit file size/offset support for DRM framework"Gloria Wang2010-11-221-3/+3
|\ \ \ \ | |/ / / |/| | |
| * | | 64-bit file size/offset support for DRM frameworkGloria Wang2010-11-191-3/+3
| | | | | | | | | | | | | | | | Change-Id: I0ba7147607825234df9fa28732e1bba344e82e79
* | | | am fb6f4505: am 589e8381: Merge "Improve camera documentation." into gingerbreadWu-cheng Li2010-11-193-17/+28
|\ \ \ \ | | |/ / | |/| | | | | | | | | | * commit 'fb6f4505ba5c227cebb73f1269b0af5d92e6e5e6': Improve camera documentation.
| * | | am 589e8381: Merge "Improve camera documentation." into gingerbreadWu-cheng Li2010-11-193-17/+28
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit '589e838116b0dffa696fa39336d0588124877f98': Improve camera documentation.
| | * | | Improve camera documentation.Wu-cheng Li2010-11-193-17/+28
| | | | | | | | | | | | | | | | | | | | | | | | | bug:3212606 Change-Id: Iee7106e4665c08a4c75471114010b75d63ac74ce
* | | | | Merge "Removed uncessary FILE structure pointer for I/O"James Dong2010-11-193-4/+2
|\ \ \ \ \
| * | | | | Removed uncessary FILE structure pointer for I/OJames Dong2010-11-193-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o also move the fd owner from caller to callee in the Writers Change-Id: I510ccfdd0fcc58f1777fea4ed1349fd251852c65
* | | | | | Merge "Fix issue 3157123."Eric Laurent2010-11-193-2/+4
|\ \ \ \ \ \
| * | | | | | Fix issue 3157123.Eric Laurent2010-11-193-2/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a Mutex wherever atomic operations were used in AudioTrack, AudioRecord, AudioFlinger and AudioEffect classes. Change-Id: I6f55b2cabdcd93d64ef19446735b8f33720f8dbc
* | | | | | Fix SDK build on Windows due to use of mmap.Jeff Brown2010-11-191-1/+3
|/ / / / / | | | | | | | | | | | | | | | Change-Id: Id4bd9a6f932285c93c5853e540efc20b99876564
* | | | | Merge "64-bit file size/offset support for media framework"James Dong2010-11-185-15/+17
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | 64-bit file size/offset support for media frameworkJames Dong2010-11-185-15/+17
| | | | | | | | | | | | | | | | | | | | Change-Id: I3452bc2c0f1d990cc67285df2fce1f9f86ff8e10
* | | | | Merge "Added support for full PC-style keyboards."Jeff Brown2010-11-186-43/+427
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Added support for full PC-style keyboards.Jeff Brown2010-11-186-43/+427
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 "Add getUri() for streaming"Gloria Wang2010-11-181-0/+3
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Add getUri() for streamingGloria Wang2010-11-181-0/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: I56e15e67cc5f4d0f41c9e2985404a4d89d757e7e
* | | | | am 5e069074: am a15e4886: Merge "Framebuffer: Support variable number of ↵Jean-Baptiste Queru2010-11-171-1/+2
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 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-1/+2
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | 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-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | Merge "Add new audio mode for audio communications other than telelphony."Jean-Michel Trivi2010-11-172-3/+4
|\ \ \ \ \
| * | | | | Add new audio mode for audio communications other than telelphony.Jean-Michel Trivi2010-11-162-3/+4
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The audio mode MODE_IN_CALL signals the system the device a phone call is currently underway. There was no way for audio video chat or VoIP applications to signal a call is underway, but not using the telephony resources. This change introduces a new mode to address this. Changes in other parts of the system (java and native) are required to take this new mode into account. The generic AudioPolicyManager is updated to not use its phone state variable directly, but to use two new convenience methods, isInCall() and isStateInCall(int) instead. Change-Id: Id744cd26520ea1d1a4795eabe6a1f0c58789af76
* | | | | Remove all traces of legacy renderer support in stagefright.Andreas Huber2010-11-165-90/+0
|/ / / / | | | | | | | | | | | | Change-Id: I17b8e0dbf53fca37c96830c41131b4bc0c24ca6d
* | | | Merge "Split UTF functions from String8/16"Kenny Root2010-11-153-139/+167
|\ \ \ \
| * | | | Split UTF functions from String8/16Kenny Root2010-11-123-139/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Remove legacy PV stuffJames Dong2010-11-153-210/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: I60ffea7c65592df4b3a80c590c863f1f79b371fd
* | | | | Merge "Separate the key for audio sampling rate and video frame rate in ↵James Dong2010-11-121-1/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | MetaData.h"
| * | | | | Separate the key for audio sampling rate and video frame rate in MetaData.hJames Dong2010-11-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia33befaa7e6df8762703002d01aa79c04f15f040
* | | | | | Enable touch splitting for all windows by default.Jeff Brown2010-11-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Add support for audio recording source in generic audio policy mgr.Jean-Michel Trivi2010-11-121-1/+4
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the platform-independent audio policy manager to pass the nature of the audio recording source to the audio policy client interface through the AudioPolicyClientInterface::setParameters() method. Change-Id: I6b4fd0f8a3acea0d7d30bbad98edd1977dc012bf
* | | | | Add new keycodes initially used for GoogleTV devices.Jason Bayer2010-11-111-0/+22
| | | | | | | | | | | | | | | | | | | | Change-Id: I1b901037d6d401931dd3ec6f7d5e1e6ad165d1c9
* | | | | Merge "Implement reducing the buffer count of a Surface."Jamie Gennis2010-11-111-0/+10
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Implement reducing the buffer count of a Surface.Jamie Gennis2010-11-111-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7f979c60c06d654aa8265002836277434bc1a64f Bug: 3095167
* | | | | Add color format query support to QueryCodecs()James Dong2010-11-111-0/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic8589649cd09392a1b969a30082b4c9c4e6cc6a7