3060 Commits

Author SHA1 Message Date
Dianne Hackborn
fed534ee5d Fix bug where onStartCommand() was never called with a null intent.
Also clean up some of the service java docs.

Change-Id: I40e7d713e2393f7ee1db9822da8f07fb6304a9e4
2009-09-23 00:42:12 -07:00
Daisuke Miyakawa
d2cd9467b8 Suppress warning around old vcard code. 2009-09-22 23:14:52 -07:00
Daisuke Miyakawa
c32897a6ea Suppress Performance log emitted by vCard importer. 2009-09-22 22:22:34 -07:00
Android (Google) Code Review
3559c14c9c Merge change 26549 into eclair
* changes:
  Add Website.TYPE information.
2009-09-23 01:17:31 -04:00
Daisuke Miyakawa
7a9e2f20af Add Website.TYPE information.
Related internal issue number: 2131626
2009-09-22 21:51:40 -07:00
Fred Quintana
be3bceb5b9 fix the logic for starting a sync after the accounts changed 2009-09-22 21:14:48 -07:00
Android (Google) Code Review
3de07024c8 Merge change 26456 into eclair
* changes:
  - make an AccountManager per context, not one per process - enhance the comment for addOnAccountsUpdatedListener()
2009-09-22 23:20:25 -04:00
Daniel Sandler
465ccb8a40 Add support for thumbnails to WallpaperInfo.
Clean up the Gallery to show thumbnails appropriately; still using FPO artwork
for wallpapers without thumbnails.

This change introduces a new "thumbnail" attribute to the API (used
in wallpaper metadata to point to the thumbnail drawable resource).
2009-09-22 20:56:10 -04:00
Android (Google) Code Review
4271c7c36b Merge change 26449 into eclair
* changes:
  Keep track of 'initial' sync state in SyncStatusInfo
2009-09-22 18:28:58 -04:00
Fred Quintana
e00a31155b - make an AccountManager per context, not one per process
- enhance the comment for addOnAccountsUpdatedListener()
2009-09-22 15:13:30 -07:00
Costin Manolache
5ed64cd06c Keep track of 'initial' sync state in SyncStatusInfo 2009-09-22 14:41:46 -07:00
Android (Google) Code Review
63147705bc Merge change 26437 into eclair
* changes:
  Don't show the badge background when we have no uri, email, or phone.
2009-09-22 17:28:59 -04:00
Mark Wagner
f5935a9836 Don't show the badge background when we have no uri, email, or phone.
This will be used in talk and mms in the case of multiple recipients.
2009-09-22 13:49:26 -07:00
Dianne Hackborn
9bfb707597 Various fixes and improvements to window, activity.
- New meta-data you can add to a dock activity to have it launched by the
  home key when the device is in that dock.

- Fix a deadlock involving ActivityThread's internal content provider lock.

- New window flag to have a non-secure keyguard entirely dismissed when a
  window is displayed.

- New WindowManagerPolicy APIs to allow the policy to tell the system when
  a change it makes during layout may cause the wall paper or
  overall configuration to change.

- Fix a bug where an application token removed while one of its windows is
  animating could cause the animating window to get stuck on screen.

Change-Id: I6d33fd39edd796bb9bdfd9dd7e077b84ca62ea08
2009-09-22 13:39:34 -07:00
Derek Sollenberger
c0b8a96d28 launching plugin activity when a plugin requests to go full screen.
Change-Id: Ib42bb08d01a75ca3a9c02085ee185396bb7b7378
2009-09-22 16:29:17 -04:00
Android (Google) Code Review
34ca22d253 Merge change 26366 into eclair
* changes:
  Set the bonding for incoming connections only when authentication is requested.
2009-09-22 16:00:12 -04:00
Android (Google) Code Review
916b2ca937 Merge change 26355 into eclair
* changes:
  Use FLAG_ACTIVITY_CLEAR_TOP when launching search suggestions.
2009-09-22 15:37:15 -04:00
Android (Google) Code Review
af1eb14837 Merge change 25465 into eclair
* changes:
  Reset typeface when changing from visible password inputType
