4188 Commits

Author SHA1 Message Date
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
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
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
Cary Clark
4fbf81bc94 check for null item in web history in saveState
fixes http://b/issue?id=215369
2009-09-29 16:21:25 -04:00
Android (Google) Code Review
7957eaa69f Merge change Iee9b30d3 into eclair
* changes:
  New icons
2009-09-29 16:12:52 -04:00
Jason Parks
1cd7d0e591 Implement the checkin option in AccountManagerService.dump()
When the dump is requested by the checkin server the AccountManagerService will now dump each account type and the number accounts that are registered/active for that account type.
2009-09-29 13:06:10 -07:00
Mike Cleron
ee9b30d394 New icons 2009-09-29 13:01:09 -07:00
Cary Clark
eaa18dec91 scroll text field with touch
Add a hidden public method to text/method/Touch.java that
computes the maximum scroll amount for a text field.

Remove 'faketouch' code; it causes a crash and is
no longer required.

Pass the percentage of the current scroll from the UI
thread to webkit. One additional fix is to allow very
small movements which are currently disallowed because
they are smaller than 'smallerSlop' in WebTextView.java.

Companion fix is in external/webkit.

Fixes http://b/issue?id=2133049
2009-09-29 15:42:37 -04:00
Android (Google) Code Review
f993fefc3b Merge change Icbd74742 into eclair
* changes:
  EventLog when a database file is deleted due to corruption.
2009-09-29 15:15:21 -04:00
Jeff Hamilton
a722d5b1bd EventLog when a database file is deleted due to corruption.
Change-Id: Icbd747425e97e022b91fbaf64579982d802524bf
2009-09-29 11:50:32 -07:00
Leon Scroggins
d84e7d53d3 Allow scrolls to continue when getting a new content size.
In recordNewContentSize, rather than aborting any scrolls in progress,
find the final coordinates of the scroll and pin them to the new size,
and let the scroll continue.

Fixes http://b/issue?id=2141960

Change-Id: I7bfa444b52e70a0ca817221f379df77efc3496b7
2009-09-29 14:43:05 -04:00
Dianne Hackborn
b6eaaa2ab2 Clean up cacheColorHint to be better controlled by the theme.
Fixes generic lists in dialog themes, for example.

Change-Id: I0ea1cae1641d8ab3756179ce80245ed0df942115
2009-09-29 11:02:39 -07:00
Android (Google) Code Review
490d5222ae Merge change I6cacaa0d into eclair
* changes:
  Hack to fix issue #2125365: Sports Trivia compatability with Eclair
2009-09-29 13:44:47 -04:00
Mark Wagner
b2c6429d4d border for the non-badge case
If we don't have a uri/email/phone then we do not display the normal
fast track badge.  But in that case we now have an alternate background/border
rather than no background/border.
2009-09-29 09:49:50 -07:00
Android (Google) Code Review
7745e035c9 Merge change I94c715d6 into eclair
* changes:
  Skip requestRectangleOnScreen for WebTextView during zoom animation. If it is in edit mode, we already adjust WebTextView in the end of zoom animation.
2009-09-29 11:19:48 -04:00
Android (Google) Code Review
7db7e6a00c Merge change I17f45d35 into eclair
* changes:
  Unhide SearchManager.SUGGEST_PARAMETER_LIMIT
2009-09-29 03:35:53 -04:00
Bjorn Bringert
86917dbb95 Unhide SearchManager.SUGGEST_PARAMETER_LIMIT
Both GlobalSearch and the search dialog now pass
SearchManager.SUGGEST_PARAMETER_LIMIT as a query parameter to all
suggestion sources. Exposing this allows suggestion sources
to return only the number of results that the client requires.

Fixes http://b/issue?id=2150992

Change-Id: I17f45d35e8f302b11812f4bb6fee40b31dc15707
2009-09-29 08:14:35 +01:00
Dianne Hackborn
7eca687c2e Fix bug where we would return null with disabled components.
Change-Id: I1624a42803f1c4b02736f558a8eeeeba2890667e
2009-09-28 23:57:05 -07:00
Grace Kloba
94c715d662 Skip requestRectangleOnScreen for WebTextView during
zoom animation. If it is in edit mode, we already adjust
WebTextView in the end of zoom animation.

Fix part 1 of http://b/issue?id=2147168
2009-09-28 23:23:53 -07:00
Dianne Hackborn
94d691499b Fix issue #1930911: Crash in system process
Ensure that we do all the work for removing a window's view
hierarchy in that window's thread.

Change-Id: Ib7c1701aee6b541b75fd1a680f6987f959f2ba88
2009-09-28 22:14:42 -07:00
Mike Cleron
52f0a64952 Finish off java API to allow fading scrollbars 2009-09-28 18:31:09 -07:00
Jeff Sharkey
8f76734d1e Fix docs breakage. 2009-09-28 18:22:46 -07:00
Jeff Sharkey
ff18bbf835 Separate API for vCards through openAssetFileDescriptor().
Previously we overloaded Contacts.CONTENT_URI to return
vCard-formatted Contacts entries.  To fix http://b/2138790
this is a separate API that returns a well-known MIME-type.

