8098 Commits

Author SHA1 Message Date
Dianne Hackborn
65c2387206 Fix transformation on windows.
The window offset was being applied incorrectly in relation to the
animation transform.

Change-Id: Ia578129f48cf6c57ae795af862d2b6ce5d447994
2009-09-18 17:47:02 -07:00
Android (Google) Code Review
27272bfac6 Merge change 25839 into eclair
* changes:
  Fix potential ArrayIndexOutOfBoundsException.
2009-09-18 20:09:34 -04:00
Yu Shan Emily Lau
17d7ea4947 There is a know issue in PV regarding the video size return. Need to put a 1 second sleep before we get the video dimension 2009-09-18 16:27:24 -07:00
Android (Google) Code Review
e785d1804d Merge change 25826 into eclair
* changes:
  Suppressed the invalidFrameRate as the framework is not throwing the IOException anymore.
2009-09-18 19:14:32 -04:00
Android (Google) Code Review
95ebd3bdd0 Merge change 25847 into eclair
* changes:
  Fix http://b/issue?id=2099487
2009-09-18 18:59:58 -04:00
Christopher Tate
a286f41908 Don't back up / restore certain sync-related settings
In particular, this no longer attempts to back up the on/off state of specific
backend syncing [gmail/contacts/calendar], nor the "background data" toggle.
The former was causing a great deal of spurious trips through backup as the
notification was being tickled during general sync operation, and the latter
makes little sense at restore time.

Fixes these issues:

b/2097613 - frequent "backup_data_changed" messages in event log
b/2131662 - should not backup background data, master sync settings
2009-09-18 15:56:14 -07:00
Dmitri Plotnikov
de71cb3b6f ContactsContract: Adding joined columns to the Data class definition.
The rationale is this. Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
   Data._ID, // 0
   RawContacts.CONTACT_ID, // 1
   Phone.TYPE, // 2
   Phone.NUMBER, // 3
   Phone.LABEL, // 4
   Contacts.DISPLAY_NAME, // 5
};

The most noxious line is RawContacts.CONTACT_ID

After this change, the above declaration changes to:

private static final String[] PROJECTION_PHONE = {
   Data._ID, // 0
   Data.CONTACT_ID, // 1
   Phone.TYPE, // 2
   Phone.NUMBER, // 3
   Phone.LABEL, // 4
   Data.DISPLAY_NAME, // 5
};

Change-Id: I03bfc700e4c8c58a175bc885bf7b807d7fed0744
2009-09-18 15:54:26 -07:00
Evan Millar
7ff7ddf70b Fix http://b/issue?id=2099487
Change-Id: Ib5391cc5e9d17bc4ad964471037e7f9819802a64
2009-09-18 15:45:42 -07:00
jsh
001d0abd3e Fix potential ArrayIndexOutOfBoundsException.
When parsing an SMS message as email, extractEmailAddressFromMessageBody()
checks parts.length >= 1, but then proceeds to access parts[1] (which
may not exist).  Instead, check for parts.length >= 2, and treat
parts.length = 1 as non-email.

b/2122698
2009-09-18 15:31:10 -07:00
Android (Google) Code Review
90d8a6a449 Merge change 25628 into eclair
* changes:
  Inefficient but correct fix for 2122381: call finishBackup after every performBackup
2009-09-18 18:25:33 -04:00
Grace Kloba
17dd1aebf5 When double tap zoom out to overview mode, force reveal the full
title bar if it is partial visible.

http://b/issue?id=2110583
2009-09-18 15:11:51 -07:00
Android (Google) Code Review
b18b0956af Merge change 25829 into eclair
* changes:
  Revert "ContactsContract: Adding joined columns to the Data class definition."
2009-09-18 18:05:50 -04:00
Dmitri Plotnikov
ea36747114 Revert "ContactsContract: Adding joined columns to the Data class definition."
This reverts commit dd768a6a736bc202b62aa20f3282b3cfb285dc7f.
2009-09-18 15:04:58 -07:00
Yu Shan Emily Lau
9d7b2fa808 Suppressed the invalidFrameRate as the framework is not throwing the IOException anymore. 2009-09-18 14:58:56 -07:00
Android (Google) Code Review
a411bf01fc Merge change 25818 into eclair
* changes:
  Clean up some debugging and add 2 math lib routines.
2009-09-18 17:25:21 -04:00
Jason Sams
d342fd7526 Clean up some debugging and add 2 math lib routines. 2009-09-18 14:24:24 -07:00
Android (Google) Code Review
6286f311c3 Merge change 25810 into eclair
* changes:
  Fix pause-wait dial string conversion error