2009-09-22 15:25:15 -04:00
Jaikumar Ganesh
7633b89443 Set the bonding for incoming connections only when authentication is requested.
Change-Id: Ic44ac0e6dedcb310b0cf47020e5c2ff3d0a4459a
2009-09-22 12:08:49 -07:00
Andrei Popescu
dee76be487 Fix for 2122292: make sure we unregister the ContentObserver for the system location settings. Also make the GoogleLocationManager use the singleton pattern correctly. 2009-09-22 19:51:14 +01:00
Grace Kloba
24a3ff958b Change double tap toast to long toast.
Change toast count to static to cross all the windows.

It should be --count instead of count--.
2009-09-22 11:11:01 -07:00
Android (Google) Code Review
194099dc4f Merge change 26220 into eclair
* changes:
  Reimplement the settings to use async callbacks
2009-09-22 14:02:44 -04:00
Nicolas Roard
6c24b4d102 Reimplement the settings to use async callbacks 2009-09-22 18:44:52 +01:00
Android (Google) Code Review
0676690091 Merge change 26323 into eclair
* changes:
  Fix bug with ScrollView so that text entry fields are not hidden by virtual keyboard.
2009-09-22 13:31:02 -04:00
Patrick Scott
d58ccff769 Add a boolean indicating if the apple-touch-icon is precomposed. 2009-09-22 13:28:36 -04:00
Grace Kloba
408cf85207 Support the new dpi change in the WebView.
Fix http://b/issue?id=2071943
2009-09-22 10:07:27 -07:00
Grace Kloba
f53c186524 Don't snap the initialScale to min or max if it is not defined.
Fix http://b/issue?id=2133821
2009-09-22 09:14:25 -07:00
Bjorn Bringert
442da48b24 Use FLAG_ACTIVITY_CLEAR_TOP when launching search suggestions.
Fixes http://b/issue?id=2118143
"Sometimes clicking a contact suggestion opens the
wrong activity in Contacts"

Change-Id: Ie4c150e91e455949e9f17245920850cfe7e6599e
2009-09-22 14:43:45 +01:00
Android (Google) Code Review
585c67f70f Merge change 26300 into eclair
* changes:
  experimental fix for compatibility mode. When we scale up by 1.5 (240 dpi), we put stretched ninepatches on exact pixel boundaries when we walk the inverse matrix (e.g. 2/3, 1+1/3, 2, 2+2/3, 3+1/3, 4, ...).
2009-09-22 07:55:58 -04:00
Mike Reed
b5c17a64ed experimental fix for compatibility mode. When we scale up by 1.5 (240 dpi), we put stretched ninepatches on
exact pixel boundaries when we walk the inverse matrix (e.g. 2/3, 1+1/3, 2, 2+2/3, 3+1/3, 4, ...).

These are not stable, since any variance in the inverse matrix (even in the lowest bit) can cause some other
part of the ninepatch to start a hair to the left, resulting in misaligning every 3 pixels.

The fix changes the matrix' phase enough to keep all of the stretched ninepatches in phase.
2009-09-22 07:53:05 -04:00
Android (Google) Code Review
976e363fe8 Merge change 26260 into eclair
* changes:
  Add search_mode flag to intents launched by QSB suggestions
2009-09-22 05:54:31 -04:00
Jack Veenstra
7d4200d03f Fix bug with ScrollView so that text entry fields are not hidden by virtual keyboard. 2009-09-21 19:45:14 -07:00
Dmitri Plotnikov
0fc0244e80 [Issue 2097207] Adding filtering capability to aggregation suggestions
Change-Id: Ifce36286d2f573e69f872432cc34a1fca0311e02
2009-09-21 18:47:33 -07:00
Android (Google) Code Review
7f3fb7dec2 Merge change 26130 into eclair
* changes:
  Turn animations on by default.
2009-09-21 20:34:30 -04:00
Dianne Hackborn
bfe319e06a Turn animations on by default.
Add API to skip the animation for a particular start activity, so that
a latter better one can be used.

Fix Theme.NoDisplay to actually work.

Fiddle with various animations: don't do a different animation for task
switching, try a scale animation for switching in/out of the wallpaper.

Adjust the animation duration so that at normal speed we have something
more like the slower animation option (so slow is now the default).

Change-Id: Ieba9f3db0bd9a762a19b327a3ecccbc7b547893d
2009-09-21 17:26:41 -07:00
Jaikumar Ganesh
2d3b98d868 Send the address of the device with the UUID intent.
Change-Id: I6357d482550e9e02edf221add318ecd9cfadcb66
2009-09-21 16:11:01 -07:00
Jaikumar Ganesh
10eac971b3 Cache the remote device's service channel.
Bluez Device implementation is such that when a device
is unpaired, we removes the device and hence there is no
way to interact with it unless you pair again. Remote service
channel call is used to get the rfcomm channel number which
will be used in profiles like OPP which don't require pairing.

