3058 Commits

Author SHA1 Message Date
Jean-Baptiste Queru
e525eef4b8 merge from open-source master 2009-09-16 16:22:13 -07:00
Cary Clark
20158b9ce5 am c9e2e661: slide the title if the site changes the scroll position
Merge commit 'c9e2e661f0cbc736b948f8aca4c65d0467c44c79' into eclair-plus-aosp

* commit 'c9e2e661f0cbc736b948f8aca4c65d0467c44c79':
  slide the title if the site changes the scroll position
2009-09-16 12:30:21 -07:00
Cary Clark
c9e2e661f0 slide the title if the site changes the scroll position
Slide the title away if the scroll is to zero or one, and the
title is partially or fully visible. Set the animation time
to at least SLIDE_TITLE_DURATION, currently set to 300 ms.
2009-09-16 15:22:24 -04:00
Mike Lockwood
bdd1f2e37e am 9092ab4d: Add support for launching activities when attaching to a car or desk dock.
Merge commit '9092ab4d458ad60b459d5fad52368bde5d25f665' into eclair-plus-aosp

* commit '9092ab4d458ad60b459d5fad52368bde5d25f665':
  Add support for launching activities when attaching to a car or desk dock.
2009-09-16 11:50:26 -07:00
Mike Lockwood
9092ab4d45 Add support for launching activities when attaching to a car or desk dock.
Categories CATEGORY_CAR_DOCK and CATEGORY_DESK_DOCK can be assigned to
activities to make them launchable on docked events.
This is a better mechanism than listening for ACTION_DOCK_EVENT with a broadcast receiver.

Change-Id: Ic5f3ab3555ce02ca922bc31ebba41978cefe8bda
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-16 14:43:21 -04:00
Eric Fischer
5a7477cee8 am 764916d0: Merge change 23383 into eclair
Merge commit '764916d01b779ccc8064946c6ba2962fe063ed86' into eclair-plus-aosp

* commit '764916d01b779ccc8064946c6ba2962fe063ed86':
  Combine the "Permission Requested" title and subtitle into one string.
2009-09-16 11:40:37 -07:00
Cynthia Wong
fc1a365740 am f5a5f045: Merge change 25296 into eclair
Merge commit 'f5a5f04550fb0d7399b8bfbb4976e0ec3b718dd8' into eclair-plus-aosp

* commit 'f5a5f04550fb0d7399b8bfbb4976e0ec3b718dd8':
  Add new Gservices setting for discarding uphill ops for eclair and future devices.
2009-09-16 11:40:23 -07:00
Android (Google) Code Review
764916d01b Merge change 23383 into eclair
* changes:
  Combine the "Permission Requested" title and subtitle into one string.
2009-09-16 14:36:56 -04:00
Android (Google) Code Review
f5a5f04550 Merge change 25296 into eclair
* changes:
  Add new Gservices setting for discarding uphill ops for eclair and future devices.
2009-09-16 14:16:47 -04:00
Amith Yamasani
1272442f1c am 0abc859e: Merge change 25299 into eclair
Merge commit '0abc859e14fe557479cab490493e64ca6ab05e6e' into eclair-plus-aosp

* commit '0abc859e14fe557479cab490493e64ca6ab05e6e':
  Show keyboard automatically in EditTextPreference dialogs
2009-09-16 11:15:14 -07:00
Android (Google) Code Review
0abc859e14 Merge change 25299 into eclair
* changes:
  Show keyboard automatically in EditTextPreference dialogs
2009-09-16 14:06:34 -04:00
Amith Yamasani
1d45857075 Show keyboard automatically in EditTextPreference dialogs 2009-09-16 10:51:56 -07:00
Cynthia Wong
cac138274c Add new Gservices setting for discarding uphill ops for eclair and future devices. 2009-09-16 10:47:42 -07:00
Eric Fischer
ee452ee535 Combine the "Permission Requested" title and subtitle into one string.
The translators don't get the strings in order, so having a single sentence
split across two strings makes it difficult to get good translations.
2009-09-16 10:33:47 -07:00
Cary Clark
a78a157905 am 9f28d900: Merge change 25280 into eclair
Merge commit '9f28d9008b96a1f7f3fd14634664d3991d756abf' into eclair-plus-aosp

