Commit Graph

12506 Commits

Author SHA1 Message Date
Mathias Agopian
2b92d89e23 Add support for physically rotated displays
This feature is currently controled by a system property.
"ro.sf.hwrotation" can be set to either 90 or 270. It'll cause
SF to rotate the screen by 90 and 270 degres respectively.

That is, if the driver reports 800x480 for instance, and
ro.sf.hwrotation is set to 90, applications will "see" a
480x800 display and will run in portrait.

This is implemented by introducing an extra "display"
transformation in the GraphicPlane.
2010-02-08 15:49:35 -08:00
Doug Zongker
1b26c6ae58 Merge "add explicit Base64.DEFAULT flag to request default behavior" 2010-02-08 11:16:59 -08:00
Doug Zongker
34d472b768 add explicit Base64.DEFAULT flag to request default behavior
Also fix some grammar problems in the javadoc, and prevent the class
from being instantiated.

Change-Id: I4d83184236566a1e77d5f5cce1c4dd3776bcfca3
2010-02-08 11:16:20 -08:00
Vasu Nori
f689910bb9 Merge "use sqlite 3.6.22 to print and profile the sql statetements" 2010-02-08 10:59:38 -08:00
Gloria Wang
06553a4eef Merge "Fix for 2224736. Sometimes mSeeking is reset without calling setSeekTo first." 2010-02-08 10:46:36 -08:00
The Android Open Source Project
54ad88ea69 am ad9bcb22: merge from open-source master
Merge commit 'ad9bcb22d05fbf130ac64254abd51a137e9a3d3f'

* commit 'ad9bcb22d05fbf130ac64254abd51a137e9a3d3f':
  Fix x coordinate of the ACTION_UP event in TouchUtils.drag() method
  Fixed Android animation framework, for using interpolators that do not start at 0.0f
  Fix for GPS engines without separate session and engine status events.
  Be tolerant of GPS session and engine on status messages arriving out of order.
  GpsLocationProvider: Do not release wakelock until the GPS engine is fully off
2010-02-08 09:17:10 -08:00
Bjorn Bringert
9b692da2e3 Merge "Fixing a bug when installing VoiceSearch cause error" 2010-02-08 06:20:08 -08:00
Vasu Nori
c3632c37ba Merge "fix a warning message that is confusing people." 2010-02-05 21:37:42 -08:00
Gloria Wang
c5d960637c Merge "Revert "Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)"" 2010-02-05 19:06:38 -08:00
Chia-chi Yeh
1ca8e76925 Merge "KeyStore: minor improvements." 2010-02-05 18:46:58 -08:00
Mathias Agopian
82c19b101e Merge "fix [2189862] Race condition in eglIntialize and eglDestroy" 2010-02-05 18:37:17 -08:00
Adam Powell
8ff3d4c257 Merge "ListView updates. Fixed several overscrolling bugs. Added programmatic scrolling to ListView. Added auto-scrolling to show expanded content for ExpandableListView. Fixed an AbsListView recycler bug where offscreen views would stick around in the view hierarchy." 2010-02-05 18:01:45 -08:00
Charles Chen
eeafed7da3 Merge "Fixing a bug with the TextToSpeech speech queue processing. The queue processor should not be called for the next item until synthesis has actually happened for the current item; before it was being incorrectly called regardless of whether or not the synthesizer had processed the current item." 2010-02-05 17:23:44 -08:00
Mathias Agopian
75bc27803e fix [2189862] Race condition in eglIntialize and eglDestroy
there is now a lock protext a perticular display. it's held during
initialization and destruction.
2010-02-05 16:17:01 -08:00
Romain Guy
b12527fe5a Merge "Do not let negative margins reduce the size of the LinearLayout." 2010-02-05 15:35:10 -08:00
Gloria Wang
b25a0db432 Merge "Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)" 2010-02-05 15:18:37 -08:00
The Android Open Source Project
9517d61887 am 0af04493: am 31bfdf69: reconcile main tree with open-source eclair
Merge commit '0af0449301e72a52beeed8f26021e5460004d67a'

