summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge "Use a system property to determine mobile interfaces" into froyoSteve Kondik2010-11-191-12/+10
|\
| * Use a system property to determine mobile interfacesChristopher Lais2010-11-191-12/+10
| | | | | | | | Change-Id: I4fdf21d3e4b261c605a38477a22e2aa03edc8fb0
* | Improve performance when getting styled string.Peter Eliasson2010-11-192-48/+53
| | | | | | | | | | | | | | | | | | | | | | | | The style used in the composing text for input methods takes a long time to create. This is experienced as a lag when composing the first word. The bottleneck lies in the 10 calls to nativeIndexOfString which does a linear search through thousands of strings. Change-Id: I3184b2be3673d384cca19e9a70ad94b4d3085576
* | Release reference when putting RILRequest back into the pool.Johannes Carlsson2010-11-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to reduce object creation the RILRequest objects are stored in an array when it is unused (max 4). This avoids GC of the object. The object in turn has references to other objects which sometimes hold large memory chunks. This fix releases these references since they are not used anyway. This will make it possible to GC the Message (mResult) which in some cases holds references to a Bitmap which sometimes leads to OutOfMemoryException. The reference is cleared anyway in RILRequest.obtain(...) Change-Id: I3b895bc39b5e2f3ab7cc8297c3583ea78e0ebc77
* | Fix sometimes mExpandedView will appear while screen transforming.Tony Wu2010-11-191-0/+5
| | | | | | | | | | | | | | While watching YouTube and receiving a call, after hang up the call, mExpandedView may flash when screen transform from Phone to YouTube. Change-Id: Ib25a0cd1086c278b91a2b34e21744a3c432a8f35
* | Merge "Added georgian glyphs to the stcok DroidS*.ttf from equivalent dejavu ↵Steve Kondik2010-11-197-0/+0
|\ \ | | | | | | | | | fonts" into froyo
| * | Added georgian glyphs to the stcok DroidS*.ttf from equivalent dejavu fontslado2010-11-157-0/+0
| | | | | | | | | | | | Change-Id: I52ae3e6292cb436b3bad6d697109414a757cf390
* | | Updated Italian translations: Phone and Messaging SlidingTabEug892010-11-191-0/+4
| |/ |/| | | | | Change-Id: I4de64346eb34ac73096a05be1c04d69408f57c0a
* | Phone and Messaging Lockscreen resourcesRodolfo Hurtado2010-11-196-7/+35
| | | | | | | | | | | | | | | | | | | | Change-Id: Ida52d9e88030daea7033a7651e82f0d18a847448 Phone and Messaging LockScren resources. Change-Id: I9d75160ba252485c1a89b420a05c795b4a229f82 Phone and Messaging LockScren resources
* | Unsolicited informational event should not be put in the response queue. It ↵nadlabak2010-11-181-5/+6
| | | | | | | | | | | | can break e.g. the reading of the asec list returned from vold - package manager then assumes no secure containers on sdcard, which can result in system_server being killed by vold during sdcard unmount, in case it keeps a recently run pkg.apk file in an asec opened. Change-Id: I068d8ef8cd244fde03f08b1f6b3f920eb9135aaf
* | libstagefright: Add check for corrupted header in mp4 fileY Mehta2010-11-182-3/+6
| | | | | | | | | | | | | | | | | | - Playback of audio clip cuases ANR -The infinite recursive call of parseChunk causes ANR. -Return error when mNumSampleSizes is corrupted. Change-Id: Ifd0c31b1adc98f8809ecff8022a484b7f649295c CRs-Fixed: 258193
* | libstagefright: Add support for files with short audio track and longDeva Ramasubramanian2010-11-182-6/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | video track - As is, if the audio track is shorter than the video track then playback ends when the audio track ends. This change allows for the playback to continue until the video track ends as well. - The inverse situation with the video track being shorter than the audio track is not supported by this change. Change-Id: I146edb6e1ad1816fe6375d58b86375c88f685b93 CRs-Fixed: 255410
* | libstagefright: Add check for zero chunk size.Riaz Ur Rahaman2010-11-181-0/+3
| | | | | | | | | | | | | | | | | | mp4 file with chunksize of zero causes a infinite recursive call of parsechunk of the parser resulting in ANR. Added check to handle this case. Change-Id: I468ef3371b4efb92d34fe38bbc99883641b4a7f5 Crs-Fixed:254974
* | libstagefright : Fix for grey frame displayed on Seek in HTTP StreamingKrishnankutty Kolathappilly2010-11-181-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | -If seek is signaled while cache read is in progress, this frame should not be added to the cache. -Currently this frame is written to the cache and subsequently gets sent to the decoder after flush. -If this frame is not a sync frame, it results in grey frame /artifacts at the output. -Added code to release this buffer and prevent it from being pushed to the cache Change-Id: I1809bec6ba7d943f3c45729ae03812521cda4098 CRs-Fixed: 251274
* | Fixed issue with MPEG4 with 0 audio channels.Karl McDowall2010-11-181-4/+0
| | | | | | | | | | | | | | | | | | | | | | Removed check that numChannels != 0 in MPEG4Extractor. The problem was that numChannels==0 valid, and implies that the number of channels should come from the audio object embedded in the MPEG4. CRs-Fixed: 249523 Change-Id: I77e838bd1c37dfc9798363dda04977c4ecfd224d
* | libstagefright: Add support to decode mp3 data in mp4 container.Mansi Patel2010-11-181-1/+13
| | | | | | | | Change-Id: Id72d47e774d59ee1a9cf0c3533386f94f5d3cbe7
* | DropBox: Read until the end of stream has been reachedChristian Lindeberg2010-11-181-1/+6
| | | | | | | | | | | | | | Read the requested length or until the end of the input stream has actually been reached. Change-Id: I01bc0b81eca0225209bdd288dde6a778a19d1e2c
* | Without SD card the shutdown sequence was delayedJohan Alfven2010-11-181-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | If the memory card is not inserted (or removed) from the phone the shut down process is very long. It takes almost 24 seconds. For the phone with memory card the averige is 5-6 seconds Make sure to send onShutDownComplete even if an SD card is not mounted and no unmount is done. Change-Id: I0e79b82e294a971f5e7144cdd3cc16b7ff414b9c
* | Reorder lock acquision vs try.Daniel Trebbien2010-11-181-6/+5
| | | | | | | | | | | | | | | | | | In two places involving locking, reordered the code so that the lock acquisition is performed outside of the `try` block and everything else that needs to run while the lock is locked *within* the `try` block. Change-Id: I3dad2c4bbf60b219fc6db2aa35e2ed296cb39128
* | Fixes Issue 7907 in the public bugs database ↵Daniel Trebbien2010-11-181-32/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (http://code.google.com/p/android/issues/detail?id=7907). The Javadoc comment for class `android.content.UriMatcher` had four issues: 1. The example calls to `addURI` should not be using a leading forward slash in the path parameter (reported by Ester Ytterbrink). 2. The sample code to construct a `UriMatcher` was incorrect because the `UriMatcher` constructor takes a parameter (reported by Ross Light). 3. The code example for using `match` was incorrect because it showed two parameters being passed, when `match` only takes one (reported by Ross Light). 4. The sample `getType` implementations were incorrect because `getType` takes a `Uri` object, not an array of `String`s. Change-Id: I560bff6f021c13cabf736f40ff0f47a205074291
* | TabWidget orientationRoger Olsson2010-11-182-3/+3
| | | | | | | | | | | | | | | | | | | | | | TabWidget orientation specified in tab_content.xml instead of TabWidget.java. Generally, the orientation of the TabWidget should be set in xml-files and not in TabWidget.java. A sub class of TabActivity may call setContentView() using a custom layout where the TabWidget orientation is vertical. This is the case in the UI Enablers Bottom Tab feature, for landscape display orientation. Change-Id: Ia677441a0af96a8d2ab47ef3298eb440c34924f6
* | Adding pan behavior on preference dialog.Peter Eliasson2010-11-181-1/+1
| | | | | | | | | | | | | | | | Changed the preference dialog with text input to pan if the display area is limited. This helps the user to see the input better. Change-Id: I12341546f6f82601ac5a2746153255a9b2d49a1c
* | Make the base direction of the Arabic error pages RTLShachar Shemesh2010-11-182-2/+2
| | | | | | | | Change-Id: I10df9cb92d18850e8893298b2edfd9e57ca5cfef
* | Set the base direction of the Hebrew error pages to RTLShachar Shemesh2010-11-182-2/+2
| | | | | | | | Change-Id: I435e724f9638e294b7e03527e7c6244a307f010e
* | Merge "libstagefright: changes to enable nvidia encoder" into froyoSteve Kondik2010-11-181-0/+10
|\ \
| * | libstagefright: changes to enable nvidia encodervhiremath2010-11-141-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | These are the minimum changes required to enable to nvidia based h/w accelerated encoder module in stage fright. bug 702341 Change-Id: I59d4b860d2cc129fc94ab86f6cf08cf76238880f
* | | Merge "[opengl] implement work around for tegra errata 657451" into froyoSteve Kondik2010-11-184-2/+41
|\ \ \ | |/ /
| * | [opengl] implement work around for tegra errata 657451Gary King2010-11-144-2/+41
| | | | | | | | | | | | | | | | | | | | | copy the tegra errata work around compile flags from bionic, to pick up the correct __get_tls implementation Change-Id: Idf131ad536b3f6bce643a83bb99e007a9b45c3bb
* | | Merge "[egl] return error code for NULL num_config output parameter" into froyoSteve Kondik2010-11-181-0/+1
|\ \ \ | |/ /
| * | [egl] return error code for NULL num_config output parameterGary King2010-11-141-0/+1
| | | | | | | | | | | | | | | | | | | | | if a client passes NULL for num_config to eglGetConfigs, set EGL_BAD_PARAMETER and return rather than crash Change-Id: I412cce9a89cbe4fc4270b1444d21601633c21d21
* | | Merge "[egl] add support for vendor-specific GL extensions" into froyoSteve Kondik2010-11-181-0/+62
|\ \ \ | |/ /
| * | [egl] add support for vendor-specific GL extensionsGary King2010-11-141-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on implementations which have a single EGL backend, it is straight- forward to query the EGL implementation for the supported GL extensions the mechanism added in this commit will only work on implementations which have a single EGL backend; on implementations which have multiple backends, this feature should be disabled at compile-time for EGLImage extensions, call into a wrapper layer implementation to translate the meta-EGL object into the vendor object before calling into the vendor's EGLImage implementation Change-Id: I4c930a506a743b6ea88c4b2e769a9ea5ebf8e0d0
* | | Merge "egl: return success for eglSwapInterval" into froyoSteve Kondik2010-11-181-1/+5
|\ \ \ | |/ /
| * | egl: return success for eglSwapIntervalGary King2010-11-141-1/+5
| |/ | | | | | | | | default shouldn't return an error, since this would preclude hardware implementations which implement this function correctly
* | Change to allow separate drawable for notification counts withoutMichael Webster2010-11-173-0/+2
| | | | | | | | | | | | disturbing layout of battery percent display (HDPI). Change-Id: Ibaaec05ad2159cdc1e27c3d24006e7036e06f85c
* | input: Handle extra keys on Vision and Espresso separatelySteve Kondik2010-11-172-6/+18
| | | | | | | | | | | | | | | | These devices have physical keyboards, but certain keys (? and SYM) are mapped differently. Check the target's name and use the appropriate set of keycodes. Change-Id: Ib91a47beb3681b411bbbd1946d5478334c5f3c33
* | Fixed: cannot read out correct heap size from dalvik.vm.heapsizeNan YE2010-11-161-1/+1
| | | | | | | | Change-Id: Ia9b61fcbcd2e6c69d11699ed5e6c935760650eed
* | Fix Expanded View showing when you disable it, and reboot.Pedlar2010-11-151-1/+9
|/ | | | Change-Id: Id243bdc0065da4c88926f78cf99daeb66260c938
* Revert "Make the ADB connected notification non-persistent."Steve Kondik2010-11-141-0/+1
| | | | | | | | | | Causes problems on phones like Vision. We have a setting to disable the notification altogether, so this is pointless and causes the trackpad light to flash all the time. This reverts commit 39a636a021aa9a6d393c93f6235e426d43392047. Change-Id: I4badd0d2c9289db18084f6c6a9bb4621ecbb8b1d
* GPS: Initialize XTRA support when GPS is enabledMike Lockwood2010-11-141-2/+6
| | | | | | | BUG: 2923148 Change-Id: If9a643e385c6c567b30f47d4caa35fa812a2ba43 Signed-off-by: Mike Lockwood <lockwood@android.com>
* GPS: Don't set XTRA download pending flag at boot time.Mike Lockwood2010-11-141-2/+2
| | | | | | | | XTRA data downloads are now strictly on demand from the GPS engine. Also fix typo in handleDownloadXtraData() Change-Id: Ied1a6e2e62134add4d965326aae909c86f834682 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Revert "location: Add config to control download of XTRA data on boot."Steve Kondik2010-11-142-8/+1
| | | | | | | Also revert QCOM location changes in favor of Google's, which actually work. Change-Id: Ie5295c3ae69bc17a51b05e235894dd7fc024d9e4
* Merge "Add missing korean translation" into froyoSteve Kondik2010-11-141-1/+1
|\
| * Add missing korean translationInseok Lee2010-11-141-1/+1
| | | | | | | | Change-Id: Ie73b53941e0a8804426b1bdb4ede49c3397c47b3
* | framework: Update APISteve Kondik2010-11-131-105/+28
| | | | | | | | | | | | Minor changes since addition of new keycodes. Change-Id: Id9958849477d869a12563bdffb80e479e929005a
* | input: Fix keymapping and handle www/com key.Steve Kondik2010-11-135-57/+47
| | | | | | | | | | | | | | | | The keymappings derived when setting up for Espresso were incorrect and causing problems on other keyboards like Vision. Corrected this, and also added handling for the www/com key on Vision. Change-Id: I4303c60498469a24f5ce2b4397b6cf822ac81f67
* | Disable overscrolling by default.Steve Kondik2010-11-121-1/+1
| | | | | | | | Change-Id: I770b5d1fb59cdd4438d5eedcea8df412cbb0d2ad
* | Merge "Restore Overscrolling" into froyoSteve Kondik2010-11-1218-314/+2465
|\ \
| * | Restore OverscrollingRicardo Cerqueira2010-11-1218-314/+2465
| |/ | | | | | | | | | | | | | | | | | | | | Oooohh... Bouncy! This reverts commit 9d32d24dbd8a015c9d5c44ed4901d5a666eb8e7f ("Remove overscrolling"), fixes some minor issues, updates the code to the current state of the scrolling and view classes, updates the conflicting API method IDs, and adds a Setting to toggle it. Change-Id: I3f608fbaccd7d578ca21b2679b87916fbc63bf6d
* | cameraservice: Use default overlay format unless flag set.Steve Kondik2010-11-123-1/+37
| | | | | | | | | | | | | | | | Also destroy previous overlay and handle NULL instance. Define BOARD_OVERLAY_FORMAT_YCbCr_420_SP for 7X30. Change-Id: Ib2ca5e17aecd8d19841c0357594b3c4fed0a01d6