47920 Commits

Author SHA1 Message Date
Carl Shapiro
39ad826d2e Include strings.h for the strcasecmp prototype.
Change-Id: I83cd464d59d16f1c5f8afa7e50d474ca2bb41713
2011-03-22 11:51:57 -07:00
Vasu Nori
b2613555f6 Merge "fix broken logTimeStat stuff" 2011-03-21 15:52:43 -07:00
Romain Guy
36a58a5440 Merge "Update GL textures when changing a Bitmap's pixels Bug #4146495" 2011-03-21 15:31:00 -07:00
Romain Guy
1a81aea814 Update GL textures when changing a Bitmap's pixels
Bug #4146495

Change-Id: I4fe3f8501373b86b164af11ae51642b140035bb8
2011-03-21 15:30:27 -07:00
James Dong
d03970991d Merge "Add read and write option in opening file for output in the writers" 2011-03-21 15:13:14 -07:00
Gloria Wang
c02506b82a Merge "Fix for 4084554. DRM framework support for enabling/disabling copy control settings from a DRM plugin" 2011-03-21 15:01:00 -07:00
James Dong
f84433fb0a Add read and write option in opening file for output in the writers
Change-Id: Ibfba0aacd3c8587c04a2e903b636de337cc30104
2011-03-21 14:27:30 -07:00
Eric Laurent
7a4b8bd588 Merge "Fix issue 3483718: audio streaming and A2DP." 2011-03-21 14:06:33 -07:00
Gloria Wang
3bbeaacfc0 Fix for 4084554.
DRM framework support for enabling/disabling copy control settings from a DRM plugin

Change-Id: I6529695cc4adbab2b9a63708bb459e3b77e07564
2011-03-21 13:50:04 -07:00
Romain Guy
43e7aeb37e Merge "Add support for drawPoint() and drawPoints()." 2011-03-21 13:12:28 -07:00
Romain Guy
ed6fcb034b Add support for drawPoint() and drawPoints().
Change-Id: I01bef50c08ec3160f8d40dc060b2cf6c2e4d7639
2011-03-21 13:11:49 -07:00
Andreas Huber
5bb357f4cc Fixing the build.
Change-Id: I89daa503029491e6f1a8321f7e45c9439315ad23
2011-03-21 11:55:01 -07:00
Eric Laurent
6667ac33f4 Fix issue 3483718: audio streaming and A2DP.
The problem is that when switching from A2DP to device speakers or headset,
The AudioTrack binder interface to AudioFlinger must be destroyed and restored
to accomodate new buffer size requirements. Current AudioTrack implementation
did not restore properly the PCM buffer write index which caused a mismatch between
the written frame count in the mediaplayer renderer and the AudioTrack. The renderer
could then believe the AudioTrack buffer was full and stop writing data preventing the
AudioTrack to reach a bufffer full condition and resume playback.

The rendered was also modified to refresh the AudioTrack frame count (buffer size)
inside the write loop in NuPlayer::Renderer::onDrainAudioQueue() as this count can change
from one write to the next.

Also modified AudioTrack::obtainBuffer() to check for track invalidated status before
querying for available space in the buffer. This avoids writing to the old track's
buffer until full before detecting the invalidated condition and create a new track.

Change-Id: I16a857e464e466880847f52f640820aa271539ad
2011-03-21 11:49:00 -07:00
Andreas Huber
14a80afa51 Merge "Support passing headers to MediaMetadataRetriever's setDataSource API" 2011-03-21 11:23:15 -07:00
Andreas Huber
5b7ced6a4e Support passing headers to MediaMetadataRetriever's setDataSource API
Change-Id: Ib1a5c08fc5034cac05034db27007a35c9b660b26
related-to-bug: 3506316
2011-03-21 11:13:59 -07:00
James Dong
294a6e420f Merge "Scale the thumbnail if display dimension is different from the actual buffer size" 2011-03-21 11:07:18 -07:00
Justin Ho
90298b56e5 am 3f29ffa5: am 38cf000a: am 5e35c485: Updated 3G and wifi traffic indicators
* commit '3f29ffa56c5204fd3dc5587479b8a1c688665e41':
  Updated 3G and wifi traffic indicators
2011-03-21 10:58:50 -07:00
Justin Ho
3f29ffa56c am 38cf000a: am 5e35c485: Updated 3G and wifi traffic indicators
* commit '38cf000a541206769ad7686936e49bf0c1e417b9':
  Updated 3G and wifi traffic indicators
