History log of /packages/apps/Dialer/src/com/android/dialer/list/PhoneFavoriteSquareTileView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fc6ed03fb6bd06cd0e0865d1e8a8cb065d5511f8 23-Jun-2014 Jeff Davidson <jpd@google.com> Fix broken R references in Dialer.

Change-Id: I34dfe373bb6e340bf0f89a4aa31bcdac32d40135
/packages/apps/Dialer/src/com/android/dialer/list/PhoneFavoriteSquareTileView.java
482615d082a58b88d9708076202c8114a6019e7d 23-May-2014 Yorke Lee <yorkelee@google.com> Remove elegant text height padding from contact tiles

This is adding too much padding to contact tile names

Bug: 15196725
Change-Id: Ifdd9bc15bb9d75fd21fc7bce090b4479f54ec5b9
/packages/apps/Dialer/src/com/android/dialer/list/PhoneFavoriteSquareTileView.java
efb2d9c2e32ca4ed434ff785c4b3d18c9e08db6d 18-Apr-2014 Yorke Lee <yorkelee@google.com> Use PhoneFavoritesTileAdapter directly in GridView

This CL moves the adapter that contains the speed dial contacts into
its own GridView that lives in PhoneFavoritesFragment. This is the
first step to splitting up PhoneFavoritesMergedAdapter into
a list of shortcuts and a grid of contacts, and also get rid of the
convoluted ContactTileRow logic within PhoneFavoritesTileAdapter, to
facilitate a future transition to RecyclerView.

* PhoneFavoritesTileAdapter now directly returns PhoneFavoriteTileViews
rather than ContactTileRows.
* Deleted a lot of unnecessary complicated logic within
PhoneFavoritesTileAdapter that had to do with ContactTileRows.
* Simplified and rewrote animation logic so that animations now perform
as expected within the GridView. In the future this may not be necessary
if RecyclerView is used.
* Rewrote layout/measurement logic for PhoneFavoriteTileView. It now
determines its height directly based on what its measured width is.
* Replaced PhoneFavoritesListView in PhoneFavoriteFragment with a
standard GridView
* Delete stale PhoneFavoriteTileAdapter tests

Notes:
Call shortcut cards are now temporarily missing due to this change

Bug: 13963734
Bug: 13933092
Bug: 13419223

Change-Id: I71e8970667589e4024d00e9af2c8b45c843c5db1
/packages/apps/Dialer/src/com/android/dialer/list/PhoneFavoriteSquareTileView.java
4661327a224545aa8f11f9b935800020d8bc2518 25-Feb-2014 Yorke Lee <yorkelee@google.com> Always show overflow icon for quick contacts affordance

Remove the star icon used to bring up quick contacts, and in its
place, always show the overflow icon.

Bug: 13177113
Change-Id: I88e99b7c45da10013f4bdff879c106fac9e23f89
/packages/apps/Dialer/src/com/android/dialer/list/PhoneFavoriteSquareTileView.java
765734c1d602c9a6d166d653b3684e6408b771c4 11-Feb-2014 Yorke Lee <yorkelee@google.com> Switch favorites screen to grid layout

* Add logic to PhoneFavoritesTileAdapter so that it now supports an
unlimited number of tiled rows.
* Tiles now have a configurable height to width ratio.
* Fix animations so that tiles moving up and down rows appear to animate
in from the correct direction. Tiles moving to the row above should animate
in from right to left. Tiles moving to the row below should animate in from
left to right.
* Update the number of columns in the grid to 2.
* Update layout of individual tiles to match redlines from UX.
* Tweak font sizes for tiles
* No longer truncate names in tiles
* Tiles have a 2-3 height to width ratio
* Update assets and layout for favorite and more info icons
* Add content description for the favorite button
* Add tests for PhoneFavoritesTileAdapter

Change-Id: I50b298f0941698985d281f13e6a87c5a9b613efa
/packages/apps/Dialer/src/com/android/dialer/list/PhoneFavoriteSquareTileView.java
9bead9c01ab09ebfbd1c2be8555d8c8d4e3cf6bd 21-Sep-2013 Christine Chen <christinech@google.com> Adds star to indicate favorite contacts

- For squared tiles, stars will replace info icons when a contact is a
favorite contact. And clicking on either star or info icon will bring
up the quick contact card.

Bug: 10862067
Change-Id: Ie0ad9e7e5969a70c3bafef5c2bb47fb84cd7ffdb
/packages/apps/Dialer/src/com/android/dialer/list/PhoneFavoriteSquareTileView.java
68a14f2ce071617743b856d14b1f7e90e0e99bcd 30-Aug-2013 Yorke Lee <yorkelee@google.com> Show first name only for Dialer favorites

Bug: 10294357
Change-Id: I0fc8b9bbfb6c54fca800c2ad91f0898db93feedf
/packages/apps/Dialer/src/com/android/dialer/list/PhoneFavoriteSquareTileView.java
d79227c12c925806fe2a40b3d7ac5a6a53096701 17-Aug-2013 Yorke Lee <yorkelee@google.com> Merge "Use swipe helper for swiping" into klp-dev
11ee58b1b8711c6d3b2ade6a71835b6c102a08a7 13-Aug-2013 Yorke Lee <yorkelee@google.com> Use swipe helper for swiping

* Use SwipeHelper for swiping, in SwipeableListView for regular favorites.
SwipeHelper and SwipeableListView are copied from DeskClock, with minor
modifications (to prevent swiping or call log items, and all contact buttons).
* Make ContactTileRow implement SwipeHelperCallback so that tiled favorites
can be swiped.
* Remove PhoneFavoriteGestureListener
* Add selectable item backgrounds to undo buttons on removal dialog
* Moved common code shared by PhoneFavoriteRegularRowView and
PhoneFavoriteSquareTileView to PhoneFavoriteTileView
* Standardize layout ids for phone_favorite_regular_row_view and phone_favorite_tile_view
* Add long click listener to PhoneFavoriteTileView to trigger the start of a drag
and drop operation
* Remove any contact entries that are in the removal dialog phase if the app is paused

Bug: 10257340
Bug: 10341201
Bug: 10328093
Bug: 10290239
Bug: 10262721
Bug: 10257340

Change-Id: I20448048b658759f6de75d643d2150be5a6ba8af
/packages/apps/Dialer/src/com/android/dialer/list/PhoneFavoriteSquareTileView.java
34d5488f5db8cb005ff092cd1079513278be2722 16-Aug-2013 Yorke Lee <yorkelee@google.com> Make info icon launch quick contact

Bug: 10350012
Change-Id: I3eaed3d43bc598175d29b305180e847d0200b4f4
/packages/apps/Dialer/src/com/android/dialer/list/PhoneFavoriteSquareTileView.java
316b4713b2f8f26f393ecc4bb4760512a4a9f096 16-Jul-2013 Christine Chen <christinech@google.com> Adds Drag and Drop UI to the Dialer main view.

- Adds drag and drop listner.
- Changes the FavoritesTileAdapter to use an array stored in cache to
populate the view.
- Adds animation for drag and drop.
- Adds swipe to delete an entry.

Change-Id: I0717fb3d256b2ab2353f86a998de07edb24e9b4c
/packages/apps/Dialer/src/com/android/dialer/list/PhoneFavoriteSquareTileView.java