From ccca31529c07970e89419fb85a9e8153a5396838 Mon Sep 17 00:00:00 2001 From: Eric Erfanian Date: Wed, 22 Feb 2017 16:32:36 -0800 Subject: Update dialer sources. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test: Built package and system image. This change clobbers the old source, and is an export from an internal Google repository. The internal repository was forked form Android in March, and this change includes modifications since then, to near the v8 release. Since the fork, we've moved code from monolithic to independent modules. In addition, we've switched to Blaze/Bazel as the build sysetm. This export, however, still uses make. New dependencies have been added: - Dagger - Auto-Value - Glide - Libshortcutbadger Going forward, development will still be in Google3, and the Gerrit release will become an automated export, with the next drop happening in ~ two weeks. Android.mk includes local modifications from ToT. Abridged changelog: Bug fixes ● Not able to mute, add a call when using Phone app in multiwindow mode ● Double tap on keypad triggering multiple key and tones ● Reported spam numbers not showing as spam in the call log ● Crash when user tries to block number while Phone app is not set as default ● Crash when user picks a number from search auto-complete list Visual Voicemail (VVM) improvements ● Share Voicemail audio via standard exporting mechanisms that support file attachment (email, MMS, etc.) ● Make phone number, email and web sites in VVM transcript clickable ● Set PIN before declining VVM Terms of Service {Carrier} ● Set client type for outbound visual voicemail SMS {Carrier} New incoming call and incall UI on older devices (Android M) ● Updated Phone app icon ● New incall UI (large buttons, button labels) ● New and animated Answer/Reject gestures Accessibility ● Add custom answer/decline call buttons on answer screen for touch exploration accessibility services ● Increase size of touch target ● Add verbal feedback when a Voicemail fails to load ● Fix pressing of Phone buttons while in a phone call using Switch Access ● Fix selecting and opening contacts in talkback mode ● Split focus for ‘Learn More’ link in caller id & spam to help distinguish similar text Other ● Backup & Restore for App Preferences ● Prompt user to enable Wi-Fi calling if the call ends due to out of service and Wi-Fi is connected ● Rename “Dialpad” to “Keypad” ● Show "Private number" for restricted calls ● Delete unused items (vcard, add contact, call history) from Phone menu Change-Id: I2a7e53532a24c21bf308bf0a6d178d7ddbca4958 --- .../common/res/values/animation_constants.xml | 19 + .../android/contacts/common/res/values/attrs.xml | 83 +++ .../android/contacts/common/res/values/colors.xml | 158 ++++ .../android/contacts/common/res/values/dimens.xml | 161 +++++ .../common/res/values/donottranslate_config.xml | 95 +++ .../com/android/contacts/common/res/values/ids.xml | 30 + .../contacts/common/res/values/integers.xml | 39 + .../android/contacts/common/res/values/strings.xml | 798 +++++++++++++++++++++ .../android/contacts/common/res/values/styles.xml | 97 +++ 9 files changed, 1480 insertions(+) create mode 100644 java/com/android/contacts/common/res/values/animation_constants.xml create mode 100644 java/com/android/contacts/common/res/values/attrs.xml create mode 100644 java/com/android/contacts/common/res/values/colors.xml create mode 100644 java/com/android/contacts/common/res/values/dimens.xml create mode 100644 java/com/android/contacts/common/res/values/donottranslate_config.xml create mode 100644 java/com/android/contacts/common/res/values/ids.xml create mode 100644 java/com/android/contacts/common/res/values/integers.xml create mode 100644 java/com/android/contacts/common/res/values/strings.xml create mode 100644 java/com/android/contacts/common/res/values/styles.xml (limited to 'java/com/android/contacts/common/res/values') diff --git a/java/com/android/contacts/common/res/values/animation_constants.xml b/java/com/android/contacts/common/res/values/animation_constants.xml new file mode 100644 index 000000000..9eec7d6c8 --- /dev/null +++ b/java/com/android/contacts/common/res/values/animation_constants.xml @@ -0,0 +1,19 @@ + + + + 250 + diff --git a/java/com/android/contacts/common/res/values/attrs.xml b/java/com/android/contacts/common/res/values/attrs.xml new file mode 100644 index 000000000..44d04f025 --- /dev/null +++ b/java/com/android/contacts/common/res/values/attrs.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/com/android/contacts/common/res/values/colors.xml b/java/com/android/contacts/common/res/values/colors.xml new file mode 100644 index 000000000..7524eff58 --- /dev/null +++ b/java/com/android/contacts/common/res/values/colors.xml @@ -0,0 +1,158 @@ + + + + + #eeeeee + + #44ff0000 + + + #a0ffffff + + + #30000000 + + + #363636 + + @color/dialer_secondary_text_color + + + #2A56C6 + + + #AAAAAA + + + #D0D0D0 + + + #363636 + + + #DDDDDD + + + #7F000000 + + + #CCCCCC + + #7f000000 + + #fff + #000 + + + + #DB4437 + #E91E63 + #9C27B0 + #673AB7 + #3F51B5 + #4285F4 + #039BE5 + #0097A7 + #009688 + #0F9D58 + #689F38 + #EF6C00 + #FF5722 + #757575 + + + + + #C53929 + #C2185B + #7B1FA2 + #512DA8 + #303F9F + #3367D6 + #0277BD + #006064 + #00796B + #0B8043 + #33691E + #E65100 + #E64A19 + #424242 + + + + #607D8B + + #455A64 + + + #cccccc + + #ffffff + + @color/dialer_theme_color + + #ffffff + + #008aa1 + + #ffffff + @color/tab_ripple_color + #f50057 + #1C3AA9 + + + @color/contactscommon_actionbar_background_color + + + + #ffffff + #a6ffffff + + + #000000 + + #ffffff + + #737373 + @color/searchbox_hint_text_color + + @color/dialtacts_theme_color + + + #f9f9f9 + #FFFFFF + + + #d1041c + + + #000000 + + + #d8d8d8 + + + #00c853 + + + #ffffff + @color/searchbox_hint_text_color + diff --git a/java/com/android/contacts/common/res/values/dimens.xml b/java/com/android/contacts/common/res/values/dimens.xml new file mode 100644 index 000000000..642eb31a4 --- /dev/null +++ b/java/com/android/contacts/common/res/values/dimens.xml @@ -0,0 +1,161 @@ + + + + + + 0dip + + + 32dip + + 18dp + 8dp + + + 23dip + + 16dip + + + 16dip + + + + 48sp + + + 0dip + + + 32dip + + 16dip + @dimen/list_visible_scrollbar_padding + + 8dip + + 56dp + + + 0dip + + + 12dp + + + 1dp + + + 32dip + + + 48dip + + + 16sp + 40dp + 15dp + 12dp + + + 20sp + 10dip + + + 40dp + 20dp + 1dp + 67% + + + 56dp + + 56dp + + 8dp + + 88dp + + 16dp + + 16dp + + + 2dp + + 14sp + 2dp + 16dp + 2dp + 0dp + 2dp + 12sp + 2dp + + + 4dp + + 48dp + + 56dp + + 16dp + + 14dp + + 15dp + + 20sp + + + 16dp + + 57dp + + 24sp + + + 40dp + + 2dp + + + 20dp + + 8dp + + 50dp + + 60dp + + 16sp + + 14sp + + 15dp + diff --git a/java/com/android/contacts/common/res/values/donottranslate_config.xml b/java/com/android/contacts/common/res/values/donottranslate_config.xml new file mode 100644 index 000000000..324437928 --- /dev/null +++ b/java/com/android/contacts/common/res/values/donottranslate_config.xml @@ -0,0 +1,95 @@ + + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + ContactEditorUtils_default_account + + + ContactEditorUtils_anything_saved + + + default + + + default + + + + + + + + + vcf + + + contacts.vcf + + + 1 + + + 99999 + + + + + + true + + + true + + + true + + pref_build_version + pref_open_source_licenses + pref_privacy_policy + pref_terms_of_service + + + diff --git a/java/com/android/contacts/common/res/values/ids.xml b/java/com/android/contacts/common/res/values/ids.xml new file mode 100644 index 000000000..871f5a636 --- /dev/null +++ b/java/com/android/contacts/common/res/values/ids.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + diff --git a/java/com/android/contacts/common/res/values/integers.xml b/java/com/android/contacts/common/res/values/integers.xml new file mode 100644 index 000000000..d38ad1da0 --- /dev/null +++ b/java/com/android/contacts/common/res/values/integers.xml @@ -0,0 +1,39 @@ + + + + + + + 2 + 3 + + + 30 + + + 0 + + 0 + + + 250 + + + 100 + diff --git a/java/com/android/contacts/common/res/values/strings.xml b/java/com/android/contacts/common/res/values/strings.xml new file mode 100644 index 000000000..15e1f15d9 --- /dev/null +++ b/java/com/android/contacts/common/res/values/strings.xml @@ -0,0 +1,798 @@ + + + + + + Text copied + + Copy to clipboard + + + Call + %s + + + Call home + + Call mobile + + Call work + + Call work fax + + Call home fax + + Call pager + + Call + + Call callback + + Call car + + Call company main + + Call ISDN + + Call main + + Call fax + + Call radio + + Call telex + + Call TTY/TDD + + Call work mobile + + Call work pager + + Call + %s + + + Call MMS + + %s (Call) + + + Text + %s + + + Text home + + Text mobile + + Text work + + Text work fax + + Text home fax + + Text pager + + Text + + Text callback + + Text car + + Text company main + + Text ISDN + + Text main + + Text fax + + Text radio + + Text telex + + Text TTY/TDD + + Text work mobile + + Text work pager + + Text + %s + + + Text MMS + + %s (Message) + + + Clear frequently contacted? + + + You\'ll clear the frequently contacted list in the + Contacts and Phone apps, and force email apps to learn your addressing preferences from + scratch. + + + + Clearing frequently contacted\u2026 + + + Available + + + Away + + + Busy + + + Contacts + + + Other + + + Directory + + + Work directory + + + All contacts + + + Me + + + Searching\u2026 + + + More than %d found. + + + No contacts + + + + 1 found + %d found + + + + Quick contact for %1$s + + + (No name) + + + Frequently called + + + Frequently contacted + + + View contact + + + All contacts with phone numbers + + + Work profile contacts + + + View updates + + + Device-only, unsynced + + + Name + + + Nickname + + + Name + + First name + + Last name + + Name prefix + + Middle name + + Name suffix + + + Phonetic name + + + Phonetic first name + + Phonetic middle name + + Phonetic last name + + + Phone + + + Email + + + Address + + + IM + + + Organization + + + Relationship + + + Special date + + + Text message + + + Address + + + Company + + + Title + + + Notes + + + SIP + + + Website + + + Groups + + + Email home + + Email mobile + + Email work + + Email + + Email %s + + + Email + + + Street + + PO box + + Neighborhood + + City + + State + + ZIP code + + Country + + + View home address + + View work address + + View address + + View %s address + + + Chat using AIM + + Chat using Windows Live + + Chat using Yahoo + + Chat using Skype + + Chat using QQ + + Chat using Google Talk + + Chat using ICQ + + Chat using Jabber + + + Chat + + + delete + + + Expand or collapse name fields + + + Expand or collapse phonetic + name fields + + + All contacts + + + Done + + + Cancel + + + Contacts in %s + + + Contacts in custom view + + + Single contact + + + Save imported contacts to: + + + Import from SIM card + + + Import from SIM ^1 - ^2 + + + Import from SIM %1$s + + + Import from .vcf file + + + Cancel import of %s? + + + Cancel export of %s? + + + Couldn\'t cancel vCard import/export + + + Unknown error. + + + Couldn\'t open \"%s\": %s. + + + Couldn\'t start the exporter: \"%s\". + + + There is no exportable contact. + + + You have disabled a required permission. + + + An error occurred during export: \"%s\". + + + Required filename is too long (\"%s\"). + + + I/O error + + + Not enough memory. The file may be too large. + + + Couldn\'t parse vCard for an unexpected reason. + + + The format isn\'t supported. + + + Couldn\'t collect meta information of given vCard file(s). + + + One or more files couldn\'t be imported (%s). + + + Finished exporting %s. + + + Finished exporting contacts. + + + Finished exporting contacts, click the notification to share contacts. + + + Tap to share contacts. + + + Exporting %s canceled. + + + Exporting contact data + + + Contact data is being exported. + + + Couldn\'t get database information. + + + There are no exportable contacts. If you do have contacts on your device, some data providers may not allow the contacts to be exported from the device. + + + The vCard composer didn\'t start properly. + + + Couldn\'t export + + + The contact data wasn\'t exported.\nReason: \"%s\" + + + Importing %s + + + Couldn\'t read vCard data + + + Reading vCard data canceled + + + Finished importing vCard %s + + + Importing %s canceled + + + %s will be imported shortly. + + The file will be imported shortly. + + vCard import request was rejected. Try again later. + + %s will be exported shortly. + + + The file will be exported shortly. + + + Contacts will be exported shortly. + + + vCard export request was rejected. Try again later. + + contact + + + Caching vCard(s) to local temporary storage. The actual import will start soon. + + + Couldn\'t import vCard. + + + Contact received over NFC + + + Export contacts? + + + Caching + + + Importing %s/%s: %s + + + Export to .vcf file + + + + + Sort by + + + First name + + + Last name + + + Name format + + + First name first + + + Last name first + + + Default account for new contacts + + + Sync contact metadata [DOGFOOD] + + + Sync contact metadata + + + About Contacts + + + Settings + + + Share visible contacts + + + Failed to share visible contacts. + + + Share favorite contacts + + + Share all contacts + + + Failed to share contacts. + + + Import/export contacts + + + Import contacts + + + This contact can\'t be shared. + + + There are no contacts to share. + + + Search + + + Find contacts + + + Favorites + + + No contacts. + + + No visible contacts. + + + No favorites + + + No contacts in %s + + + Clear frequents + + + Select SIM card + + + Manage accounts + + + Import/export + + + sans-serif + + + via %1$s + + + %1$s via %2$s + + + sans-serif-medium + + + stop searching + + + Clear search + + + sans-serif + + + Contact display options + + + Account + + + Always use this for calls + + + Call with + + + Call with a note + + + Type a note to send with call ... + + + SEND & CALL + + + %1$s / %2$s + + + %1$s%2$s + + + %1$s tab. + + + + + %1$s tab. %2$d unread item. + + + %1$s tab. %2$d unread items. + + + + + Build version + + + Open source licenses + + + License details for open source software + + + Privacy policy + + + Terms of service + + + Open source licenses + + + Failed to open the url. + + + Place video call + diff --git a/java/com/android/contacts/common/res/values/styles.xml b/java/com/android/contacts/common/res/values/styles.xml new file mode 100644 index 000000000..07d4a0225 --- /dev/null +++ b/java/com/android/contacts/common/res/values/styles.xml @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3