summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-08Fix failing tests in PhoneCallDetailsHelpeTestsYorke Lee
Bug 8566339 Change-Id: I20f84454f09be6f954c98042395908ca63977f6f
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-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-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-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-01Turn smart dialing debug logging offYorke Lee
Bug 8518729 Change-Id: Ib6626385c3b7cd9a6c3a18335444db21b937ea02
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-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
2012-11-09Merge "Fix NPE if SmartDialLoaderTask has null context"Yorke Lee
2012-11-09Merge "Use a custom character map instead of name normalizer"Yorke Lee
2012-11-09Merge "Moving phone icon into Dialer app."Chiao Cheng
2012-11-09Moving phone icon into Dialer app.Chiao Cheng
Also removed un-necessary taskAffinity definitions. Bug: 6993891 Change-Id: Id89bfecfe5cbc462964a43063f789e3ea1a62984
2012-11-09Use a custom character map instead of name normalizerYorke Lee
Instead of normalizing names during caching, add a function that that maps accented characters to their alphabetic equivalents using switch statements. This character map is used in the on-the-fly matching algorithm. This speeds up the caching process(11k contacts) from 800-1500ms to about 600-1000ms since we no longer perform the normalizing step during caching. Bug: 6977981 Change-Id: I98dfc3cba00258bb7ff03b346eab7ca7dc1065be
2012-11-09Fix NPE if SmartDialLoaderTask has null contextYorke Lee
Add null check for mContext to prevent NPE if somehow SmartDialLoaderTask receives a null context Bug: 6977981 Change-Id: Id87b254520a48ad78dc0c579f0fd58d7f7ce270e
2012-11-08Prune selected call log filter options from overflow menu.Chiao Cheng
Bug: 7205096 Change-Id: Ib81e81195475e74f06ed7eda600b3f777a28ad70
2012-11-07Further clean-up of PhoneFavoriteFragment.Chiao Cheng
Moving common dependencies from Contacts to ContactsCommon. Bug: 6993891 Change-Id: I810454230dd614bf849504ec301fd1f80a80e57f
2012-11-07Merge "Add smart dialling capabilities to dialer"Yorke Lee
2012-11-07Add smart dialling capabilities to dialerYorke Lee
Layout changes to dialpad fragment to make space for smart dial suggestions. This feature does not appear in landscape mode. SmartDialTextView automatically resizes text to fit within the bounds of the view. SmartDialAdapter highlights certain portions of the matching name based on match positions provided by SmartDialNameMatcher. SmartDialLoaderTask is an AsyncTask that caches all contacts with a phone number into memory, or matches all contact names against a provided query to return a list of matches (maximum of 3). SmartDialNameMatcher contains utility functions to remove accents from accented characters and normalize a phone number. It also contains the matching logic that determines if a contact's display name matches a numeric query. Added some tests for SmartDialNameMatcher Bug: 6977981 Change-Id: I43e1a70d8d0d46e02fc67fe1caaec9a1769124f5
2012-11-07Merge "Change dial pad to show chooser onStart instead of onCreate."Chiao Cheng
2012-11-07Change dial pad to show chooser onStart instead of onCreate.Chiao Cheng
This fixes the problem where the chooser is not shown when the dialpad is started and pushed to recents before a call comes in. When the call comes and dial pad is selected from recents, the dialpad is shown. Instead, we should be showing the chooser so the user has the option of getting back into the call. Bug: 5761141 Change-Id: I315117c6607dbb71e5359cf98785591d20c21881
2012-11-06Import translations. DO NOT MERGEBaligh Uddin
Change-Id: Iccbf8fe00c73c2fc65dc53b855c5f98369679e6a Auto-generated-cl: translation import
2012-11-05Merge "Moving ContactListItemView and dependent classes."Chiao Cheng
2012-11-01Import translations. DO NOT MERGEBaligh Uddin
Change-Id: Ib91edca6ab20e1e6ca9bcef5b17f16467aa38533 Auto-generated-cl: translation import
2012-11-01Moving ContactListItemView and dependent classes.Chiao Cheng
Further clean-up of PhoneFavoriteFragment in Dialer app to move all necessary dependencies into Contacts Common package. Bug: 6993891 Change-Id: I55c871fab9556ce4cc94ccc15716304810c65a28
2012-10-31Merge "Moving dependencies of PhoneFavoriteFragment."Chiao Cheng
2012-10-31Moving PhoneNumberInteraction from Contacts.Chiao Cheng
Bug: 6993891 Change-Id: Id4701c00455de609850a5afea74e68c6bd84cbb3
2012-10-31Moving dependencies of PhoneFavoriteFragment.Chiao Cheng
Initial clean-up of class. More to come. Bug: 6993891 Change-Id: If00b96432a0d5573c5669b8c8db049d94f264ad6
2012-10-30Move PhoneNumberFormatter to common.Chiao Cheng
Bug: 6993891 Change-Id: I21b3afb81855ae728b9e20f8af8632c9cd9f4e58
2012-10-30Merge "Adding missing menu activities to manifest."Chiao Cheng
2012-10-30Move StopWatch class into common.Chiao Cheng
Bug: 6993891 Change-Id: I0137ea3a72e0ee1a75f9218fec471049abf36d97
2012-10-29Adding missing menu activities to manifest.Chiao Cheng
The AccountFilterActivity and CustomContactListFilterActivity are needed by the "Contacts to display" menu option. Bug: 6993891 Change-Id: I07aefb345bd6a383017a32facbbc5508ff945073
2012-10-29Merge "Move TransactionSafeActivity into Contacts common."Chiao Cheng
2012-10-25Merge "Remove un-necessary sharedUserId from Dialer."Chiao Cheng
2012-10-24Remove un-necessary sharedUserId from Dialer.Chiao Cheng
Originally copied from Contacts but is not needed. Bug: 6993891 Change-Id: Ieec0dd124639f92cd6d0a57c638d7066f38c9d06
2012-10-24Move TransactionSafeActivity into Contacts common.Chiao Cheng
Also added ContactUpdateService so PhoneNumberInteractions can use it in a coming CL. Bug: 6993891 Change-Id: If83ec9112bb65b9c885d773d7daa0c7dacecb6a5
2012-10-23Move activity and service back to Contacts.Chiao Cheng
ViewNotificationService and NonPhoneActivity make more sense in contacts since they perform contact related operations. Bug: 6993891 Change-Id: Ifb11f26e8f1567ce391da1189f50b5ec79340f5d
2012-10-23Merge "Removing contacts dependencies from CallDetailActivity."Chiao Cheng
2012-10-23Removing contacts dependencies from CallDetailActivity.Chiao Cheng
Bug: 6993891 Change-Id: I3ef54efc0ff92367ea4f9b68c1629a99d90ff22c
2012-10-22Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I7987fbda3569e619510f395b19572b10a8afc8a5 Auto-generated-cl: translation import
2012-10-17Merge "Two cherry picks."Chiao Cheng
2012-10-17Two cherry picks.Chiao Cheng
Combined cherry pick from old call log change and recent layout change. Bug: 7366229 Change-Id: I7ca3b7213f1339023f5de5be630708df9a134963
2012-10-16Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I066b445e769d404b7261506355d91ab5a2777439 Auto-generated-cl: translation import
2012-10-15Merge "Move resource and images from contacts to dialer package."Chiao Cheng
2012-10-15Move resource and images from contacts to dialer package.Chiao Cheng
Bug: 6993891 Change-Id: I5b2562b5934c7cfce6bba4bf8311158682ba8e81