Commit Graph

3474 Commits

Author SHA1 Message Date
Mathias Agopian
dfbec0e282 add support for RGBX_8888 2009-08-07 20:55:14 -07:00
Mathias Agopian
9fbeb7c6e2 remove unused and confusing comment 2009-08-07 19:08:18 -07:00
Android (Google) Code Review
9cedf4c3f0 Merge changes 20497,20498,20499
* changes:
  minor code clean-up
  added EGLUtils::strerror
  better error handling
2009-08-07 16:39:34 -07:00
Mathias Agopian
0928e31cc7 minor code clean-up 2009-08-07 16:38:10 -07:00
Mathias Agopian
8c12c7aec3 added EGLUtils::strerror 2009-08-07 16:37:21 -07:00
Android (Google) Code Review
ec2126dc0d Merge change 20481
* changes:
  Add refraction and bettr normals computation to FallRS
2009-08-07 15:41:25 -07:00
Android (Google) Code Review
56de3ca211 Merge change 20336
* changes:
  Mods to the ContactHeaderWidget to be able to have it display strings as passed in by the caller.  For example we may want to use this in the case when there is no contact in a given circumstance.
2009-08-07 14:52:34 -07:00
Android (Google) Code Review
4f71bd208a Merge change 20454
* changes:
  Added lightweight exception logging to AsyncQueryHandler.
2009-08-07 13:47:00 -07:00
Android (Google) Code Review
1440eda7e6 Merge change 20439
* changes:
  Fix Bmgr's logic around restore completion
2009-08-07 11:39:55 -07:00
Android (Google) Code Review
f979875971 Merge change 20422
* changes:
  Build the stagefright library by default.
2009-08-07 11:09:44 -07:00
Android (Google) Code Review
42f59c6ec3 Merge change 20428
* changes:
  Add constant for storing market backup state in shared preferences.
2009-08-07 11:07:40 -07:00
Eric Fischer
a13ef9893f am e6034f6c: Import revised translations.
Merge commit 'e6034f6cd8fc32641f31e5a3cf068b6d56309872'

* commit 'e6034f6cd8fc32641f31e5a3cf068b6d56309872':
  Import revised translations.
2009-08-07 11:04:10 -07:00
Android (Google) Code Review
e55b1d9116 Merge change 20423
* changes:
  Retain state of wifi connection after restore
2009-08-07 10:45:29 -07:00
Eric Laurent
f9df24932f AudioService now differentiates BT headsets and car kits.
The BT headset detection now makes the difference between car kits and headsets, which can be used by audio policy manager.
The headset connection is also detected earlier, that is when the headset is connected and not when the SCO socket is connected as it was the case before. This allows the audio policy manager to suspend A2DP output while ringing if a SCO headset is connected.
2009-08-07 10:31:53 -07:00
Android (Google) Code Review
b368f280c3 Merge change 9662
* changes:
  Fix problem in AudioFlinger closeOutput and closeInput.
2009-08-07 10:20:46 -07:00
Android (Google) Code Review
a1229fdc38 Merge change 20424
* changes:
  Fix the scanning panic issue
2009-08-07 10:20:04 -07:00
Eric Laurent
dae20d9b7f Fix problem in AudioFlinger closeOutput and closeInput.
There was no garanty that the corresponding thread destructor had been already called when exiting the closeOutput() or closeInput() functions.
This contructor could be called by the thread after the exit condition is signalled. By way of consequence, closeOutputStream() could be called after
we exited closeOutput() function.

To solve the problem, the call to closeOutputStream() or closeInputStream() is moved to closeOutput() or closeInput().
2009-08-07 10:19:09 -07:00
Android (Google) Code Review
6e7329cd32 Merge change 20357
* changes:
  Remove Voice Search constants, factored them out into the Voice Search app.
2009-08-07 09:54:02 -07:00
Android (Google) Code Review
441cb8a5e7 Merge change 20381
* changes:
  Clean-up of API for filtering contacts by phone or email. The api is now symmetrical.
