36681 Commits

Author SHA1 Message Date
Adam Powell
c6aa9edc36 Merge "Add resource ID variants of ActionBar tab setters" 2010-11-17 14:12:19 -08:00
Adam Powell
32555f3479 Add resource ID variants of ActionBar tab setters
Bugs 3204153 and 2901235

Change-Id: Ib430f96da77f8e7647b22d190243a2fcd766d842
2010-11-17 14:07:26 -08:00
Daniel Sandler
b6d3dc6897 Implement new lights-out mode in system bar.
When an app requests fullscreen display, "shadows" of the
visible system bar UI elements are drawn in their place. The
user can still interact with these elements by poking the
shadows; the widgets will temporarily shine through, long
enough for the user interaction.

Known issues:
 - if the notification panel is up for too long, the shadow
   will not be re-enabled on the notification area (need to
   route all hide/show requests through the
   shadowcontroller)
 - status bar hide/show animations have been temporarily
   turned off to make this work correctly; they'll be put
   back later

Bug: 3203171
2010-11-17 16:51:26 -05:00
Teng-Hui Zhu
a53fbaecf1 Merge "Update Useragent String" 2010-11-17 13:46:25 -08:00
Mike Lockwood
413577d860 MTP: Fixes to allow file transfers > 4 gigabytes
BUG: 3198248

Change-Id: I6f11c79a19d7bdd63718a7370939124b1262d221
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-17 16:43:24 -05:00
Jim Miller
6b2cc4a126 Merge "Fix 3191824: Fix lockscreen portrait mode for xlarge devices" 2010-11-17 13:28:22 -08:00
Mike Lockwood
558cf79929 Merge "MTP: Set correct format for abstract audio playlists" 2010-11-17 12:50:28 -08:00
Mike Lockwood
0b58c19840 MTP: Set correct format for abstract audio playlists
Fixes a bad interaction with the media scanner that could result in
playlists getting duplicated or deleted after rebooting.

BUG: 3175649

Change-Id: I970234e86b24ac17d069aca085683d988abc7881
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-17 15:42:09 -05:00
Brian Muramatsu
48983959a3 Fix NPE in InstrumentationTestRunner
This fixes a problem where the test runner would die when a
test case has tests that are not methods of the test class.

Change-Id: I5adc464bb4a0c8d282428895e422a47dcb6bfe1f
2010-11-17 12:28:51 -08:00
Gilles Debunne
d348bb4fef Changes to scrolling physics
Spline curve for Scroller fling motion (debunne)

Flywheel motion for AbsListView

Change-Id: Ic1f226878745ff4c302dc6bd0752868fa182dd7b
2010-11-17 12:16:09 -08:00
Eric Fischer
77a6be4125 Merge "Import revised translations." 2010-11-17 12:09:30 -08:00
Brad Fitzpatrick
b7aec1795d Merge "More cleanups from CloseGuard reports." 2010-11-17 12:01:20 -08:00
Kenny Root
799ecf0c5b Merge "Don't waste resources creating new Boolean objects" 2010-11-17 11:50:15 -08:00
Kristian Monsen
622e6d0172 Merge "Removing some js script tests from the skip list" 2010-11-17 11:48:18 -08:00
Eric Fischer
f877febb5c Import revised translations.
Change-Id: I0433434e0ac7e590a066a4e0b435278293089dbd
2010-11-17 11:36:19 -08:00
Tom Taylor
50ba943723 Merge "Add a public Theme.Holo.Wallpaper.NoTitleBar" 2010-11-17 11:35:21 -08:00
Brad Fitzpatrick
7078789a39 More cleanups from CloseGuard reports.
Change-Id: Ib3d5428073563d564fe45475127eb2cec177ab49
2010-11-17 11:31:12 -08:00
Kenny Root
69e2eff270 Don't waste memory creating new Boolean objects
Creating a new Boolean is wasteful since there's already a static
Boolean.TRUE and Boolean.FALSE. Using Boolean.valueOf will return one of
those static objects and reduce memory usage a bit.

