Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
Change-Id: If851c291273aa5296f1d59edccc83e6d4019be76
|
|
|
|
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
|
|
Change-Id: Iec47214f06049b80e59c507cecd2910ee7a20923
Auto-generated-cl: translation import
|
|
Bug: 8107290
Change-Id: I87a4127a99cbedd8e757cfc66cfe7f543c4e82eb
|
|
|
|
Remove redundant call to shouldCollapseWith() and remove ignored return value
in collapseWith().
Bug:7519057
Change-Id: I7e01746749d8574dbb596b2e1b09673bf78fa045
|
|
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
|
|
Change-Id: I8da1230f793c6e11f6921fe788f6bf203d25f9d7
Auto-generated-cl: translation import
|
|
Change-Id: I4b0fd7eac00d5bc411ecf78b9c2701d50c3a0a92
Auto-generated-cl: translation import
|
|
Change-Id: I18ad840c97d2cff44b629312fc2be9db06c407dc
Auto-generated-cl: translation import
|
|
Change-Id: I293a168c2f0a527febaed5b3c51ce12932f4a4fa
Auto-generated-cl: translation import
|
|
Change-Id: I29928a181aa0d86083eecb4c1c1708fb5c4cfc67
Auto-generated-cl: translation import
|
|
|
|
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
|
|
Change-Id: Idcab1877b341b42440e336fa09ba7d631c28c7d0
|
|
Change-Id: If60fc1d68bf7d32807f61716aecc7eb5d2ac1677
|
|
|
|
Bug: 6993891
Change-Id: Ic9d769f4c5f47b609ea77a9e37668da26fc0c976
|
|
|
|
Bug: 6993891
Change-Id: I30ef5d9fe8d293d6029c58b578f5b2440c14edef
|
|
Change-Id: Ie4dbce893da93285d51076fa2529ffef85d9c02c
Auto-generated-cl: translation import
|
|
Bug: 6993891
Change-Id: I0f9679139dcdac2f6f687cf9b97e1e6cf78afa2a
|
|
Moving resources from Contacts to ContactsCommon and Dialer as necessary to
remove dialer dependencies on contacts app.
Bug: 6993891
Change-Id: Ieb3a31c1f4f8294b17c1829bb56313ab1f3cafe7
|
|
This completes the clean-up of class depedencies for DialtactsActivity in
the Dialer.
Bug: 6993891
Change-Id: I86389308e9fe29aeb835b77a9f3d3a4a308bf690
|
|
This completes the dependency clean-up of the PhoneFavoriteFragment in the
dialer.
Bug: 6993891
Change-Id: I72ee8054d18f2b5ee12810194f37f78bad272c4e
|
|
Moving all class in vcard directory in preparation to move
ImportExportDialogFragment.
Bug: 6993891
Change-Id: Ibf82b3b69a2ce81e78466fea5d2a88d180084bd1
|
|
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
|
|
|
|
Moving dependencies of Dialer PhoneFavoriteFragment. Mostly filtering
dependencies.
Bug: 6993891
Change-Id: I1789580470dd753ffdcb141e5ab827c88369bb3d
|
|
|
|
Change-Id: I2cf4ff36eb3198af45a6b4e16a3321d68849c9b4
|
|
Bug: 6656969
Change-Id: I0bb094125eb9be2b6508e6ca658ae23da9da19d1
|
|
See a before/after comparison (exposure boosted to highlight the diff):
http://www/~romainguy/no_crawl/newgradients.png
Change-Id: Ifea32165e438841210d48220a16549ce3e0b6d27
|
|
|
|
Moving AccountTypeManager to ContactsCommon so it can be shared by Contacts
and Dialer.
Bug: 6993891
Change-Id: I399de7f92f86270740db51efb32a136b413161c5
|
|
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
|
|
|
|
Moving dependencies in preparation to move AccountTypeManager.
Bug: 6993891
Change-Id: I0399fee27960d46cd5b6f629d32868ff0c2ce38e
|
|
|
|
Cherrypicked for master
Bug: 434822
Change-Id: I5bf21c7b1a6cd8d53489105fb3ef0d6b7936cf72
|
|
|
|
|
|
|
|
|
|
Also removed un-necessary taskAffinity definitions.
Bug: 6993891
Change-Id: Id89bfecfe5cbc462964a43063f789e3ea1a62984
|
|
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
|
|
Add null check for mContext to prevent NPE if somehow
SmartDialLoaderTask receives a null context
Bug: 6977981
Change-Id: Id87b254520a48ad78dc0c579f0fd58d7f7ce270e
|
|
Bug: 7205096
Change-Id: Ib81e81195475e74f06ed7eda600b3f777a28ad70
|
|
Moving common dependencies from Contacts to ContactsCommon.
Bug: 6993891
Change-Id: I810454230dd614bf849504ec301fd1f80a80e57f
|
|
|
|
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
|
|
|
|
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
|
|
Change-Id: Iccbf8fe00c73c2fc65dc53b855c5f98369679e6a
Auto-generated-cl: translation import
|
|
|
|
Change-Id: Ib91edca6ab20e1e6ca9bcef5b17f16467aa38533
Auto-generated-cl: translation import
|
|
Further clean-up of PhoneFavoriteFragment in Dialer app to move all necessary
dependencies into Contacts Common package.
Bug: 6993891
Change-Id: I55c871fab9556ce4cc94ccc15716304810c65a28
|
|
|
|
Bug: 6993891
Change-Id: Id4701c00455de609850a5afea74e68c6bd84cbb3
|
|
Initial clean-up of class. More to come.
Bug: 6993891
Change-Id: If00b96432a0d5573c5669b8c8db049d94f264ad6
|
|
Bug: 6993891
Change-Id: I21b3afb81855ae728b9e20f8af8632c9cd9f4e58
|
|
|
|
Bug: 6993891
Change-Id: I0137ea3a72e0ee1a75f9218fec471049abf36d97
|
|
The AccountFilterActivity and CustomContactListFilterActivity are needed by
the "Contacts to display" menu option.
Bug: 6993891
Change-Id: I07aefb345bd6a383017a32facbbc5508ff945073
|
|
|
|
|
|
Originally copied from Contacts but is not needed.
Bug: 6993891
Change-Id: Ieec0dd124639f92cd6d0a57c638d7066f38c9d06
|
|
Also added ContactUpdateService so PhoneNumberInteractions can use it
in a coming CL.
Bug: 6993891
Change-Id: If83ec9112bb65b9c885d773d7daa0c7dacecb6a5
|
|
ViewNotificationService and NonPhoneActivity make more sense in contacts since
they perform contact related operations.
Bug: 6993891
Change-Id: Ifb11f26e8f1567ce391da1189f50b5ec79340f5d
|
|
|
|
Bug: 6993891
Change-Id: I3ef54efc0ff92367ea4f9b68c1629a99d90ff22c
|
|
Change-Id: I7987fbda3569e619510f395b19572b10a8afc8a5
Auto-generated-cl: translation import
|
|
|
|
Combined cherry pick from old call log change and recent layout change.
Bug: 7366229
Change-Id: I7ca3b7213f1339023f5de5be630708df9a134963
|
|
Change-Id: I066b445e769d404b7261506355d91ab5a2777439
Auto-generated-cl: translation import
|
|
|
|
Bug: 6993891
Change-Id: I5b2562b5934c7cfce6bba4bf8311158682ba8e81
|
|
|
|
Bug: 6993891
Change-Id: I921ec71fffbd4d4a058bab29ded8a6ac62adfb70
|
|
|
|
Cherry pick of I7d4a292ebc306b51666d9aa840ddcb2a7e5770fb from jb-mr1
bug: 7297096
Change-Id: I6d95d5d6e2f9ef320002b344af82c9c7a38ffde8
|
|
Change-Id: I98db71c1cee69476e97dce56fcba4c51d3420105
Auto-generated-cl: translation import
|
|
Change-Id: Iabcf2c1bb533b66a20e53e986909d93cb2328a84
Auto-generated-cl: translation import
|
|
Change-Id: I181d6e4c3898cbb8bd6351c0a73a3aac5ff10c62
Auto-generated-cl: translation import
|
|
Change-Id: I2f7b4fbcc97c3b0e03afe55df0736c334248399e
Auto-generated-cl: translation import
|
|
Change-Id: Ib0bc09052b1d425b6fb2600196da7cdf83ea5f40
Auto-generated-cl: translation import
|
|
Change-Id: I277ada019cced781de6bee1c811969e7b077b1c1
Auto-generated-cl: translation import
|
|
Mistakenly moved too many strings during dialer split.
Bug: 6993891
Change-Id: I8fbadd92261b82d492c8f1374edafeecfaa63fca
|
|
Change-Id: If6c99d090f685f34ef2ca9f9d7b20c67d810ae9e
Auto-generated-cl: translation import
|
|
Change-Id: I3bd60169feca5074c2d164809fc5339cf7780b7a
Auto-generated-cl: translation import
|
|
Bug 7164046
Change-Id: Ic03bd6151ba5ee91287b248fe295614aa816f25b
|
|
Created a receiver which will reset the call filter. Remove
the receiver when filter is not used.
Bug: 7164046
Change-Id: I17fa005a70369d777afc12567643d38176977d7a
|
|
|
|
Change-Id: Ia9656ed83beafb0ad266a1f87b7843ca0c9fad43
Auto-generated-cl: translation import
|
|
|
|
|
|
+ Added "only" suffix to filter header text.
+ Updated filter header to match blue style of frequent header.
Bug: 7164046
Change-Id: Ib8234fca835c574233bb59b28970ab96aaf98e38
|