summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge "Add camera parameter string constant for "true"."Wu-cheng Li2010-03-081-0/+2
|\ \ \ \
| * | | | Add camera parameter string constant for "true".Wu-cheng Li2010-03-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | bug:2458926 Change-Id: I11eaae8ff031765e23f2627ded5873eabc09cead
* | | | | Merge "fixes for [2474091] Saw Poor behaviour playing a video."Mathias Agopian2010-03-084-14/+28
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | fixes for [2474091] Saw Poor behaviour playing a video.Mathias Agopian2010-03-084-14/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix a bug when hacking video buffers into gralloc buffers where the buffer size was incorrect this was causing the "direct-form-texture" mode to fail - also when the above fails, make sure to revert to the "mdp copy mode" before going to "slow mode" - finally disable completely the "direct-from-texture" mode for now. It cannot work because the allocated buffers can't respect the GPU constraints (alignment and such). We'll have to find a solution for that.
* | | | | Fix issue 2317760: Change the priority between wired headset and A2DP.Eric Laurent2010-03-081-7/+7
| |/ / / |/| | | | | | | | | | | Modified audio policy manager so that wired headset has precedence over A2DP headset.
* | | | Merge "Fix issue 2428563: Camera rendered inoperable by voice call ↵Eric Laurent2010-03-051-2/+8
|\ \ \ \ | | | | | | | | | | | | | | | interruption."
| * | | | Fix issue 2428563: Camera rendered inoperable by voice call interruption.Eric Laurent2010-03-051-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is that AudioRecord never exits read() when a timeout occurs while trying to get new PCM data from audio hardware input buffer: it just keeps waiting and retrying until stop() is called. In the same time, opencore AndroidAudioInput::audin_thread_func() loop cannot be exited when stuck in AudioRecord::read() because the iExitAudioThread flag can only be sampled when AudioRecord::read() returns. We remain stuck with the audio input thread running. The fix consists in modifying AudioRecord behavior in case of timeout when getting new PCM samples. We now wait only one timeout period and try to restart audio record, in case the problem is due to a media_server process crash. If this fails, we exit read() with a number of bytes read equals to 0 so that AndroidAudioInput::audin_thread_func() loop can exit. Also modified Audioflinger::RecordThread() loop so that we attempt to recover from HAL read errors. In case of read error, the input stream is forced to standby so that next read attempt does a reconfiguration and restart of the audio input device.
* | | | | Calculate bitmask array sizes correctly in the EventHubChristopher Tate2010-03-041-8/+8
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've gotten lucky to date: the previous calculation of bitmask array sizes, (maxval+1)/8 only works properly when 'maxval' is one less than a multiple of 8. Fortunately, this has either been the case for us, or there has been sufficient 'unused' space at the end of the defined max value range that we haven't wound up overreading/overwriting the allocated buffers. Change-Id: I563a93a86644ab9f19489565e06c28e06bb53abc
* | | | Fix #2489986 : The key bitmask needs to cover all possible keysChristopher Tate2010-03-041-1/+1
| | | | | | | | | | | | | | | | Change-Id: Ieebd2f879e6b6fbc0388655dd66f34be89e809a0
* | | | Fix some bugs.Dianne Hackborn2010-03-041-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #2376231: Apps lose window focus (and back key causes ANR) if the lock screen is dismissed while the phone is in landscape mode This is another case where we weren't recomputing the focused window after changing the visibility policy. bug #2479958: Investigate source of "Resources don't contain package for resource number 0x7f0a0000" Um, okay, so it turns out there were bugs all over the place where we would load an XML resource from a another application, but not use the Resources for that application to retrieve its resources...! I think the only reason any of this stuff was working at all was because it typically only cared about retrieving the resource identifiers of the items (it would look up the values later). Bug #2401082: Passion ERE26 monkey crash - InputMethodManagerService Add some null checks.
* | | | Add location provider name to gps-processing-method in EXIF header.Ray Chen2010-03-051-0/+1
| | | |
* | | | Improve RS error handling. On errors RS will now store the error and a ↵Jason Sams2010-03-0312-10/+99
| | | | | | | | | | | | | | | | message that can be read from the app. RS will then not continue rendering frames while an unchecked error is present until new state is received.
* | | | Maybe fix issue #2482201: Paired bluetooth device looks like a qwerty keyboardDianne Hackborn2010-03-021-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now only consider a device to be a default keyboard if its name has "-keypad". A hack, but whatever. Also add some debug logging for the input state to help identify such issues in the future.
* | | | surfaceflinger: remove un-cached buffers hack for AdrenoDima Zavin2010-03-021-1/+6
|/ / / | | | | | | | | | | | | Change-Id: I5ae4e74bfa3e25b55be2cddf7b3c51368a140ab9 Signed-off-by: Dima Zavin <dima@android.com>
* | | Issue 2071329: audio track is shorter than video track for video capture on ↵Eric Laurent2010-03-026-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | sholes Add API to retrieve number of frames dropped by audio input kernel driver. Submitted on behalf of Masaki Sato <masaki.sato@motorola.com>
* | | Fix issue #2448075: aapt doesn't fix up activity-alias ↵Dianne Hackborn2010-03-011-16/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | android:targetActivity links And related: - The aapt tool now sets a resource configurations sdk level to match any configs that have been set (for example if you specify density your sdk level will be at least 4). - New option to modify the targetPackage attribute of instrumentation. - Clean up of aapt options help. - Fix of UI type values to leave 0 for "unspecified". - Make the UI mode config APIs public.
* | | fix [2425395] portrait UI briefly shows in landscapeMathias Agopian2010-03-011-1/+2
| | | | | | | | | | | | | | | the "freeze" timeout was not initialized properly which caused it to kick-in immediately instead of after 5s
* | | Added a name to Surface created by SurfaceFlingerMathias Agopian2010-03-016-8/+49
| | | | | | | | | | | | | | | Updated the window manager to use this new facility. Surfaces name are now printed by "dumpsys".
* | | Merge "Demote the famous ResourceTypes warning to LOGV."Ficus Kirkpatrick2010-03-011-2/+2
|\ \ \
| * | | Demote the famous ResourceTypes warning to LOGV.Ficus Kirkpatrick2010-03-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It is spamming the log bigtime and can be promoted back to LOGW or worse by whoever decides to actually investigate the bug. Change-Id: I72d950155378f641ebdfbacabae774f5736a52bc
* | | | Merge "Add support for linking to a skia bitmap rather than always copying ↵Jason Sams2010-03-014-6/+60
|\ \ \ \ | | | | | | | | | | | | | | | the data from the bitmap."
| * | | | Add support for linking to a skia bitmap rather than always copying the data ↵Jason Sams2010-03-014-6/+60
| | | | | | | | | | | | | | | | | | | | from the bitmap.
* | | | | Merge "Support defered generation of mipmaps. With this change we support ↵Jason Sams2010-03-014-5/+13
|\ \ \ \ \ | |/ / / / | | | | | | | | | | mipmap generation when the texture is uploaded to GL without requiring RS to retain the full chain."
| * | | | Support defered generation of mipmaps. With this change we support mipmap ↵Jason Sams2010-02-234-5/+13
| | | | | | | | | | | | | | | | | | | | generation when the texture is uploaded to GL without requiring RS to retain the full chain.
* | | | | Merge "Begin implementation of generated java files from RS files."Jason Sams2010-03-013-2/+257
|\ \ \ \ \ | |/ / / /
| * | | | Begin implementation of generated java files from RS files.Jason Sams2010-02-233-2/+257
| | | | |
* | | | | Unhide zoom API.Wu-cheng Li2010-03-011-0/+5
| |/ / / |/| | | | | | | | | | | bug:2458926
* | | | to help debugging [2461567] Home screen redraw messed upMathias Agopian2010-02-262-0/+6
| | | | | | | | | | | | | | | | log SF's idea of the front buffer in dumpsys.
* | | | Unhide exposure compensation API.Wu-cheng Li2010-02-261-1/+3
| | | | | | | | | | | | | | | | bug:2375993
* | | | Merge "Fix issue 2327064: Music played via line out is interrupted due to ↵Eric Laurent2010-02-251-12/+10
|\ \ \ \ | | | | | | | | | | | | | | | the phone call audio on BT hs."
| * | | | Fix issue 2327064: Music played via line out is interrupted due to the phone ↵Eric Laurent2010-02-241-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | call audio on BT hs. This is not a real fix for the issue but a change to make sure that the behavior is consistent regardless of external condidions (WIFI ON or OFF, music started before call or not, A2DP device same as SCO device...). As there is now way to guaranty good quality audio over both SCO and A2DP simultaneously, especially when WIFI is on, We will stick to this behavior: When music is playing and we are docked to the desk dock and a call is answered with a BT SCO headset, A2DP output will be suspended. If music is restarted during the call, it will appear muted to the user until the call is terminated.
* | | | | Merge "Use UTF-8 strings to avoid duplicate caching, part 1"Kenny Root2010-02-241-6/+39
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Use UTF-8 strings to avoid duplicate caching, part 1Kenny Root2010-02-231-6/+39
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | StringBlock instances containing UTF-8 strings use a cache to convert into UTF-16, but using that cache and then using a JNI call to NewString causes the UTF-8 string as well as two copies of the UTF-16 string to be held in memory. Getting the UTF-8 string directly from the StringPool eliminates one copy of the UTF-16 string being held in memory. This is part 1. Part 2 will include ResXMLParser optimizations. Change-Id: Ibd4509a485db746d59cd4b9501f544877139276c
* | | | Merge "Fix issue 2305382: Pick up original call makes a noisy beep when ↵Eric Laurent2010-02-231-3/+21
|\ \ \ \ | | | | | | | | | | | | | | | wired headset connected."
| * | | | Fix issue 2305382: Pick up original call makes a noisy beep when wired ↵Eric Laurent2010-02-231-3/+21
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | headset connected. The noise is the residual ring tone that is still playing while the call is answered and the audio route changed to headset or earpiece. The fix consists in muting the ringing tone when changing mode from ringtone to in call and delaying the route change until the audio buffers are emptied.
* | | | Merge "remove a dependency of surfaceflinger on libskia"Mathias Agopian2010-02-235-180/+351
|\ \ \ \ | |/ / / |/| | |
| * | | remove a dependency of surfaceflinger on libskiaMathias Agopian2010-02-225-180/+351
| |/ / | | | | | | | | | | | | libskia was only used for a small part of SkTransform. We now implement Transform is surfaceflinger directly.
* | | beging np2 extension check work.Jason Sams2010-02-227-5/+41
|/ /
* | remove a dependency of GraphicBuffer (libui) on Parcel (libbinder).Mathias Agopian2010-02-215-45/+182
| | | | | | | | | | | | | | | | | | Add a Flattenable interface to libutils which can be used to flatten an object into bytestream + filedescriptor stream. Parcel is modified to handle Flattenable. And GraphicBuffer implements Flattenable. Except for the overlay classes libui is now independent of libbinder.
* | Initialize layer positionMathias Agopian2010-02-191-0/+1
| |
* | Merge "Add test pattern icon to Fountain."Jason Sams2010-02-192-1/+3
|\ \
| * | Add test pattern icon to Fountain.Jason Sams2010-02-192-1/+3
| | |
* | | Merge "Remove a dependency of Region (libui) on Parcel (libbinder)."Mathias Agopian2010-02-172-48/+33
|\ \ \ | |/ / |/| |
| * | Remove a dependency of Region (libui) on Parcel (libbinder).Mathias Agopian2010-02-172-48/+33
| | |
* | | Implement type collapsing for Elements and Types. Now if a user creates two ↵Jason Sams2010-02-177-12/+79
|/ / | | | | | | or more identical objects we simply reuse the existing object rather than create a new one.
* | fix a bug I introduced recently where YUV formats would crash the systemMathias Agopian2010-02-161-4/+35
| |
* | get rid off the YUV formats at the libui layerMathias Agopian2010-02-164-24/+35
| |
* | Merge "minor cleanup."Mathias Agopian2010-02-162-18/+10
|\ \
| * | minor cleanup.Mathias Agopian2010-02-122-18/+10
| | |
* | | Merge "Add comment block matching the type defines added by RS."Jason Sams2010-02-121-2/+26
|\ \ \