summaryrefslogtreecommitdiff
path: root/src/com/android/dialer/list/DialerPhoneNumberListAdapter.java
AgeCommit message (Collapse)Author
2015-12-18Support carrier presence-based video calling icon.Tyler Gunn
- Update SmartDial database to track carrier presence. - Add video call style elements to dialer stylesheet. - Tore out hair in frustration tracing through code. - Add listeners to allow dialing of video calls from search results. Bug: 20257833 Change-Id: I476cccb8c2805ae6f9949366fc5c2ce2669b7734
2015-11-06Fixed getTtsSpannedPhoneNumber() name changed merge errorTa-wei Yen
Change-Id: Ieedf62ce9648a611f36cbb118d626d135abef132
2015-11-06Add phone number TTS to strings that show phone numbers.Ta-wei Yen
Bug:25452669 Change-Id: I9c1685ee05f2ffc2fc6ac94714c2ae4d1137ffbe
2015-09-29Add search for adding blocked numbers to the blocked number management screen.Anne Rong
Bug: 24134038 Change-Id: I30b283a6b67d7e64b58138762079c4bceb8fc64f
2015-07-01Fix dialer monkey NPEsYorke Lee
Monkey tests exposed a bug in Dialer where certain call shortcuts could show up if contacts permissions were disabled and the UI was changing quickly. Don't enable shortcuts by default, and make sure to correctly disable all shortcuts in the case of missing permissions. Bug: 22225052 Change-Id: Icdd81412f695860eb322d7ccdc30555591c584d0
2015-06-24Update some icons/styles used in Dialer.Andrew Lee
Bug: 22070564 Change-Id: I7b0d691c18a011f1f61cc12fe063458560528bd4
2015-06-05Bidiformat number to force to LTR.Andrew Lee
Bug: 20981731 Change-Id: I659903305475691e241955555494b2596846af6f
2015-06-04Fix shortcut action text length issues.Andrew Lee
+ Lower shortcut char limits. There's probably 40 characters of space on a N6, but less on smaller devices. + Shorten "Add to existing contact" to "add to contact". Bug: 21550993 Change-Id: I136b01cd90ae36e07b7f567294e68316a57856a0
2015-03-20Remove search shortcut background drawable.Andrew Lee
Bug: 19372539 Change-Id: I84055e620335483027a70c3693d06e9f83d4570a
2015-03-19Add shortcut for creating new contact with number.Andrew Lee
Add a shortcut in the search fragment for "Create new contact" which opens the compact editor with the entered phone number populated as the main phone number. Bug: 19372539 Change-Id: I9ccb462f399e3fab77c2d8ad536dbd0bd0e23609
2015-03-18Change add contact shortcut to be for "existing".Andrew Lee
We're going to "fork" the add action into "existing" and "new". This converts the existing shortcut action to the scenario for adding to an existing contact, and the action for adding to a new contact will be added as a follow up. Bug: 19372539 Change-Id: I9e78fa5637a6f0ff22ce1d74bca3fe98e531242f
2015-03-18Add "Send SMS" shortcut to Dialer.Andrew Lee
Bug: 19372539 Change-Id: I8135a7e6fb7d5becdafcb0ecfb64d6f6c73aeb88
2014-10-06Fix IllegalStateException in DialerYorke Lee
Bug: 17811695 Change-Id: I5dafca3177855940f51ba414b267f59bd13be467
2014-07-02Add "Make video call" button to search fragments.Andrew Lee
= Add new "make video call" shortcut type, and "handle" its click in SearchFragment. = Enable "make video call" shortcut for regular and smart dial search fragments. For now, this shortcut does nothing. = Enable "add contact" shortcut for smart dial search fragment. = Changed the bounds of the shortcut items to fill to the edges. = Convert shortcut click handling to use switch/case block. = TODO: Enable/disable the shortcuts depending on whether video calling has been enabled, once the option is available. = TODO: Handle dispatching a video call intent, once that intent extra is provided. Bug: 16013180 Change-Id: I7563d1f2939e27c4b13ed966b73cd4badd9d9fa7
2014-05-22Change icon shape and color for search shortcutsNancy Chen
Bug: 15118603 Change-Id: I9aa6488e48a78d65c23a4c00ad8f3ba891b83855
2013-11-19Switch convertAndStrip to normalizeNumberYorke Lee
normalizeNumber(to be renamed in the future) is a bit stricter about converting the number into a dialable one. Bug: 6948882 Change-Id: I09417822de714beb45664ca4f0916e40013a34bb
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