4211 Commits

Author SHA1 Message Date
Jeff Sharkey
9ca231c5b6 am 3f0476a4: Basic API for third-party apps to define custom Data rows.
Merge commit '3f0476a4e283ce4e55caac016293dafe9dca11fa' into eclair-plus-aosp

* commit '3f0476a4e283ce4e55caac016293dafe9dca11fa':
  Basic API for third-party apps to define custom Data rows.
2009-09-21 21:11:32 -07:00
Jeff Sharkey
3f0476a4e2 Basic API for third-party apps to define custom Data rows.
To display styled ContactsContract.Data rows in UI, this
change adds basic styling attributes that third-party apps
can use.  The Contacts app parses these structures before
displaying Data rows with unrecognized MIME-types.

Partially fixes http://b/2126691
2009-09-21 21:05:59 -07:00
Dan Egnor
e5910775c8 am 9bbd5ee4: Merge change 26290 into eclair
Merge commit '9bbd5ee49f4a26b87273c40a955557e63f10da3b' into eclair-plus-aosp

* commit '9bbd5ee49f4a26b87273c40a955557e63f10da3b':
  Make IBackupTransport.finishBackup() also return an int code, since it too can
2009-09-21 19:31:54 -07:00
Android (Google) Code Review
9bbd5ee49f Merge change 26290 into eclair
* changes:
  Make IBackupTransport.finishBackup() also return an int code, since it too can return TRANSPORT_NOT_INITIALIZED (in fact that's typically how it comes).
2009-09-21 22:26:35 -04:00
Dmitri Plotnikov
4a1d8788de am 0fc0244e: [Issue 2097207] Adding filtering capability to aggregation suggestions
Merge commit '0fc0244e808925e848ee9e350a3a213bd7574249' into eclair-plus-aosp

* commit '0fc0244e808925e848ee9e350a3a213bd7574249':
  [Issue 2097207] Adding filtering capability to aggregation suggestions
2009-09-21 18:53:37 -07:00
Dmitri Plotnikov
0fc0244e80 [Issue 2097207] Adding filtering capability to aggregation suggestions
Change-Id: Ifce36286d2f573e69f872432cc34a1fca0311e02
2009-09-21 18:47:33 -07:00
Dianne Hackborn
3ffe6b12c7 am 7f3fb7de: Merge change 26130 into eclair
Merge commit '7f3fb7dec2afdffa37e3067ca8a5b9d01809a9ce' into eclair-plus-aosp

* commit '7f3fb7dec2afdffa37e3067ca8a5b9d01809a9ce':
  Turn animations on by default.
2009-09-21 17:40:06 -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
0bee99f074 am 9197081f: Merge change 26275 into eclair
Merge commit '9197081f8feca110455740874e06e05771f462c8' into eclair-plus-aosp

* commit '9197081f8feca110455740874e06e05771f462c8':
  Send the address of the device with the UUID intent.
2009-09-21 17:10:46 -07:00
Dan Egnor
0144516e19 Make IBackupTransport.finishBackup() also return an int code, since it too can
return TRANSPORT_NOT_INITIALIZED (in fact that's typically how it comes).

For consistency, make other IBackupTransport methods return int instead of
boolean, and handle accordingly.

Make initializeDevice() its own method instead of a flag on performBackup().
This will be needed when un-checking the settings box anyway, and is
conceptually unrelated to whatever happens to be the first post-initialization
backup we perform.  (Note that even if the init is sent separately from the
backup operation, the server will remember that an init has been done and
will *not* return NOT_INITIALIZED for the subsequent backup.)

Fix LocalTransport accordingly (trivial changes).

Handle failures more robustly in BackupManagerService -- most notably,
doQueuedBackups() was ignoring the result code of processOneBackup(), so
a NOT_INITIALIZED error would go past unseen (at least until the next
backup pass).  Keep track of error code returns more universally now.
(This includes finishBackup(), of course.)
2009-09-21 17:04:05 -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
d86c07a884 am a7719af3: Merge change 26217 into eclair
Merge commit 'a7719af31290bea50d822b535b6a886ba7a88097' into eclair-plus-aosp

* commit 'a7719af31290bea50d822b535b6a886ba7a88097':
  Cache the remote device's service channel.
2009-09-21 16:09:57 -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
5c5be2499f am 36322db5: Add focus API and FLASH_MODE_VIDEO_LIGHT.
Merge commit '36322db5752c7ec196f59ba94abe5d5a63cc19f5' into eclair-plus-aosp

* commit '36322db5752c7ec196f59ba94abe5d5a63cc19f5':
  Add focus API and FLASH_MODE_VIDEO_LIGHT.
2009-09-21 15:40:13 -07:00
Wu-cheng Li
36322db575 Add focus API and FLASH_MODE_VIDEO_LIGHT. 2009-09-22 06:28:09 +08:00
Mark Wagner
af2b7378af am fe6104fb: When manually setting the uri pass it through to the badge widget.
Merge commit 'fe6104fbfbba0434e78f9e21f460c71cddfe8449' into eclair-plus-aosp

* commit 'fe6104fbfbba0434e78f9e21f460c71cddfe8449':
  When manually setting the uri pass it through to the badge widget.
2009-09-21 13:53:37 -07:00
Mark Wagner
fe6104fbfb When manually setting the uri pass it through to the badge widget. 2009-09-21 13:39:02 -07:00
Jeff Sharkey
9aa0005e24 am 88a83d3f: Update getDisplayLabel() API to support new types.
Merge commit '88a83d3f108dcf01443b241439e14eedbd9615f5' into eclair-plus-aosp

* commit '88a83d3f108dcf01443b241439e14eedbd9615f5':
  Update getDisplayLabel() API to support new types.
2009-09-21 13:36:58 -07: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
Christopher Tate
d4644471db am 9568fb21: Merge change 26164 into eclair
Merge commit '9568fb21766684083ec256303a6ed7949ada7d9f' into eclair-plus-aosp

* commit '9568fb21766684083ec256303a6ed7949ada7d9f':
  Reset backup tracking in response to transport data-wipe notification
2009-09-21 13:21:40 -07:00
Android (Google) Code Review
9568fb2176 Merge change 26164 into eclair
* changes:
  Reset backup tracking in response to transport data-wipe notification
2009-09-21 16:13:48 -04:00
Leon Scroggins
a25ab813c4 am d3997e55: Make scrolling textfields work better in the browser.
Merge commit 'd3997e556eb0509248c72b668c2cd955b7842b55' into eclair-plus-aosp

* commit 'd3997e556eb0509248c72b668c2cd955b7842b55':
  Make scrolling textfields work better in the browser.
2009-09-21 13:11:45 -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
Jaikumar Ganesh
b1d0794705 am 163be61c: Merge change 25412 into eclair
Merge commit '163be61ce5ea85181da3a8908adaa63b5ff56a7e' into eclair-plus-aosp

* commit '163be61ce5ea85181da3a8908adaa63b5ff56a7e':
  Make ParcelUuid helper functions consistent.
2009-09-21 12:46:08 -07: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
2aefa41a64 am 83f7bd0a: Merge change 26170 into eclair
Merge commit '83f7bd0a9bb563e18fc16fe60b923d65accd9dfe' into eclair-plus-aosp

* commit '83f7bd0a9bb563e18fc16fe60b923d65accd9dfe':
  Always interpret (0,0) scrolls as top of title bar.
2009-09-21 12:00:00 -07:00
Evan Millar
c0d19fa1b8 am 3242cbbf: Merge change 26181 into eclair
Merge commit '3242cbbf82b515397151522d0a6228403e9eec23' into eclair-plus-aosp

* commit '3242cbbf82b515397151522d0a6228403e9eec23':
  Make background color pure black.
2009-09-21 11:54:58 -07:00
Android (Google) Code Review
83f7bd0a9b Merge change 26170 into eclair
* changes:
  Always interpret (0,0) scrolls as top of title bar.
2009-09-21 14:53:19 -04:00
Android (Google) Code Review
3242cbbf82 Merge change 26181 into eclair
* changes:
  Make background color pure black.
2009-09-21 14:47:52 -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
Evan Millar
00ac7e6490 Make background color pure black.
Change-Id: Iedd1da42448bf295b87284d24a030430f4f8e3fe
2009-09-21 11:13:03 -07:00
Christopher Tate
d55e18acbe Reset backup tracking in response to transport data-wipe notification
When attempting a backup, the transport may inform us that the backend is in an
uninitialized state.  This typically means that the device's data has been wiped
after a period [e.g. 90 days] of inactivity.  This means that we need to
re-store all data subject to backup, and all of our incremental state tracking
on the device is now stale.

In response, we wipe all of our recorded backup state and restart the backup
pass on all participants.
2009-09-21 10:19:17 -07:00
Grace Kloba
cf16d7a684 am f8d8b46a: Add a tip toast for double tap.
Merge commit 'f8d8b46a2c684d51cd661a9d479dd895420a90b2' into eclair-plus-aosp

* commit 'f8d8b46a2c684d51cd661a9d479dd895420a90b2':
  Add a tip toast for double tap.
2009-09-21 10:11:54 -07:00
Megha Joshi
a39a17d7a5 am d5ffa12d: Merge change 26127 into eclair
Merge commit 'd5ffa12dea99233e6a75048d82ad4daf0373191f' into eclair-plus-aosp

* commit 'd5ffa12dea99233e6a75048d82ad4daf0373191f':
  Uri encode phone number before passing it to query.
2009-09-21 10:11:44 -07: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
d5ffa12dea Merge change 26127 into eclair
* changes:
  Uri encode phone number before passing it to query.
2009-09-21 13:05:10 -04:00
Dmitri Plotnikov
c1ddb155b8 am 483a599c: Merge change 25954 into eclair
Merge commit '483a599c0330da087502b5b75bbe82fe8236cbec' into eclair-plus-aosp

* commit '483a599c0330da087502b5b75bbe82fe8236cbec':
  Moving DISPLAY_NAME to column "data1" to keep it "aligned" with other data types.
2009-09-21 10:01:26 -07:00
Cary Clark
6b267ccec1 am 3f06a9b9: Merge change 26150 into eclair
Merge commit '3f06a9b931f6e3d12215a959f427bc373dacf7cc' into eclair-plus-aosp

* commit '3f06a9b931f6e3d12215a959f427bc373dacf7cc':
  Account for find dialog height in content height
2009-09-21 10:01:16 -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
Doug Zongker
cc36254b16 am e256c797: Merge change 26053 into eclair
Merge commit 'e256c79731ecd412fbf0d566ea6c844ea8e972a1' into eclair-plus-aosp

* commit 'e256c79731ecd412fbf0d566ea6c844ea8e972a1':
  log hash of account name in sync event log
2009-09-21 09:33:08 -07:00
Bjorn Bringert
b1ef743df3 am a953ed4b: Merge change 26148 into eclair
Merge commit 'a953ed4bc08cf5fc98f17a399adbd8afdd8293d5' into eclair-plus-aosp

* commit 'a953ed4bc08cf5fc98f17a399adbd8afdd8293d5':
  Use icon URI as icon cache key in search dialog
2009-09-21 09:32:58 -07: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
b91dd357c3 am 03c87bf5: Allow a webpage that wants to scroll off the title bar to do so.
Merge commit '03c87bf51cdf5a105b53b5d6fbf9cfbc6c93751e' into eclair-plus-aosp

* commit '03c87bf51cdf5a105b53b5d6fbf9cfbc6c93751e':
  Allow a webpage that wants to scroll off the title bar to do so.
2009-09-21 08:24:54 -07: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
Bjorn Bringert
6d318b4330 Use icon URI as icon cache key in search dialog
Fixes http://b/issue?id=2131078
"Incorrect icons shown in in-app search"

Change-Id: I88282d6323333796e66ca704390ad16016b846eb
2009-09-21 15:43:11 +01:00
Bjorn Bringert
6971f0be53 am 5417f09c: Send action key and msg with GlobalSearch clicks
Merge commit '5417f09c141713c62be697fe10fe149d6d3d0eb4' into eclair-plus-aosp

* commit '5417f09c141713c62be697fe10fe149d6d3d0eb4':
  Send action key and msg with GlobalSearch clicks
2009-09-21 03:58:17 -07:00