Change-Id: Id497f951c8a894ec03ac6c3181e6055b56db9db4
2010-11-17 11:25:36 -08:00
Kenny Root
5644b08074 Don't waste resources creating new Boolean objects
There's a static Boolean.TRUE and Boolean.FALSE that can be used without
instantiating a new Boolean object unnecessarily.

Change-Id: I30a6c6514faae0ebeb6b571bf741db6814b8cc78
2010-11-17 11:22:06 -08:00
Cary Clark
81c4cea9ec Merge "don't put up a context menu while selecting text" 2010-11-17 11:00:53 -08:00
Jean-Michel Trivi
42c5a5ed4f SIP calls should set the audio mode to MODE_IN_COMMUNICATION
Audio mode MODE_IN_CALL is reserved for telephony.

Change-Id: I66cb9ff746ad9c15b2ce3b5a6de6c69f56654d15
2010-11-17 10:58:45 -08:00
Praveen Bharathi
7526da4bf2 frameworks:audio: Correct accessory detection at power up
In the init loop, when all the accessories are detected the
state of previous accessory is overridden by the state of the
next accessory. Adding the one line change keeps the state of
all the detected accessories intact.

Change-Id: I4347d8daa27800426dcfb23aac199bed4add67de
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
2010-11-17 10:53:41 -08:00
Cary Clark
1e8e10db3f don't put up a context menu while selecting text
Move the check for selecting text before calling
the parent, so that the context menu isn't an
available option.

bug:3205306
Change-Id: I5d2c3f6b71c74cda56153fbc773eb5be98e44be7
2010-11-17 13:49:25 -05:00
Teng-Hui Zhu
ddd9294ac7 Update Useragent String
Change-Id: If108000d6de3fece2ec378ac3ab8f4c32054f309
2010-11-17 10:35:29 -08:00
Dirk Dougherty
a2587c4604 Doc change: update media formats table.
Change-Id: I0a39fed18f7b2d42fc7690ead230b1861332bd4e
2010-11-17 10:30:32 -08:00
Jean-Michel Trivi
05b07fd204 Merge "Add new audio mode for audio communications other than telelphony." 2010-11-17 09:49:23 -08:00
Tom Taylor
659ee126d0 Add a public Theme.Holo.Wallpaper.NoTitleBar
This is the Holo version of the existing public Theme.Wallpaper.NoTitleBar.
It's needed for the video chat incoming call notification that comes up
when the device is asleep or locked. Bug 3202912

Change-Id: Idbef01541c4a7e5a6bbb678c7dedd6c95de1909d
2010-11-17 09:45:36 -08:00
Kristian Monsen
221b1d6df7 Removing some js script tests from the skip list
Change-Id: I588c6d3c246d0233f7dfffa7920d44c14556c339
2010-11-17 17:44:26 +00:00
Leon Scroggins
1bf397ffbd Do not retry failed attempts to retry scrolls.
Bug:3174399

If the page requests to scroll beyond the edge of the
screen, we send a message to try again on a draw, in case
our picture is out of date and the page should be larger.
However, sometimes we get stuck in a loop of retrying the
same scroll position over and over again.  End this loop.

Change-Id: I53fcd4c2fa70c7ef63d4537d8b24eabb6b924b0b
2010-11-17 09:22:57 -05:00
Kristian Monsen
d89a30af1f Move getDatabaseDirectory and getCacheDirectory to a new class
The reason for this is that the CookieSyncManager might not be
initialized right after a webview is created since the initialization
is done with a message.

If someone creates a webview and tries to access a cookie right
afterwards that would cause an unintended exception.

This requires a change in external/webkit

Bug 3172863