2009-09-18 17:02:56 -04:00
Android (Google) Code Review
6a15417849 Merge change 25800 into eclair
* changes:
  ContactsContract: Adding joined columns to the Data class definition.
2009-09-18 16:54:34 -04:00
Dmitri Plotnikov
dd768a6a73 ContactsContract: Adding joined columns to the Data class definition.
The rationale is this.  Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
        Data._ID,                   // 0
        RawContacts.CONTACT_ID,     // 1
        Phone.TYPE,                 // 2
        Phone.NUMBER,               // 3
        Phone.LABEL,                // 4
        Contacts.DISPLAY_NAME,      // 5
    };

The most noxious line is RawContacts.CONTACT_ID

After this change, the above declaration changes to:

    private static final String[] PROJECTION_PHONE = {
        Data._ID,                   // 0
        Data.CONTACT_ID,            // 1
        Phone.TYPE,                 // 2
        Phone.NUMBER,               // 3
        Phone.LABEL,                // 4
        Data.DISPLAY_NAME,          // 5
    };

Change-Id: I820e68efd6c1364241596f826c4da1b9c2defe11
2009-09-18 13:53:49 -07:00
Android (Google) Code Review
d7638e6de2 Merge change 25780 into eclair
* changes:
  Reject lowercase characters in checkBluetoothAddress().
2009-09-18 16:51:36 -04:00
Evan Millar
2c22a51072 More hi-res assets, and darken background color to donut level.
Includes hi-res divider and header assets.

Change-Id: I8fbeb619509886f707fe604a8057c6beda1e03a7
2009-09-18 13:27:09 -07:00
Android (Google) Code Review
e5a6d16f26 Merge change 25785 into eclair
* changes:
  Fix http://b/2126318 (density test fails due to wrong-size asset stripping)
2009-09-18 15:23:40 -04:00
Android (Google) Code Review
3f90aae618 Merge change 25786 into eclair
* changes:
  Fix http://b/2086471 (list view headers too dark in mdpi).
2009-09-18 15:18:27 -04:00
Daniel Sandler
4d5babce58 Fix http://b/2086471 (list view headers too dark in mdpi). 2009-09-18 15:17:33 -04:00
Daniel Sandler
da06e32e4c Fix http://b/2126318 (density test fails due to wrong-size asset stripping)
The density test expects all resources of all densities to be included, but specifying a density for a particular device build kills that. We therefore add all the required densities explicitly to the Makefile to compensate.
2009-09-18 15:12:07 -04:00
Android (Google) Code Review
c3a3b399a9 Merge change 25752 into eclair
* changes:
  Add a Gservices setting to controll the app error reporting feature.
2009-09-18 15:07:28 -04:00
Android (Google) Code Review
66fdd84e28 Merge change 25775 into eclair
* changes:
  Fix typo in SECONDARY_DATA_RETRY_CONFIG
2009-09-18 14:53:46 -04:00
Android (Google) Code Review
f22b74103a Merge change 25464 into eclair
* changes:
  Improve ExifInterface API.
2009-09-18 14:38:38 -04:00
Nick Pelly
55e66f1b73 Reject lowercase characters in checkBluetoothAddress().
This keeps consistency with Bluez which uses upper case string address. It's
important to keep the case the same so that .equals() in BluetoothService.java
work.

Change-Id: I6404ca137d0aec3cc2e6e7cb79763d5305a03547
2009-09-18 11:37:06 -07:00
Chih-Chung Chang
872a30ec72 Improve ExifInterface API.
Change-Id: Ic6c4df8244b51b9a0d1c73c3797847220d86604d
2009-09-18 11:30:47 -07:00
Libin Tang
963558b0f3 Fix pause-wait dial string conversion error
Resolves these specific cases:
- 8475766800;,1234
- 8475766800,;1234

Both of these should be converted to 8475766800;1234

Change-Id: Ic329007a3a6e99b1dd55cd8cdec7239dd734c3ca
2009-09-18 11:30:05 -07:00
Robert Greenwalt
aad261730c Fix typo in SECONDARY_DATA_RETRY_CONFIG
The parser doesn't like ';'.

bug: 2130639
2009-09-18 11:23:58 -07:00
Android (Google) Code Review
fd49faae33 Merge change 25772 into eclair
* changes:
  Add progress view and default poster for the <video> implementation
