History log of /packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c51f6eea5642bb79539414d49c38dfe0a4406e9f 28-Aug-2014 Brian Attwell <brianattwell@google.com> Apply card padding when fragment becomes unhidden

Part 2/2. See ag/535716 for part 1.

Bug: 17303217
Bug: 17135027
Change-Id: I38bb34a6a1e52403aaf47bef91148378653acc92
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
0300386156602aa5c93ca5abd8c7c0e20eb5ee9b 26-Aug-2014 Zheng Fu <zhengfu@google.com> Add padding to join contact list view

Several changes are involved:
1. Add padding to all the contact list views of ContactSelectionActivity so
they can be contained in a centered card in sw600dp-land and sw720dp mode.
2. Make the tab indicator thicker on tablets.
3. Make tab text size, frequently contacted title text size, list item text
size and list item line space bigger on tablet.

Bug:16553819
Bug:17132856
Bug:17157006

Change-Id: I5f5a53e33f8ea090573edb1c7f23ebac7260190d
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
589fb01e4cb45824b11edfdb15393a0dd30cebd6 14-Aug-2014 Zheng Fu <zhengfu@google.com> Set paddings on the portrait contact list view

Bug: 16568715

Change-Id: I3750285bf3354c4df1ea58a5cce30ecf7bcdcbcd
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
5b221086e4b994d6325d7396625900a79e27ae51 27-Jun-2014 Sai Cheemalapati <saicheems@google.com> Change lists' landscape layout on 7" screens.

The favorites and all fragments now have similar
layout/margins to the new contact activity.

Change-Id: Ide74ac16057e335d75495bdd355e360a0859d580
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
130e5f6583c9144c7e3c6959d48edd73971e9571 29-May-2014 Brian Attwell <brianattwell@google.com> Don't use ContactDialAdapter#STARRED_DIALER_ONLY

The code is dead inside Contacts anyway.

Change-Id: I76a8d435030c028c8e228ff8a47b2616674d44d2
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
84a60b16755f4e1f8a46a1d545384c76d26a6d8d 08-Feb-2014 Jay Shrauner <shrauner@google.com> Check for null cursor in callback

Check for null cursors returned to onLoadFinished()

Bug:14165361
Change-Id: I12fd1ed893f4cb48ff3c8fcb88ffc4c100c4205b
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
e776d0366d5bf2f93a0cd0f14e48804e564bccf2 06-Nov-2012 Chiao Cheng <chiaocheng@google.com> Further clean-up of PhoneFavoriteFragment.

Moving common dependencies from Contacts to ContactsCommon.

Bug: 6993891
Change-Id: I06ee1f1fab339f4960b57cae324b9d64b0221072
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
c8dd78c595cfaf9766e59a2df012b16d6c05b213 31-Oct-2012 Chiao Cheng <chiaocheng@google.com> Moving dependencies of PhoneFavoriteFragment.

Move common classes from Contacts to Contacts Common.

Bug: 6993891
Change-Id: Icff2a57875c47a5141842ca3ab980cfc76931cb6
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
79a6b5d3a885bc508b4b98c92a946fe12643c444 16-Oct-2012 Chiao Cheng <chiaocheng@google.com> Sharing ContactPhotoManager between dialer and people.

Move ContactPhotoManager and dependent classes to ContactsCommon so it can be
shared by dialer and people.

Bug: 6993891
Change-Id: Ib37af58718850d6d5515bbf3e46aca9fb95f9ee8
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
e0b2f1e2d01d1ac52ba207dc7ce76971d853298e 12-Jun-2012 Chiao Cheng <chiaocheng@google.com> Global import order fix.

Changed import order to be in accordance with style guide:
http://source.android.com/source/code-style.html#order-import-statements

Static imports will be placed at the top since most existing files used that
convention. It is also a style that can be handled by both eclipse and intellij.

Change-Id: Ia7013c7a2d88e5fefb8f4975d121f7fcd3fcc462
/packages/apps/Contacts/src/com/android/contacts/list/ContactTileListFragment.java
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