58433 Commits

Author SHA1 Message Date
Pannag Sanketi
e5d99be77a am abf82f9e: Merge "Incr. MIN_UNDEQUEUED_BUFFERS in SurfaceMediaSource"
* commit 'abf82f9ea4960ead8716b183aac1792820cccdd1':
  Incr. MIN_UNDEQUEUED_BUFFERS in SurfaceMediaSource
2011-08-31 22:02:46 -07:00
Pannag Sanketi
abf82f9ea4 Merge "Incr. MIN_UNDEQUEUED_BUFFERS in SurfaceMediaSource" 2011-08-31 22:00:35 -07:00
Jean-Michel Trivi
aa428a26d5 am a6ec356d: Merge "Fix 5243349 RemoteControlDisplay incorrectly updated"
* commit 'a6ec356d2f5d2829fd8eff315a37f49501eac842':
  Fix 5243349 RemoteControlDisplay incorrectly updated
2011-08-31 19:05:36 -07:00
Jean-Michel Trivi
a6ec356d2f Merge "Fix 5243349 RemoteControlDisplay incorrectly updated" 2011-08-31 19:02:59 -07:00
Michael Jurka
e527590182 am 185a251b: Merge "Improve Recent Apps scrolling performance"
* commit '185a251b08104a2f19f642d9492e75dd11680dd6':
  Improve Recent Apps scrolling performance
2011-08-31 18:40:24 -07:00
Michael Jurka
185a251b08 Merge "Improve Recent Apps scrolling performance" 2011-08-31 18:38:43 -07:00
Jean-Michel Trivi
b716f0b7b2 Fix 5243349 RemoteControlDisplay incorrectly updated
This fixes a case where the RCD would display transport control
 for a RemoteControlClient that didn't have audio focus.
This was happening because registering an RCD was directly calling
 the updateRemoteControlDisplay method, without first calling
 the checkUpdateRemoteControlDisplay method which verifies the
 conditions before updating the display. One of those conditions
 is that the audio focus stack shouldn't be empty.

To verify this fix, several functions were also rename to clearly
 indicate the lock order and verify we properly synchronize on
 the right objects. In doing so, a missing synchronization on
 audio focus was found.

Change-Id: If1baaac224ea676aeb83ac0aefcc53f87461c32e
2011-08-31 18:24:04 -07:00
Michael Jurka
3cd0a59393 Improve Recent Apps scrolling performance
- 20fps improvement using software rendering
- 10fps improvement using hardware rendering
- in sw mode, rendering recents background in the recent items themselves and using a bitmap cache to draw individual items (gives perf gains for sw mode)
- in sw and hw mode, no longer doing a fade on the recents scroll view (gives perf gains for hw mode) - instead we draw a black gradient where we would normally fade
- fading recents & notifications immediately when swiped
- removing unused code

Change-Id: I908e2a25b89c9dfbf9b8c8f3810fa43064261b33
2011-08-31 17:48:40 -07:00
Robert Greenwalt
81f2a36a53 am 2d012c12: Merge "Create new isNetworkSupported API"
* commit '2d012c128fda793be3bf443f0b8596fbe23ca323':
  Create new isNetworkSupported API
2011-08-31 17:46:41 -07:00
Robert Greenwalt
2d012c128f Merge "Create new isNetworkSupported API" 2011-08-31 17:44:50 -07:00
Pannag Sanketi
ffd056fc73 Incr. MIN_UNDEQUEUED_BUFFERS in SurfaceMediaSource
The buffers in SurfaceMediaSource were 4 earlier, whereas
we need 5 for one of the devices.

Change-Id: I87bf5e28bbb0f7c9661dc01b040baa903d95d2c2
2011-08-31 17:43:24 -07:00
Rajneesh Chowdury
29ccd727a9 am 270bcaa9: Merge "Fix for 5156702 Rotate video output for thumbnails and export"
* commit '270bcaa9d1b7e6cef723532692d82bb231ac7137':
  Fix for 5156702 Rotate video output for thumbnails and export
2011-08-31 17:16:19 -07:00
Rajneesh Chowdury
270bcaa9d1 Merge "Fix for 5156702 Rotate video output for thumbnails and export" 2011-08-31 17:14:52 -07:00
David Brown
eef989ebd4 am 93d77b63: Don\'t log PII when launching intents with "sms:" or "sip:" URIs
* commit '93d77b633e7888b425443f544b2732485adee45e':
  Don't log PII when launching intents with "sms:" or "sip:" URIs
2011-08-31 17:13:12 -07:00
David Brown
93d77b633e Don't log PII when launching intents with "sms:" or "sip:" URIs
We were already redacting phone numbers from "tel:" and "smsto:" URIs.

