summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-05-22Smart dialing caching not starting immediatelyYorke Lee
Bug 9086662 Change-Id: Iab8fc869180188930f84edb794e0a24a1a0a2229
2013-05-17Import translations. DO NOT MERGEBaligh Uddin
Change-Id: Ic62a33e0584df84467f3b54ba6172891fa76e616 Auto-generated-cl: translation import
2013-05-14am 3a18654b: Animation for smart dialing suggestionsYorke Lee
* commit '3a18654bf87df4f17880551b6cfa45c871917960': Animation for smart dialing suggestions
2013-05-14Animation for smart dialing suggestionsYorke Lee
Suggestions now appear with a fade in and slide up animation. Suggestions vanish with a fade out and slide down animation. If a suggestion is moved into the middle, it slides to the left/right as appropriate. Change the layout containing suggestions to a LinearLayout, in order to better support animations. Renamed SmartDialAdapter to SmartDialController, and also refactored it to handle entries for a LinearLayout instead of a GridView, as well as adding animation support and view management. Use null object pattern in SmartDialEntry to better handle null entries. Start displaying suggestions on the first digit entered. Bug 8840240 Change-Id: If4e16006c0b36d2244434e0b2d8f3d3b997b0ad2
2013-05-14am dbb6c6fc: Fix Dialer NPEYorke Lee
* commit 'dbb6c6fc024bbacf3b495a44bdddccf8502793ae': Fix Dialer NPE
2013-05-14Fix Dialer NPEYorke Lee
Make sure that smart dialing state is properly set before any digits in the dialpad EditText is populated. Also turn smart dialing off by default even if the system setting hasn't been previously set. Bug 8963485 Change-Id: If556d8b1405cc9e60043774b3aafd5e111e4e7ee
2013-05-13am a8fd33fd: Merge "Setting to toggle smart dialing on/off" into jb-mr2-devYorke Lee
* commit 'a8fd33fdb65b936bd130a6d9c6bd4b3615d24886': Setting to toggle smart dialing on/off
2013-05-13Merge "Setting to toggle smart dialing on/off" into jb-mr2-devYorke Lee
2013-05-08am f744f53e: Allow vanity numbers via paste/DIAL intentYorke Lee
* commit 'f744f53ed980ba901b458b070a1b5eb4526b69f3': Allow vanity numbers via paste/DIAL intent
2013-05-08Setting to toggle smart dialing on/offYorke Lee
Bug 8840243 Change-Id: I1d1fea4f958821f3a9273ba189e2140367049516
2013-05-07Allow vanity numbers via paste/DIAL intentYorke Lee
https://googleplex-android-review.googlesource.com/#/c/253417/ Converts vanity numbers such as 1-800-FLOWERS to the numeric equivalents when the number string is populated via a DIAL intent or pasted from the clipboard. Does not remove valid formatting such as dashes, periods, spaces, etc. Bug: 8858358 Change-Id: I553c91628b8fd86ff38a8eeec7823ebdc96bfe6b
2013-05-01am 006d071b: Apply NANP logic to numbers with a +1 country codeYorke Lee
* commit '006d071bd477768b4685385d15b3385f6d2e834d': Apply NANP logic to numbers with a +1 country code
2013-05-01Apply NANP logic to numbers with a +1 country codeYorke Lee
Bug 8769688 Change-Id: I4aadd0f9e5495fb1b604910306dfd918d1540136
2013-05-01am ec2a6103: Fix Smart dialing OOM for extremely long contactsYorke Lee
* commit 'ec2a6103d517a1896abffc493e5f883049872ca9': Fix Smart dialing OOM for extremely long contacts
2013-04-30Fix Smart dialing OOM for extremely long contactsYorke Lee
Names with an extremely large number of name tokens were using exponentially increasing amounts of memory since we have to insert entries for all possible initial name combinations. Added a check in the trie insertion algorithm to only add initial matches for the 1st 2, and the last 2 name tokens. This change only affects search by initial matches for names exceeding 4 name tokens. Full token search for names of all lengths should still work. E.g. "frank", "enstein" would still match "Dr Frank En Stein DDS". However initial matching would be limited to the first 2 and last 2 tokens. So "dfsd" or "fsd" would work, but "fes" or "fed" would not. Also fixes a bug caused by integer overflow when calculating thresholds for bucketing frequently used contacts Bug 8737986 Change-Id: I804184368b78fe2fa407667ed83874d839c28115
2013-04-26Import translations. DO NOT MERGEBaligh Uddin
Change-Id: Iaf27a2f7998403fffb5d0c532c26849d3f470041 Auto-generated-cl: translation import
2013-04-23am 1d6fb57f: Display regulatory info from "*#07#".Jake Hamby
* commit '1d6fb57f3a53db34bfcb3dacdf11bcb6fb091b06': Display regulatory info from "*#07#".
2013-04-23Display regulatory info from "*#07#".Jake Hamby
When user dials "*#07#", display the regulatory info graphic, or SAR data if no regulatory info PNG is provided for the device. Bug: 8259869 Change-Id: I5d8c640bfa13e2f0d3de7c68258a65428e336bca
2013-04-22Import translations. DO NOT MERGEBaligh Uddin
Change-Id: Ie24f96be17e9ea49d56ffc7c1c79230d8628343b Auto-generated-cl: translation import
2013-04-19am a539c86d: Allow name matching for contacts with numbers in their nameYorke Lee
* commit 'a539c86d015c3eb9819cf38d1ccb04edb1461fe2': Allow name matching for contacts with numbers in their name
2013-04-19Allow name matching for contacts with numbers in their nameYorke Lee
For SmartDialTrie, also include numbers as valid characters when calculating indexes when generating the byte array. For SmartDialNameMatcher, include '0'-'9' as valid latin characters, and handle them appropriately after remapping accented characters. Also fixed a subtle matching bug that would manifest itself when matching against multiple tokens with similar initials - E.g. "Dr.Dredd" Bug 8659001 Change-Id: If461d2760a723ef7fd03dda0c1a1515cd7b44cf6
2013-04-18am afd650b7: Allow smart dialing to ignore country code/area codeYorke Lee
* commit 'afd650b7f81f363a4bb554ff7199338aee1a49c2': Allow smart dialing to ignore country code/area code
2013-04-17Allow smart dialing to ignore country code/area codeYorke Lee
Add handling of country codes if the number starts with a '+' prefix Also add special case handling for NANP numbers in SmartDialTrie if we determine that the user is in North America. Save user's SIM country ISO into SharedPreferences. Add SmartDialNameMatcher methods to correctly match NANP numbers Fix tests to use assertTrue/assertFalse instead of assertEquals Bug 8292294 Change-Id: Ic61dac75ee3b772986d3008240bbda81322c8f31
2013-04-08am 4334d3b8: Merge "Fix name matching bug with non space separators" into ↵Yorke Lee
jb-mr2-dev * commit '4334d3b852e369b591f591e66e493cc92a721233': Fix name matching bug with non space separators
2013-04-08Merge "Fix name matching bug with non space separators" into jb-mr2-devYorke Lee
2013-04-08Fix name matching bug with non space separatorsYorke Lee
Bug: 8435819 Change-Id: I69c32207d123e5da4ae5421a5fe83ffeee4e5070
2013-04-08am e9d94e6a: Fix failing tests in PhoneCallDetailsHelpeTestsYorke Lee
* commit 'e9d94e6a112b119d8ca895e0b7e8c82655eaa9a7': Fix failing tests in PhoneCallDetailsHelpeTests
2013-04-08Fix failing tests in PhoneCallDetailsHelpeTestsYorke Lee
Bug 8566339 Change-Id: I20f84454f09be6f954c98042395908ca63977f6f
2013-04-05am bccd23a1: Merge "Sort by data usage for smart dialing" into jb-mr2-devYorke Lee
* commit 'bccd23a1790f0fef1a85fa2a78799517c9024de5': Sort by data usage for smart dialing
2013-04-06Merge "Sort by data usage for smart dialing" into jb-mr2-devYorke Lee
2013-04-05Sort by data usage for smart dialingYorke Lee
Bug 8281648 Change-Id: I55bfaf137f9657a47616187fe7b7999c321b21f9
2013-04-05am 0d5e72eb: Merge "Fix for bug #8146846 Phone App should be mirrored for ↵Fabrice Di Meglio
RTL languages" into jb-mr2-dev * commit '0d5e72ebd7945bbe106f267db2120df9bb776957': Fix for bug #8146846 Phone App should be mirrored for RTL languages
2013-04-05Merge "Fix for bug #8146846 Phone App should be mirrored for RTL languages" ↵Fabrice Di Meglio
into jb-mr2-dev
2013-04-05Fix for bug #8146846 Phone App should be mirrored for RTL languagesFabrice Di Meglio
- add specific Drawables for Arabic and Farsi dialer Change-Id: I44dd9f3f0b9fd79af3bd42282d4b180c3d5d4db2
2013-04-05am 45f2171a: Merge "Fix for bug #8146846 Phone App should be mirrored for ↵Fabrice Di Meglio
RTL languages" into jb-mr2-dev * commit '45f2171aed0a2abebd54003cb8f307aa8cf251f5': Fix for bug #8146846 Phone App should be mirrored for RTL languages
2013-04-05Merge "Fix for bug #8146846 Phone App should be mirrored for RTL languages" ↵Fabrice Di Meglio
into jb-mr2-dev
2013-04-05Fix for bug #8146846 Phone App should be mirrored for RTL languagesFabrice Di Meglio
- replace left/right properties with start/end ones (Dialer will never be unbundled) - add mirrored version of some drawables - update AndroidManifest Change-Id: Ia7f5b6ad13dd75fe42f1ee763dda5ab18e2d92c7
2013-04-02am f43f537a: Remove smart dialing content observerYorke Lee
* commit 'f43f537a0100693570606c436a81a12e21fb5b9e': Remove smart dialing content observer
2013-04-02Remove smart dialing content observerYorke Lee
The content observer doesn't help to detect changes that happen outside the application (e.g. user modifies a contact in the People app), and seems to be called multiple times while in the dialer for no reason, causing multiple unnecessary recaches. Instead, just force a recache in onResume upon startup to refresh the cache. Bug 8527847 Change-Id: I52f5c435ad573ce8b195d7b7828f19501e068c60
2013-04-01am 2eb493c6: Turn smart dialing debug logging offYorke Lee
* commit '2eb493c61878d936bed055930a921fbea7b7e2b4': Turn smart dialing debug logging off
2013-04-01Turn smart dialing debug logging offYorke Lee
Bug 8518729 Change-Id: Ib6626385c3b7cd9a6c3a18335444db21b937ea02
2013-03-20Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I4b6b501fa932eb011afb21149d55f1ca1b6b20b9 Auto-generated-cl: translation import
2013-03-19am 02329d7b: Merge "Always show WAIT/PAUSE in dialer overflow menu." into ↵Santos Cordon
jb-mr2-dev * commit '02329d7b2efce6ef5781bf95ecdd83f08fed8b08': Always show WAIT/PAUSE in dialer overflow menu.
2013-03-19Merge "Always show WAIT/PAUSE in dialer overflow menu." into jb-mr2-devSantos Cordon
2013-03-19Always show WAIT/PAUSE in dialer overflow menu.Santos Cordon
Used to hide menu items when not applicable. Now we show them always and only perform the action in those cases where menu items were previously visible. Updated code to do zero-position checks when there is no selection...previously missing check. Changed code to use chars instead of Strings when dealing with single digits. Consolidated duplicate code with updateDialString() function. bug: 7478840 Change-Id: I2aa5d3badd40079e9aa75abf7e4051f9dba5e667
2013-03-18Merge "Import translations. DO NOT MERGE"Baligh Uddin
2013-03-18Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I62d82d4ad21ee27dde5f40c6b9c30965811df5cd Auto-generated-cl: translation import
2013-03-15Ensure simulated A11y clicks in Dialer correctly send click events.Alan Viverette
Bug: 8369906 Change-Id: Ibdf8a4d43d0898429333af03e98a9aa494e5c819
2013-03-08Merge "Fix accessibility bug where enter key adds the focused digit twice." ↵Svetoslav Ganov
into jb-mr2-dev
2013-03-06Fix accessibility bug where enter key adds the focused digit twice.Alan Viverette
Bug: 8328641 Change-Id: I76fda040f709a9a5c0e88e67abfa106763b75ffb
2013-03-06Remove ICS-era accessibility workarounds from Dialer app.Alan Viverette
Bug: 8330225 Change-Id: I0c61e12b4090ff6eeaff5ef5791ac62814d90383
2013-02-22Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I2a13daaf71c2d58a96ac0c402d5ee46eeabacfdf Auto-generated-cl: translation import
2013-02-19Merge "Removing un-necessary permissions for dialer."Chiao Cheng
2013-02-13Removing un-necessary permissions for dialer.Chiao Cheng
Change-Id: Idb176ab4a7d24aa1d7a581c64e0dbbd27ee6c55b
2013-02-12Merge "Smart Dialling v2 with phone number support"Yorke Lee
2013-02-12Smart Dialling v2 with phone number supportYorke Lee
Behavior: Use a prefix tree to cache contacts instead of an array list Perform matches against phone numbers as well DialpadFragment now ignores results from stale tasks where queries no longer match Add ability to not use default phone number for phone number disambiguation dialog Contacts are now ranked by the order which they were sorted by in the ContactsProvider (affinity) Change remapAccentedChars to always return lowercase characters to avoid overhead of uppercase character conversion Resource/Layout changes: Tweak margins so that the section containing smart dial suggestions looks cleaner Use color resource instead of hardcoding color values Add phone number to SmartDial items ContentObserver: Add a contentobserver to be notified on changes in contacts Refactored cache to allow for forced cache refreshes Use a single instance of SmartDialCache Tests: Added SmartDialTrie tests Comments: Comment cleanup Change-Id: Ica2854e2845d4d75048aa1fd982f139496d21bf3
2013-02-08Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I4e7973705e3fa3dd3d1a42fd53f4267946c8e1c1 Auto-generated-cl: translation import
2013-02-05Merge "Don't show old matches if no smartdial matches found"Yorke Lee
2013-02-05Don't show old matches if no smartdial matches foundYorke Lee
Change-Id: If851c291273aa5296f1d59edccc83e6d4019be76
2013-02-05Merge "Import translations. DO NOT MERGE"Baligh Uddin
2013-02-04Enable initial matching for Smart DiallingYorke Lee
Allow the name matcher function used by smart dialling to perform initial matches of the variety 57 - (J)ohn (S)mith Refactor SmartDialNameMatcher testing method to allow checking multiple match positions. Add tests for initial matches Change-Id: Iadc5e3e8b2f408136c704015d2297e9b520e1065
2013-02-04Import translations. DO NOT MERGEBaligh Uddin
Change-Id: Iec47214f06049b80e59c507cecd2910ee7a20923 Auto-generated-cl: translation import
2013-01-30Add missing ContactUpdateService in AndroidManifest.xmlYorke Lee
Bug: 8107290 Change-Id: I87a4127a99cbedd8e757cfc66cfe7f543c4e82eb
2013-01-09Merge "Dedup NANPA numbers"Jay Shrauner
2013-01-08Dedup NANPA numbersJay Shrauner
Remove redundant call to shouldCollapseWith() and remove ignored return value in collapseWith(). Bug:7519057 Change-Id: I7e01746749d8574dbb596b2e1b09673bf78fa045
2013-01-07Add a "No contacts" description to PhoneFavoriteFragmentYorke Lee
Add an additional "No contacts" view to the sub-header view returned by PhoneFavoriteMergedAdapter. This is required because the empty view functionality provided by a simple list view does not work because PhoneFavoriteMergedAdapter is a combination of two adapters. This "No contacts" view provides the illusion of an empty view for the 2nd adapter that displays all contacts without phone numbers, even if the first adapter does contain contacts. Bug: 5522729 Change-Id: I7dcc4cd7b4b2b28fefea4be384de40318654e165
2013-01-02Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I8da1230f793c6e11f6921fe788f6bf203d25f9d7 Auto-generated-cl: translation import
2012-12-14Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I4b0fd7eac00d5bc411ecf78b9c2701d50c3a0a92 Auto-generated-cl: translation import
2012-12-13Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I18ad840c97d2cff44b629312fc2be9db06c407dc Auto-generated-cl: translation import
2012-12-12Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I293a168c2f0a527febaed5b3c51ce12932f4a4fa Auto-generated-cl: translation import
2012-12-10Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I29928a181aa0d86083eecb4c1c1708fb5c4cfc67 Auto-generated-cl: translation import
2012-12-07Merge "Add notification to "add contacts" when no activity found."Chiao Cheng
2012-12-07Add notification to "add contacts" when no activity found.Chiao Cheng
If a user disables the contacts application, the "add contact" option will no longer work. Add a notification to inform them that they need to enable the contact app to use the feature. Bug: 7694569 Change-Id: I1aad7b1396f624461083cfab7ba470f9d4ac25ce
2012-12-07Fixing import order.Chiao Cheng
Change-Id: Idcab1877b341b42440e336fa09ba7d631c28c7d0
2012-12-06Fix buildYorke Lee
Change-Id: If60fc1d68bf7d32807f61716aecc7eb5d2ac1677
2012-12-06Merge "Removing contacts source inclusion from Dialer."Yorke Lee
2012-12-06Removing contacts source inclusion from Dialer.Chiao Cheng
Bug: 6993891 Change-Id: Ic9d769f4c5f47b609ea77a9e37668da26fc0c976
2012-12-06Merge "Moving ProportionalLayout to ContactsCommon."Chiao Cheng
2012-12-06Moving ProportionalLayout to ContactsCommon.Chiao Cheng
Bug: 6993891 Change-Id: I30ef5d9fe8d293d6029c58b578f5b2440c14edef
2012-12-06Import translations. DO NOT MERGEBaligh Uddin
Change-Id: Ie4dbce893da93285d51076fa2529ffef85d9c02c Auto-generated-cl: translation import
2012-12-05Moving quick contact resources into common.Chiao Cheng
Bug: 6993891 Change-Id: I0f9679139dcdac2f6f687cf9b97e1e6cf78afa2a
2012-12-05Major resource move and clean-up.Chiao Cheng
Moving resources from Contacts to ContactsCommon and Dialer as necessary to remove dialer dependencies on contacts app. Bug: 6993891 Change-Id: Ieb3a31c1f4f8294b17c1829bb56313ab1f3cafe7
2012-12-04Moving depedencies of DialtactsActivity into ContactsCommon.Chiao Cheng
This completes the clean-up of class depedencies for DialtactsActivity in the Dialer. Bug: 6993891 Change-Id: I86389308e9fe29aeb835b77a9f3d3a4a308bf690
2012-12-04Moving ImportExportDialogFragment to ContactCommon.Chiao Cheng
This completes the dependency clean-up of the PhoneFavoriteFragment in the dialer. Bug: 6993891 Change-Id: I72ee8054d18f2b5ee12810194f37f78bad272c4e
2012-12-04Moving vcard UI to ContactsCommon.Chiao Cheng
Moving all class in vcard directory in preparation to move ImportExportDialogFragment. Bug: 6993891 Change-Id: Ibf82b3b69a2ce81e78466fea5d2a88d180084bd1
2012-12-03Remove hard coded PeopleActivity.class from VCard UI.Chiao Cheng
The PeopleActivity was hard coded as the target activity when clicking on a vcard processed notification. Since the vcard export can be triggered from both the dialtacts UI and the people UI, it's strange to always go back to the people UI. Change vcard UI classes to accept the calling activity. This way we can send the user back to the activity that originally triggered the vcard export. Bug: 6993891 Change-Id: Ice978acb8244aacfcdc94c7da0ccc1e43bada54c
2012-12-03Merge "Further clean-up of PhoneFavoriteFragment in Dialer app."Chiao Cheng
2012-12-03Further clean-up of PhoneFavoriteFragment in Dialer app.Chiao Cheng
Moving dependencies of Dialer PhoneFavoriteFragment. Mostly filtering dependencies. Bug: 6993891 Change-Id: I1789580470dd753ffdcb141e5ab827c88369bb3d
2012-12-03Merge "Move misplaced SmartDialNameMatcherTest"Yorke Lee
2012-11-30Move misplaced SmartDialNameMatcherTestYorke Lee
Change-Id: I2cf4ff36eb3198af45a6b4e16a3321d68849c9b4
2012-11-30Cherrypick Arabic/Farsi pasting into dialpad fixYorke Lee
Bug: 6656969 Change-Id: I0bb094125eb9be2b6508e6ca658ae23da9da19d1
2012-11-28Improve dialer's backgroundRomain Guy
See a before/after comparison (exposure boosted to highlight the diff): http://www/~romainguy/no_crawl/newgradients.png Change-Id: Ifea32165e438841210d48220a16549ce3e0b6d27
2012-11-26Merge "Move AccountTypeManager to ContactsCommon."Chiao Cheng
2012-11-26Move AccountTypeManager to ContactsCommon.Chiao Cheng
Moving AccountTypeManager to ContactsCommon so it can be shared by Contacts and Dialer. Bug: 6993891 Change-Id: I399de7f92f86270740db51efb32a136b413161c5
2012-11-21Use SmartDialCache object for cachingYorke Lee
Extract caching methods from SmartDialLoaderTask and use a standalone SmartDialCache object instead. This cache object handles caching failures as well as concurrent multiple cache requests. Bug: 6977981 Change-Id: I6df9e273191c7ac434d094e567d7a91814f8c030
2012-11-14Merge "Move dependencies of AccountTypeManager into ContactsCommon."Chiao Cheng
2012-11-13Move dependencies of AccountTypeManager into ContactsCommon.Chiao Cheng
Moving dependencies in preparation to move AccountTypeManager. Bug: 6993891 Change-Id: I0399fee27960d46cd5b6f629d32868ff0c2ce38e
2012-11-13Merge "Add content description to More Options button"Yorke Lee
2012-11-13Add content description to More Options buttonYorke Lee
Cherrypicked for master Bug: 434822 Change-Id: I5bf21c7b1a6cd8d53489105fb3ef0d6b7936cf72
2012-11-13Merge "Further clean-up of PhoneFavoriteFragment."Chiao Cheng