48727 Commits

Author SHA1 Message Date
Jeff Brown
ae4dd53e8d Merge "Allow batching samples onto the pending motion event." 2011-04-06 17:22:26 -07:00
Jeff Brown
f6989da7c7 Allow batching samples onto the pending motion event.
This enlarges the window of opportunity for batching to
encompass time spent for the window to become ready (while it is
busy processing the last event).

Change-Id: I3fb5a394ab1b85d6591192678168ca6e35dd9d53
2011-04-06 17:19:48 -07:00
Gilles Debunne
6a839703cd Merge "Word suggestion popup added to EditText." 2011-04-06 17:07:27 -07:00
Michael Kolb
908ac1694e Merge "invalidate WebView after Title change" 2011-04-06 16:47:34 -07:00
Michael Kolb
63052ac7ba invalidate WebView after Title change
Change-Id: Icae5462bddd4983b83c3383e8727e16c51a42fd5
2011-04-06 16:32:38 -07:00
Jeff Brown
fbfb3dafd9 Merge "Minor Alt-TAB / Recent Apps Dialog improvements." 2011-04-06 15:57:21 -07:00
Jaikumar Ganesh
c837ccb568 Merge "Check if BT is disabled or not when sending audio state." 2011-04-06 15:39:20 -07:00
Jeff Brown
5487500cf3 Minor Alt-TAB / Recent Apps Dialog improvements.
Alt-TAB should have different semantics from the APP_SWITCH key
or long-press on HOME.  Accordingly, remove the fallback action
for Alt-TAB and initiate the task switching behavior directly
in the policy.

Modified RecentApplicationsDialog to be more precise about the
initial modifiers that it considers to be holding the dialog.

The dialog is now dismissed by a second press on the APP_SWITCH
key or by a second long press on HOME.

Change-Id: Idf4d803f51103819057cb655ff3b770b7729e4be
2011-04-06 15:38:05 -07:00
James Dong
ebabd09ae8 Merge "Handle the failure from GetStringUTFChars()" 2011-04-06 15:26:48 -07:00
Matthew Xie
68344047b0 Merge "Set service priority of A2DP and Headset from BluetoothService via IPC call" 2011-04-06 15:26:23 -07:00
Gilles Debunne
6934044fd7 Word suggestion popup added to EditText.
A double tap on a word will now display a list of suggestions based
on the CorrectionSpans that were added by the IME.

This is a first implementation of this feature. It needs some attention from
designers.

Change-Id: If863107681ce82a1639f21315878f830c2991fb7
2011-04-06 15:04:26 -07:00
Jean-Michel Trivi
d07f6a7934 Merge "Bug 4231349 fix error in javadoc for android.media.MediaPlayer" 2011-04-06 14:46:17 -07:00
Jean-Michel Trivi
ea763069b1 Bug 4231349 fix error in javadoc for android.media.MediaPlayer
In the javadoc for MediaPlayer.OnBufferingUpdateListener,
the percent parameter for onBufferingUpdate() is described as:
  the percentage (0-100) of the buffer that has been filled thus far

This is incorrect. This percentage is the ratio of (current position
+ content buffered) relative to the total duration.
Also buffering updates are only sent for progressive HTTP download.

Change-Id: I9f346a150b39fa1f7b17126119ecc0d7d27fbfbe
2011-04-06 14:42:18 -07:00
Eric Fischer
7aadb8bda4 am bef09dc0: (-s ours) am ad3bddab: am 9f2f650f: Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1
* commit 'bef09dc022a57e535232890302ffb5e9c02b7a6a':
  Import revised translations.  DO NOT MERGE
2011-04-06 14:18:45 -07:00
Eric Fischer
bef09dc022 am ad3bddab: am 9f2f650f: Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1
* commit 'ad3bddab9246933971ff1b5360b0915e55579fe7':
  Import revised translations.  DO NOT MERGE
2011-04-06 14:16:12 -07:00
Eric Fischer
ad3bddab92 am 9f2f650f: Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1
* commit '9f2f650f26941a7cd4931afc66f39918e7c2817c':
  Import revised translations.  DO NOT MERGE
