8793 Commits

Author SHA1 Message Date
Xavier Ducrohet
3e211b563c am f05f92a2: (-s ours) Merge change Id16e0e13 into donut
Merge commit 'f05f92a24214f04c88ed3161a4cc684d70192cc1' into eclair

* commit 'f05f92a24214f04c88ed3161a4cc684d70192cc1':
  Add density value to density enum.
2009-09-29 18:04:41 -07:00
Xavier Ducrohet
19ea135407 am 59b30f69: (-s ours) Merge change Ia4e59dbb into donut
Merge commit '59b30f6958f0460b59d050cde34aa863ec9b77c2' into eclair

* commit '59b30f6958f0460b59d050cde34aa863ec9b77c2':
  Add a new IResourceValue that knows about the density.
2009-09-29 18:04:32 -07:00
Debajit Ghosh
96cb8d0b94 fix account permission strings. this permission is used to protect more than just Google accounts. 2009-09-29 17:57:25 -07:00
Xavier Ducrohet
ac18e4f238 Update 4.xml with the native status change of breakText/measureText 2009-09-29 17:56:39 -07:00
Dianne Hackborn
e67f0c9712 Hack to fix issue #2125365: Sports Trivia compatability with Eclair (do not merge)
Adds a mechanism to tell Paint the scaling factor its target
canvas will have, for it to compute font metrics based on the
correct font size.  Only TextView uses this, but that is enough
for the large majority of apps.

This is integrated from the Eclair branch.
2009-09-29 17:49:22 -07:00
Android (Google) Code Review
8d1ff3a4c1 Merge change I77153ee0 into eclair
* changes:
  Hide zoom api.
2009-09-29 20:46:18 -04:00
Android (Google) Code Review
91c6bdd203 Merge change I2e069577 into eclair
* changes:
  Simplify the layout of all activities with a title and a progress bar.
2009-09-29 20:27:22 -04:00
Android (Google) Code Review
072c9e7473 Merge change I52e20bac into eclair
* changes:
  Add more useful-for-debug info to 'dumpsys backup'
2009-09-29 20:18:44 -04:00
Romain Guy
534dcbc5a0 Simplify the layout of all activities with a title and a progress bar.
Change-Id: I2e0695779e5b4bccc4fc2e790bbaf5466e017fb2
2009-09-29 17:18:28 -07:00
Jim Miller
c0d8f035b7 Fix for 2133391: Allow menu hard key to be disabled in LockScreen on some devices 2009-09-29 17:18:17 -07:00
Christopher Tate
55f931a375 Add more useful-for-debug info to 'dumpsys backup'
Change-Id: I52e20bac01ff63feaf28920a79311881992293a3
2009-09-29 17:17:34 -07:00
Dianne Hackborn
d135b09378 Fix broken build. (do not merge)
I -did- run it...  why did this later break on me?!?

This is integrated from the Eclair branch.
2009-09-29 17:16:16 -07:00
Android (Google) Code Review
92f0370cf0 Merge change Id43181f2 into eclair
* changes:
  Fix disabled text color in choice dialogs.
2009-09-29 20:13:09 -04:00
Romain Guy
b460ef5115 Fix disabled text color in choice dialogs.
Change-Id: Id43181f27c741ed181960e9c592d0544b6571811
2009-09-29 17:12:37 -07:00
Android (Google) Code Review
8bbba0e35b Merge change If5722b3f into eclair
* changes:
  Dont NPE if the thumbnail file cannot be opened.
2009-09-29 19:52:23 -04:00
Chih-Chung Chang
f5722b3f22 Dont NPE if the thumbnail file cannot be opened. 2009-09-29 16:31:16 -07:00
Android (Google) Code Review
277a41a771 Merge change Ia0609a0d into eclair
* changes:
  rebase layout test result as the numbers reported are much more stable now
2009-09-29 19:27:09 -04:00
Guang Zhu
a0609a0d8a rebase layout test result as the numbers reported are much more stable now 2009-09-29 16:24:43 -07:00
Wu-cheng Li
77153ee04e Hide zoom api. 2009-09-29 16:16:33 -07:00
Android (Google) Code Review
49de69498f Merge change Ia75da053 into eclair
* changes:
  Remove DEBUG-only logging in metadata backup agent
