History log of /packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2871d61514f014926d991e8b037828c67438e522 01-May-2012 Maurice Chu <mochu@google.com> Made Favorites view in portrait orientation in 7" look like phone

Added two new configuration parameters in resources:
- (integer) contact_tile_column_count_in_favorites - which specifies the
number of columns for the image thumbnails in the favorites tab
- (bool) config_use_two_panes_in_favorites - indicates whether favorites
should be shown in two-pane mode

Bug: 6379260
Change-Id: I41100b2aee507e0b9a2a37e9149b944a4831a3e9
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
2fc4de31fe2d6a261d3eeaff69ea944a5383003e 24-Apr-2012 Maurice Chu <mochu@google.com> Added menu option to clear frequents in favorites tab of Phone and People

The clear frequents menu option is only visible when there are items in
the frequently contacted list. When the user selects the menu option, a
confirmation dialog is shown to verify whether to actually clear frequents.

New ClearFrequentsDialog class created in a new com.android.contacts.dialog
package that is shared by both Phone and People apps to show the
confirmation dialog of whether to clear frequents.

Bug:5475575
Change-Id: I876d3fe15f16635570f3ecb7cd8ed2a19227e316
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
2f77c85543e6c497e63cd0e216b70e58c1d13ec3 31-Mar-2012 Daniel Lehmann <lehmannd@google.com> Various refactorings to prepare proper big picture loading

- Added a function to load a picture with ideal sampleSize
- Renamed xmls/java files for tiles
- ContactTileView is now abstract and has subclasses for each use-case
- Added mechanism to estimate the image-size in a tile before layout
- Changed the cross-fade in ContactPhotoManager to apply the fade to the
current picture instead of the default avatar. Reduces flickering

Bug:6202229

Change-Id: Ic8636d1b3349473163fb2424b5f74476fd435fb5
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
4e05a29c9b05c8cb74972aa5b9fe55fe35d7f45d 04-Jan-2012 Josh Gargus <jjosh@google.com> Call correct number of frequently-called contact.

When you tap on a frequent-called contact in Dialtacts, it either
calls the default number for that contact (if one is set), or pops
up a disambiguation dialog. The desired behavior is to dial the
the number that is explicitly displayed in the list-item.

Bug: 5790357
Change-Id: I2ea14abab9d0aa79d4517e7221796c1886a8f947
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
49b007b65c661daf67cacc1d6bb413f195d3231e 15-Dec-2011 Katherine Kuan <katherinekuan@google.com> Use initLoader instead of restartLoader for ContactTileListFragment

Since we want the same DisplayType for the fragment on orientation
change, it is okay to initLoader and re-use the same cursor.

Bug: 5572297
Change-Id: I68bf0d004c936bee226bf11dcd24220b81643540
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
7a700cf798a19a8452b8671f643a05336f63f611 28-Oct-2011 Katherine Kuan <katherinekuan@google.com> Launch quick contacts after selecting frequent contact on tablet

- Previously clicking on a frequently contacted person
would request the contact detail fragment to load that contact,
but the app wouldn't switch tabs or update the selected contact
in the contact list.

- Pass the Rect of the target view to the listener to launch quick
contacts

Bug: 5236515
Change-Id: Ic2d888ed02f8fd2b5a47d49f99cc96755bf55d37
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
f7689c377caba183daa41856d01a8c1a2f7ba811 24-Oct-2011 Katherine Kuan <katherinekuan@google.com> Show "no contacts" in frequent list on tablet

- This was already merged in master
https://android-git.corp.google.com/g/#/c/144789/
but needs to be cherry-picked to ics-mr1.
We can't mark it as "do not merge" because
it still needs to be merged to ics-mr1-plus-asop.
When submitting, I'll stand by to manually
say skip if the automerger detects a conflict
when merging to master.

- We need to show "no contacts" under the
"frequently contacted" header in the frequent
fragment in the People app on the tablet.

Since that header was originally the 0th item
in the ListView, to show an empty view we would
either have to:

1) Add a second fake item in the ListView that shows
"No contacts". This requires either returning
view type "empty view" or view type "frequent"
for position = 1 based on the cursor count.
Checking the cursor in getItemViewType()
would make this more than a UI change.

2) Move the "Frequently contacted" header
outside the ListView and make the ContactTileAdapter
show the empty view state when there are 0
frequently contacted people (instead of the
existing implementation which fakes it by returning
1 when the cursor count is 0).

- This CL uses the second option so that we don't
need to add a cursor dependency in getItemViewType()
of ContactTileAdapter.

- Added a TODO because UI changes like this highlight
the fact that we should do some refactoring to
ContactTileAdapter and ContactTileListFragment
so that it's easier to add specific functionality to
the favorites, frequent, or group list.

Bug: 5485640
Change-Id: Ib365543892f452cc9c87406ed2d04c1b5aad4b2c
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
37efa3aeea2e26fdee640b797efc39279500c4da 19-Jul-2011 Frank Sposaro <sposaro@google.com> Added empty states for ContactTileList.

Change-Id: Id1f90d994059f6ba8193129e7e552a632516364d
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
0c07935a3d838ed24db7d20df839be97fe4c625a 19-Jul-2011 Frank Sposaro <sposaro@google.com> ContactTiles are using new phone only Uris.

Bug: 4904403
Change-Id: Ib597ceee7f26ca77f8e5f050bfbfccd421a675a5
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
7979ea27c046dfc2d9305b3282233046acef6ec4 15-Jul-2011 Frank Sposaro <sposaro@google.com> Enhanced performance in ContactTileAdapter.

-Contacts Load faster because now saving cursor and not copying into ArrayList.
-ContactTileLoader factory performs more optimized queries.

Bug: 4901406
Change-Id: I91902a99252e99db081d4437066a74f9fa21f5d1
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java