3898 Commits

Author SHA1 Message Date
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
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
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
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
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
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
5417f09c14 Send action key and msg with GlobalSearch clicks
Needed for QSB logging, http://b/issue?id=2097469

Change-Id: I817e5b26c9739ab05bd873675854478ce601d234
2009-09-21 11:52:24 +01:00
Bryan Mawhinney
3c5767d8fe Track search KeyEvents in SearchDialog.
This fixes the bug preventing switching between global and in-app search,
and also enables long press for voice search (I think).

Bug: 2127442
Change-Id: I045a0f7b2c797c016191709a3983b6b33fc6186e
2009-09-21 11:04:51 +01:00
Megha Joshi
2acda4bead Uri encode phone number before passing it to query.
Fixes bug 2122926
2009-09-20 23:48:02 -07:00
Bjorn Bringert
0e62e2df36 Set intent_component of in-app shortcuts to app itself
Fixes http://b/issue?id=2130474
"Shortcuts created by pivoted-in search do not
have intent_component_name set"

Change-Id: I702fe39348b762393ed08ce9905771eb892bf782
2009-09-21 06:47:57 +01:00
Android (Google) Code Review
ca4882322f Merge change 26104 into eclair
* changes:
  Unhide themes TextAppearance.SearchResult.Title and TextAppearance.SearchResult.Subtitle. We had discussed doing this in Donut but looks like it never happened. We need these attributes for voice search so now's as good a time as any.
2009-09-20 23:23:25 -04:00
Mike LeBeau
894bedacc4 Unhide themes TextAppearance.SearchResult.Title and TextAppearance.SearchResult.Subtitle.
We had discussed doing this in Donut but looks like it never happened. We need these
attributes for voice search so now's as good a time as any.

Followup CL to 25911.
2009-09-20 20:21:48 -07:00
Android (Google) Code Review
718970bcf3 Merge change 26061 into eclair
* changes:
  Send the UUID intent even if apps have not requested for it.
2009-09-20 20:36:54 -04:00
Android (Google) Code Review
5ea916b17c Merge change 26050 into eclair
* changes:
  Track CPU speed stepping to get more accurate CPU cost per app.
2009-09-20 19:59:16 -04:00
Wu-cheng Li
ffe1cf251a Unhide Camera lock and unlock API. 2009-09-21 07:28:44 +08:00
Jaikumar Ganesh
6179965e85 Send the UUID intent even if apps have not requested for it.
This will help apps listening to this intent to update icons etc
if the remote uuid changes. For example, the settings app used to
refresh the icons when the class bits change. It can do it now
when the remote ends uuids changes too.

Change-Id: Ib9af45780e83118d8877b0ef16f5b39b87fb4bef
2009-09-20 16:16:08 -07:00
Jaikumar Ganesh
2092361d58 Maintain pending outgoing bonding address.
This helps us to distinguish between incoming and outgoing Bonding requests.

Change-Id: I69e6a269b7dd6aad60e6f5711cad812291a7d313
2009-09-20 16:16:08 -07:00
Amith Yamasani
e43530ab57 Track CPU speed stepping to get more accurate CPU cost per app.
More CPU speed stepping happening with newer devices, so we need
to qualify CPU time with the CPU speed, since power consumption
varies greatly by speed. Apps that peg the CPU should get a higher
penaltly.

Also, fix for 2062930: NPE at VolumePreference.onKey()
2009-09-20 16:03:50 -07:00
Doug Zongker
44f5747815 log hash of account name in sync event log
Add an account field to the sync event, which is the java hash of the
account name.  (A hash is used for privacy reasons.)
2009-09-20 15:52:43 -07:00
Android (Google) Code Review
6b96512601 Merge change 26034 into eclair
* changes:
  Clean up spin animation in rotary selector, and be even more generous for triggering.
2009-09-20 18:09:27 -04:00
Android (Google) Code Review
238dc72f74 Merge change 26004 into eclair
* changes:
  Fix issue #1862317: Browser does not appear to honor anchors (#es) in links
2009-09-20 18:06:23 -04:00
Karl Rosaen
052e187eda Clean up spin animation in rotary selector, and be even more generous for triggering. 2009-09-20 15:03:20 -07:00
Android (Google) Code Review
c0df3a473f Merge change 25746 into eclair
* changes:
  Fix 2092386: Support yuyv for camera preview format.