* commit '9f28d9008b96a1f7f3fd14634664d3991d756abf':
  Don't scroll on load if titlebar is visible
2009-09-16 10:17:18 -07:00
Android (Google) Code Review
9f28d9008b Merge change 25280 into eclair
* changes:
  Don't scroll on load if titlebar is visible
2009-09-16 13:12:56 -04:00
Cary Clark
5b28c36644 Don't scroll on load if titlebar is visible
If the restore requests a scroll to zero and the titlebar is
partially or fully visible, skip the scroll altogether.

This fixes http://b/issue?id=2123079
2009-09-16 12:52:24 -04:00
Bjorn Bringert
5e3f452c46 am 57384101: Merge change 25270 into eclair
Merge commit '57384101b9757b1c67570fae60cdb8f89c84bf32' into eclair-plus-aosp

* commit '57384101b9757b1c67570fae60cdb8f89c84bf32':
  Use Resources to load search icons with android.resource URIs
2009-09-16 09:10:25 -07:00
Android (Google) Code Review
57384101b9 Merge change 25270 into eclair
* changes:
  Use Resources to load search icons with android.resource URIs
2009-09-16 12:03:52 -04:00
Bjorn Bringert
4c87a3f26a Use Resources to load search icons with android.resource URIs
Before, all icon URIs were opened with
ContentResolver.openInputStream(Uri), but that does not
include the density information from the source
application.

Now, if the URI uses the android.resource scheme,
we resolve the URI to a Resources and a resource ID,
and load it with Resources.getDrawable(int).
This requires making OpenResourceIdResult and getResourceId()
in ContentResolver public (but hidden).

This change also caches icons that were specified using just a
resource ID.

Since loading a Drawable from a URI is a generally useful operation,
it would be good to make it easy for apps to do it in the proper
density-independent way. We could add a getDrawable(Uri)
method to the framework. The question is where.

It would be easiest to add it to ContentResolver, but that may be a
bit odd since there is no other code for dealing with Drawables in
ContentResolver. Another alternative is in Resources, since
getDrawable(int) is there, but that class deals with the resources
for a single app, whereas getDrawable(Uri) can open a drawable
from any app. Putting it in Context may be the best choice,
since that's in android.content, and can thus access package
private members in ContentResolver, and since it's already
a dumping place for random useful high-level methods.
Opinions?

Fixes http://b/issue?id=2034526
"Icons on search do not scale for wide VGA"

Change-Id: I44de0b74826e5560141a3174bcbba991ba6264ac
2009-09-16 16:31:57 +01:00
Chih-Chung Chang
146a0fabb2 am 46ad7961: Unhide cancelAutoFocus API in Camera.
Merge commit '46ad796186bdca8bac75607340aa0fac0c34a9d8' into eclair-plus-aosp

* commit '46ad796186bdca8bac75607340aa0fac0c34a9d8':
  Unhide cancelAutoFocus API in Camera.
2009-09-16 07:58:30 -07:00
Chih-Chung Chang
46ad796186 Unhide cancelAutoFocus API in Camera.
Change-Id: I29450867edf9c68ac06e6d76fae0ad93ea89b632
2009-09-16 22:43:46 +08:00
Wu-cheng Li
a326c8160f am 7478ea68: Remove trailing spaces.
Merge commit '7478ea6848c0059e65a4089b4ec2ff4158520870' into eclair-plus-aosp

* commit '7478ea6848c0059e65a4089b4ec2ff4158520870':
  Remove trailing spaces.
