summaryrefslogtreecommitdiff
path: root/res
AgeCommit message (Collapse)Author
2015-06-23Add a promo card for visual voicemail.Nancy Chen
The promo card explains what visual voicemail is, along with a link to settings to disable it and an ok button to dismiss it. Also move common resources from GoogleDialer to the respective resource files. Bug: 21086059 Change-Id: Iecfe778b815fb572667d0cecdb958205ec1b48a0
2015-06-19Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ibbdabcfc6befbaa5ec5cc58b56cf49fbeab43f70 Auto-generated-cl: translation import
2015-06-17Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ib0bf22ec43b52407c13c02b7a20dea6f0671d2c9 Auto-generated-cl: translation import
2015-06-16Merge "Add play voicemail primary action to call log." into mnc-devAndrew Lee
2015-06-16Change VM string from "unread" to "new".Andrew Lee
Bug: 21851066 Change-Id: Iba7c69231e235faf2306d23a29684146d5cc6142
2015-06-15Add play voicemail primary action to call log.Andrew Lee
+ Add voicemail primary action button, which expands the call log and plays immediately when clicked. + Pass expand/collapse listener into the view holder. This is necessary because it needs to be triggered when the "play" primary action is clicked so that the CallLogAdapter correctly registers what has been added and binded. + Update primary action button state when showing or hiding actions, so the visibility of the voicemail play button is managed properly. + Ensure voicemail playback state is consistent between multiple call log items when the user initiates a collapse or expand. Add reset function to help manage this. + With the reset, protect against the possibility of functions in the presenter being called when no voicemail playback view is set. Bug: 21654755 Change-Id: I7bcf67d27fa08fe77d1334dc084b52effe8d3ccc
2015-06-15Merge "Convert to primary action button on call log items." into mnc-devAndrew Lee
2015-06-15Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I176e4111d4a9de26a7fbbfbac4cea40efa7dcefb Auto-generated-cl: translation import
2015-06-12Convert to primary action button on call log items.Andrew Lee
+ This is the call button on the standard call log list item, but will be play on voicemail call log list items. + Add call "list" action for voicemail call log list items. Change-Id: I4b115b96738b77c8a19c1071d5290e65f93395ac
2015-06-11Merge "Move "Report" to CallDetailActivity." into mnc-devAndrew Lee
2015-06-11Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I6eb14e7eb9ecdedc96cd76bdb7bf288704cfe5cf Auto-generated-cl: translation import
2015-06-11Merge "Add strings for visual voicemail promo card." into mnc-devNancy Chen
2015-06-10Some paranoid string changes.Andrew Lee
And, deleted some unused strings. Bug: 21654755 Change-Id: I89fe9ac8caf121980d062583caa59bb45307e028
2015-06-10Move "Report" to CallDetailActivity.Andrew Lee
- Delete old report button/handling code. + Convert menu click listeners into single onMenuItemClick method. + Add and populate objectId on PhoneCallDetails, to be able to tell from the CallDetailActivity whether to enable reporting. Change-Id: Ie4b9a3c1835792cbba04dc826f71fd2e53071400
2015-06-10Add strings for visual voicemail promo card.Nancy Chen
Promo card coming, but wanted to get strings in before strings deadline. Bug: 21086059 Change-Id: I60455bfdb6fa268898312cb6aa2a2cb8f567a9d6
2015-06-10Merge "Call log duration display for calls less than a minute." into mnc-devRoshan Pius
2015-06-10Update string reference.Andrew Lee
Bug: 21715448 Change-Id: I809081ae80bfb15a3d95eb976715b1cc786a2b94
2015-06-10Call log duration display for calls less than a minute.Roshan Pius
Changing the call log details duration display to show only the seconds if the elapsed duration is less than a minute. Bug: 19383401 Change-Id: I8d39ca2c6c680e58602022250d4272d83024696d
2015-06-09Revert "Import translations. DO NOT MERGE"Geoff Mendal
This reverts commit e6f7928823e08a51cf66aa19c46deb9c669b8c7f. Change-Id: Ica1daa35acfdc8a635499970ca7f7b4d5bfb3a19
2015-06-09Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ie141ef5afb960f73c48af495a09a08d41877d14c Auto-generated-cl: translation import
2015-06-08Revert "Import translations. DO NOT MERGE"Geoff Mendal
This reverts commit 06202b5c1c9d0c658c298646e95185e7763143b0. Change-Id: I35a6e77a9cd276d2cb0359bacaa298619f9a3d01
2015-06-08Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I91f9105027611774ffbd0b6c443861883b16c443 Auto-generated-cl: translation import
2015-06-05Merge "Add call button to details, increase hit area." into mnc-devAndrew Lee
2015-06-05Merge "Add delete action to voicemail in call log." into mnc-devAndrew Lee
2015-06-05Change text to "add to a contact".Andrew Lee
Bug: 21550993 Change-Id: Ib903d19c589709a414ef475c8450843054f81375
2015-06-05Add delete action to voicemail in call log.Andrew Lee
+ Cleanup some asset and variable naming. Bug: 21239168 Change-Id: I4c99484bee1fcd300857cf44080c38e19a98cb5a
2015-06-05Add call button to details, increase hit area.Andrew Lee
+ Add call back button in call details. + Increase touch target size of call back button. + Simplify tint styling and layouts. - Delete asset which was duplicate of one in ContactsCommon. Bug: 18331084 Bug: 21659613 Change-Id: Icbd5f66a294f1215dc2056e7f7aece2129af5630
2015-06-05Merge "Fix shortcut action text length issues." into mnc-devAndrew Lee
2015-06-04Fix shortcut action text length issues.Andrew Lee
+ Lower shortcut char limits. There's probably 40 characters of space on a N6, but less on smaller devices. + Shorten "Add to existing contact" to "add to contact". Bug: 21550993 Change-Id: I136b01cd90ae36e07b7f567294e68316a57856a0
2015-06-04Merge "Move VM playback from details to call log." into mnc-devAndrew Lee
2015-06-03Move VM playback from details to call log.Andrew Lee
- Delete voicemail playback in the CallDetailActivity. + Add voicemail playback to the call log list items. + Move the VoicemailPlaybackPresenter to the CallLogFragment. + Fix some retaining state for both call log (expanded items), and preserve rotation/state functionality for voicemail playback. This included some changes to the Presenter logic. + Fix some tests. Bug: 21471763 Bug: 21170557 Change-Id: I30aae3a52c5bbf74a5075a9666343c337b1fc0df
2015-06-03Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I9395c300cd4cfc041bd2fc10d720d6782e704e45 Auto-generated-cl: translation import
2015-06-01Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Iaf5c16a5295cb7e172d640dfc350fb952a2a5900 Auto-generated-cl: translation import
2015-05-29Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Iac064f2404ce5962bc6a4d49106d8f0ab790741f Auto-generated-cl: translation import
2015-05-28Merge "Refactor Voicemail Playback into standalone view." into mnc-devAndrew Lee
2015-05-27Refactor Voicemail Playback into standalone view.Andrew Lee
+ Substitutes the existing playback widget in CallDetailActivity, although the plan is to move this to the call log shortly. + Convert the widget from a fragment into a layout. This allows us to more easily create multiple instances of the voicemail widget in the same view, as we intend to do in the call log. + Shift UI-related logic from Presenter to the Layout. + Fix janky seeking, so that it now works correctly consistently rather than sporadically, and doesn't need to buffer again. - Remove the VariableSpeed player formerly used in the Presenter. We don't use this functionality anymore, and this allows us to directly used the framework MediaPlayer (instead of a custom legacy proxy). Bug: 21170557 Bug: 20693172 Change-Id: Ia34f459df10e43763b32fdb0954f83e882664231
2015-05-27Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I39080af6ee5a21313860b7ca1198c8d2088e4c1b Auto-generated-cl: translation import
2015-05-26Use correct xxxhdpi icon for AOSP DialerYorke Lee
Change-Id: I388fc922485fa1af1db404aab5eebadd32b52fb1
2015-05-25Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I79427c479f3835dd0732cdbc11f38ef4f50c185f Auto-generated-cl: translation import
2015-05-21Merge "Add voicemail tab if there are active providers." into mnc-devAndrew Lee
2015-05-21Add voicemail tab if there are active providers.Andrew Lee
Bug: 21328994 Change-Id: Id6cd45c5614fafcc6f01842a8ec1eaba45dc0928
2015-05-21Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Iede24802e00301b96b7029aa69593a33931b761e Auto-generated-cl: translation import
2015-05-18Remove voicemail transcript from details.Andrew Lee
It will continue to be shown in the call log, but will be removed from details since the widget will be moved. Bug: 21170557 Change-Id: I1ec3b090adc0736f7b134d0f67282ba7b4f9483b
2015-05-14Remove VM StatusMessage code from Call Details.Andrew Lee
This isn't used in any particular case right now. Remove some unused layouts too. Bug: 21170557 Change-Id: Ie21264d7059e73c905b2807b993b95c91a0dd3ec
2015-05-15Merge "Change VM playback fragment layout." into mnc-devAndrew Lee
2015-05-14Change VM playback fragment layout.Andrew Lee
- Remove increase/decrease playback rate functionality. - Flip button controls below the scrubber. - Delete TextController. Bug: 20433758 Change-Id: Id628bac0c9f8baed014079f2a89ce912fd2bb549
2015-05-14Merge "Don't set voicemail status message in Call Log." into mnc-devAndrew Lee
2015-05-13Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ic0b4e84017f9b84c8cec7461341e221b5048e119 Auto-generated-cl: translation import
2015-05-13Don't set voicemail status message in Call Log.Andrew Lee
This code has been unused for quite some time, as far as I can tell. Bug: 20433758 Change-Id: Ic9fef01954720c24d8ba6971534897a88af42a8f
2015-05-13Merge "Reorganize Intent utilities, add send SMS intent." into mnc-devAndrew Lee
2015-05-13Reorganize Intent utilities, add send SMS intent.Andrew Lee
+ 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
2015-05-13Import translations. DO NOT MERGEGeoff Mendal
Change-Id: If9bd3af250babfa4ce13396e9d57c67e19403ff0 Auto-generated-cl: translation import
2015-05-11Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Iebeed19178f6d74064934425e71fa1ba2be75ff7 Auto-generated-cl: translation import
2015-05-08Improve talkback on call log actions.Andrew Lee
- 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
2015-05-07Add call log list item actions for adding contacts.Andrew Lee
+ Add two actions: create new contact and add to existing contact. + Pass in ContactInfo to the CallLogListItem's ViewHolder. Bug: 20433758 Change-Id: Ic1387b33ebe027fa6ddbdb971996fc7d4c4ac88b
2015-05-07Update layouts for call log list item actions.Andrew Lee
+ 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
2015-05-06Merge "Tidy up search ripples/layout." into mnc-devAndrew Lee
2015-05-05Tidy up search ripples/layout.Andrew Lee
+ 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
2015-05-05Fix vertical padding on call log fragment.Andrew Lee
Spacing still needs to be tweaked for the margins, but that will be done with other redline tweak things. Bug: 20664464 Change-Id: I874418a6a9661c34afbcd772744fa8d31ac7baa3
2015-05-05Merge "Add "show call history" list item." into mnc-devAndrew Lee
2015-05-04Add "show call history" list item.Andrew Lee
+ 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
2015-05-04Fix tab elevation for action bar placeholder.Andrew Lee
Bug: 19644830 Change-Id: Ib6949e6dcfad006256b18465db450b2edc2385e6
2015-04-25Import translations. DO NOT MERGEGeoff Mendal
Change-Id: If2fe2367a945dfc8d4b1a1e14e8cc285435eb677 Auto-generated-cl: translation import
2015-04-22Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Idf60c6913e7696b9c19f0f12328cdc66ba3c0687 Auto-generated-cl: translation import
2015-04-21CallLogAdapter cleanup and refactoring.Tyler Gunn
- Some minor cleanup and refactoring. Bug: 20393675 Change-Id: I438a9ca222cac87c9323417a216453706393c190
2015-04-20Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I628c0ad59f8b8cd044cbe605f66c928770b01202 Auto-generated-cl: translation import
2015-04-16Move call log actions into expandable view.Andrew Lee
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
2015-04-13Make call log cards white.Andrew Lee
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
2015-04-10Cardify the call log list items!Andrew Lee
+ 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
2015-04-09Replace ListView with RecyclerView in call log.Andrew Lee
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
2015-04-08Remove footer view.Andrew Lee
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
2015-04-06Remove expand/collapse animations in the Call Log.Andrew Lee
- 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
2015-03-27Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Iee6330e8d314a72d5f5e0258eb134a20e19c930d Auto-generated-cl: translation import
2015-03-27Merge "Move Report-Bad-Data toast to GoogleDialer."Andrew Lee
2015-03-26Move Report-Bad-Data toast to GoogleDialer.Andrew Lee
Bug: 19949319 Change-Id: I32a2217a24915a7d862a1c9d521fc0c45f0ecb68
2015-03-26Merge "Fix image-related GoogleDialer compiler warnings."Andrew Lee
2015-03-26Merge "Remove more strings without default translation."Andrew Lee
2015-03-25Fix image-related GoogleDialer compiler warnings.Andrew Lee
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
2015-03-25Remove more strings without default translation.Andrew Lee
Bug: 19536005 Change-Id: Idf1252288ccbf044f84981a7ba813ab9b337a0cd
2015-03-25Make menu options protected instead of private.Andrew Lee
Thsi allows Google Dialer to add a feedback option and handle its behavior accordingly. Bug: 19254693 Change-Id: I64ab34049406d10f53504af8d5eda9ac29758ef8
2015-03-25Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I7c7264cf828fed07093ac6d7dbfab95d4dad134b Auto-generated-cl: translation import
2015-03-23Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I944c15eb524cc5264ae4b451a832b9cb201471c8 Auto-generated-cl: translation import
2015-03-20Import translations. DO NOT MERGEGeoff Mendal
Change-Id: If2eeee5d4f1b125671567ca32ff4dc2d85dcb88c Auto-generated-cl: translation import
2015-03-19Remove extra options from dialpad menu.Andrew Lee
These are now exposed as shortcuts in the search fragment. Bug: 19372539 Change-Id: I526570cf8326dbfac1770c0f3c06b72ee1166cc8
2015-03-19Add shortcut for creating new contact with number.Andrew Lee
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
2015-03-19Merge "Change add contact shortcut to be for "existing"."Andrew Lee
2015-03-18Change add contact shortcut to be for "existing".Andrew Lee
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
2015-03-18Merge "Delete unused images and drawables."Andrew Lee
2015-03-18Add "Send SMS" shortcut to Dialer.Andrew Lee
Bug: 19372539 Change-Id: I8135a7e6fb7d5becdafcb0ecfb64d6f6c73aeb88
2015-03-18Delete unused images and drawables.Andrew Lee
Bug: 19536005 Change-Id: I326986d079b1980429d89379a147c3fbd441b203
2015-03-18Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I555f4afe52b63b5a481f89c8ffafc8e77d670255 Auto-generated-cl: translation import
2015-03-16Merge "Delete call log list item extras."Andrew Lee
2015-03-16Delete call log list item extras.Andrew Lee
- 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
2015-03-16Merge "Fix remove view visibility."Andrew Lee
2015-03-16Fix remove view visibility.Andrew Lee
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
2015-03-16Merge "Remove unused translations with no base string."Andrew Lee
2015-03-16Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I3f9e286ee6f1ff98260054c7a815512dbb0b5ef8 Auto-generated-cl: translation import
2015-03-11Fix break, add drawables.Andrew Lee
These were originally forgotten to be git-added, then were but were never uploaded. So, it compiled locally because the files existed, but broke when it was submitted. Change-Id: If46153336d2a49eef69e76b5213b1db5881a269a
2015-03-11Merge "Replace tabs-text with icons."Andrew Lee
2015-03-11Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I596c5fb861956f63330b39c757112e22572f9805 Auto-generated-cl: translation import