2011-04-06 14:12:31 -07:00
Eric Fischer
9f2f650f26 Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1 2011-04-06 14:09:32 -07:00
Bill Gruber
9b51746eee am 3e46ee4b: am 2811358f: am 3bd37307: am 48a1b52b: Merge "IAB docs: fixes line break issues" into honeycomb
* commit '3e46ee4b5cf6103f5d3fe59a486e82c7c6600bb8':
  IAB docs: fixes line break issues
2011-04-06 14:09:01 -07:00
Bill Gruber
3e46ee4b5c am 2811358f: am 3bd37307: am 48a1b52b: Merge "IAB docs: fixes line break issues" into honeycomb
* commit '2811358f68e6f31c44f483e196f1c91692febf50':
  IAB docs: fixes line break issues
2011-04-06 14:04:47 -07:00
Joe Onorato
279dfe5fa9 Merge "more targeted logging" 2011-04-06 13:58:57 -07:00
Bill Gruber
2811358f68 am 3bd37307: am 48a1b52b: Merge "IAB docs: fixes line break issues" into honeycomb
* commit '3bd373079ed2599e5e07aa1cf702c7f8386765c3':
  IAB docs: fixes line break issues
2011-04-06 13:58:34 -07:00
Joe Onorato
f4a9e7d97e more targeted logging
Change-Id: Id440a0f20ae360cd6863aa198d82b5ff2dd2f3b7
2011-04-06 13:58:11 -07:00
Eric Fischer
6d5f5faae0 Import revised translations. DO NOT MERGE
Change-Id: I30c20fa78fc821c943d947a058f482e87d70dbd6
2011-04-06 13:47:57 -07:00
Adam Cohen
f961f9c2df Merge "Fixing AdapterViewAnimator onItemClick compatibility" 2011-04-06 13:40:24 -07:00
Adam Cohen
d38a0cee20 Fixing AdapterViewAnimator onItemClick compatibility
Change-Id: I7b7c37370d0afdc23c62534ea41ffedc8f96f8ff
2011-04-06 13:20:42 -07:00
Bill Gruber
3bd373079e am 48a1b52b: Merge "IAB docs: fixes line break issues" into honeycomb
* commit '48a1b52bc736acfe9c4723abf6db7c8befc5e43b':
  IAB docs: fixes line break issues
2011-04-06 13:20:27 -07:00
Xavier Ducrohet
b4af696054 am d7765e35: am 73dc2602: am c5aeac7f: LayoutLib: Fix issue with rendering mode.
* commit 'd7765e353cdc6f0bb4156841a8436ea28eb20eea':
  LayoutLib: Fix issue with rendering mode.
2011-04-06 13:19:57 -07:00
Glenn Kasten
85b65f2008 Merge "Miscellaneous code cleanup in audio framework" 2011-04-06 13:03:11 -07:00
Bill Gruber
48a1b52bc7 Merge "IAB docs: fixes line break issues" into honeycomb 2011-04-06 12:52:41 -07:00
Xavier Ducrohet
d7765e353c am 73dc2602: am c5aeac7f: LayoutLib: Fix issue with rendering mode.
* commit '73dc2602898a300306ad418ca5bec990f0de877f':
  LayoutLib: Fix issue with rendering mode.
2011-04-06 12:50:01 -07:00
Xavier Ducrohet
73dc260289 am c5aeac7f: LayoutLib: Fix issue with rendering mode.
* commit 'c5aeac7f157e3cb9e29ab8c126f74e26493501f5':
  LayoutLib: Fix issue with rendering mode.
2011-04-06 12:41:17 -07:00
Matthew Xie
abc3642d6c Set service priority of A2DP and Headset from BluetoothService via IPC call
We used to do the priority change in the 2 services after the broadcasted
intent reach them. But that left a small time gap that could reject
incoming connection due to undefined priorities.

Bug 4096186