2009-08-07 09:47:35 -07:00
Android (Google) Code Review
bf4189420e Merge change 20383
* changes:
  As createCacheFile is called from WebCore instead of http thread now, remove the endCacheTransaction/startTransaction pairs.
2009-08-07 09:46:28 -07:00
Eric Laurent
29b9eff418 Improved unit test code for Audioflinger. 2009-08-07 09:32:06 -07:00
Eric Laurent
3464c015ad Fix lockup in audio flinger threadbase setParameters.
The function checkForNewParameters_l() is called with the ThreadBase mutex mLock locked. In the case where the parameter change implies
an audio parameter modification (e.g. sampling rate) the function sendConfigEvent() is called which tries to lock mLock creating a deadlock.

The fix consists in creating a function equivalent to sendConfigEvent() that must be called with mLock locked and does not lock mLock.

Also added the possibility to have more than one set parameter request pending.
2009-08-07 09:28:40 -07:00
Android (Google) Code Review
119ed307ea Merge change 9674
* changes:
  Fix problem in AudioTrack with 8 bit PCM and direct output.
2009-08-07 09:10:15 -07:00
Android (Google) Code Review
cf6b2bf469 Merge change 9660
* changes:
  Fix problem in A2DP interface closeOutputStream().
2009-08-07 09:09:10 -07:00
Android (Google) Code Review
dfbea2f397 Merge change 9653
* changes:
  Fix getParameters() default implementation.
2009-08-07 09:08:36 -07:00
Eric Laurent
e0e9ecc0ce Fix issue 2001214: AudioFlinger and AudioPolicyService interfaces should not use pointers as handles to inputs and outputs.
Use integers instead of void* as input/output handles at IAudioFlinger and IAudioPolicyService interfaces.
AudioFlinger maintains an always increasing count of opened inputs or outputs as unique ID.
2009-08-07 00:27:19 -07:00
Android (Google) Code Review
3b2734f443 Merge change 20400
* changes:
  Add lighting to animated water ripples.
2009-08-06 22:53:05 -07:00
Jeff Sharkey
561afeeda4 am b8560b66: Fix AppWidget layout inflation to resolve references.
Merge commit 'b8560b66fd2bdf465a8c7fad983f2236778e8106'

* commit 'b8560b66fd2bdf465a8c7fad983f2236778e8106':
  Fix AppWidget layout inflation to resolve references.
2009-08-06 21:56:53 -07:00
Mathias Agopian
42db9dcea2 better error handling 2009-08-06 20:46:44 -07:00
Yu Shan Emily Lau
6d983f1ccb am 3397f169: Capture the start and end memory usage in the output file. Move the start memory catpure after 10 loops.
Merge commit '3397f16949d2e86442c32f3b82d5ee3ace99ba82'

* commit '3397f16949d2e86442c32f3b82d5ee3ace99ba82':
  Capture the start and end memory usage in the output file. Move the start memory catpure after 10 loops.
2009-08-06 18:14:39 -07:00
Android (Google) Code Review
f9694507ec Merge change 20365
* changes:
  oops, EGLConfig of value zero may be valid
2009-08-06 17:15:11 -07:00
Mathias Agopian
b97603dcf0 oops, EGLConfig of value zero may be valid 2009-08-06 17:14:10 -07:00
Android (Google) Code Review
3741c2ef09 Merge change 20356
* changes:
  Add viewport meta tag to our staged failure code so that they will render correctly.
2009-08-06 17:02:00 -07:00
Android (Google) Code Review
c20e5cc766 Merge change 20351
* changes:
  make sure bootanimation will choose the right config wrt the native surface
2009-08-06 16:42:12 -07:00
Karl Rosaen
18b54f852a am a7a3b6ef: Dismiss both the soft keyboard and the search dialog on back if there is no text entered and no shortcuts are being obscured by the soft keyboard.
Merge commit 'a7a3b6ef0fdaf6b17993642b76baf90a03ae0077'

