summaryrefslogtreecommitdiffstats
path: root/res
Commit message (Collapse)AuthorAgeFilesLines
* Import translations. DO NOT MERGEGeoff Mendal2015-05-1376-12/+173
| | | | | Change-Id: Ic0b4e84017f9b84c8cec7461341e221b5048e119 Auto-generated-cl: translation import
* Merge "Reorganize Intent utilities, add send SMS intent." into mnc-devAndrew Lee2015-05-132-0/+19
|\
| * Reorganize Intent utilities, add send SMS intent.Andrew Lee2015-05-132-0/+19
| | | | | | | | | | | | | | | | | | + Rename CallIntentUtils.java to IntentUtil.java. + Consolidate various intent creation methods to new file, and update referenes throughout the application. Bug: 20433758 Change-Id: Iee9e37985217c38c816124d0e74dff40a2871680
* | Import translations. DO NOT MERGEGeoff Mendal2015-05-1370-680/+340
|/ | | | | Change-Id: If9bd3af250babfa4ce13396e9d57c67e19403ff0 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2015-05-1173-167/+726
| | | | | Change-Id: Iebeed19178f6d74064934425e71fa1ba2be75ff7 Auto-generated-cl: translation import
* Improve talkback on call log actions.Andrew Lee2015-05-083-22/+38
| | | | | | | | | | - Remove previous/next hints; not needed. + Add descriptions for new actions. - Make TextViews not important for accessibility. Descriptions on the actions will be used instead. Bug: 20433758 Change-Id: I043b03075631134f37151e165360b038f3961b2a
* Add call log list item actions for adding contacts.Andrew Lee2015-05-071-3/+33
| | | | | | | | + Add two actions: create new contact and add to existing contact. + Pass in ContactInfo to the CallLogListItem's ViewHolder. Bug: 20433758 Change-Id: Ic1387b33ebe027fa6ddbdb971996fc7d4c4ac88b
* Update layouts for call log list item actions.Andrew Lee2015-05-0726-119/+191
| | | | | | | | | | | | + Add icons for actions. + Revise layouts to match new visual appearance. Call Log actions are now a linear layout with an icon and text. + Some style/redline tweaks. + Temporarily replaced animation logic with LinearLayout, to be revisited. Bug: 20433758 Change-Id: Ia13b6c9f583d673743488f2e93be5593a1fbf8dc
* Merge "Tidy up search ripples/layout." into mnc-devAndrew Lee2015-05-061-20/+10
|\
| * Tidy up search ripples/layout.Andrew Lee2015-05-051-20/+10
| | | | | | | | | | | | | | | | | | | | + Make search/overflow ripples borderless - Simplify some layouts. The search bar as a whole still doesn't have a ripple, but that's not a change from existing behavior. Change-Id: I40c52d3257cc33002786d3d31fb1e162e5a5e171
* | Fix vertical padding on call log fragment.Andrew Lee2015-05-052-2/+4
|/ | | | | | | | Spacing still needs to be tweaked for the margins, but that will be done with other redline tweak things. Bug: 20664464 Change-Id: I874418a6a9661c34afbcd772744fa8d31ac7baa3
* Merge "Add "show call history" list item." into mnc-devAndrew Lee2015-05-055-9/+41
|\
| * Add "show call history" list item.Andrew Lee2015-05-045-9/+41
| | | | | | | | | | | | | | | | | | | | | | + Add new VIEW_TYPE to the CallLogAdapter. + Reintroduce boolean on CallLogAdapter to specify if a call history list item should be shown. + Add new ViewHolder and layout for footer. + Some minor styling tweaks and cleanups. Bug: 20108202 Change-Id: Ie4a86bff9e53cfd69ef8b061af048f40f4358579
* | Fix tab elevation for action bar placeholder.Andrew Lee2015-05-041-1/+2
|/ | | | | Bug: 19644830 Change-Id: Ib6949e6dcfad006256b18465db450b2edc2385e6
* Import translations. DO NOT MERGEGeoff Mendal2015-04-253-3/+3
| | | | | Change-Id: If2fe2367a945dfc8d4b1a1e14e8cc285435eb677 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2015-04-2270-670/+908
| | | | | Change-Id: Idf60c6913e7696b9c19f0f12328cdc66ba3c0687 Auto-generated-cl: translation import
* CallLogAdapter cleanup and refactoring.Tyler Gunn2015-04-212-7/+10
| | | | | | | - Some minor cleanup and refactoring. Bug: 20393675 Change-Id: I438a9ca222cac87c9323417a216453706393c190
* Import translations. DO NOT MERGEGeoff Mendal2015-04-2073-511/+700
| | | | | Change-Id: I628c0ad59f8b8cd044cbe605f66c928770b01202 Auto-generated-cl: translation import
* Move call log actions into expandable view.Andrew Lee2015-04-166-159/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This isn't the prettiest thing ever, but with this the "framework" of all of the changes for the new visual style of the call logs is in place. From here on out, the remainder of tasks should be unblocked and relatively independent. + Rename ...ItemViews to ...ItemViewHolder. This probably wasn't completely necessary, but is more proper given the new architecture. + ViewHolder is now officially where most of the independent UI logic for a single call log list item should live. This changelist moves further in that direction by storing references and helpers in it, to lessen what must be passed in from the adapter. + Split out the call action from the rest of the actions, since it has a special treatment on the card. + Convert text action buttons into a vertical stack. + Consolidate action stylings into a single style, for simplicity. + Miscellaneous style and string changes to put things in a better state. This included tweaking some of the (ripple) backgrounds. + Update tests, according to changes. Bug: 19372817 Change-Id: Ic923c0bcbbc1c153952131d0c772df9e9589fb03
* Make call log cards white.Andrew Lee2015-04-135-8/+7
| | | | | | | | | Disassociate the color of the cards/list items from the background color. Before, they were connected so they were ending up as the same color. Bug: 19372817 Change-Id: Id31891a0f86f98bd6143911e361abc70435abddf
* Cardify the call log list items!Andrew Lee2015-04-104-60/+41
| | | | | | | | | | | + Added card view dependencies to makefile. + Convert call log list items to use card views. + Cleaned up code style and unused views in fragment xml. - Removed deprecated expand code (more work to be done here). - Removed now-unused constants. Bug: 19372817 Change-Id: I237cf214f8f052de5fb1f41908d6012f52de994e
* Replace ListView with RecyclerView in call log.Andrew Lee2015-04-091-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | Yay, finally! + Replace ListView with RecyclerView in layout and fragment files. + Change GroupingListAdapter to extend RecyclerView.Adapter instead of BaseAdapter. + Change CallLogListItemViews to extend RecyclerView.ViewHolder. + Adapt onBindViewHolder and onCreateViewHolder methods in the CallLogAdapter. + Update/rework tests for related classes. + Fix a bug in the GroupingListAdapter, where childCount was not updated for standalone views, and the previously cached group size was used instead. Set childCount to 1 for standalone views. - Removed the idea of creating different views for standalone vs group vs group headers from the adapters. This logic has not been used for quite some time and all these functions funneled into createView/bindView methods anyways, so there is no logical difference. If we need to create custom views in the future, we can leverage onCreateViewHolder's viewType parameter. Bug: 19372817 Change-Id: I1b7289340600609669db22d8bc89265240d0b561
* Remove footer view.Andrew Lee2015-04-082-57/+0
| | | | | | | | | | This depends on ListView footer functions, but the Call Log is being migrated to the RecyclerView. This view will be added back later, with that work tracked in b/20108202 in scope of M. Bug: 20108202 Bug: 19372817 Change-Id: I55201e068362083bf5c18ebd08c2e57c97c1b827
* Remove expand/collapse animations in the Call Log.Andrew Lee2015-04-061-12/+0
| | | | | | | | | | | | | | | | | | | | - Remove animation logic in CallLogFragment. - Remove expand listener from CallLogAdapter. + Update tests and constructor. This preemptively removes expand/collapse behavior. While this will result in a janky short-term experience, this is an incremental step in shifting to RecyclerView and the new "Card" UI. I figured it would be most efficient to delete it straight up, rather than coding in intermediate logic to work with the RecyclerView because it will be made obsolete by the Cards UI anyways. In the long run, expand/collapse animation behavior will be restored once the call log is migrated to RecyclerView and converted to Cards. Bug: 19372817 Change-Id: Icbdc7dcb9f2f2223456c29334c826d38917b087a
* Import translations. DO NOT MERGEGeoff Mendal2015-03-2773-78/+5
| | | | | Change-Id: Iee6330e8d314a72d5f5e0258eb134a20e19c930d Auto-generated-cl: translation import
* Merge "Move Report-Bad-Data toast to GoogleDialer."Andrew Lee2015-03-271-4/+0
|\
| * Move Report-Bad-Data toast to GoogleDialer.Andrew Lee2015-03-261-4/+0
| | | | | | | | | | Bug: 19949319 Change-Id: I32a2217a24915a7d862a1c9d521fc0c45f0ecb68
* | Merge "Fix image-related GoogleDialer compiler warnings."Andrew Lee2015-03-2611-1/+1
|\ \
| * | Fix image-related GoogleDialer compiler warnings.Andrew Lee2015-03-2511-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix warnings of form: "libpng warning: iCCP: Not recognizing known sRGB profile that has been edited". Most of these were swaped by replacing the old assets with newer or equivalent versions. Bug: 19536005 Change-Id: I0535c0876806607f4aa170a5839829fff367ab9a
* | | Merge "Remove more strings without default translation."Andrew Lee2015-03-261-2/+0
|\| |
| * | Remove more strings without default translation.Andrew Lee2015-03-251-2/+0
| |/ | | | | | | | | Bug: 19536005 Change-Id: Idf1252288ccbf044f84981a7ba813ab9b337a0cd
* / Make menu options protected instead of private.Andrew Lee2015-03-251-2/+2
|/ | | | | | | | Thsi allows Google Dialer to add a feedback option and handle its behavior accordingly. Bug: 19254693 Change-Id: I64ab34049406d10f53504af8d5eda9ac29758ef8
* Import translations. DO NOT MERGEGeoff Mendal2015-03-258-26/+14
| | | | | Change-Id: I7c7264cf828fed07093ac6d7dbfab95d4dad134b Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2015-03-2339-154/+77
| | | | | Change-Id: I944c15eb524cc5264ae4b451a832b9cb201471c8 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2015-03-2073-216/+499
| | | | | Change-Id: If2eeee5d4f1b125671567ca32ff4dc2d85dcb88c Auto-generated-cl: translation import
* Remove extra options from dialpad menu.Andrew Lee2015-03-192-12/+2
| | | | | | | These are now exposed as shortcuts in the search fragment. Bug: 19372539 Change-Id: I526570cf8326dbfac1770c0f3c06b72ee1166cc8
* Add shortcut for creating new contact with number.Andrew Lee2015-03-191-0/+4
| | | | | | | | | Add a shortcut in the search fragment for "Create new contact" which opens the compact editor with the entered phone number populated as the main phone number. Bug: 19372539 Change-Id: I9ccb462f399e3fab77c2d8ad536dbd0bd0e23609
* Merge "Change add contact shortcut to be for "existing"."Andrew Lee2015-03-191-2/+3
|\
| * Change add contact shortcut to be for "existing".Andrew Lee2015-03-181-2/+3
| | | | | | | | | | | | | | | | | | | | We're going to "fork" the add action into "existing" and "new". This converts the existing shortcut action to the scenario for adding to an existing contact, and the action for adding to a new contact will be added as a follow up. Bug: 19372539 Change-Id: I9e78fa5637a6f0ff22ce1d74bca3fe98e531242f
* | Merge "Delete unused images and drawables."Andrew Lee2015-03-1820-20/+0
|\ \ | |/ |/|
| * Delete unused images and drawables.Andrew Lee2015-03-1820-20/+0
| | | | | | | | | | Bug: 19536005 Change-Id: I326986d079b1980429d89379a147c3fbd441b203
* | Add "Send SMS" shortcut to Dialer.Andrew Lee2015-03-181-0/+3
|/ | | | | Bug: 19372539 Change-Id: I8135a7e6fb7d5becdafcb0ecfb64d6f6c73aeb88
* Import translations. DO NOT MERGEGeoff Mendal2015-03-1872-75/+3
| | | | | Change-Id: I555f4afe52b63b5a481f89c8ffafc8e77d670255 Auto-generated-cl: translation import
* Merge "Delete call log list item extras."Andrew Lee2015-03-165-80/+1
|\
| * Delete call log list item extras.Andrew Lee2015-03-165-80/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove isCallLog specific code from adapter; now everything will always be in the call log. - Remove unneeded adapter bits from ListsFragment; there is now no shortcut card shown in the lists fragment. - Remove call log list item extra. We won't bind badges using this any more. This will be superseded by the actions. Remove badge-related code in CallLogAdapter. + Leaving the add-person icon, since it will be used in the future. Bug: 19372817 Bug: 19627987 Change-Id: I4db8149761b017e02e89c081930a05f3aafe9606
* | Merge "Fix remove view visibility."Andrew Lee2015-03-161-0/+1
|\ \
| * | Fix remove view visibility.Andrew Lee2015-03-161-0/+1
| |/ | | | | | | | | | | | | | | | | It was "broken" because it was hidden under the action bar. Fixed by adding the height of the action bar as top margin to the remove view. Bug: 19684430 Change-Id: I0ea54184499d41e5267ddff8862ba3bc9ca2efbe
* | Merge "Remove unused translations with no base string."Andrew Lee2015-03-161-35/+1
|\ \
| * | Remove unused translations with no base string.Andrew Lee2015-02-261-35/+1
| | | | | | | | | | | | | | | | | | | | | | | | These constants don't exist have default translations in the strings.xml file. Bug: 19536005 Change-Id: I1ee91b9b09533a2325a3863e4cdd75921761db54
* | | Import translations. DO NOT MERGEGeoff Mendal2015-03-1672-354/+393
| |/ |/| | | | | | | Change-Id: I3f9e286ee6f1ff98260054c7a815512dbb0b5ef8 Auto-generated-cl: translation import