summaryrefslogtreecommitdiff
path: root/res
AgeCommit message (Collapse)Author
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
2015-03-09Merge "Add Accessibility settings to top-level."Andrew Lee
2015-03-09Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ieb3030f8c9431c2778a86267224cb03a7f38693c Auto-generated-cl: translation import
2015-03-06Replace tabs-text with icons.Andrew Lee
+ Add resources and drawables for icons to label the tabs. + Pass drawable ids to the ViewPagerTabs in ListsFragment. Change-Id: Ib7b3fcaa2257fc439b6fae8b017646c3d150eb56
2015-03-06Remove OverlappingPaneLayout.Andrew Lee
- Remove the OverlappingPaneLayout, which is no longer needed since the recents card has been removed. - Known Issue: SearchBar is no longer hidden on scroll. - Known Issue: shouldShowActionBar does not return correct value. I plan to fix these KIs in a follow up CL, but going for incremental changes for now to try to keep it apparent what is being done. Bug: 19372817 Change-Id: I9ae1ca19820c87f252863074a5bcab6923b03558
2015-03-06Merge "Move DTMF length setting to Sound settings."Andrew Lee
2015-03-06Merge "Remove the shortcut/recents card."Andrew Lee
2015-03-05Remove the shortcut/recents card.Andrew Lee
- Delete SwipeableShortcutCard, ShortcutCardsManager. - Remove related references in ListsFragment, layouts, helpers for swipe behavrio, dimensions, and ids. + Update sliding logic in ListsFragment. It's not ideal to use a frame layout to provide spacing/color, but this is the most straightforward way to maintain behavior for now. This can/should be revisited if removing the OverlappingPaneLayout. Bug: 19372817 Change-Id: I789119fb8f87ea19cda545eec7c722306fc2813d
2015-03-04Move DTMF length setting to Sound settings.Andrew Lee
Bug: 19372734 Change-Id: I59742a36333b1923459b89c4f11f741feb4d3e78
2015-03-04Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ib36b2ba4ea29af6bdfd6f0ff6ed40a7fae9446eb Auto-generated-cl: translation import
2015-03-02Add Accessibility settings to top-level.Andrew Lee
Followup CL will prevent this from showing if TTY Mode and HAC are not supported. Bug: 19372734 Change-Id: I8f1e93efab6447d2099d5eb6e734704d6632e299
2015-03-02Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I2993b70061cd21bfe92ab15fcdf8201499ee3a7a Auto-generated-cl: translation import
2015-02-27Cleanup SoundSettingsFragment.Andrew Lee
+ No functional change, but cleaner / more robust code. + Converted preference keys into shared string constants. + Reorganized code in SoundSettingsFragment into clearer helpers. + Defined constants for "magic" values used for sound preferences. Bug: 19372734 Change-Id: Ic0eb44d72548909ae6c520b18e0f4e2a2d013ac6
2015-02-26Remove unused translations with no base string.Andrew Lee
These constants don't exist have default translations in the strings.xml file. Bug: 19536005 Change-Id: I1ee91b9b09533a2325a3863e4cdd75921761db54
2015-02-27Merge "Convert GeneralSettings to SoundSettings."Andrew Lee
2015-02-26Convert GeneralSettings to SoundSettings.Andrew Lee
Rather than create a new fragment for "Sounds and vibration", reuse the existing general settings fragment. The other settings which used to reside general settings have been moved into their own top-level settings fragments. + Rename layout file and fragment. + Tweak string names. - Delete category heading; no longer necessary. Bug: 19372734 Change-Id: I5690df7ecbd49da5d5af94889e6b68e053ce25ba
2015-02-26Merge "Rename DisplayOptions to DisplayOptionsSettings."Andrew Lee
2015-02-26Rename DisplayOptions to DisplayOptionsSettings.Andrew Lee
I figured this would be a better naming pattern for the settings. Bug: 19372734 Change-Id: I658b6e364bcdc6b41af2c41a98ecd84f5e64cadf
2015-02-26Merge "Use new PowerManager API to implement voicemail proximity"Yorke Lee
2015-02-26Merge "Add DisplayOptions PreferenceFragment."Andrew Lee
2015-02-26Use new PowerManager API to implement voicemail proximityYorke Lee
This allows us to fully blank out the screen instead of faking a black screen leaving the nav bar and notification bar active. Bug: 11734938 Change-Id: I716642fa7f85776d1701d3b95736065dec4d2eac
2015-02-26Add DisplayOptions PreferenceFragment.Andrew Lee
- Remove display options from the general settings fragment. + Move display options into their own fragment, and add header in the top-level Dialer settingss which points to them. Bug: 19372734 Change-Id: I3452177ba5c31fd9e86dafbcf22eebd56c2bb091
2015-02-26Remove custom Preference.Header layout.Andrew Lee
This custom adapter was legacy from our implementation of Material design, but we should use the system default styling now. Bug: 19529041 Change-Id: Ie30e283bdc00895746c429a337cad19a95ac6b0f
2015-02-25Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I39bf90d02af7c90784f52184a6dea12cfcf1f474 Auto-generated-cl: translation import
2015-02-25Merge "Adding disabled colors for settings."Tyler Gunn
2015-02-23Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ib49eb005c5ce4bcfa98fd55542e4a8451d8b6626 Auto-generated-cl: translation import
2015-02-19Merge "Move QuickResponseSettings to top-level."Andrew Lee
2015-02-19Move QuickResponseSettings to top-level.Andrew Lee
+ Add "Quick responses" header to DialerSettingsActivity. - Delete code in GeneralSettingsFragment related to quick responses. - Delete the RespondViaSms PreferenceScreen from the general settings layout. - Remove unused "other" label string. Bug: 19372734 Change-Id: I5067da19b1eab5aa370e687556b368c7bd010e2c
2015-02-17Merge "Remove shortcut cards list view"Yorke Lee
2015-02-17Remove shortcut cards list viewYorke Lee
Remove ListView containing shortcut cards and replace it with a single ShortcutCard card. Rename ShortcutCardAdapter to ShortcutCardManager with slight refactor. Some corresponding logic changes inside ListsFragment. Reduces the number of getView calls at startup from 4 to 1. Change-Id: I11787bdb1d04cc19634c21bfd398b7533c75d339
2015-02-05Adding disabled colors for settings.Tyler Gunn
This mimics what we've had to do in Telephony settings. Bug: 19237764 Change-Id: I78c7d2b3901f29a12c606aa823cd9abfb0db106a
2015-02-04Merge "Convert unnecessary RelativeLayout to FrameLayout"Yorke Lee
2015-02-04Import translations. DO NOT MERGEGeoff Mendal
Change-Id: If1858489c9100a718221ea4d191d592b29470178 Auto-generated-cl: translation import
2015-02-03Convert unnecessary RelativeLayout to FrameLayoutYorke Lee
Change-Id: I8b68eadf13f581d10b92ae58eb78d04f31a6ff60
2015-02-02Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I25ccbbf38ac84b73bccad7353c84d99c97dd9772 Auto-generated-cl: translation import
2015-01-28Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I64ed31bf89de2a60bda72a2e9004fbc6e4029f3a Auto-generated-cl: translation import
2015-01-19Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I5062e3e09421b7810625acd032972b1c4e7bbe2d Auto-generated-cl: translation import
2015-01-08am ebc7ab5c: am 375de525: am 69df0042: Set track drawable to null to remove ↵Andrew Lee
grey track. * commit 'ebc7ab5c42240d8cfbb34245d7e996091c480aaa': Set track drawable to null to remove grey track.
2015-01-08am 375de525: am 69df0042: Set track drawable to null to remove grey track.Andrew Lee
* commit '375de5258fd086d3e9abee85a7ee015ed3f1d86b': Set track drawable to null to remove grey track.
2015-01-07Set track drawable to null to remove grey track.Andrew Lee
Bug: 18933278 Change-Id: I1b351de91c54b7273d9af6f8ea425b4837cc4d8e
2014-12-23Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I2f940ef341a2fbe051fc8bcd19faabc203adaa84 Auto-generated-cl: translation import
2014-12-23Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I394c66ce43c99ed9f194c45f90b8c931dd1a6a0d Auto-generated-cl: translation import
2014-12-10Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Id95dbd35b0c1bedc34f25997f2dc4670653c6f24 Auto-generated-cl: translation import
2014-12-10Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I6e808b1fe0b0a1ac68882ad7ed0b65af6f63112d Auto-generated-cl: translation import
2014-12-09am f70a7d30: am 61a41437: am 1e5325f4: Add Text-to-Speech annotations for ↵Ihab Awad
phone number displays (3/3) * commit 'f70a7d304e72e8dbdcaedea21eb1cb8af63783e3': Add Text-to-Speech annotations for phone number displays (3/3)
2014-12-09am 13359c01: am f85e7df3: am 40e3c80d: Merge "Expand search bar text to ↵Nancy Chen
vertically fit on small devices." into lmp-mr1-dev * commit '13359c01662a5f08518455e4cadbb248d0150091': Expand search bar text to vertically fit on small devices.
2014-12-08Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ia5476e3b1d2da3d6f4931ff3cb4eb07ba01f955a Auto-generated-cl: translation import
2014-12-08Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Idd2760942799e7b4481470ae09784480e6d22cdf Auto-generated-cl: translation import
2014-12-08am 61a41437: am 1e5325f4: Add Text-to-Speech annotations for phone number ↵Ihab Awad
displays (3/3) * commit '61a4143777480b61523b992339c68f184613ce57': Add Text-to-Speech annotations for phone number displays (3/3)
2014-12-08am f85e7df3: am 40e3c80d: Merge "Expand search bar text to vertically fit on ↵Nancy Chen
small devices." into lmp-mr1-dev * commit 'f85e7df34cddec548f61a387841b9d051e2c099f': Expand search bar text to vertically fit on small devices.
2014-12-05Add Text-to-Speech annotations for phone number displays (3/3)Ihab Awad
Bug: 17321294 Change-Id: Icc712da80e25e5a5294986ece055fcffaa558f1e
2014-12-05Merge "Expand search bar text to vertically fit on small devices." into ↵Nancy Chen
lmp-mr1-dev
2014-12-04Expand search bar text to vertically fit on small devices.Nancy Chen
The text "Search contacts & places" gets cut off because the small size of certain devices causes the text to spill over to a second line. Use "wrap_content" for height instead of "search_box_icon_size" Bug: 18552411 Change-Id: I2263aca687d1d2a431146d057099980970df75f0
2014-12-04Merge "Import translations. DO NOT MERGE"Geoff Mendal
2014-12-04Merge "Import translations. DO NOT MERGE" into lmp-mr1-devGeoff Mendal
2014-12-03am ac011d29: am 3e35e5d0: am d9dd7bab: Merge "Set content inset end to 0." ↵Andrew Lee
into lmp-mr1-dev * commit 'ac011d294974be9078b409d3bf33cfc414fa4355': Set content inset end to 0.
2014-12-03am 3e35e5d0: am d9dd7bab: Merge "Set content inset end to 0." into lmp-mr1-devAndrew Lee
* commit '3e35e5d04aeffdd05fb1146400224f76b87c8616': Set content inset end to 0.
2014-12-03Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I6db918e2ffc3006d1b637304738a46a93f65be00 Auto-generated-cl: translation import
2014-12-03Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I6ea3394f3659ee881e36e33650a946a1cfe4ebdb Auto-generated-cl: translation import
2014-12-02Set content inset end to 0.Andrew Lee
Bug: 18593764 Change-Id: Ie1b29ae2515a7a9e2c9e8727c7e7a1ec1f6604e2
2014-12-02am c718fb6a: am 8e05055f: am 5dee1ce6: Merge "On MSIM devices, include ↵Nancy Chen
account from call log in talkback." into lmp-mr1-dev * commit 'c718fb6a29e80b01de26147b40e0d5e5e7732063': On MSIM devices, include account from call log in talkback.
2014-12-02am 8e05055f: am 5dee1ce6: Merge "On MSIM devices, include account from call ↵Nancy Chen
log in talkback." into lmp-mr1-dev * commit '8e05055f2dbbbe1f16a1c437ba97ee52df9aa339': On MSIM devices, include account from call log in talkback.
2014-12-02Merge "On MSIM devices, include account from call log in talkback." into ↵Nancy Chen
lmp-mr1-dev
2014-12-01On MSIM devices, include account from call log in talkback.Nancy Chen
In TalkBack mode, when a user taps on a call log entry, it should read back the name of the SIM/account used for the call. The string used is "on <phoneAccount>". Also add back periods removed in the string updates because they are needed for verbal stopping points in TalkBack mode. Bug:18517912 Change-Id: Iaadbd859ef980ca030f9fb60d3395ca057e8cefc