2009-09-16 04:06:11 -07:00
Wu-cheng Li
7478ea6848 Remove trailing spaces. 2009-09-16 18:52:55 +08:00
Jeff Sharkey
46f116520f am 85628188: Merge change 25244 into eclair
Merge commit '85628188e74c015060e7f315560e659e53294775' into eclair-plus-aosp

* commit '85628188e74c015060e7f315560e659e53294775':
  Flag indicating if Contacts source has any unsynced groups.
2009-09-15 23:21:45 -07:00
Android (Google) Code Review
85628188e7 Merge change 25244 into eclair
* changes:
  Flag indicating if Contacts source has any unsynced groups.
2009-09-16 02:16:05 -04:00
Jeff Sharkey
97bda4c5ae Flag indicating if Contacts source has any unsynced groups.
Part of fixing http://b/2084771
2009-09-15 23:15:23 -07:00
Dianne Hackborn
10bedaaf3e am 7fc39b26: Merge change 25238 into eclair
Merge commit '7fc39b26fc4ec9df7d147ff34ebba90556cdb4da' into eclair-plus-aosp

* commit '7fc39b26fc4ec9df7d147ff34ebba90556cdb4da':
  Implement issue #1780928: Need support hiding nav keys.
2009-09-15 23:11:35 -07:00
Android (Google) Code Review
7fc39b26fc Merge change 25238 into eclair
* changes:
  Implement issue #1780928: Need support hiding nav keys.
2009-09-16 02:04:45 -04:00
Dianne Hackborn
93e462b79d Implement issue #1780928: Need support hiding nav keys.
This implements support for devices whose hardware can hide
their navigation keys.  It works much like the existing keyboardHidden
configuration, and for compatibility uses the same configuration
change bit.

Also add FLAG_TURN_ON_SCREEN for windows, which has the system
cause the screen to be turned on when the window is displayed.
Great fun when used with FLAG_SHOW_WHEN_LOCKED!

Change-Id: I0b867f19af85cfd8786a14cea194b34f7bdd9b7a
2009-09-15 22:50:40 -07:00
Jeff Sharkey
454e3c848f am 9352b9fb: Merge change 25232 into eclair
Merge commit '9352b9fb9e0b4023c3bba4349eb9e32dc258b80a' into eclair-plus-aosp

* commit '9352b9fb9e0b4023c3bba4349eb9e32dc258b80a':
  Fix NPE when provider returns null cursor.
2009-09-15 22:04:53 -07:00
Jeff Sharkey
42fc2c6f0a Fix NPE when provider returns null cursor.
Fixes http://b/2051283
2009-09-15 19:53:51 -07:00
Daisuke Miyakawa
055714ddbb am 6cf05f1c: Merge change 25206 into eclair
Merge commit '6cf05f1c3d6f4585573c8663a62848a09f6a08ff' into eclair-plus-aosp

* commit '6cf05f1c3d6f4585573c8663a62848a09f6a08ff':
  Make vCard importer code use Account information if possible.
2009-09-15 19:35:25 -07:00
Android (Google) Code Review
6cf05f1c3d Merge change 25206 into eclair
* changes:
  Make vCard importer code use Account information if possible.
2009-09-15 22:33:06 -04:00
Daisuke Miyakawa
d5bc296d94 Make vCard importer code use Account information if possible.
Internal isssue: 2116216, 2102720
2009-09-15 19:28:40 -07:00
Dianne Hackborn
c562481380 am 6ee7b04d: Merge change 25192 into eclair
Merge commit '6ee7b04d270824214fca0296d0386e0c3d733cdf' into eclair-plus-aosp

* commit '6ee7b04d270824214fca0296d0386e0c3d733cdf':
  Some improvements for wallpaper configuration.