2009-09-20 16:48:45 -04:00
Android (Google) Code Review
1d390e7f9e Merge change 25976 into eclair
* changes:
  Fix adapter name change problem.
2009-09-20 16:39:48 -04:00
Chih-Chung Chang
eb68c46a40 Fix 2092386: Support yuyv for camera preview format.
Change-Id: I3ef821fed2132a9faf92983324c7e036d0f5641e
2009-09-21 04:38:19 +08:00
Android (Google) Code Review
0647b580aa Merge change 25970 into eclair
* changes:
  Make removeBond() call async.
2009-09-20 16:14:54 -04:00
Android (Google) Code Review
3a66413af3 Merge change 25992 into eclair
* changes:
  Add an 'init everything' operation to the first backup pass
2009-09-20 16:10:59 -04:00
Christopher Tate
25a747f5c4 Add an 'init everything' operation to the first backup pass
IBackupTransport.performBackup() now takes a flag "wipeAllFirst", which if set
will result in the entire restore set for the current device/account being wiped
clean prior to the storage of the provided package.  This ensures that a device
on which backup has just been enabled will not confront potentially-stale
information, nor will the restore set potentially contain mismatched data from
orphaned packages.

The Backup Manager has also been revised to pass this flag when first backing up
its master metadata block (and never pass it thereafter unless something has
caused the backup state tracking to be erased, e.g. the user has opted out of
backup and then later re-enabled it).
2009-09-20 12:43:58 -07:00
Dianne Hackborn
6cca1599f7 Fix issue #1862317: Browser does not appear to honor anchors (#es) in links
Also a little improved debugging output of bad resource identifiers.

Change-Id: I054064ef22855608ffd722e4ccf12ce57d1992b2
2009-09-20 12:40:03 -07:00
Android (Google) Code Review
7d9db612bd Merge change 25885 into eclair
* changes:
  handle calendars with an access level of "root"
2009-09-20 15:14:16 -04:00
Jaikumar Ganesh
6a9d93cc1a Fix adapter name change problem.
This got introduced as a result of the Bluetooth API changes.

Change-Id: I04ce4a91f0e4f74253407897c2f3973f7b0a0055
2009-09-20 11:48:16 -07:00
Jaikumar Ganesh
995ae82f38 Make removeBond() call async.
This call has been synchronus since Bluez3.36.
However, since the semantics for all Bluetooth API calls are
asynchronous make this so too. It does fix an occasional ANR
seen while unpairing.

Change-Id: If81f8ec262ea1f6f62775282ab33855a8669c41a
2009-09-20 11:28:34 -07:00
Android (Google) Code Review
d163f4babe Merge change 25853 into eclair
* changes:
  Don't back up / restore certain sync-related settings
2009-09-20 13:28:41 -04:00
Android (Google) Code Review
9603715ae3 Merge change 25959 into eclair
* changes:
  Add better transition to rotary lock widget when triggering: spin around instead of snap back.
2009-09-20 12:59:59 -04:00
Karl Rosaen
278ec5d6f5 Add better transition to rotary lock widget when triggering: spin around instead of snap back.
Also add some icons and make a layout tweak, used by the lock screen (coming in a commit
to android.policy).
2009-09-20 09:51:46 -07:00
Android (Google) Code Review
eb96a3c3d3 Merge change 25894 into eclair
* changes:
  Adding CONTENT_TYPE to CommonDataKinds.Email
2009-09-20 10:49:05 -04:00
Mike Lockwood
b4c0b3d8cc Add resources to allow forcing accelerometer based orientation management when docked.
Change-Id: I708507db735e08a13daeff95e106f0a53037f760

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-20 01:57:09 -04:00
Daisuke Miyakawa
927b86f3a7 Add config_use_strict_phone_number_comparation, which will be used by internal applications.
Related internal issue number: 1892808
2009-09-19 18:48:03 -07:00
Android (Google) Code Review
e69335f8b4 Merge change 25931 into eclair
* changes:
  Add better APIs for the battery status, and other cleanup.
2009-09-19 17:13:23 -04:00