History log of /packages/apps/Contacts/src/com/android/contacts/list/PhoneFavoriteMergedAdapter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
34b901ca7781cf7fdd4f6275ef98ae73c95749c2 18-Oct-2011 Daisuke Miyakawa <dmiyakawa@google.com> Filter and header refactoring.

- have AccountFilterUtil to unify account filter implementations.
- modify account header on top of search screens
Now it is bigger than before (40dip > 32dip), and uses people's
blue text color instead of gray (issue 5451033)
- introduce ContactListSeparatorTextViewStyle and use it everywhere

Bug: 5269692
Bug: 5451033
Bug: 5429203
Change-Id: Ibe810ff9adaafc74d53b0dcf171a3853f4be039a
/packages/apps/Contacts/src/com/android/contacts/list/PhoneFavoriteMergedAdapter.java
2ca5a25a91b584b4a74ebe4a54b9c2095bce9132 20-Oct-2011 Daisuke Miyakawa <dmiyakawa@google.com> am c6779501: Fix wrong index calculation around enabled

* commit 'c6779501ce47f95f6271c3a468071cc401368f60':
Fix wrong index calculation around enabled
c6779501ce47f95f6271c3a468071cc401368f60 20-Oct-2011 Daisuke Miyakawa <dmiyakawa@google.com> Fix wrong index calculation around enabled

All the other "localPosition" in the file are fine.

Bug: 5485088
Change-Id: Ib8f10964e7a52b35117d2c386e7af2c57367802e
/packages/apps/Contacts/src/com/android/contacts/list/PhoneFavoriteMergedAdapter.java
2eb1be625832f77ba9c6a3e9dc13b2ecf3f25214 15-Oct-2011 Daisuke Miyakawa <dmiyakawa@google.com> Ellipsize texts in contacts list correctly

Measure correct width during onMeasure() so that each TextView
can decide if text should be ellipsized.

Also use View's padding mechanism instead of managing our own
padding values.

Bug: 5265348
Change-Id: I2696a6099ab176dd27117a802997d0cceb2ed153
/packages/apps/Contacts/src/com/android/contacts/list/PhoneFavoriteMergedAdapter.java
1dff6b60c28fa34e477b84c95c4bbe6c9b482416 11-Oct-2011 Daisuke Miyakawa <dmiyakawa@google.com> [Phone] Conditionally show fast scroller on favorite

Bug: 5438604
Change-Id: If04d438a4b2d3d3218e422f06ec3008ccb6caf7f
/packages/apps/Contacts/src/com/android/contacts/list/PhoneFavoriteMergedAdapter.java
5db4f136163675105813900b1f3f7da48bde97b6 10-Oct-2011 Daisuke Miyakawa <dmiyakawa@google.com> [Phone] Fix layout for phone favorite screen

- Have additional padding between headers
- Use blue color for filter header in phone favorite
- Have bigger texts for A-Z section header
- Have photos on left in "phone search" screen
- Add "New Contacts" menu in favorite screen

Because LayoutFilter isn't ready on Fragment#onAttach(),
we need to have initAdapters() on onCreateView(), which looks
strange. However it will need much work to move every layout
logic to PhoneFavoriteMergedAdapter, let's just have a TODO
for that.

Bug: 5432231
Change-Id: I19b0849a6ec1fd38bec259859753dab13b88cc12
/packages/apps/Contacts/src/com/android/contacts/list/PhoneFavoriteMergedAdapter.java
9b9104874ec0680ac60cb0527d127fc1c34bdb7e 30-Sep-2011 Daisuke Miyakawa <dmiyakawa@google.com> [Phone] New phone favorite tab.

This change introduces yet another fragment for a special
"phone favorite + phone all" screen and uses it as Phone UI's
"Favorite" tab instead of using ContactTileListFragment.

The new fragment merges two adapters into one adapter called
PhoneFavoriteMergedAdapter. To keep layout consistency between
two adapters, the new adapter tweaks original Views on demand,
especially paddings for those Views.

Now that "favorite" screen contains "all phone" section, we should
treat previous "all phone" screen (PhoneNumberPickerFragment) as
"phone search" screen instead. To do that, this change also replaces
"ALL CONTACTS" strings/icons with "search" magnifying glass icons.
IME is now shown up upon the search button click again.

Bug: 5359840
Change-Id: I04cb2433882d74f1e826c02991a5a54c3be993ab
/packages/apps/Contacts/src/com/android/contacts/list/PhoneFavoriteMergedAdapter.java