Change-Id: I9bb6aedc7ed98c53a9b00c48eedd20b0cf5f1660
2011-04-06 12:22:55 -07:00
Mathias Agopian
59ad81e19b Merge "remove more unused references to ISurface" 2011-04-06 12:22:29 -07:00
Mathias Agopian
5a4fb5c735 Merge "Remove unused references to ISurface" 2011-04-06 12:22:01 -07:00
James Dong
3977472d9f Handle the failure from GetStringUTFChars()
Change-Id: I9eb0f9f0fd2fa5116e7be80b1fa2ed4a95521b9d
related-to-bug: 4139926
2011-04-06 12:05:03 -07:00
Joe Onorato
e4e551e0ff Merge "turn off log spew" 2011-04-06 12:04:35 -07:00
Joe Onorato
b589f47d01 Merge "Move around the HDMI switch detection so we don't try to get the status if we can't listen to it." 2011-04-06 12:04:24 -07:00
Joe Onorato
63ebffcb84 turn off log spew
Change-Id: I7e5564e02460ff41829c9fd26d80032ea3104498
2011-04-06 11:50:50 -07:00
Jason Sams
78e0618d21 Merge "Cleanup character limits." 2011-04-06 11:45:42 -07:00
Jason Sams
bd184c5585 Cleanup character limits.
Change-Id: Icb127248d6e3a0b662ed3b13c9a6646f4f81129a
2011-04-06 11:44:47 -07:00
Joe Onorato
ea495d4c1f Move around the HDMI switch detection so we don't try to get the status if we can't listen to it.
Change-Id: I46f4e92923ba010f68109b6d043c817e25dfe650
2011-04-06 11:41:11 -07:00
Jason Sams
46ded12dd1 Merge "Seperate ProgramRaster. Cleanup ProgramRaster and ProgramStore creation." 2011-04-06 11:40:33 -07:00
Jason Sams
d57a93b27d Merge "Seperate GL from RS program store." 2011-04-06 11:30:24 -07:00
Jason Sams
331bf9b14b Seperate ProgramRaster.
Cleanup ProgramRaster and ProgramStore creation.

Change-Id: If25ea74355238d405340f0ccfb8117ad6e1307b7
2011-04-06 11:23:54 -07:00
Jaikumar Ganesh
6f7a973660 Check if BT is disabled or not when sending audio state.
When BT is turning off we need to send the audio state intent.
We were not doing this since the state was turning off.

The check was added to prevent misuse of public APIs, since
these functions are used internally, its not a problem.

Change-Id: I9834cbff741722bf99c2875fa65c0617b7b4807b
2011-04-06 11:11:13 -07:00
Dianne Hackborn
3fc982f41f Add new resource configurations for screen width/height in "dp".
You can now specify resource configuration variants "wNNNdp"
and "hNNNdp".  These are the minimum screen width/height in "dp"
units.  This allows you to do things like have your app adjust
its layout based only on the about of horizontal space available.

This introduces a new configuration change flag for screen size.
Note that this configuration change happens each time the orientation
changes.  Applications often say they handle the orientation change
to avoid being restarted at a screen rotation, and this will now
cause them to be restarted.  To address this, we assume the app can
handle this new config change if its target SDK version is < ICS.

Change-Id: I22f8afa136b4f274423978c570fa7c9855040496
2011-04-06 11:00:37 -07:00
Glenn Kasten
ed0079dddd Miscellaneous code cleanup in audio framework
Changes:
 - Move declaration of kClassPathName to top of file so it can be used
   in more than one place, instead of "android/media/AudioSystem".
 - Make private methods static.
 - Add comment to stream_type, audio_mode, force_use types that they must match
   values in AudioSystem.java.
 - Add comment about unused types mp3_sub_format and vorbis_sub_format.
 - Fix typos.
 - Use @ in javadoc comments.
 - Delete dead APIs setMode, getMode, setRouting, getRouting in AudioSystem.java
   (they are all hidden, deprecated, and unused by rest of framework)
 - Delete unused private log method.
 - Fix pathname for android_media_AudioSystem.cpp.
 - Improve code formatting for space after == and !=.
 - Add logging of delta for changing audio policy manager ref count.

Change-Id: I18037c7beb8ab76d1fda08c11e589f6e591d36e1
2011-04-06 10:24:18 -07:00
Brian Carlstrom
fb84ce0df6 Merge "Don't use local ref for cached jclass reference in JNI code" 2011-04-06 10:06:00 -07:00
Brian Carlstrom
46e18c11d4 Don't use local ref for cached jclass reference in JNI code
Change-Id: Id45b2acb358a819f2fd332e99f3a095f6fc7299b
related-to-bug: 4241138
2011-04-06 10:04:20 -07:00
Irfan Sheriff
9552766567 Merge "Add support for supplicant SCAN_INTERVAL" 2011-04-06 09:16:26 -07:00