summaryrefslogtreecommitdiff
path: root/src/com/android
AgeCommit message (Collapse)Author
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-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-11-30Cherrypick Arabic/Farsi pasting into dialpad fixYorke Lee
Bug: 6656969 Change-Id: I0bb094125eb9be2b6508e6ca658ae23da9da19d1
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-13Move dependencies of AccountTypeManager into ContactsCommon.Chiao Cheng
Moving dependencies in preparation to move AccountTypeManager. Bug: 6993891 Change-Id: I0399fee27960d46cd5b6f629d32868ff0c2ce38e
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-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-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-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-30Move StopWatch class into common.Chiao Cheng
Bug: 6993891 Change-Id: I0137ea3a72e0ee1a75f9218fec471049abf36d97
2012-10-29Merge "Move TransactionSafeActivity into Contacts common."Chiao Cheng
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-23Removing contacts dependencies from CallDetailActivity.Chiao Cheng
Bug: 6993891 Change-Id: I3ef54efc0ff92367ea4f9b68c1629a99d90ff22c
2012-10-15Changing com.android.contacts.R to com.android.dialer.R.Chiao Cheng
Bug: 6993891 Change-Id: I921ec71fffbd4d4a058bab29ded8a6ac62adfb70
2012-10-09Implement list-to-type for phone dialer accessibilitySantos Cordon
Cherry pick of I7d4a292ebc306b51666d9aa840ddcb2a7e5770fb from jb-mr1 bug: 7297096 Change-Id: I6d95d5d6e2f9ef320002b344af82c9c7a38ffde8
2012-09-21[cherrypick] Fix potential issue in I3d791ce1f536680a9ca0db2c387f3aad36eda17fMakoto Onuki
Bug 7164046 Change-Id: Ic03bd6151ba5ee91287b248fe295614aa816f25b
2012-09-21[cherrypick] Reset call filter when a call is placed or received.Chiao Cheng
Created a receiver which will reset the call filter. Remove the receiver when filter is not used. Bug: 7164046 Change-Id: I17fa005a70369d777afc12567643d38176977d7a
2012-09-19Merge "Remove call log filter option from being persisted."Chiao Cheng
2012-09-19Remove call log filter option from being persisted.Chiao Cheng
Bug: 7164046 Change-Id: I02e2bcec47377f9e308bfe5928e372b15a3c0338
2012-09-14Switch to AsyncQueryHandler to NoNullAsyncQueryHandler.Chiao Cheng
To prevent random null cursors, changed all usages of AsyncQueryHandler to NoNullAsyncQueryHandler. Bug: 7012260 Change-Id: I0c3d9593a7b68eb0220a444a21f27b6282f94e07
2012-09-05Moving resources from Contacts to Dialer.Chiao Cheng
- Also moving some shared utilities. Bug: 6993891 Change-Id: I5fa18d26e4f5423f4d3f3450b8f3e3dacbfb947a
2012-08-30Moving more classes from contacts into dialer.Chiao Cheng
- These classes are only used by dialer code. - Fixed import order. Bug: 6993891 Change-Id: I7941a029989c4793b766fdc77a4666f9f99b750a
2012-08-24Move common phone classes to new location.Chiao Cheng
- removed dependency on com.android.phone.common jar (old package) Bug: 7054788 Change-Id: I8c1f6449534a946f4660a9e8924079c08ff1786c
2012-08-21Initial move of dialer features from contacts app.Chiao Cheng
Bug: 6993891 Change-Id: I758ce359ca7e87a1d184303822979318be171921