Now, do that for "sms:" and "sip:" too, since those schemes are equally
likely to contain PII in the scheme-specific part.

TESTED: Received incoming call; selected "Respond via SMS" -> "Custom
        message"; confirmed no PII in the system log.

Bug: 5244735
Change-Id: If2444c8901249aac9fd8e6b809d6da01db2e27c1
2011-08-31 17:04:17 -07:00
Jeff Brown
665da8c9ec am b6957413: Merge "Fix JNI leak in copyStringToBuffer Bug: 5244396"
* commit 'b695741330f56405f559a0fb2df89a21dbbb3b1f':
  Fix JNI leak in copyStringToBuffer Bug: 5244396
2011-08-31 16:56:51 -07:00
Jeff Brown
b695741330 Merge "Fix JNI leak in copyStringToBuffer Bug: 5244396" 2011-08-31 16:55:08 -07:00
Robert Greenwalt
9b2886e243 Create new isNetworkSupported API
Useful for checking if on a wifi-only device.
Similar to asking for NetworkInfo for a network type and checking for
null, though here the intent is explicit.

bug:5087537
Change-Id: Ia3ddd09b6b735b8b3ceb7a347891e015fd96b218
2011-08-31 16:53:12 -07:00
Andreas Huber
db03a39bbb am 9100473a: Merge "I have one HLS stream that switches stream PIDs from one bandwidth to the next"
* commit '9100473a7e908c7292008140f76ca5009a4335d4':
  I have one HLS stream that switches stream PIDs from one bandwidth to the next
2011-08-31 16:47:40 -07:00
Andreas Huber
9b2813fad8 am afbb70b4: Merge "Discontinuities are only signalled on streams that have been identified, i.e."
* commit 'afbb70b48e348410279816639eeb61f8a33064d2':
  Discontinuities are only signalled on streams that have been identified, i.e.
2011-08-31 16:47:37 -07:00
Andreas Huber
9100473a7e Merge "I have one HLS stream that switches stream PIDs from one bandwidth to the next" 2011-08-31 16:44:49 -07:00
Andreas Huber
afbb70b48e Merge "Discontinuities are only signalled on streams that have been identified, i.e." 2011-08-31 16:44:43 -07:00
Andreas Huber
eeddb0e504 I have one HLS stream that switches stream PIDs from one bandwidth to the next
this change intends to support its very limited case and signals an error in
all other cases of unexpected PID changes that we cannot recover from.

Change-Id: Icbfdf9fe7461969e2a8781ed416f54d891dd789a
2011-08-31 16:29:05 -07:00
Adam Powell
a2dd470c48 am 5a0a47a0: Merge "Make EdgeEffect public API."
* commit '5a0a47a006008232d9962f2d8e6da8b7b79a4cdd':
  Make EdgeEffect public API.
2011-08-31 16:14:15 -07:00
Adam Powell
5a0a47a006 Merge "Make EdgeEffect public API." 2011-08-31 16:11:45 -07:00
Jeff Brown
f786b6ca5d Fix JNI leak in copyStringToBuffer
Bug: 5244396

Code was acquiring the char array twice for FIELD_TYPE_INTEGER
or FIELD_TYPE_FLOAT but only releasing it once.

Removed the redundant calls to GetCharArrayElements.

Change-Id: If767d3295d5a663a823e5ca0cd979379a3ccd024
2011-08-31 16:09:24 -07:00
Andreas Huber
ea8c9b1bd9 Discontinuities are only signalled on streams that have been identified, i.e.
those that have a queue. This ensures that the player doesn't observe discontinuities
that don't match up across streams.

Also, make sure output buffers arriving from the decoder to be rendered are sent
back to the decoder if we started flushing.

Finally, don't parse TS packets for streams we don't support. And don't allocate
memory for them.

Change-Id: I708e0de4cba8110a62e4c8ceb1e5702430d5d2bb
2011-08-31 15:35:49 -07:00
Jason Sams
a4a6172985 am 7d71556b: Merge "Document the basic RS math functions."
* commit '7d71556b18f7a4131aeb01f3e78f8fe390c163e4':
  Document the basic RS math functions.
2011-08-31 15:23:17 -07:00
Jeff Brown
ab52cfe9e0 am 3cdfc4d9: Merge "Support composite touch / joystick devices better."
* commit '3cdfc4d94f6af82953f0e722ade882197c72da58':
  Support composite touch / joystick devices better.
