summaryrefslogtreecommitdiff
path: root/res
AgeCommit message (Collapse)Author
2014-05-05Merge "Move more Dialpad resources to ContactsCommon"Yorke Lee
2014-05-05Merge "Set primaryColorDark in Dialer's theme"Adrian Roos
2014-05-05Move more Dialpad resources to ContactsCommonYorke Lee
Change-Id: Ifc0c2d9cbccc0e972a23edc045fef57c63c9723b
2014-05-05Set primaryColorDark in Dialer's themeAdrian Roos
Change-Id: I882d845959932500726a95d07da4c08b9c5803e4
2014-05-05Move Dialpad-related resources to ContactsCommonYorke Lee
Change-Id: Ide81e00c798f3c2b9a4b4bc46a8ca8ac2971d2ca
2014-05-02Refactor dialpad into its own viewYorke Lee
Initial work needed to make the dialpad shareable within Dialer and InCallUI. This CL refactors the code that controls the appearance of the dialpad into a new custom view called DialpadView. The parent activity/fragment is still responsible for assigning listeners and handling event callbacks from the DialpadView. Change-Id: I11ab8159619413caf1c3d8fa16fff475b822633b
2014-05-01Merge "Remove tab colors and drawables to ContactsCommon."Andrew Lee
2014-05-01Remove tab colors and drawables to ContactsCommon.Andrew Lee
These are being moved there to make it easier for InCallUi to reference and reuse. Bug: 14108639 Change-Id: Id4ad1bee95e3f18ee436db527e8fde6e90e5c013
2014-05-01Merge "Use EditText for search in ActionBar"Yorke Lee
2014-04-30Fix font scaling problems in DialpadYorke Lee
Change-Id: I49ae1763782529ad3ada03bb92b843b5608c3139
2014-04-30Use EditText for search in ActionBarYorke Lee
SearchView is too limited in terms of customizability for the kind of UI styling we are trying to do. All we really need is a space to enter text into, so use a EditText embedded in a custom ActionBar view instead. Bug: 13932490 Change-Id: I7081684c46b29b416dd6d0e5fcff249ee6f00405
2014-04-29Merge "Import translations. DO NOT MERGE"Baligh Uddin
2014-04-28Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I604b4b5297ee0b5f4502802324a3bf52d8fb4da5 Auto-generated-cl: translation import
2014-04-28Merge "Add and use OverlappingPaneLayout"Yorke Lee
2014-04-28Merge "Add list item background color."Andrew Lee
2014-04-28Add list item background color.Andrew Lee
Bug: 13956531 Change-Id: I1c39bc89179f9b6f15c20b908a49a7aabe8f05c6
2014-04-25Use ShapeDrawable for floating action buttonYorke Lee
Change-Id: I27089e7a2c1dcab6b3cee3235dc7b12e371c3f7b
2014-04-25Add and use OverlappingPaneLayoutYorke Lee
Add a new custom layout class called OverlappingPaneLayout that allows for the ViewPager to slid above the call shortcuts in ListsFragment. For now, only the ViewPagerTabs view is made draggable - pending further nested scrolling support from the framework. Bug: 14234101 Change-Id: I95406005226f614524385f04566628446e782d22
2014-04-25Animate floating action buttonYorke Lee
DialtactsActivity now implements ViewPager.OnPageChangeListener, so that it can animate the floating action button in response to page changed events in ListsFragments. Because ViewPagerTabs also needs to listen to page changed events and ViewPager only supports one OnPageChangeListener, ListsFragments is now in charge of listening to page changed events from ViewPager and firing off the same events to multiple OnpageChangedListeners Bug: 14281810 Change-Id: Ic9b7ca8669d3a9cc0a997a84afe6788d6fd51bb9
2014-04-24Merge "Remove floating action bar constants and configurations method."Andrew Lee
2014-04-24Remove floating action bar constants and configurations method.Andrew Lee
These have been moved to ContactsCommon, and are now invoked in Dialer from ContactsCommon. Bug: 13956531 Change-Id: If8f97d8700b6b9549c43636b4ceb64adf37e6894
2014-04-24Merge "Hide actionbar title text in activity preview"Yorke Lee
2014-04-24Merge "Import translations. DO NOT MERGE"Baligh Uddin
2014-04-24Merge "Add shadows to call shortcut cards"Yorke Lee
2014-04-23Hide actionbar title text in activity previewYorke Lee
Bug: 14258061 Change-Id: Icb016476162362adf2476f3cba05672aa4f12a18
2014-04-23Add shadows to call shortcut cardsYorke Lee
Change-Id: I9bf8dba8a0cc54a18b0d465b11b60ca297cf4a12
2014-04-23Add floating dialpad action buttonYorke Lee
* Replace fake action bar at the bottom of the screen with a floating action button which casts a shadow. * Remove the now unused mDialpadOverflowMenu button in DialtactsActivity * Modify dialpad layout to add a bottom row of buttons which provide access to the add contact button and overflow menu * Fix dialpad layout so the heights applied in XML are actually respected - previously they were being ignored and each dialpad key was being assigned the height of MATCH_PARENT Bug: 13932988 Change-Id: I6e48c00c5ceeeffed142c3dd259e630d6daf8111
2014-04-23Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I112557892343a6baab4629cc9e918faf66988984 Auto-generated-cl: translation import
2014-04-22Merge "Delete use of list_item_divider."Andrew Lee
2014-04-22Delete use of list_item_divider.Andrew Lee
Bug: 13956531 Change-Id: I49137bd2498e8ae77204b45b5a8155d164f30b70
2014-04-22Add view call history at bottom of recentsYorke Lee
Bug: 13936108 Change-Id: Ic688d65240dada75b014b6684d4bebed208551bd
2014-04-22Merge "Move call shortcut cards to their own list"Yorke Lee
2014-04-22Merge "Import translations. DO NOT MERGE"Baligh Uddin
2014-04-21Move call shortcut cards to their own listYorke Lee
This CL migrates the logic that queries for and displays call shortcut cards to ListsFragment so that they can be displayed above the main contacts viewpager. * Add a ListView above the ViewPager in ListsFragment * Implement CallLogQueryHandler.Listener and CallLogAdapter.CallFetcher in ListsFragment, and delete that corresponding logic in PhoneFavoritesFragment. * Use animateLayoutChanges on the parent LinearLayout hosting shortcard cards so that we don't have to handle animations ourselves when a card is swiped away. * Make the minimum set of changes to PhoneFavoritesMergedAdapter so that only call shortcut cards are displayed (no more menu, teaser, etc). More significant changes to actually delete unnecessary logic is upcoming in a separate CL. Bug: 13963734 Change-Id: I55cdc53a9311b1bb78422aab9d174e860596b997
2014-04-21Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I7c7efe19e5a9ea1900d6253bdc75c826c3d6a6b5 Auto-generated-cl: translation import
2014-04-21Use PhoneFavoritesTileAdapter directly in GridViewYorke Lee
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
2014-04-18Merge "Remove AllContactsActivity"Yorke Lee
2014-04-18Remove AllContactsActivityYorke Lee
Bug: 14157588 Change-Id: I48342e9a5f78173f84967e3330add8fd87442bea
2014-04-18Add favorites/star icon to the phone favorite tile view.Andrew Lee
Bug: 14116267 Change-Id: Id4ea8dafcfe4fa46ab0ea7677cada4f2e64aff7a
2014-04-17Merge "Import translations. DO NOT MERGE"Baligh Uddin
2014-04-16Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I135047e50d883599e8ac2f511b9d1dc149bbd8c6 Auto-generated-cl: translation import
2014-04-16Remove deprecated Actionbar tabs in CallLogActivityYorke Lee
Bug: 10510027 Change-Id: I05e9ee28b1bac74cf5f0dad349bce94659118fee
2014-04-16Merge "Add voicemail tab to call history tab bar."Andrew Lee
2014-04-16Add voicemail tab to call history tab bar.Andrew Lee
- Add new CallLogFragment for voicemails in CallLogActivity. - Provide new empty message in CallLogFragment. - Add voicemail title string to strings.xml. - Removed some unused imports and variables. Bug: 10696509 Change-Id: I2ba9e0cfdb8cda73d7e61712559020f2857992a1
2014-04-16Merge "Make speed dial contacts fill grid better"Yorke Lee
2014-04-16Make speed dial contacts fill grid betterYorke Lee
Change-Id: I90a38a5b02280b0b1ddb5b993ba8fdd978cf0825
2014-04-16Apply new ViewPager tab styles to ViewPagerTabs classYorke Lee
Also correctly detect and set the textStyle and textSize on the children TextViews Bug: 14012803 Change-Id: I4e0f6ed8354befb7c738707131124d5c442e713f
2014-04-16Merge "Stylizing action bar tabs to QP green-ish theme."Andrew Lee
2014-04-16Stylizing action bar tabs to QP green-ish theme.Andrew Lee
- Changed colors, sizes to reflect specified restyling. - Changed drawing of colored rectangles into drawable colors. - Cleared/removed unused underlines/styles/drawables. - Added tab_text_color resource for selected/not text styling. - Changed action_bar_tab to be more specific in its provision of drawables so that drawable styling is less order dependent. Bug: 14012803 Change-Id: I86a712fd05a5e7cbec12d4979a59dd67788439ea
2014-04-16Use ViewPager in main Dialer viewYorke Lee
This change replaces PhoneFavoriteFragment with ListsFragment, a fragment that contains a Viewpager that will eventually contain 3 fragments - Speed Dial, Recents (an abridged call log) and All Contacts. For now, only speed dial and all contacts are in the viewpager due to the call log fragment not playing nice with being embedded in a parent fragment. ViewPagerTabs is a newly added custom view that serves as a indicator for ViewPager tabs. It behaves similarly to the newly deprecated ActionBar tabs, but can be placed anywhere on screen. Bug: 13935070 Change-Id: I916c516dc295246b2a95de2f0dc726784c2ee0cc
2014-04-15Change Dialer actionbar color to green-ish, and remove underline.Andrew Lee
Bug: 14012803 Change-Id: I06a280b175ddcb564393d0758fb2ec539e8516a9
2014-04-14Add actionbar to DialerYorke Lee
Initial changes to replace the fake actionbar affordances in Dialer with an actual actionBar. This puts the dialer in an intermediate hybrid state where we are now using the system actionbar for search, but the searchview is not yet themed to look like our old search bar, so this is definitely still WIP UI. This CL retains the fake action bar at the bottom of the screen to continue allowing quick access to call history while other changes are underway, but replaces the searchview and the overflow menu with framework provided actionbar functionality. Other related changes: * The searchview (in the top actionbar) is hidden when scrolling to devote the entire screen area to the speeddial list https://folio.googleplex.com/phone/L/0407/#/03.png * Functionality provided by the fake overflow menu has been moved to the real actionbar overflow menu * Various modifications to child fragments/listviews to take into account the existence of an actionbar * Cleaned up unneeded styles and related-dead code Bug: 13933082 Change-Id: Ifd855bd67af7bf2d2a403ef9556ade54e8d57ee6
2014-04-14Merge "Switch Dialer to Quantum.Light theme"Yorke Lee
2014-04-14Switch Dialer to Quantum.Light themeYorke Lee
Also use new overflow menu png with circular dots instead. Bug: 13935067 Change-Id: Ib34f89647153d7a808fe95bd5b0b7e20ca896b5d
2014-04-09Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I132e7a0725a266a6e414a1ae654165519dd6654a Auto-generated-cl: translation import
2014-04-07Catch activity not found exceptionsYorke Lee
Instead of crashing when an ActivityNotFoundException is thrown, display an error toast. Bug: 13882939 Change-Id: I5cda14ba8a404ff0f5196fdbc382201c47f4b4c8
2014-03-28Merge "Fix broken copy-paste dialog"Yorke Lee
2014-03-27Fix broken copy-paste dialogYorke Lee
Bug: 13673765 Change-Id: I367896803582b95e7e9c459747ee4d6685f03e73
2014-03-26Import translations. DO NOT MERGEBaligh Uddin
Change-Id: Ie49b0b2eb5f238a8c132aebc3690dec478c8eac9 Auto-generated-cl: translation import
2014-03-26Merge "Remove layout and logic for unused non-tiled favorites"Yorke Lee
2014-03-25Merge "Import translations. DO NOT MERGE"Baligh Uddin
2014-03-24Remove layout and logic for unused non-tiled favoritesYorke Lee
Change-Id: I26caea4e47da8ae8420ef35e8006ee3f968d0630
2014-03-24Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I79880461bddcba54dcf9a9b15ae5c19bc46de0da Auto-generated-cl: translation import
2014-03-21Restore missing all contacts button backgroundYorke Lee
Change-Id: I06eab14864bd2ebfc3017e6166a17f9baaaddce9
2014-03-20Fix overdraw in DialerYorke Lee
* Set window background to null per framework advice to reduce overdraw * Remove unnecessary background layers * Fix the slightly deeper gray background above the searchbox Bug: 10446771 Change-Id: Ie11db155593c7ea2118141aec876da37be35a7d5
2014-03-20Remove deprecated swipe to remove codeYorke Lee
Change-Id: I83b286db71f3ae2df3a31bbfc66c0045faa8f5ef
2014-03-19Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I62dddf65134eac3267c382f46a630e5d162de9eb Auto-generated-cl: translation import
2014-03-18Swap 9 patch for contact tilesYorke Lee
Tweak contact tile dimensions slightly Bug: 13526106 Change-Id: I7ae82dc1815c95577c204dd6ed955d0bf1bc0dc3
2014-03-14Merge "Slight UX tweaks to Dialer"Yorke Lee
2014-03-14Slight UX tweaks to DialerYorke Lee
* Add drawable and apply to dialpad fragment for shadow effect * Tweak name/number padding in tiles * Tweak default letter avatar placing in tiles * Add shadow for dialpad * Swap out 9patch drawable for recents * Add 9patch to contact tile Bug: 13421236 Bug: 13418523 Bug: 13421916 Bug: 13421236 Bug: 13419201 Bug: 13418712 Change-Id: I6ff8fe41d7e2d02db105bb542f425be13ae5fef7
2014-03-13Merge "Changed dialer launch activity style to use a 0dp height actionbar. ↵Tyler Gunn
This prevents the user from seeing a blue "Phone" actionbar during loading."
2014-03-13Changed dialer launch activity style to use a 0dp height actionbar.Tyler Gunn
This prevents the user from seeing a blue "Phone" actionbar during loading. Bug: 13438027 Change-Id: I3d46778a63df15fb9d44bd281e2ef8b20602f677
2014-03-12Corrected issue where history icon placement does not match spec.Tyler Gunn
XML only change to layout and dimens. Bug: 13422202 Change-Id: I79b0559ab8000f7d5a82182c202a6979a5648cb5
2014-03-10Correcting issue where text entered by user in searchbox is gray.Tyler Gunn
Only the hint text should be gray. Bug: 13387408 Change-Id: I88bb3bc156e786ca6ccf19a9faae7d5abb3936f1
2014-03-07Merge "Added actionbar style elements from main Dialtacts theme to ↵Tyler Gunn
"CallDetailActivityTheme" to fix issue where Call Details action bar has wrong color."
2014-03-07Added actionbar style elements from main Dialtacts theme to ↵Tyler Gunn
"CallDetailActivityTheme" to fix issue where Call Details action bar has wrong color. Bug: 13364992 Change-Id: I0f780809408e3d7ac2c7be35ee031361b507790b
2014-03-06Merge "Fix jank in no favorites screen when showing/hiding dialpad"Yorke Lee
2014-03-06Fix jank in no favorites screen when showing/hiding dialpadYorke Lee
Reintroduce a spacer view (under the no favorites view) that is the same height as the search box + its margins, so that the no favorites view does not shift when the dialpad is shown/hidden Bug: 13341743 Change-Id: I00171b5fd546e30394c95d31976483d124f75f3b
2014-03-05Merge "Restricted the tap target for "All Contacts" to the "All Contacts" ↵Tyler Gunn
button alone,"
2014-03-05Restricted the tap target for "All Contacts" to the "All Contacts" button alone,Tyler Gunn
Bug: 13322769 Change-Id: Iea2bd8886efed50b5b5e463c6e9205af4ad97a6c
2014-03-03Fix slight screen jank when sliding dialpad upwardsYorke Lee
Apply the translation animation to mSearchAndRemoveViewContainer (which houses the entire searchbox and its margins), so that the translation takes into account the entire height of the searchbox as well as its margins. Also refactored hideSearchBar slightly to remove an unused codepath. Bug: 13284310 Change-Id: I7b8873154059f616d8a52c4a0239ea6be89c8efc
2014-03-03Merge "New appearance and look and feel for dialpad."Ihab Awad
2014-03-03New appearance and look and feel for dialpad.Ihab Awad
http://b/13189041 Change-Id: I91028c8fdee31c1f76610573a4396eb979c30170
2014-02-28Merge "Changed color for the contacts reordering teaser to be the same as ↵Tyler Gunn
the background behind the tiles. Previously it was set to the action bar color, and when the action bar changed to blue, so did this."
2014-02-27Changed color for the contacts reordering teaser to be the same as the ↵Tyler Gunn
background behind the tiles. Previously it was set to the action bar color, and when the action bar changed to blue, so did this. Bug: 13194985 Change-Id: Id3324ff1de019bad9b6fd30373f27c42625fa28f
2014-02-27Merge "Import translations. DO NOT MERGE"Baligh Uddin
2014-02-26Import translations. DO NOT MERGEBaligh Uddin
Change-Id: Ib6b3ceb8b97669d20ab5e2f277d16f78a3cb5e78 Auto-generated-cl: translation import
2014-02-26Merge "Always show overflow icon for quick contacts affordance"Yorke Lee
2014-02-26Merge "Move secondary action view/button out of primary action view to ↵Tyler Gunn
provide a more clear separation of the pressable areas for both."
2014-02-26Move secondary action view/button out of primary action view to provide a ↵Tyler Gunn
more clear separation of the pressable areas for both. Bug: 13204901 Change-Id: I43e140894a79b762afd6f199f59ca6b9a86edfb0
2014-02-25Merge "Import translations. DO NOT MERGE"Baligh Uddin
2014-02-24Always show overflow icon for quick contacts affordanceYorke Lee
Remove the star icon used to bring up quick contacts, and in its place, always show the overflow icon. Bug: 13177113 Change-Id: I88e99b7c45da10013f4bdff879c106fac9e23f89
2014-02-24Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I70bd3d634a2b2061449117d2a864200427297e87 Auto-generated-cl: translation import
2014-02-24UX Changes: Dialer actionbar, tabs and searchbox.Tyler Gunn
See CL 423036 for the searchbox text changes. Bug: 13167901 Change-Id: I6806cb27c19f7f0ca55394d70134f0c30c93446b
2014-02-21Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I2bc77e160aed8efa63241c8f0c4b32422aa2063e Auto-generated-cl: translation import
2014-02-20Add drag to remove for favorites in DialerYorke Lee
* Add remove view in dialtacts_activity.xml, and rearrange layout slightly so that it takes up the same position in the layout as the search view container. Contacts that are dragged to this remove view will be unstarred and unpinned. * Add drag event logic to the Remove View, so that when the user hovers a contact over it, the UI will continue to respond. Previously, only the PhoneFavoritesListView would detect touch events. * Refactor DragDropController and OnDragDropListener into separate classes. DragDropController performs the work of receiving drag/drop events from multiple views, combining them, and then firing off callbacks as appropriate to OnDragDropListeners. Each OnDragDropListener can then update their UI or internal data model as necessary in response to the callbacks. OnDragDropListener <---------------------------------------- ^ | | | DialtactsActivity ---------------> RemoveView | | | | v | | callbacks PhoneFavoriteListFragment |drag events | | | | v v | PhoneFavoriteListView ------------> DragController-------- drag events | | callbacks v PhoneFavoritesTileAdapter --> OnDragDropListener * While in here, add a content description for the clear search button Change-Id: I044ad1c5aa42c7686bde6bf5074095a4fe879bde
2014-02-20Merge "Adding "Speed Dial" title to dialer favorites list and moving "All ↵Tyler Gunn
Contacts" affordance."
2014-02-19Adding "Speed Dial" title to dialer favorites list and moving "All Contacts" ↵Tyler Gunn
affordance. Bug: 13080167 Change-Id: Id825ef4bfc9de5340d40cae8176bdc13fcfb3ccd
2014-02-18Switch favorites screen to grid layoutYorke Lee
* 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
2014-02-17Import translations. DO NOT MERGEBaligh Uddin
Change-Id: If60a45ca810f2c2ac6490c9e83ab418acb88db5f Auto-generated-cl: translation import