2009-09-18 14:22:01 -04:00
Andrei Popescu
bf385d7c7b Add progress view and default poster for the <video> implementation 2009-09-18 19:07:17 +01:00
Android (Google) Code Review
93727454ca Merge change 25768 into eclair
* changes:
  Add one line of logging when SCO SOCKET connect starts.
2009-09-18 13:29:34 -04:00
Nick Pelly
37e0828cf9 Add one line of logging when SCO SOCKET connect starts.
This is to help collect information from Moto QA about delays connecting BT
audio.

Change-Id: I790c65f5b64c85aaffc0e68ebe8b6202f476b39f
http://b/2129464
2009-09-18 10:17:41 -07:00
Android (Google) Code Review
ffda371c22 Merge change 25734 into eclair
* changes:
  Show the live wallpaper on the lock screen.
2009-09-18 13:16:30 -04:00
Android (Google) Code Review
a120d4820d Merge change 25644 into eclair
* changes:
  add Eclair to the droiddoc 'since' options so that we can see API Level diffs in the docs.
2009-09-18 13:01:05 -04:00
Leon Scroggins
83d4ba83dd Do not attempt to retry a scrollTo with a negative position.
Fixes http://b/issue?id=2093435

Change-Id: If938c8f6e5d74b91e39a06a5736967663c9800b7
2009-09-18 12:44:03 -04:00
Dianne Hackborn
6136b7ef16 Show the live wallpaper on the lock screen.
This also takes care of the problem of system dialogs like the
crash dialog causing the status bar to dim behind the lock screen.

On the down side, the fade transition from the lock screen is
now gone, and I'm not sure how likely it is for it to return.

Change-Id: I7f9e6d0f3510a1fdbbe6ad252d986bd85a16475d
2009-09-18 09:27:22 -07:00
Grace Kloba
6ed525ecee When a WebView starts, we may get first layout before viewSizeChanged()
ever get called. Call WebView's getViewWidth() to get the current UI
width. If it is still 0, log a warning.

Fix http://b/issue?id=2128645
2009-09-18 09:21:33 -07:00
Android (Google) Code Review
da05aa8288 Merge change 25666 into eclair
* changes:
  Save message size
2009-09-18 12:11:28 -04:00
Leon Scroggins
58992eac83 Draw shadow below title, or at top if title is off screen.
Fixes http://b/issue?id=2118813 for the "real" title bar.

Also fix http://b/issue?id=2125444 by moving the save after
the check for mNativeClass.

Change-Id: I8f85f0a76eb7e1d186485ef65c50ae8d4bc10932
2009-09-18 10:42:53 -04:00
Jacek Surazski
a233943cb1 Add a Gservices setting to controll the app error reporting feature. 2009-09-18 15:01:26 +02:00
Bjorn Bringert
ad8da91895 Reset typeface when changing from visible password inputType
Before, when changing a TextView from TYPE_TEXT_VARIATION_VISIBLE_PASSWORD
to a non-password input type, the typeface remained monospaced.

Fixes http://b/issue?id=2126708
"TextView does not restore typeface when changing inputType
from password to text"

Change-Id: Iad704640f69beed10a4b3deec7c38f3eba7b91ee
2009-09-18 12:09:23 +01:00
Bryan Mawhinney
dfcbc046d7 Reserve space for the searchbox spinner, even when stopped.
Make the searchbox spinner invisible (transparent) when it's not active.  This prevents the size of the text field from varying depending on whether the spinner is spinning or not, which can cause an annoying flicker.

Bug: 2084293
Change-Id: Idd63a296d1f07c5bd47884040f21e4880038f424
2009-09-18 11:30:36 +01:00
Chia-chi Yeh
c4b144533a keystore: switch to multi-user version. 2009-09-18 17:23:53 +08:00
Jeff Sharkey
0050ee3639 Adopt new FastTrack API for internal widget, fix bugs.
Change internal widget to use new FastTrack API instead of
using SHOW_OR_CREATE.  Also reset the internal Uri when
reused in lists.  Fixes http://b/2087222
2009-09-17 23:59:08 -07:00
Android (Google) Code Review
b39dcb796d Merge change 25722 into eclair
* changes:
  Modified the validation to use singal media player instance.
2009-09-18 02:55:53 -04:00
Android (Google) Code Review
2925b8c62a Merge change 25496 into eclair
* changes:
  Fix issue 2127371: Possible race condition in AudioFlinger::openRecord() when a Track is being destroyed.
2009-09-18 02:55:00 -04:00