Change-Id: I868a6cdfdb1b7d3591dd8b66cd0320f41a9c1b92
2009-09-21 15:58:08 -07:00
Wu-cheng Li
36322db575 Add focus API and FLASH_MODE_VIDEO_LIGHT. 2009-09-22 06:28:09 +08:00
Bjorn Bringert
be5b73c592 Add search_mode flag to intents launched by QSB suggestions
This lets recipents determine whether an intent was launched
by a global search suggestion. This will for example
be used when deciding how to log clicks on web search suggestions.

Needed for http://b/issue?id=2097469

Change-Id: Ifc25ec3477a63be8bad094951bfffa7a5e703e7c
2009-09-21 23:05:23 +01:00
Jeff Sharkey
88a83d3f10 Update getDisplayLabel() API to support new types.
We recently added several new phone types, and this change
updates the API that resolves thoses types to strings.  It
also uses unique string resources for each type, instead of
relying on types to be <string-array> indexes.

Fixes http://b/2118886
2009-09-21 13:27:38 -07:00
Leon Scroggins
d3997e556e Make scrolling textfields work better in the browser.
The touch slop seems to be too large for scrolling
a small textfield, so use a smaller number.  Also,
in WebView, create viewToContentDimension, and use
it for determining the scroll position of the text
field.

Partial fix for http://b/issue?id=2133049

Change-Id: I0ded3be264b179bad39301e6adce86851b649a42
2009-09-21 15:54:21 -04:00
Android (Google) Code Review
163be61ce5 Merge change 25412 into eclair
* changes:
  Make ParcelUuid helper functions consistent.
2009-09-21 15:37:21 -04:00
Leon Scroggins
d7b95aa702 Always interpret (0,0) scrolls as top of title bar.
Move the specialized code in NEW_PICTURE_MSG_ID to
setContentScrollTo so that a scroll to (0,0), whether
a result of a NEW_PICTURE_MSG_ID or from an initial
layout (or otherwise) is treated as scrolling to the
top of the content, including showing the title bar.
Scrolls to (0,1) will trigger code that animates the
title bar off screen.

Change-Id: Ia6db6d4620dea2bfe62407c4394a8ead38501b2f
2009-09-21 14:18:09 -04:00
Grace Kloba
f8d8b46a2c Add a tip toast for double tap.
Fix http://b/issue?id=2059934
2009-09-21 10:10:11 -07:00
Android (Google) Code Review
483a599c03 Merge change 25954 into eclair
* changes:
  Moving DISPLAY_NAME to column "data1" to keep it "aligned" with other data types.
2009-09-21 12:54:20 -04:00
Cary Clark
5bb6b52bf3 Account for find dialog height in content height
Use the set dialog height when the find dialog is up so that
found items at the bottom of the screen are scrolled into view.

This requires a companion change to set the dialog height in
the browser app.

Fixes http://b/issue?id=2122916
2009-09-21 12:48:50 -04:00
Dmitri Plotnikov
15e2669fcd Moving DISPLAY_NAME to column "data1" to keep it "aligned" with other data types.
This is a minor optimization for the sake of the aggregator.  The aggregator now relies on the display name
instead of structured components. As a result, we only need one column from the data table
for the structured name.  For other data types it's data1. Might as well use the same column
for display name.

Change-Id: Ib22d1f1a7a91f12716d1a460e1578f01926c393a
2009-09-21 09:30:13 -07:00
Android (Google) Code Review
e256c79731 Merge change 26053 into eclair
* changes:
  log hash of account name in sync event log
2009-09-21 12:21:14 -04:00
Android (Google) Code Review
a953ed4bc0 Merge change 26148 into eclair
* changes:
  Use icon URI as icon cache key in search dialog
2009-09-21 11:29:51 -04:00
Leon Scroggins
03c87bf51c Allow a webpage that wants to scroll off the title bar to do so.
Slows down the animation so the user can see it slide away.  Also
move the animation to before we change to view coordinates so it
will not be dependent on the zoom level/screen resolution.

Change-Id: Icc54b2b26c08cd54d84b4e9892a316a5712534e4
2009-09-21 10:58:54 -04:00