* commit 'a7a3b6ef0fdaf6b17993642b76baf90a03ae0077':
  Dismiss both the soft keyboard and the search dialog on back if there is no text entered and no shortcuts are being obscured by the soft keyboard.
2009-08-06 16:40:13 -07:00
Android (Google) Code Review
8868100fc6 Merge change 20309
* changes:
  gps: Unhide GpsStatus.NmeaListener interface for receiving NMEA sentences
2009-08-06 16:36:26 -07:00
Android (Google) Code Review
1448256e27 Merge change 20341
* changes:
  The mp3 decoder now correctly uses microseconds to measure time. One less quirk.
2009-08-06 16:29:25 -07:00
Android (Google) Code Review
b2001065b9 Merge changes 20345,20346,20347
* changes:
  update most gl tests to use EGLUtils
  added two EGL helpers for selecting a config matching a certain pixelformat or native window type
  added NATIVE_WINDOW_FORMAT attribute to android_native_window_t
2009-08-06 16:27:47 -07:00
Mathias Agopian
653870d5e9 update most gl tests to use EGLUtils 2009-08-06 16:26:15 -07:00
Mathias Agopian
6cf50a770d added two EGL helpers for selecting a config matching a certain pixelformat or native window type 2009-08-06 16:05:39 -07:00
Mathias Agopian
6b1f41004f added NATIVE_WINDOW_FORMAT attribute to android_native_window_t 2009-08-06 16:04:29 -07:00
Android (Google) Code Review
d9cede5115 Merge change 20338
* changes:
  Wipe data on backend before a backup run Append the date to 3.txt so that we can see if/when backup failures occurred   solely from the device/server state Note that these files will probably be deleted from the tree immediately, to   be replaced by the ruby versions.
2009-08-06 15:58:32 -07:00
Android (Google) Code Review
d7196e84a0 Merge change 20331
* changes:
  KeyInputQueue: get the name of the virtual-keys file from the input-device name
2009-08-06 15:10:57 -07:00
Android (Google) Code Review
05a358fd6e Merge change 20330
* changes:
  EventHub: pass the name of each input device up to Java
2009-08-06 15:10:40 -07:00
Android (Google) Code Review
6ce548fada Merge change 20333
* changes:
  Clear app data via the Activity Manager, not Package Manager
2009-08-06 15:03:00 -07:00
Mike LeBeau
3b3fabc1c9 am e303d2cf: Send a special respond to the cursor in SuggestionsAdapter to tell it to close itself directly because it may not happen correctly for some cursors currently. This fixes http://b/2036290, which is being caused by http://b/2015069 which we are not fixing f
Merge commit 'e303d2cf94da6bb7f0569fbddd6dfd5b85ed8295'

* commit 'e303d2cf94da6bb7f0569fbddd6dfd5b85ed8295':
  Send a special respond to the cursor in SuggestionsAdapter to tell it to
2009-08-06 14:55:29 -07:00
Iliyan Malchev
34193b3168 EventHub: pass the name of each input device up to Java
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-08-06 14:52:13 -07:00
Android (Google) Code Review
b55717fd57 Merge change 20317
* changes:
  Bubble up SMS send fail error code to the app.
2009-08-06 14:43:24 -07:00
Android (Google) Code Review
a80e3261e5 Merge change 20326
* changes:
  Fix build.
2009-08-06 14:08:37 -07:00
Android (Google) Code Review
df922b206f am 40c10bf4: Merge change 20304 into donut
Merge commit '40c10bf4dfbaf2a48b3fe6d2fcc58843cefc01bc'

* commit '40c10bf4dfbaf2a48b3fe6d2fcc58843cefc01bc':
  More work on issue #2030135: Device sluggish
2009-08-06 13:53:31 -07:00