Commit Graph

3244 Commits

Author SHA1 Message Date
Fred Quintana
fd6bb030fd am 5f78786c: Merge change 25190 into eclair
Merge commit '5f78786cf9802b988a4de3c08555eb43f1e02e04' into eclair-plus-aosp

* commit '5f78786cf9802b988a4de3c08555eb43f1e02e04':
  add the ability to do a newAssert with no values
2009-09-17 08:41:34 -07:00
Romain Guy
2437de94ed am 32c687c2: Merge change 25351 into eclair
Merge commit '32c687c20d6ac3080b396787147892dc85126b33' into eclair-plus-aosp

* commit '32c687c20d6ac3080b396787147892dc85126b33':
  Change Theme.Light's background back to pure white.
2009-09-17 08:39:53 -07:00
Leon Scroggins
3eb9a78a25 am 4295613a: Merge change 25307 into eclair
Merge commit '4295613a0ea1f61398d3123746740ca27d9ea170' into eclair-plus-aosp

* commit '4295613a0ea1f61398d3123746740ca27d9ea170':
  Allow touches to change the selection in WebTextView.
2009-09-17 08:39:45 -07:00
Evan Millar
6c42a4bad6 am 6a20b823: Merge change 25293 into eclair
Merge commit '6a20b823c3c9de8daa1c4bc002d6e58fe82d3a60' into eclair-plus-aosp

* commit '6a20b823c3c9de8daa1c4bc002d6e58fe82d3a60':
  Fix a handful of bugs in the ContactHeaderWidget
2009-09-17 08:39:27 -07:00
Jean-Baptiste Queru
e525eef4b8 merge from open-source master 2009-09-16 16:22:13 -07:00
Android (Google) Code Review
5f78786cf9 Merge change 25190 into eclair
* changes:
  add the ability to do a newAssert with no values
2009-09-16 18:36:00 -04:00
Android (Google) Code Review
32c687c20d Merge change 25351 into eclair
* changes:
  Change Theme.Light's background back to pure white.
2009-09-16 17:49:22 -04:00
Android (Google) Code Review
4295613a0e Merge change 25307 into eclair
* changes:
  Allow touches to change the selection in WebTextView.
2009-09-16 17:49:20 -04:00
Android (Google) Code Review
6a20b823c3 Merge change 25293 into eclair
* changes:
  Fix a handful of bugs in the ContactHeaderWidget
2009-09-16 17:38:53 -04:00
Romain Guy
d03b880836 Change Theme.Light's background back to pure white.
Go away gray!

Change-Id: Ice59e585bfd01c02c0fa7fd74a8b13e548248f9e
2009-09-16 14:36:16 -07:00
Karl Rosaen
4babd458da am 82df16c6: Merge change 25297 into eclair
Merge commit '82df16c6543e2c47056c14799845621717ac2b3b' into eclair-plus-aosp

* commit '82df16c6543e2c47056c14799845621717ac2b3b':
  Address romain's code review comments
2009-09-16 14:33:44 -07:00
Android (Google) Code Review
82df16c654 Merge change 25297 into eclair
* changes:
  Address romain's code review comments
2009-09-16 15:37:40 -04: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
Leon Scroggins
7ae34197b0 Allow touches to change the selection in WebTextView.
Fix http://b/issue?id=2019857

If the user has not moved beyond the scaled touch slop, do not
turn it into a scroll, so the user can change the selection.

Change-Id: I1d88691a35ea2da4b03ad713b56331b5c268b757
2009-09-16 14:24:08 -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
Karl Rosaen
1ca654e119 Address romain's code review comments 2009-09-16 10:51:10 -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
Evan Millar
2c867f9b7f Fix a handful of bugs in the ContactHeaderWidget
-http://b/issue?id=2074981 fixed
-http://b/issue?id=2088564 fixed.
-http://b/issue?id=2097374 fixed.
-http://b/issue?id=2095896 fixed.
-http://b/issue?id=2093734 fixed.

-Use FasttrackBadgeWidget.

-Also changes api in ContactsHeaderWidget to accept contact uri instead
of contact id.

Change-Id: I6623a99c7f5011387c57fc9a6861eef63174ca6e
2009-09-16 10:43:45 -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
Karl Rosaen
20dfa6abca am c6587dc8: Merge change 25178 into eclair
Merge commit 'c6587dc870d06e4d5022705d08464fc7abb1c5f8' into eclair-plus-aosp

* commit 'c6587dc870d06e4d5022705d08464fc7abb1c5f8':
  Add RotarySelector widget to android.internal for use by lock screen and incoming call screen.
2009-09-15 19:16:57 -07:00