OSDN Git Service

Single query with social, IM rows, heavy recycling, large.
authorJeff Sharkey <jsharkey@android.com>
Wed, 30 Sep 2009 21:57:07 +0000 (14:57 -0700)
committerJeff Sharkey <jsharkey@android.com>
Thu, 1 Oct 2009 11:56:16 +0000 (04:56 -0700)
commit735e8b11d8e370f24e9b8ac5329a1985c879bbf2
tree2e7f7c6e28c781ca57eeddfb5e0a60234e812f2c
parent21971cf96d1a93e428b4efd4d63014e9ce426c14
Single query with social, IM rows, heavy recycling, large.

Moved to a single query when showing FastTrack, instead of
previous three.  This change also limits photos so we only
request when needed for large mode, and even then only the
super-primary photo.  Helps fix http://b/2134623

New query also brings in new social status API along with
attribution lines, fixing http://b/2149038

Change also adds any IM rows under contact, or treats
Email entries with presence as Google Talk IM rows, which
fixes http://b/2087402

When selecting chiclet icons, prefer a specific set of
built-in platform and system apps.  This does /not/ replace
the system intent dialog to actually select an app when
there are multiple matches.  Fixes http://b/2139517

Heavy recycling strategies for preserving layouts.  This
uses a ActivityManager trick to keep FastTrack pre-warmed
behind any other tasks.  It also recycles inflated chiclets
between showings.  With these and other optimizations, we
now show 60% faster.  Fixes http://b/2134623

Implements large FastTrack layout, fixing http://b/2126683

Switched import/export icons to correct DPI, corrected HDPI
FastTrack shadow asset, and fixed dialog launching logic in
ContactsListView.
14 files changed:
AndroidManifest.xml
res/drawable-hdpi-finger/ic_menu_import_export.png [moved from res/drawable-mdpi/ic_menu_import_export.png with 100% similarity]
res/drawable-hdpi-finger/quickcontact_drop_shadow.9.png
res/drawable-mdpi-finger/ic_menu_import_export.png [moved from res/drawable-hdpi/ic_menu_import_export.png with 100% similarity]
res/layout-finger/quickcontact.xml
res/layout-finger/quickcontact_header_large.xml
res/layout-finger/quickcontact_header_med.xml
src/com/android/contacts/ContactsListActivity.java
src/com/android/contacts/model/EntityDelta.java
src/com/android/contacts/model/ExternalSource.java
src/com/android/contacts/ui/EditContactActivity.java
src/com/android/contacts/ui/QuickContactActivity.java
src/com/android/contacts/ui/QuickContactWindow.java
src/com/android/contacts/util/Constants.java