Age | Commit message (Collapse) | Author |
|
Bug 9086662
Change-Id: Iab8fc869180188930f84edb794e0a24a1a0a2229
|
|
Change-Id: Ic62a33e0584df84467f3b54ba6172891fa76e616
Auto-generated-cl: translation import
|
|
* commit '3a18654bf87df4f17880551b6cfa45c871917960':
Animation for smart dialing suggestions
|
|
Suggestions now appear with a fade in and slide up animation.
Suggestions vanish with a fade out and slide down animation.
If a suggestion is moved into the middle, it slides to the left/right
as appropriate.
Change the layout containing suggestions to a LinearLayout, in order to
better support animations.
Renamed SmartDialAdapter to SmartDialController, and also refactored
it to handle entries for a LinearLayout instead of a GridView, as well
as adding animation support and view management.
Use null object pattern in SmartDialEntry to better handle null entries.
Start displaying suggestions on the first digit entered.
Bug 8840240
Change-Id: If4e16006c0b36d2244434e0b2d8f3d3b997b0ad2
|
|
* commit 'dbb6c6fc024bbacf3b495a44bdddccf8502793ae':
Fix Dialer NPE
|
|
Make sure that smart dialing state is properly set before
any digits in the dialpad EditText is populated.
Also turn smart dialing off by default even if the system
setting hasn't been previously set.
Bug 8963485
Change-Id: If556d8b1405cc9e60043774b3aafd5e111e4e7ee
|
|
* commit 'a8fd33fdb65b936bd130a6d9c6bd4b3615d24886':
Setting to toggle smart dialing on/off
|
|
|
|
* commit 'f744f53ed980ba901b458b070a1b5eb4526b69f3':
Allow vanity numbers via paste/DIAL intent
|
|
Bug 8840243
Change-Id: I1d1fea4f958821f3a9273ba189e2140367049516
|
|
https://googleplex-android-review.googlesource.com/#/c/253417/
Converts vanity numbers such as 1-800-FLOWERS to the numeric
equivalents when the number string is populated via a DIAL intent
or pasted from the clipboard. Does not remove valid formatting such
as dashes, periods, spaces, etc.
Bug: 8858358
Change-Id: I553c91628b8fd86ff38a8eeec7823ebdc96bfe6b
|
|
* commit '006d071bd477768b4685385d15b3385f6d2e834d':
Apply NANP logic to numbers with a +1 country code
|
|
Bug 8769688
Change-Id: I4aadd0f9e5495fb1b604910306dfd918d1540136
|
|
* commit 'ec2a6103d517a1896abffc493e5f883049872ca9':
Fix Smart dialing OOM for extremely long contacts
|
|
Names with an extremely large number of name tokens were
using exponentially increasing amounts of memory since we have
to insert entries for all possible initial name combinations.
Added a check in the trie insertion algorithm to only add initial
matches for the 1st 2, and the last 2 name tokens.
This change only affects search by initial matches for names exceeding
4 name tokens. Full token search for names of all lengths should still
work. E.g. "frank", "enstein" would still match "Dr Frank En Stein DDS".
However initial matching would be limited to the first 2 and last 2 tokens.
So "dfsd" or "fsd" would work, but "fes" or "fed" would not.
Also fixes a bug caused by integer overflow when calculating thresholds
for bucketing frequently used contacts
Bug 8737986
Change-Id: I804184368b78fe2fa407667ed83874d839c28115
|
|
Change-Id: Iaf27a2f7998403fffb5d0c532c26849d3f470041
Auto-generated-cl: translation import
|
|
* commit '1d6fb57f3a53db34bfcb3dacdf11bcb6fb091b06':
Display regulatory info from "*#07#".
|
|
When user dials "*#07#", display the regulatory info graphic, or
SAR data if no regulatory info PNG is provided for the device.
Bug: 8259869
Change-Id: I5d8c640bfa13e2f0d3de7c68258a65428e336bca
|
|
Change-Id: Ie24f96be17e9ea49d56ffc7c1c79230d8628343b
Auto-generated-cl: translation import
|
|
* commit 'a539c86d015c3eb9819cf38d1ccb04edb1461fe2':
Allow name matching for contacts with numbers in their name
|
|
For SmartDialTrie, also include numbers as valid characters when
calculating indexes when generating the byte array.
For SmartDialNameMatcher, include '0'-'9' as valid latin characters,
and handle them appropriately after remapping accented characters.
Also fixed a subtle matching bug that would manifest itself when
matching against multiple tokens with similar initials - E.g.
"Dr.Dredd"
Bug 8659001
Change-Id: If461d2760a723ef7fd03dda0c1a1515cd7b44cf6
|
|
* commit 'afd650b7f81f363a4bb554ff7199338aee1a49c2':
Allow smart dialing to ignore country code/area code
|
|
Add handling of country codes if the number starts with a '+' prefix
Also add special case handling for NANP numbers in SmartDialTrie
if we determine that the user is in North America.
Save user's SIM country ISO into SharedPreferences.
Add SmartDialNameMatcher methods to correctly match NANP numbers
Fix tests to use assertTrue/assertFalse instead of assertEquals
Bug 8292294
Change-Id: Ic61dac75ee3b772986d3008240bbda81322c8f31
|
|
jb-mr2-dev
* commit '4334d3b852e369b591f591e66e493cc92a721233':
Fix name matching bug with non space separators
|
|
|
|
Bug: 8435819
Change-Id: I69c32207d123e5da4ae5421a5fe83ffeee4e5070
|
|
* commit 'e9d94e6a112b119d8ca895e0b7e8c82655eaa9a7':
Fix failing tests in PhoneCallDetailsHelpeTests
|
|
Bug 8566339
Change-Id: I20f84454f09be6f954c98042395908ca63977f6f
|
|
* commit 'bccd23a1790f0fef1a85fa2a78799517c9024de5':
Sort by data usage for smart dialing
|
|
|
|
Bug 8281648
Change-Id: I55bfaf137f9657a47616187fe7b7999c321b21f9
|
|
RTL languages" into jb-mr2-dev
* commit '0d5e72ebd7945bbe106f267db2120df9bb776957':
Fix for bug #8146846 Phone App should be mirrored for RTL languages
|
|
into jb-mr2-dev
|
|
- add specific Drawables for Arabic and Farsi dialer
Change-Id: I44dd9f3f0b9fd79af3bd42282d4b180c3d5d4db2
|
|
RTL languages" into jb-mr2-dev
* commit '45f2171aed0a2abebd54003cb8f307aa8cf251f5':
Fix for bug #8146846 Phone App should be mirrored for RTL languages
|
|
into jb-mr2-dev
|
|
- replace left/right properties with start/end ones (Dialer will never be unbundled)
- add mirrored version of some drawables
- update AndroidManifest
Change-Id: Ia7f5b6ad13dd75fe42f1ee763dda5ab18e2d92c7
|
|
* commit 'f43f537a0100693570606c436a81a12e21fb5b9e':
Remove smart dialing content observer
|
|
The content observer doesn't help to detect changes that happen
outside the application (e.g. user modifies a contact in the People
app), and seems to be called multiple times while in the dialer for
no reason, causing multiple unnecessary recaches. Instead, just force
a recache in onResume upon startup to refresh the cache.
Bug 8527847
Change-Id: I52f5c435ad573ce8b195d7b7828f19501e068c60
|
|
* commit '2eb493c61878d936bed055930a921fbea7b7e2b4':
Turn smart dialing debug logging off
|
|
Bug 8518729
Change-Id: Ib6626385c3b7cd9a6c3a18335444db21b937ea02
|
|
Change-Id: I4b6b501fa932eb011afb21149d55f1ca1b6b20b9
Auto-generated-cl: translation import
|
|
jb-mr2-dev
* commit '02329d7b2efce6ef5781bf95ecdd83f08fed8b08':
Always show WAIT/PAUSE in dialer overflow menu.
|
|
|
|
Used to hide menu items when not applicable. Now we show them always
and only perform the action in those cases where menu items were
previously visible.
Updated code to do zero-position checks when there is no
selection...previously missing check.
Changed code to use chars instead of Strings when dealing with single
digits.
Consolidated duplicate code with updateDialString() function.
bug: 7478840
Change-Id: I2aa5d3badd40079e9aa75abf7e4051f9dba5e667
|
|
|
|
Change-Id: I62d82d4ad21ee27dde5f40c6b9c30965811df5cd
Auto-generated-cl: translation import
|
|
Bug: 8369906
Change-Id: Ibdf8a4d43d0898429333af03e98a9aa494e5c819
|
|
into jb-mr2-dev
|
|
Bug: 8328641
Change-Id: I76fda040f709a9a5c0e88e67abfa106763b75ffb
|
|
Bug: 8330225
Change-Id: I0c61e12b4090ff6eeaff5ef5791ac62814d90383
|
|
Change-Id: I2a13daaf71c2d58a96ac0c402d5ee46eeabacfdf
Auto-generated-cl: translation import
|
|
|
|
Change-Id: Idb176ab4a7d24aa1d7a581c64e0dbbd27ee6c55b
|
|
|
|
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: I4e7973705e3fa3dd3d1a42fd53f4267946c8e1c1
Auto-generated-cl: translation import
|
|
|
|
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
|
|
|