* commit '0af0449301e72a52beeed8f26021e5460004d67a':
  android-2.1_r1 snapshot
  Use 128p map tiles for high dpi devices.
  Throttle nitz updates as the are too numerous on cdma.
  don't request a sync when temp providers are created
  Increase light sensor delay from one to two seconds.
  Revert jparks code from IPCThreadState.
  Add a warning when we leave threads in the binder thread pool in the background scheduling group.
  PowerManagerService: Ensure that recent changes do not effect the hardware ALS case.
2010-02-05 14:23:32 -08:00
The Android Open Source Project
f8155987ae merge from open-source master 2010-02-05 13:55:16 -08:00
Mathias Agopian
a75c7f1113 Merge "Add support for direct EGLImageKHR use with pushbuffer API" 2010-02-05 13:44:01 -08:00
Mathias Agopian
f637ebe3fa Merge "Proper EGLImageKHR error handling" 2010-02-05 13:43:50 -08:00
Romain Guy
1222661c8c Merge "Fix dialogs to occupy more space." 2010-02-05 13:00:06 -08:00
Ken Shirriff
d93cef9a3f Merge "Make ACCOUNT_NAME/ACCOUNT_TYPE consistent." 2010-02-05 12:45:15 -08:00
Chris Tate
ff8b1596d6 Merge "Don't hold the backup queue lock across a backup operation" 2010-02-05 12:38:51 -08:00
Mike Lockwood
f877076a1b Merge "Keep automatic screen brightness monotonically increasing until screen is turned off." 2010-02-05 12:38:02 -08:00
James Dong
85fa67e11c Merge "When the extractor is not able to be created successfully, don't crash" 2010-02-05 12:05:42 -08:00
Romain Guy
6ba1ed8f31 Merge "Fix x coordinate of the ACTION_UP event in TouchUtils.drag() method" 2010-02-05 10:33:44 -08:00
The Android Open Source Project
9f4247668e am 31bfdf69: reconcile main tree with open-source eclair
Merge commit '31bfdf695ef741f64066ef605bd6a7e23df88714' into eclair-plus-aosp

* commit '31bfdf695ef741f64066ef605bd6a7e23df88714':
  android-2.1_r1 snapshot
  Use 128p map tiles for high dpi devices.
  Throttle nitz updates as the are too numerous on cdma.
  don't request a sync when temp providers are created
  Increase light sensor delay from one to two seconds.
  Revert jparks code from IPCThreadState.
  Add a warning when we leave threads in the binder thread pool in the background scheduling group.
  PowerManagerService: Ensure that recent changes do not effect the hardware ALS case.
  Fix regression.
  Fix broken build.
  Bluetooth A2DP suspend/resume functionality
  EventLog when a database file is deleted due to corruption.
  Don't forget to clear "backup in progress" state when finishing a pass
  Fix issue #2148939: Sholes slow to wake up in landscape mode
  Fix Cdma re-start of default connection.
  Merge change 26821 into eclair
  Not all WebView's host have permission to read the history.
  Merge change 26908 into eclair