2011-03-21 10:56:41 -07:00
Justin Ho
38cf000a54 am 5e35c485: Updated 3G and wifi traffic indicators
* commit '5e35c4855a972960403a10811882ebded8945006':
  Updated 3G and wifi traffic indicators
2011-03-21 10:54:51 -07:00
Justin Ho
5e35c4855a Updated 3G and wifi traffic indicators
Change-Id: I3bc61067d4c30e9cda6170e87552d93c2a084895
2011-03-21 08:42:54 -07:00
Daniel Sandler
affb58e727 Fix build.
See Change Ie70ac630

Change-Id: Ifffd53dbe17be64e6234bc6371f44b84c3e123e4
2011-03-21 10:27:18 -04:00
Mike Lockwood
4bb07bbd89 am 35fb9ea8: (-s ours) am 9a612b54: (-s ours) am 65de3c76: DO NOT MERGE: UsbService: Handle the case where a USB accessory connects as the device is booting
* commit '35fb9ea84db148251973e1266904fd0949a6b2b1':
  DO NOT MERGE: UsbService: Handle the case where a USB accessory connects as the device is booting
2011-03-20 17:50:53 -07:00
Mike Lockwood
35fb9ea84d am 9a612b54: (-s ours) am 65de3c76: DO NOT MERGE: UsbService: Handle the case where a USB accessory connects as the device is booting
* commit '9a612b545e2c5249bfd8ef2b7673197b8f214cbd':
  DO NOT MERGE: UsbService: Handle the case where a USB accessory connects as the device is booting
2011-03-20 17:49:21 -07:00
Mike Lockwood
7672db5968 am 433567b5: am 56063c8d: am dd76dc02: Merge "UsbService: Handle the case where a USB accessory connects as the device is booting" into honeycomb-mr1
* commit '433567b57c96525fb6c1c39e8ccb9780548441ba':
  UsbService: Handle the case where a USB accessory connects as the device is booting
2011-03-20 17:40:07 -07:00
Mike Lockwood
9a612b545e am 65de3c76: DO NOT MERGE: UsbService: Handle the case where a USB accessory connects as the device is booting
* commit '65de3c76874386a5c1ffd26690451ecdef972a9e':
  DO NOT MERGE: UsbService: Handle the case where a USB accessory connects as the device is booting
2011-03-20 17:37:33 -07:00
Mike Lockwood
433567b57c am 56063c8d: am dd76dc02: Merge "UsbService: Handle the case where a USB accessory connects as the device is booting" into honeycomb-mr1
* commit '56063c8d62d0574409a8150d580993c8d8e0f14f':
  UsbService: Handle the case where a USB accessory connects as the device is booting
2011-03-20 17:33:01 -07:00
Mike Lockwood
56063c8d62 am dd76dc02: Merge "UsbService: Handle the case where a USB accessory connects as the device is booting" into honeycomb-mr1
* commit 'dd76dc0297f4c39fefbbc1ac23d9b1add187d9e9':
  UsbService: Handle the case where a USB accessory connects as the device is booting
2011-03-20 17:25:09 -07:00
Mike Lockwood
dd76dc0297 Merge "UsbService: Handle the case where a USB accessory connects as the device is booting" into honeycomb-mr1 2011-03-20 17:08:24 -07:00
James Dong
9f2cde3cdb Scale the thumbnail if display dimension is different from the actual buffer size
bug - 3379293

Change-Id: I31c08010c97387716433da99d648bd364847b6aa
2011-03-20 14:46:30 -07:00
Mike Lockwood
65de3c7687 DO NOT MERGE: UsbService: Handle the case where a USB accessory connects as the device is booting
Bug: 4129297

Change-Id: I33963b0a667976d8100a60b27d66bfd0d57373e2
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-19 14:38:54 -04:00
Mike Lockwood
1c0e543638 UsbService: Handle the case where a USB accessory connects as the device is booting
Bug: 4129297

Change-Id: I8f9d085805fb598572f9b00952c3cd38cfab461b
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-19 12:03:46 -04:00
Jeff Brown
df66797771 Merge "Optimize EventHub to process events in big chunks." 2011-03-18 19:06:51 -07:00
Jeff Brown
b7198743ab Optimize EventHub to process events in big chunks.
When 10 fingers are down, reduces the CPU time spent by the InputReader
thread from ~30% to ~5% on Stingray.

