16012 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Gilles Debunne
4a0d0b34b2 Fix for disappearing background in buttons.
Change-Id: I7c7058ee8a292e73c25ba8c3e8d46899b7296c1e
2010-11-16 18:21:29 -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
Gilles Debunne
e521c16eb6 Merge "Fix for IOOBoundsExc in SpannableStringBuilder" 2010-11-16 17:43:19 -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
Patrick Dubroy
eb4e475d94 Merge "Reduce amount of garbage created when flipping StackViews" 2010-11-16 17:02:29 -08:00
Chris Tate
44ab8453e1 Permission fix: don't require BACKUP perm for self-restores
The public API is not supposed to require the BACKUP permission in order
for an application to restore its own last-known-good backup data.  However,
as currently implemented, BackupManager.requestRestore() [the public API
in question] depends on private Backup Manager methods that *do* enforce
that permission.  The net result is that the method cannot be successfully
used by third party applications: it will throw an exception if attempted.
This CL restructures the permission checking involved.

First, the underlying beginRestoreSession() operation can now be passed a
'null' transport name; if this is done, then the restore session is begun
on whatever the currently-active transport is.  Looking up the name of the
active transport is one of the permission-guarded actions that was required
with the initial implementation.

Second, a package name can now be passed to beginRestoreSession().  If
this is done, then the restore session can only be used to perform a
single-package restore of that one application.  The BACKUP permission is
not required if the caller is tying the restore to its own package name.

In combination, these changes permit BackupManager.requestRestore() to
function without the calling app needing to hold any special permission.
The no-permission case is intentionally quite narrow:  the caller must
hold the permission unless they both (a) pass 'null' for the transport
name, thereby accepting whatever the currently active transport is, and
(b) pass their own package name to restrict the restore session only
to their own app.

External bug http://code.google.com/p/android/issues/detail?id=10094
Internal bug 3197202

Change-Id: Ibc9d652323f2da03727d850f991b4096af6520d2
2010-11-16 16:57:29 -08:00
Costin Manolache
aa3e778b0e Merge "Remove notifications for account when account is removed." 2010-11-16 16:54:45 -08:00
Amith Yamasani
7eea0f18b4 Merge "3049240 TalkBack on Accessibility Options reads out passwords entered in during Lock screen" 2010-11-16 16:47:40 -08:00
Svetoslav Ganov
1d1e1105ad 3049240 TalkBack on Accessibility Options reads out passwords entered in during Lock screen
Change-Id: I70b29611d798df1da10e0e950154ef5f49aba7c5
2010-11-16 16:44:03 -08:00
Svetoslav Ganov
9b756acfbd Metakeys incorrectly delivered to JavaScript
Change-Id: I373eee0c4eb44c2dfd1e8534f5cb241e0c04a473
2010-11-16 16:37:37 -08:00
Gilles Debunne
162bf0f1b9 Fix for IOOBoundsExc in SpannableStringBuilder
Bug 3182953

Change-Id: Idc7faa86b8250bf325e2547d7d4c094300a06686
2010-11-16 16:23:55 -08:00
Patrick Dubroy
e80202d5c3 Reduce amount of garbage created when flipping StackViews 2010-11-16 16:23:44 -08:00
Costin Manolache
ec0c4f4183 Remove notifications for account when account is removed.
Change-Id: I21b5d757231401c10c922443cecd04b68f922c0b
2010-11-16 16:08:22 -08:00
Adam Powell
3afce6687c Merge "Improve docs around ActionBar as noted in bug 3111444." 2010-11-16 15:12:41 -08:00
Adam Powell
ef70444768 Improve docs around ActionBar as noted in bug 3111444.
Rename method that was missed in previous ActionBar
refactoring. Deprecated previous version for compatibility for apps in
development.

Change-Id: I2c466aed8ed620aec5056026257e131fadf8843e
2010-11-16 15:08:35 -08:00
Andreas Huber
840f1263b3 Merge "Apparently SystemProperties jni native support must now be registered before Binder's." 2010-11-16 14:50:40 -08:00
Andreas Huber
a8079bfb9a Apparently SystemProperties jni native support must now be registered before Binder's.
Change-Id: Ia7197f41052c4d47dbecec400a7c789317f743a0
2010-11-16 14:48:44 -08:00
Gilles Debunne
c50f1505aa Merge "Multiline EditText have top and bottom brackets to differentiate from single line." 2010-11-16 14:11:17 -08:00
Brad Fitzpatrick
ba22d21c3a Merge "Fast no-op path for StrictMode.Span on user builds." 2010-11-16 13:33:06 -08:00
Adam Powell
0046bd8ea6 Fix bug 3192412 - ListView doesn't reportScrollStateChange properly
for programmatic scrolls

Allow for onScrollStateChanged implementations that end up changing
scroll state again.

Change-Id: I53105f5be708bacc0d3ec8e76ba1cc22f4131467
2010-11-16 13:28:27 -08:00
Brad Fitzpatrick
1181cbbfd7 Fast no-op path for StrictMode.Span on user builds.
Change-Id: I3eb75288d670a8ac1e10547715d8c1a855a5fdc9
2010-11-16 12:46:16 -08:00
Gilles Debunne
fe4d5defd0 Multiline EditText have top and bottom brackets to differentiate from single line.
Change-Id: Iab6da75e7a823018221399c0b03dd47f7f768f21
2010-11-16 12:01:16 -08:00
Dianne Hackborn
3a57fb9e9c Fix issue #3191573: PreferenceFragment.onActivityResult cannot
launch a new fragment on the same call.

There were some problems with the API design where you could do
things in such a way that a back stack entry that was not at the
top would get popped.  Ouch.  Hopefully this change prevents that
from being able to happen.

Change-Id: I8cbc952e12ddd231ff6c84b6e9bbf5125f449f04
2010-11-16 10:50:31 -08:00
Eric Rowe
248caac22e Merge "Remove asserts in bluetooth test utils" 2010-11-16 10:41:11 -08:00
Eric Rowe
16013b37cb Merge "Add acceptPair method to BT stress." 2010-11-16 10:39:24 -08:00
Adam Powell
850a4c6688 Merge "Fix bug 3198503 - NPE at MenuPopupHelper.dismiss" 2010-11-16 10:27:54 -08:00
Adam Powell
ed8b403cc8 Fix bug 3198503 - NPE at MenuPopupHelper.dismiss
Make sure dismiss() can be called even when the popup is not currently
showing.

Change-Id: I48077d8b3bfe0df04bceeb056ed54cbd79a6e660
2010-11-16 10:22:35 -08:00
Brad Fitzpatrick
f342ac9182 am 8443dd16: am 383e95e2: Merge "DropBox: Read until the end of stream has been reached"
* commit '8443dd16c2dfd5f56e33fbe76129f56e6a83b23e':
  DropBox: Read until the end of stream has been reached
2010-11-16 09:40:52 -08:00
Brad Fitzpatrick
8443dd16c2 am 383e95e2: Merge "DropBox: Read until the end of stream has been reached"
* commit '383e95e245ceb87a2a6ad6422404ce641f0e08eb':
  DropBox: Read until the end of stream has been reached
2010-11-16 09:37:56 -08:00
Brad Fitzpatrick
383e95e245 Merge "DropBox: Read until the end of stream has been reached" 2010-11-16 09:22:31 -08:00
Xia Wang
4e74e181d1 am f55c9736: am d0a8f54a: Merge "Add Wi-Fi connection functional tests." into gingerbread
* commit 'f55c973637f2b17de0f5543260e7e409a8635112':
  Add Wi-Fi connection functional tests.
2010-11-16 09:18:48 -08:00