2011-08-31 15:21:09 -07:00
Jason Sams
7d71556b18 Merge "Document the basic RS math functions." 2011-08-31 15:20:43 -07:00
Jeff Brown
3cdfc4d94f Merge "Support composite touch / joystick devices better." 2011-08-31 15:18:59 -07:00
Pannag Sanketi
34abe00ae2 am d318b73e: Merge "Update SurfaceMediaSource_test to not use pbuffer configs"
* commit 'd318b73e8e7832f257797ce08b3eea02780b7909':
  Update SurfaceMediaSource_test to not use pbuffer configs
2011-08-31 15:10:54 -07:00
Pannag Sanketi
d318b73e8e Merge "Update SurfaceMediaSource_test to not use pbuffer configs" 2011-08-31 15:09:26 -07:00
Adam Powell
89935e41c5 Make EdgeEffect public API.
This enables apps to make use of the system's visual edge effect used
during overscroll in 2D content.

Also un-@hide the getCurrVelocity methods from Scroller/OverScroller,
without which it becomes cumbersome to obtain values to pass to the
EdgeEffect#onAbsorb method.

Change-Id: I40e452455f5cb5d45d1fb3687f739fc8eae65560
2011-08-31 14:59:19 -07:00
Jason Sams
e79f7687dc Document the basic RS math functions.
Change-Id: If7a1b82eab4c4c82443cf8e57b444865f1e3f6b8
2011-08-31 14:52:08 -07:00
Peter Ng
9ae703b546 am 9c1b694d: Merge "Switches now have checked state"
* commit '9c1b694df422bf7204628fe44ddc4988a607015d':
  Switches now have checked state
2011-08-31 14:30:06 -07:00
Peter Ng
9c1b694df4 Merge "Switches now have checked state" 2011-08-31 14:28:23 -07:00
Dianne Hackborn
8aab8b5759 am 1434ab98: Merge "Use floating point window positions."
* commit '1434ab98e690cbcfcdcd2296b491a44bff14cc55':
  Use floating point window positions.
2011-08-31 14:22:37 -07:00
James Dong
2c0000d7ad am e3fb1cb1: Merge "Fix a crash where the EOS was signalled but some output buffer were still pending."
* commit 'e3fb1cb1b1f333aadc780c85de0735143ad864b4':
  Fix a crash where the EOS was signalled but some output buffer were still pending.
2011-08-31 14:20:39 -07:00
Dianne Hackborn
1434ab98e6 Merge "Use floating point window positions." 2011-08-31 14:19:22 -07:00
Dianne Hackborn
d040edbae9 Use floating point window positions.
Gets rid of gapps between windows during animations.

Change-Id: I17d2ef0af214008f0eabd7eb19268f145fe83b39
2011-08-31 14:18:32 -07:00
James Dong
e3fb1cb1b1 Merge "Fix a crash where the EOS was signalled but some output buffer were still pending." 2011-08-31 14:17:18 -07:00
Fabrice Di Meglio
616359fc8e am be566b48: Merge "Fix bug #5243493 TextView selection is not working correctly when there is some RTL run into it"
* commit 'be566b488a78e9e5ba0971ebe888d41511a11fa8':
  Fix bug #5243493 TextView selection is not working correctly when there is some RTL run into it
2011-08-31 14:16:32 -07:00
Romain Guy
e5fd23f885 am dcc882ed: Merge "Make ViewServer more quiet Bug #5231539"
* commit 'dcc882edfe530e1bbd61e776a7d2c8b874768e1d':
  Make ViewServer more quiet Bug #5231539
2011-08-31 14:14:34 -07:00
Fabrice Di Meglio
be566b488a Merge "Fix bug #5243493 TextView selection is not working correctly when there is some RTL run into it" 2011-08-31 14:14:11 -07:00
Romain Guy
dcc882edfe Merge "Make ViewServer more quiet Bug #5231539" 2011-08-31 14:12:18 -07:00
Romain Guy
cbe67d5b33 Make ViewServer more quiet
Bug #5231539

Change-Id: Ib1f3e0d7592b4af802efe4e9630a220c23450521
2011-08-31 14:11:07 -07:00
Fabrice Di Meglio
3716601573 Fix bug #5243493 TextView selection is not working correctly when there is some RTL run into it
- make the selection green highlight work

Change-Id: I4e3b88e3720288f973b1b9e68afa8f800ad13779
2011-08-31 13:56:37 -07:00
Eino-Ville Talvala
235ea3b0a3 am b2c4f0bf: Merge "Fix SurfaceMediaSource timestamp handling."
* commit 'b2c4f0bf11f38fd31d80f1256c89b9db043a2929':
  Fix SurfaceMediaSource timestamp handling.
2011-08-31 13:43:05 -07:00
Eino-Ville Talvala
b2c4f0bf11 Merge "Fix SurfaceMediaSource timestamp handling." 2011-08-31 13:41:06 -07:00