Age | Commit message (Collapse) | Author |
|
- replace left/right properties with start/end ones (Dialer will never be unbundled)
- add mirrored version of some drawables
- update AndroidManifest
Change-Id: Ia7f5b6ad13dd75fe42f1ee763dda5ab18e2d92c7
|
|
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
|
|
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
|
|
Bug: 6993891
Change-Id: I30ef5d9fe8d293d6029c58b578f5b2440c14edef
|
|
Moving resources from Contacts to ContactsCommon and Dialer as necessary to
remove dialer dependencies on contacts app.
Bug: 6993891
Change-Id: Ieb3a31c1f4f8294b17c1829bb56313ab1f3cafe7
|
|
Cherrypicked for master
Bug: 434822
Change-Id: I5bf21c7b1a6cd8d53489105fb3ef0d6b7936cf72
|
|
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
|
|
Bug: 6993891
Change-Id: Id4701c00455de609850a5afea74e68c6bd84cbb3
|
|
Combined cherry pick from old call log change and recent layout change.
Bug: 7366229
Change-Id: I7ca3b7213f1339023f5de5be630708df9a134963
|
|
- Also moving some shared utilities.
Bug: 6993891
Change-Id: I5fa18d26e4f5423f4d3f3450b8f3e3dacbfb947a
|
|
Bug: 6993891
Change-Id: I758ce359ca7e87a1d184303822979318be171921
|