2010-02-05 08:48:38 -08:00
The Android Open Source Project
93fe6a1cee reconcile main tree with open-source eclair 2010-02-05 08:09:38 -08:00
Bjorn Bringert
6ad61d9a76 Merge "Adding speech recognition service public API" 2010-02-05 06:25:45 -08:00
Doug Zongker
52a0bb3857 Merge "rename encodeString to encodeToString" 2010-02-05 05:44:17 -08:00
Dan Egnor
8e83db5f24 Merge "Add ability to parse HTTP-format moratorium times (since pretty much every user wants this)." 2010-02-04 19:48:52 -08:00
James Dong
cea135806a Merge "Camcorder profile Java API support - Use Enum for Quality instead of int - Use static values() method from Enum, rather than if-else" 2010-02-04 17:50:05 -08:00
Mathias Agopian
a7e380396e Add support for direct EGLImageKHR use with pushbuffer API
We now always first try to use the EGLImageKHR directly before
making a copy with copybit. The copy may be needed when
EGLImage doesn't support the requested format, which is
currently the case with YUV.
2010-02-04 17:13:06 -08:00
Doug Zongker
f9d3196cc8 rename encodeString to encodeToString
Change-Id: I777530b80a9e8be8c487e140574621cd9d35dc35
2010-02-04 17:07:59 -08:00
Mathias Agopian
8dccb26901 Proper EGLImageKHR error handling
Validate EGLImageKHR format and return an error for unsupported ones.
Also make sure to return an error when binding EGL_NO_IMAGE_KHR to a texture
2010-02-04 17:04:53 -08:00
Dianne Hackborn
b01aa19ff7 Merge "Rename ApplicationContext to ContextImpl." 2010-02-04 16:53:47 -08:00
Doug Zongker
754a2abbb7 Merge "a new java implementation of base64 for android-common" 2010-02-04 16:51:10 -08:00
Chris Tate
900f7e4e2a Merge "Add single-package restore from an app's most-recent data" 2010-02-04 16:27:42 -08:00
Daniel Sandler
2f3d86f7b1 Merge "Add support in StatusBarManager for disabling ticker text." 2010-02-04 15:58:18 -08:00
Doug Zongker
b7cc1ec723 a new java implementation of base64 for android-common
A new Base64 encoder/decoder class.  Some benchmarks comparing the
decoder it to those from android.os.Base64Utils (a decode-only native
implementation not accessible to apps) and
org.apache.commons.codec.binary.Base64, all with the JIT enabled:

  1k encoded data
  APACHE   avg:   811 us    min:   244 us    max: 13671 us
  COMMON   avg:   263 us    min:    30 us    max:  4730 us
  NATIVE   avg:   102 us    min:    61 us    max:  5493 us

  10k encoded data
  APACHE   avg:  3624 us    min:  2746 us    max: 23895 us
  COMMON   avg:   979 us    min:   518 us    max:  7751 us
  NATIVE   avg:   817 us    min:   762 us    max:  3143 us

  100k encoded data
  APACHE   avg: 33167 us    min: 31829 us    max: 140411 us
  COMMON   avg:  6047 us    min:  5493 us    max: 45227 us
  NATIVE   avg: 10109 us    min: 10009 us    max: 12451 us

Change-Id: Ic622e3a967a62d57d30bd25b80cbe4e0dd60e764
2010-02-04 15:54:00 -08:00
Dima Zavin
feddcc3e9e Merge "Move the NDK graphics wrapper (libjnigraphics) to frameworks/base/native" 2010-02-04 15:40:39 -08:00
Mathias Agopian
da3b299dd3 Merge "fix [2313526] sensor enable race condition" 2010-02-04 15:26:27 -08:00
Michael Chan
8ae68fd576 Merge "Unhiding Rfc822Tokenizer.tokenize(CharSequence text, Collection<Rfc822Token> out)" 2010-02-04 14:59:31 -08:00
Suchi Amalapurapu
c9edfe9fa9 Merge "Some tests for install and replace package." 2010-02-04 14:59:00 -08:00
Kenny Root
2e48508eb6 Merge "resolved conflicts for merge of dd24f599 to master" 2010-02-04 14:26:40 -08:00
Kenny Root
e416a03177 resolved conflicts for merge of dd24f599 to master
Change-Id: I57c349c493d69585d4c85e8c0970649708c6bd33
2010-02-04 14:23:39 -08:00
Dianne Hackborn
6b578cba39 Merge "Framework part of issue #2391576: Add method to start the Jit and call it" 2010-02-04 12:48:12 -08:00
Bjorn Bringert
e3512d0c66 Merge "Remove source selector from SearchDialog" 2010-02-04 12:28:48 -08:00
Andreas Huber
5dbafdf5d0 Merge "Stop using the PV software decoders and use ours (based on PV code) instead even in non-FULL_STAGEFRIGHT builds." 2010-02-04 10:59:08 -08:00
Daniel Sandler
e925889974 Merge "Stop scaring the kids when USB is connected." 2010-02-04 10:44:50 -08:00