Also helps fix http://b/2078399 by adding OFFICE_LOCATION.
2009-09-28 17:44:53 -07:00
Dmitri Plotnikov
13a90abcae Adding status update attribution to ContactHeaderWidget
Change-Id: I677f8a8d805c68d95ee56cd1119cc3e97c6ae073
2009-09-28 17:40:28 -07:00
Dianne Hackborn
afa78967b8 Hack to fix issue #2125365: Sports Trivia compatability with Eclair
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.

Change-Id: I6cacaa0dd26d40ee3ad959bed0028678d6e9016e
2009-09-28 17:33:54 -07:00
Android (Google) Code Review
6e98f7e3fb Merge change Ie6a95736 into eclair
* changes:
  Fix artifact in tab drawing.
2009-09-28 20:15:44 -04:00
Android (Google) Code Review
f36a2bb59b Merge change Ibeb22f37 into eclair
* changes:
  Call the proper variant of markAsContacted.
2009-09-28 20:09:57 -04:00
Android (Google) Code Review
1cff747617 Merge change Ie7d26695 into eclair
* changes:
  Modify the "active chats" uri to not overlap with other uris.
2009-09-28 20:05:55 -04:00
Jeff Hamilton
56a108220f Call the proper variant of markAsContacted.
Change-Id: Ibeb22f37bd079b1a965f5b350ac7ca6e77eac00f
2009-09-28 16:57:37 -07:00
Android (Google) Code Review
3f48d31b74 Merge change I228d52db into eclair
* changes:
  Three changes.
2009-09-28 19:47:28 -04:00
Daisuke Miyakawa
f2e0d7bb78 Three changes.
- Add FOR_EXPORT_ONLY to Data column.
- Make VCardComposer use Contacts instead of RawContacts.
- Make VCardComposer honor FOR_CONTACT_ONLY regardless of
  the intention of any caller, which makes composer unable to
  compose any contact with "is_restricted" flag, which is unseen
  from outside the contacts provider.

Internal Issue number: 2147248, 2143207
2009-09-28 16:44:13 -07:00
Android (Google) Code Review
5d259d3bfd Merge change Id29ec50d into eclair
* changes:
  Do not crash appwdiget host when a pending intent send fails.
2009-09-28 19:25:53 -04:00
Romain Guy
995d8561a6 Do not crash appwdiget host when a pending intent send fails.
Change-Id: Id29ec50dcb4d51589b9732ace6d505fcea9cc787
2009-09-28 16:24:35 -07:00
Android (Google) Code Review
c031981f23 Merge change I36ad03e1 into eclair
* changes:
  Delegate exclude mimetypes to FasttrackBadgeWidget
2009-09-28 19:03:04 -04:00
Android (Google) Code Review
ebd45e5ca9 Merge change I55edce63 into eclair
* changes:
  Fix issue #2149145: Safe Mode does not work on Sholes device
2009-09-28 18:11:28 -04:00
Mark Wagner
e7d266957d Modify the "active chats" uri to not overlap with other uris. 2009-09-28 15:10:57 -07:00
Tadashi G. Takaoka
36ad03e1b7 Delegate exclude mimetypes to FasttrackBadgeWidget
Internal Bug: 2138745
2009-09-28 14:58:49 -07:00
Mike Cleron
fe81d386a8 Remove obsolete links; start at a method to turn on fading scrollbars 2009-09-28 14:34:14 -07:00
Romain Guy
b4c547a56c Fix possible NPE in AbsListView.positionSelector().
ListView was being reckless and calling the method with a null object in some
situations.

Change-Id: Ibb595a1ff6f916c699e4af55450966dd7fd8c156
2009-09-28 13:45:00 -07:00
Dianne Hackborn
6af0d50a8e Fix issue #2149145: Safe Mode does not work on Sholes device
The APIs for checking whether keys are held down now also look
at virtual keys.

However it turns out there is less than a second between the time we
start the input thread and check for safe mode, so there is not enough
time to actually open all of the devices and get the data from them
about the finger being down to determine if a virtual key is down.

So now you can also hold DPAD center, trackball center, or s to
enter safe mode.  Also give some vibrator feedback.

Change-Id: I55edce63bc0c375813bd3751766b8070beeb0153
2009-09-28 13:40:45 -07:00
Evan Millar
26787ada59 Fix artifact in tab drawing.
The tab nine-patch assets were 2 pixes too tall. I trimmed them down.

Change-Id: Ie6a95736578c42997136eb9036b0f1d23cf2b6d7
2009-09-28 13:13:46 -07:00
Nick Pelly
aef439e6f8 Move android.bluetooth.ParcelUuid to android.os.ParcelUuid
Change-Id: I564429d5c5b6a5372b6ff26a53b0d7e518b53631
2009-09-28 13:06:22 -07:00
Android (Google) Code Review
2dfa6edcd0 Merge change Ida50e915 into eclair
* changes:
  Pass limit=50 to all suggestion sources.
2009-09-28 15:47:56 -04:00
Bjorn Bringert
3fc7c67de1 Pass limit=50 to all suggestion sources.
Should mitigate http://b/issue?id=2149158
"Bad suggestions behavior within contacts app
search for 10k contact db"

Change-Id: Ida50e9157c3ce46fc7892ef09a67da9f4008e665
2009-09-28 20:32:13 +01:00
Android (Google) Code Review
9d686c9384 Merge change 27474 into eclair
* changes:
  Don't crash search when getKeyDispatcherState() is null
2009-09-28 14:46:43 -04:00