Change-Id: I4f4f162253e2af09f63ee582bfce9f75ccf4037b
2010-11-17 11:31:48 +00:00
Joe Onorato
69919bd6be Merge "Updated layouts for new status bar" 2010-11-16 21:41:33 -08:00
Joe Onorato
cf2b199e98 Updated layouts for new status bar
Change-Id: I30dc7c458669c4e6a35c67b7815a00ebbbae8dd3
2010-11-16 21:36:42 -08:00
satok
67ddf9cbd5 Add a function to get enabledInputMethodAndSubtype
Change-Id: Ie97635343249aa63e33028c2843cab103125ca92
2010-11-17 13:59:56 +09:00
Dianne Hackborn
4f3c25f317 Merge "Fix issue #3202866: system server crash" 2010-11-16 19:36:31 -08:00
Dianne Hackborn
d9b3b7e8e1 Fix issue #3202866: system server crash
Change-Id: Ied92164bea70f6cb8afe2c1c6ff4fc3836a209ab
2010-11-16 19:35:20 -08:00
Jim Miller
e355c70cc6 Fix 3191824: Fix lockscreen portrait mode for xlarge devices
This fixes a number of bugs in the layout file for lockscreen.

Change-Id: I58f66389939e91e8e2184940d6824e0fe0650986
2010-11-16 18:56:42 -08:00
Chris Tate
0de1ed5bdf Merge "Permission fix: don't require BACKUP perm for self-restores" 2010-11-16 18:44:06 -08:00
Jason Sams
68f0a32d10 Merge "Fix ref counting for globals when set from java code." 2010-11-16 18:30:58 -08:00
Gilles Debunne
4a0d0b34b2 Fix for disappearing background in buttons.
Change-Id: I7c7058ee8a292e73c25ba8c3e8d46899b7296c1e
2010-11-16 18:21:29 -08:00
Dianne Hackborn
be26d055c9 am d28dc3cf: (-s ours) am 05434e9f: Final API 9. Really! Honestly! I hope.
* commit 'd28dc3cf7738f5574ef6359a67d68820dc6c2ad4':
  Final API 9.  Really!  Honestly!  I hope.
2010-11-16 18:10:48 -08:00
Jeff Sharkey
4fbfca3915 Merge "Show Bitmap.Config value when unable to handle." 2010-11-16 18:10:02 -08:00
Vasu Nori
b2475011bc Merge "return file uri from downloadmanager instead of content uri for public downloads" 2010-11-16 18:06:10 -08:00
Vasu Nori
6e2b2a660e return file uri from downloadmanager instead of content uri for public downloads
also add another public method to return mimetype for the given downloaded file
change is related to bug:3198355

Change-Id: I90bae443eec36968e0d533d9b07a514df369ac29
2010-11-16 17:58:22 -08:00
Dianne Hackborn
d28dc3cf77 am 05434e9f: Final API 9. Really! Honestly! I hope.
* commit '05434e9fa7a6ec844611bbd154c4a3eceafec538':
  Final API 9.  Really!  Honestly!  I hope.
2010-11-16 17:49:07 -08:00
Gilles Debunne
e521c16eb6 Merge "Fix for IOOBoundsExc in SpannableStringBuilder" 2010-11-16 17:43:19 -08:00
Jason Sams
6f4cf0b888 Fix ref counting for globals when set from java code.
Change-Id: I415b6ddeaab277e60233e905a6bae357cd5193eb
2010-11-16 17:37:02 -08:00
Fred Quintana
2978e5ad46 Merge "handle a race condition where a cursor receives an inflight onChange after the cursor has been closed" 2010-11-16 17:36:43 -08:00
Fred Quintana
866647f9b4 handle a race condition where a cursor receives an inflight onChange after the cursor has been closed
Change-Id: I11e3d969ef48ef5150976241bb62717c6c0c1b83
2010-11-16 17:31:59 -08:00
Brad Fitzpatrick
aaf12770b8 Merge "Annotate ListView with StrictMode.Span" 2010-11-16 17:27:43 -08:00
Brad Fitzpatrick
1cc13b6d1c Annotate ListView with StrictMode.Span
Change-Id: Ibee1bfa73c85dac2e8103eb5900f0609cbb30ee7
2010-11-16 17:18:36 -08:00