2009-09-15 19:12:08 -07:00
Dianne Hackborn
9767e41d92 Some improvements for wallpaper configuration.
This introduces a new activity that you can derive from to implement
a wall paper configuration activity.  This is supposed to select
a theme based on whether it is being run to configure a real wallpaper
or a preview, but this is going to be more difficult to do than I
thought. :(

Also fix a problem in the white theme where the list view's background
was being set to white, so it wouldn't work on a transparent bg.

Change-Id: I26d5a8695a3c878a1664eb09900eded57eaff990
2009-09-15 18:59:31 -07:00
Derek Sollenberger
4b3cb66144 am 5862b673: Merge change 25187 into eclair
Merge commit '5862b673d412e596f3fa419c00bd0ba16bf6c094' into eclair-plus-aosp

* commit '5862b673d412e596f3fa419c00bd0ba16bf6c094':
  fixing documentation for PluginStub
2009-09-15 18:32:01 -07:00
Android (Google) Code Review
5862b673d4 Merge change 25187 into eclair
* changes:
  fixing documentation for PluginStub
2009-09-15 21:23:42 -04:00
Derek Sollenberger
468f067cf4 fixing documentation for PluginStub
Change-Id: I68fd9d0df3d8a5c39ad1de136a116f1b034323af
2009-09-15 21:22:06 -04:00
Jim Miller
f2b0fb8c91 am 7c3e493d: Merge change 25177 into eclair
Merge commit '7c3e493d7b2db7f28d6fdb52d79c4d99ef1502b8' into eclair-plus-aosp

* commit '7c3e493d7b2db7f28d6fdb52d79c4d99ef1502b8':
  Fix for #2092883: Allow manual sync even when background data is disabled
2009-09-15 18:20:10 -07:00
Android (Google) Code Review
7c3e493d7b Merge change 25177 into eclair
* changes:
  Fix for #2092883: Allow manual sync even when background data is disabled
2009-09-15 21:17:44 -04:00
Jim Miller
d2a3a8a7ba Fix for #2092883: Allow manual sync even when background data is disabled 2009-09-15 17:34:42 -07:00
Derek Sollenberger
21da335702 am 64ce0f8f: Merge change 24200 into eclair
Merge commit '64ce0f8f5315e3a364aea047360520b097e7a7cd' into eclair-plus-aosp

* commit '64ce0f8f5315e3a364aea047360520b097e7a7cd':
  First pass at replacing native plugin views with java.
2009-09-15 17:13:20 -07:00
Android (Google) Code Review
64ce0f8f53 Merge change 24200 into eclair
* changes:
  First pass at replacing native plugin views with java.
2009-09-15 20:03:16 -04:00
Eric Fischer
dda648f00a am b6a7ea54: Merge change 25153 into eclair
Merge commit 'b6a7ea540ef9537bcedc707a87514e63438a533a' into eclair-plus-aosp

* commit 'b6a7ea540ef9537bcedc707a87514e63438a533a':
  Reconcile the character popups for the hard and soft keyboards.
2009-09-15 16:48:12 -07:00
Android (Google) Code Review
b6a7ea540e Merge change 25153 into eclair
* changes:
  Reconcile the character popups for the hard and soft keyboards.
2009-09-15 19:43:00 -04:00
Derek Sollenberger
0b3a5d6524 First pass at replacing native plugin views with java.
Change-Id: I6d1f45f31210c2353fa348cc37be8d91bcd5e887
2009-09-15 19:33:54 -04:00
Eric Fischer
4ef29959bd Reconcile the character popups for the hard and soft keyboards.
Have the hardware keyboard popups for digits and symbols include
all the same characters as the soft keyboard has for those keys.

Bug 2056195
2009-09-15 16:04:39 -07:00
Dmitri Plotnikov
bfb4992f19 am 90142c95: Adding a system property to log slow queries
Merge commit '90142c959e6de38eae1563cd8b3d2d448393e15f' into eclair-plus-aosp

* commit '90142c959e6de38eae1563cd8b3d2d448393e15f':
  Adding a system property to log slow queries
2009-09-15 16:03:59 -07:00