Change-Id: Icdf7c91cd5d9039ac3beb38ba9021a05e7fabc80
2011-03-18 19:04:09 -07:00
Jeff Brown
e3d0022be8 Merge "Fix an incorrect NDK function prototype." 2011-03-18 18:52:40 -07:00
Jason Sams
90a948b084 Merge "Fix cleanup bug clearing script references." 2011-03-18 17:43:10 -07:00
Jason Sams
88728ecaea Fix cleanup bug clearing script references.
Change-Id: I693dd7523658a32837764854c12a6b690e8fb7c6
2011-03-18 17:38:40 -07:00
Jamie Gennis
2ada5b865d am bd340c7b: am b368f4d8: am 38caff23: Merge "SurfaceFlinger: Fix a typo." into honeycomb-mr1
* commit 'bd340c7b492fcf7d0a6cccab8825e710c83fe76d':
  SurfaceFlinger: Fix a typo.
2011-03-18 17:38:37 -07:00
Jamie Gennis
bd340c7b49 am b368f4d8: am 38caff23: Merge "SurfaceFlinger: Fix a typo." into honeycomb-mr1
* commit 'b368f4d85d8b5e567f605c991a6c5c6ff1c868d8':
  SurfaceFlinger: Fix a typo.
2011-03-18 17:36:51 -07:00
Jamie Gennis
b368f4d85d am 38caff23: Merge "SurfaceFlinger: Fix a typo." into honeycomb-mr1
* commit '38caff230d1ee52701cc8cffde0309b91c2016d6':
  SurfaceFlinger: Fix a typo.
2011-03-18 17:34:27 -07:00
Jamie Gennis
38caff230d Merge "SurfaceFlinger: Fix a typo." into honeycomb-mr1 2011-03-18 17:32:25 -07:00
Svetoslav Ganov
a3d17a753d Merge "Text in accessibility events not consistent" 2011-03-18 17:16:14 -07:00
Romain Guy
d1daaa2130 Merge "Fix hairline rendering." 2011-03-18 17:15:12 -07:00
Romain Guy
67ac217a81 Fix hairline rendering.
Change-Id: Ib6129b446b53678b1b955d8516418370cbae4f10
2011-03-18 17:14:27 -07:00
Svetoslav Ganov
c0a8cd10a5 Text in accessibility events not consistent
bug:2513822

Text added to accessibility events is truncated to max
length. However, the fromIndex and toIndex properties
are relative to the text before being truncated, thus
potentially our of bound. Removed the max length
limitation because test very rarely is longer that
500 characters and in the cases in which text is longer
than 500 character it will not be a real problem to
pass a bit more data through an IPC (very rarely).

Change-Id: Ie70ac630dfeb56d4f59079abb2f46d07582796b6
2011-03-18 17:13:59 -07:00
Jason Sams
73a7a1c5a7 Merge "Fix bug with hal init uninitialized var." 2011-03-18 17:10:09 -07:00
Jason Sams
80e29cf5c4 Fix bug with hal init uninitialized var.
Change-Id: I172bb65b57653e32697f2c2df941beb0aaf65603
2011-03-18 17:08:54 -07:00
Eric Fischer
05058b05b0 am cfb05dc6: (-s ours) am 9ac82606: (-s ours) am c0604255: Merge "Import revised translations. DO NOT MERGE" into gingerbread
* commit 'cfb05dc67e4fd8c0c078d31bf5404ad915b80030':
  Import revised translations.  DO NOT MERGE
2011-03-18 16:58:44 -07:00
Eric Fischer
cfb05dc67e am 9ac82606: (-s ours) am c0604255: Merge "Import revised translations. DO NOT MERGE" into gingerbread
* commit '9ac8260608224f182ac5a20e50ce4352334a09ba':
  Import revised translations.  DO NOT MERGE
2011-03-18 16:53:45 -07:00
Romain Guy
2ba648bcba Merge "Correctly apply filters to Alpha8 bitmaps." 2011-03-18 16:51:17 -07:00
Romain Guy
a168d73721 Correctly apply filters to Alpha8 bitmaps.
This change also removes unnecessary operations from display lists.

Change-Id: I627f85861982731f0ee7705b48b36d9c56f22f39
2011-03-18 16:50:13 -07:00