2009-09-29 19:11:49 -04:00
Christopher Tate
b808a93932 Remove DEBUG-only logging in metadata backup agent
Change-Id: Ia75da053463249597b91ba629fd7a663cab1a07c
2009-09-29 16:10:55 -07:00
Android (Google) Code Review
c4e20e9e1a Merge change Iae12c7f0 into eclair
* changes:
  Add REQUESTING_PACKAGE_PARAM_KEY.
2009-09-29 18:51:10 -04:00
Android (Google) Code Review
6189fd98c0 Merge change I27d074e0 into eclair
* changes:
  Telephony: Add a failure cause for CDMA call failures and rename RIL_REQUEST_CDMA_VALIDATE_AKEY to RIL_REQUEST_CDMA_VALIDATE_AND_WRITE_AKEY
2009-09-29 18:47:17 -04:00
Android (Google) Code Review
987477159f Merge change I88614e93 into eclair
* changes:
  Fix for 2137900: Be more conservative about poking the wakelock.
2009-09-29 18:41:52 -04:00
Naveen Kalla
27d074e0ef Telephony: Add a failure cause for CDMA call failures and rename
RIL_REQUEST_CDMA_VALIDATE_AKEY to
RIL_REQUEST_CDMA_VALIDATE_AND_WRITE_AKEY

Add failure cause for CDMA call failures due to access blocked by the
CDMA network. Rename RIL_REQUEST_CDMA_VALIDATE_AKEY to
RIL_REQUEST_CDMA_VALIDATE_AND_WRITE_AKEY. This change needs to go in
with the corresponding change in ril.h (1141)
2009-09-29 15:41:14 -07:00
Jim Miller
41e8dc02cd Fix for 2137900: Be more conservative about poking the wakelock.
Updated after review: white space, check for null pattern listener.
2009-09-29 15:33:06 -07:00
Mathias Agopian
45094a34f0 remove dead code 2009-09-29 15:26:42 -07:00
Android (Google) Code Review
0890585008 Merge change I499f8819 into donut
* changes:
  Add density support to layoutlib so that bitmap are scaled if needed.
2009-09-29 18:24:44 -04:00
Android (Google) Code Review
8eb0f34893 Merge change I67285c9a into eclair
* changes:
  Prevent NPE when doing a fillSpecific layout.
2009-09-29 18:19:05 -04:00
Romain Guy
8bcdc0764f Prevent NPE when doing a fillSpecific layout.
Change-Id: I67285c9a314400da11fdf158c413bf05fe6b982e
2009-09-29 15:17:47 -07:00
Android (Google) Code Review
de04cb810f Merge change Ie9f76062 into eclair
* changes:
  Add Gservices flag for Vending doctor download complete timeout.
2009-09-29 18:16:52 -04:00
Android (Google) Code Review
7d9871805b Merge change I19f2928b into eclair
* changes:
  Fix issue 2141503: Keyclick sound doesn't honor volume settings.
2009-09-29 18:12:54 -04:00
Eric Laurent
a2ef57dba9 Fix issue 2141503: Keyclick sound doesn't honor volume settings.
Use music stream volume minus 3 dB for sound effects if volume is not explicitly requested by application.
2009-09-29 15:00:40 -07:00
Android (Google) Code Review
f05f92a242 Merge change Id16e0e13 into donut
* changes:
  Add density value to density enum.
2009-09-29 17:56:16 -04:00
Xavier Ducrohet
d16e0e138f Add density value to density enum.
This is going to be used as constant to both ADT classes and the
layoutlib.

This is integrated from the Eclair branch.
DO NOT MERGE.
2009-09-29 14:55:33 -07:00
Android (Google) Code Review
59b30f6958 Merge change Ia4e59dbb into donut
* changes:
  Add a new IResourceValue that knows about the density.
2009-09-29 17:55:27 -04:00
Xavier Ducrohet
a4e59dbb50 Add a new IResourceValue that knows about the density.
This will allow the layoutlib to resize bitmaps that are
not in the native density of the rendering.

This is integrated from the Eclair branch.
DO NOT MERGE.
2009-09-29 14:54:10 -07:00
Android (Google) Code Review
b80fbd4479 Merge change I24cf40af into eclair
* changes:
  New assets for the status and title bars.
