summaryrefslogtreecommitdiff
path: root/src/com/android/dialer/list/SearchFragment.java
AgeCommit message (Collapse)Author
2013-09-20Ignore separators when typing in Dialer search boxYorke Lee
Bug: 10842248 Change-Id: Id0c65385af4277120ba6a57c357b980caec149c2
2013-09-05Add call shortcuts to phone number list adaptersYorke Lee
* Add a new class DialerPhoneNumberListAdapter, which both RegularSearchListADapter and SmartDialNumberListAdapter extend. DialerPhoneNumberListAdapter allows the addition of pre-defined call shortcuts at the end of the phone number list that can be toggled on or off. * For the SmartDialSearchFragment, the only shortcut that is available is always the Add number to contacts shortcut. * For the RegularSearchFragment, if the user enters a string that contains all dialable numbers, it is treated as a phone number and the call directly and add number to contacts shortcuts are enabled. Otherwise, it is treated as a name, and only the add contact with a new name shortcut is enabled. * Add a intent that allows the user to directly create a new contact that has the name field pre-populated. This intent is used if the user enters input that looks like a name in the search view. Bug: 10339630 Change-Id: I2ae757ce505d85a8780d28d89e09fb7084c773b1
2013-08-29Refactor SearchFragmentJay Shrauner
Refactor SearchFragment into a base SearchFragment and an implementation RegularSearchFragment. This allows SmartDialSearchFragment to inherit directly from the base. Bug: Change-Id: Iae9cd11ac733445c76d390c35fa778d942707b57