2009-09-29 17:50:01 -04:00
Romain Guy
6f767953ca New assets for the status and title bars.
Change-Id: I24cf40afc7551fd8b1125fe2d386fa03674e1951
2009-09-29 14:48:46 -07:00
Xavier Ducrohet
499f88193d Add density support to layoutlib so that bitmap are scaled if needed.
This is integrated from Eclair branch.

DO NOT MERGE
2009-09-29 14:44:30 -07:00
Evan Millar
49da15f34d Add REQUESTING_PACKAGE_PARAM_KEY.
Change-Id: Iae12c7f029b8efd1811d99d24df9281a8f9a2446
2009-09-29 14:31:52 -07:00
Dianne Hackborn
dc994daed2 am 1d0086d9: Fix issue #2125720 Weather Forecast Widget - graphics do not scale
Merge commit '1d0086d999d56346b90538eb9b141a3744a1e79f' into eclair

* commit '1d0086d999d56346b90538eb9b141a3744a1e79f':
  Fix issue #2125720 Weather Forecast Widget - graphics do not scale
2009-09-29 14:28:28 -07:00
Dianne Hackborn
57e31effa8 am b91024c1: Fix #2101821: Cut labels of menu items in "SnapTell" market app.
Merge commit 'b91024c19c7c3182d926a199ad257b14513bb359' into eclair

* commit 'b91024c19c7c3182d926a199ad257b14513bb359':
  Fix #2101821: Cut labels of menu items in "SnapTell" market app.
2009-09-29 14:28:18 -07:00
Android (Google) Code Review
a39f9188d6 Merge change I9c45753b into eclair
* changes:
  Clean up vCard code.
2009-09-29 17:09:55 -04:00
Android (Google) Code Review
ac35dc4716 Merge change I1cd7d0e5 into eclair
* changes:
  Implement the checkin option in AccountManagerService.dump()
2009-09-29 17:06:57 -04:00
Android (Google) Code Review
d35afcda67 Merge change Ib2c6429d into eclair
* changes:
  border for the non-badge case
2009-09-29 17:06:23 -04:00
Mike Reed
4e03999ca2 if we have a single value for roundrect radius, manually clamp it before drawing.
Skia will clamp the radius independently in X and Y to ensure it is not larger than 1/2 the width (or height).
If the caller to our drawable gives us a single value, we'll assume they want it to be circular, and not an oval.
To do that, we clamp it up front, so we get (possibly smaller) circular corners, rather than potentially
elliptical ones.

This makes the progress bar look "nicer" when it is very thin in one dimension.
2009-09-29 17:02:26 -04:00
Android (Google) Code Review
c78b2bf474 Merge change I905b03af into eclair
* changes:
  New hdpi assets for framework.
2009-09-29 17:01:38 -04:00
Daniel Sandler
5d94052e11 New hdpi assets for framework.
Drop dated 29-Sep-2009.

Change-Id: I905b03af2a55f188d0461dc809a7ec155c8bbddb
2009-09-29 17:00:45 -04:00
Daisuke Miyakawa
a2ba9a1999 Clean up vCard code.
With this change, the vCard composer does not emit any information
about CHARSET until it is really needed for parsing it (e.g. when
non-ascii chacacters are included in some value). This "may" be
effective toward external vCard importers which are not able to
understand non-ascii characters and CHARSET info itself.

Also now vCard composer does not use Quoted Printable until it is
really needed (e.g. until when the composer find non-"7bit"
characters are included in some value. "7bit" is defined in vCard 2.1,
which is "<7bit us-ascii printable chars, excluding CR LF>".

The vCard composer detects duplicate phone numbers, email addresses,
and remove them in default. The duplication would come from
aggregation done by the new ContactsProvider introduced in Eclair.
Even when two Accounts have two exactly same addresses, we cannot
ask ContactsProvider to exclude them since current implementation of
ContactsProvider2#queryEntities() does not acceps Contacts.CONTENT_URI
but only RawContacts.CONTENT_URI, which inevitably returns same
email addresses with different Accounts (ACCOUNT_NAME and ACCOUNT_TYPE
should be different. If not, the original contact itself should have
the duplication).

The vCard composer now detects null returned from queryEntities().
The null value is potentially harmful for vCard file, since it forces
the (old) vCard composer to emit meaningless line like "BDAY:".

Internal Issue number: 2150768, 2151954, 2154235
2009-09-29 13:59:01 -07:00