summaryrefslogtreecommitdiffstats
path: root/src/com/android/dialer/DialtactsActivity.java
Commit message (Collapse)AuthorAgeFilesLines
* Dialer: Add option to open dialpad at startTom Marshall2016-07-111-1/+8
| | | | | | Jira: CYAN-7629 Change-Id: I308bb4f0bf68ea0ba4849d4dfe8abf85ac916158
* Wire up share visible contactsStephen Bird2016-06-061-0/+37
| | | | | | | | This code was missing from aosp. The actions are the same as what contacts uses to respond to the result. Change-Id: I0f0b94eb31df64b4120c9d22dca568da03fd01f5 Ticket: CYNGNOS-2758
* Wire up import/export overflow options.Stephen Bird2016-05-201-11/+68
| | | | | | | | Logic for onActivityResult taken from Contacts PeopleActivity. This logic is missing from AOSP to make these options work. Ticket: CYNGNOS-2758 Change-Id: Ic5dda4a431a2993ec81d7bc813047faa6557ff01
* Revert "Show SIP call method in spinner and force update on resume"Artem Shvadskiy2016-05-181-6/+0
| | | | | | | | issue-id: CYNGNOS-2655 This reverts commit 6b0990804aa144740133872dc712b35e35db84ab. Change-Id: Id5b7d7b0eaa405712a081d7b4ecd58b9f577f78f
* Show SIP call method in spinner and force update on resumeArtem Shvadskiy2016-05-171-0/+6
| | | | | Change-Id: Id7442091898ae7b9f51d373c9f3693f894ea1f77 issue-id: CYNGNOS-2655
* NPE: make sure search fragment is visibleStephen Bird2016-05-131-1/+2
| | | | | Ticket: CD-646 Change-Id: I1c9d3a2ce31922da0e04a537c5240b34e3f3625b
* Make sure search fragment is visible and attachedStephen Bird2016-05-121-1/+2
| | | | | Change-Id: I623ef76ff35b43025bd203e3c26a796d28154750 Ticket: CD-638
* Move hint text to main search fragmentStephen Bird2016-05-111-0/+10
| | | | | | | | | When switching between the two searches sometimes the hint text does not display properly. Now each search will contain the hint text if the t9 dialer fragment is visible. Ticket: CD-618 Change-Id: I1ea4bffaa6ffd491571bcc0cfaaeb6de47591b83
* Add Caller-info provider nudges and adapt new CallerInfoApiArtem Shvadskiy2016-05-091-0/+3
| | | | | | | | | CallerInfoApi within AmbientSDK has undergone a revision. There are changes to authentication APIs for Plugins and also to the LookupProvider APIs. Change-Id: Ia247925c7797e290ec05214bdca27ec70e41abda issue-id: DIALER-719 DIALER-724
* [4/4] Update dialer for CallMethodHelper refactorStephen Bird2016-04-271-17/+12
| | | | Change-Id: I79f5e6285de5237f5a50a5cc1534f590e03a6996
* Search: Show FAB in the right placeStephen Bird2016-04-211-7/+2
| | | | | | | | | Previously, the fab would appear and dissapear whenever the user performed certain actions. Sometimes, the fab was in the wrong place as well. Change-Id: I9f3559e646f8154cf48e9c7e3386063970db8e40 Ticket: CD-552
* Quick search results: fix to match selected item in spinnerStephen Bird2016-04-211-0/+3
| | | | | Ticket: CD-555 Change-Id: I58ccd474d08f20e66a7f1359342fa71e0f9e7fbd
* Add metrics event for selecting call methodStephen Bird2016-04-201-0/+7
| | | | | Change-Id: I9a0ee0315dca8448803e193b57c8f850aaeda87d Ticket: CD-546
* Expand clickable area of settings buttonRichard MacGregor2016-04-151-2/+2
| | | | | | | | Expand clickable area of settings button. It was way too tricky to hit. Ticket CD-543 Change-Id: I5f7ee0a79eb87746894b19627465baa13520c7ab
* Search: Only clear focus if we are showing a coachmarkStephen Bird2016-04-151-1/+0
| | | | | | | | | Coachmarks are supposed to require the user to dismiss them, so only clear that focus if the user sees one instead of every time they see the search bar. Ticket: NIGHTLIES-2820 CD-373 Change-Id: I3f43848cfd10b13ed8ef583ff9ffb615e749aa63
* Remove FAB hiding and showingStephen Bird2016-04-081-11/+0
| | | | | | | | | | | | | In AOSP the fab hides and shows at certain times based on what the user is doing (typing in search field or scrolling through results). There's a bug where sometimes the FAB does not come back. Just show the FAB all the time as our UI changes allow the fab to be visible when the keyboard is. Ticket: CD-442 Change-Id: I1939e213deaad0ea582e1dbe4b495fb9b710447e
* Update search drawable when dialpad is hiddenStephen Bird2016-04-081-0/+2
| | | | | | | | We were not clearing the second search coachmark when the dialpad coachmark get cleared. Ticket(s): CD-521 CD-512 Change-Id: I19362191c940443b504930de6cac416ff05047b0
* Add Metrics for Dialer call origins and incall itemsStephen Bird2016-04-081-2/+2
| | | | | Ticket: CD-425 Change-Id: Iaa1b56537e0b00ccfaf70936400ad7772ed5de8f
* Use CALL_ACTION instead of InCallAPI for emergency callsRichard MacGregor2016-04-081-13/+17
| | | | | | | | | Don't even attempt to use InCallAPI providers if dialing an emergency number. Ticket CD-503 Change-Id: I9633cc499c453a1db557c44eaca802ec13eb96b2
* [2/2] MultiSIM: Call using specified SIMRichard MacGregor2016-04-081-9/+31
| | | | | | | | | | | | Call using specified SIM from: - T9 Dialpad phone number entry - T9 Dialpad speed dial - T9 Dialpad search quick action (non-contact - 'Call <phone number>') - Contact search results (T9 and regular) Ticket CD-426 Change-Id: Iabcedbf5eda154a95b1cde3e0659070ad26b51b8
* Port coachmark to DialerNowStephen Bird2016-04-081-0/+13
| | | | Change-Id: I46d2a9bfc0dd9d198cb1526578f04ad59d5944d9
* Decouple getAllCallMethods from refreshingStephen Bird2016-04-081-0/+1
| | | | | | Otherwise we can do unneeded work Change-Id: Iebe4d0f20203d3068f5b318189033ac77167836f
* [2/2] fix spinner/hint issuesRichard MacGregor2016-04-081-14/+29
| | | | | | Tickets CD-389 & CD-393 Change-Id: Ia1f2314a45b4e9007d15d79a9cf05a8f01c829ca
* Fix fab position when not in searchUIStephen Bird2016-04-081-4/+2
| | | | Change-Id: I694e53968a52ef7ff9bf3cf2f82cc5499150bf8a
* Add null check to text listenerStephen Bird2016-04-081-1/+3
| | | | | | | | In some situations, the listener can be activated before we have a call method set. Ticket: CD-419 Change-Id: I810285633fcd372f25d221cdb2c9dbd9a520a786
* Consolidate global credits barStephen Bird2016-04-081-0/+5
| | | | | | fixes case for smartdialsearch when dialpad is not showing Change-Id: If97c37f776811a2612529d4be1cfffe4539f3d9d
* fix importStephen Bird2016-04-081-1/+1
| | | | Change-Id: I64cd9a0861b70b7e5018d0f8d3424fbca8bf4c9c
* Fix multiple issues with regular search credits barStephen Bird2016-04-081-0/+14
| | | | | | | | - The keyboard shows up on the dialpad - The credits bar shows up when it shouldn't (globally) - The credits bar doesn't show up sometimes Change-Id: Ic2e0212b973a336ff0645f23d3354ccbae493f86
* Add Credits Bar in Regular searchStephen Bird2016-04-081-2/+23
| | | | | | | | Since we now have a spinner in the main dialer search we need to be able to tell the user if they have any credits. Ticket: CD-381 Change-Id: I540ceeed32cad31a05ff120f83ae5dac5e4bcb81
* (1/2) T9 fixes and quickactionsStephen Bird2016-04-081-0/+1
| | | | | Ticket: CD-370 CD-339 CD-359 CD-385 CD-384 CD-380 CD-378 CD-372 Change-Id: Ia06f426b1d54fe48e8b0d58f97807bcf5e34c87b
* Fix ANR when no providers are availableStephen Bird2016-04-081-9/+15
| | | | | | The order of these operations is very important. Change-Id: Ic0af2ec91c5606002b41c339a0ddc0e1080bd1ce
* Fix rebase issueStephen Bird2016-04-081-1/+1
| | | | | | | Setting the current call method before updating the spinner would be nice I guess. Change-Id: Ic295abf68ca77fc32b19c051f7ce1387eb6a1119
* Fix credits and cut down on extra workStephen Bird2016-04-081-12/+24
| | | | Change-Id: I194b3cc9f7f3ebee73971b2ea1d41566d782c6d5
* Update spinners to reflect plugin enabled statusStephen Bird2016-04-081-4/+7
| | | | Change-Id: Ib2a72a5c1f1298c349e4ed27ccdaa0588333819b
* Fix potential crash with dialpad not being attachedStephen Bird2016-04-081-1/+1
| | | | Change-Id: Ifdc52cc0f11e1982dab5a00b0a1b988ca19c9a93
* Create spinner in search and port auth credits barStephen Bird2016-04-081-15/+50
| | | | | | | | | | - Make spinner creation more generic - Move spinners into the proper positions - Clean up callbacks - Create sign in credits bar mode Tickets: CD-312 CD-313 CD-325 CD-311 Change-Id: I357225181dc42416727b3074a0c8a97a0d8e08c5
* Fix hint text in landscapeStephen Bird2016-04-081-0/+7
| | | | Change-Id: I0887a0691f195d81487c257961bd563c6378597e
* Update SIM's when necessaryStephen Bird2016-04-081-2/+0
| | | | Change-Id: I30f109dcc8e5e5b48b0fe9934d272194ee812bf0
* InCall: Port Authentication and CallCredit ListenersRaj Yengisetty2016-04-081-1/+1
| | | | Change-Id: Icf05d55ad9483ec6b212492e1c5e5e815451e1bb
* Show Emergency Call action in method spinnerRichard MacGregor2016-04-081-3/+3
| | | | | | | When the user has no SIM they can still make emergency calls. Provide help text and method switch entry to inform user. Change-Id: Idbb2614dc78db65a26bade684cd9763379973502
* Cleanup and Spinner update fixStephen Bird2016-04-081-0/+5
| | | | Change-Id: I3be153487999fbf6facaae6ed143326de71e45cb
* Initial T9 search bringupStephen Bird2016-04-081-2/+20
| | | | | | | This T9 search implementation is a little different than previous ones. It now also supports incall username searching. Change-Id: I6d31e721aeb2e21dda4f12e8d31f7dfa539b8859
* Fix a number of issuesStephen Bird2016-04-081-0/+41
| | | | | | | - mimetype lookups for single number contacts - T9 incall hint text Change-Id: I4b4e040db76ac7fa2e72cb4b2c9bcf2ac448d0a8
* Move CallMethod items to PhoneCommonStephen Bird2016-04-081-7/+3
| | | | Change-Id: I3d94a5d619274e5aecac7646ab71568d84e25456
* Initial import of credits barStephen Bird2016-04-081-0/+9
| | | | Change-Id: I288e85fe472e32761a215449d9e6566854417526
* Bringup Favorites and CallMethodSpinnerStephen Bird2016-04-081-4/+32
| | | | Change-Id: Id129734d281886f3259682d6ae837ff8698e4a55
* Do not reload smart dial database twice in DialtactsActivity.Matt Garnes2015-11-231-1/+0
| | | | | | | | | In fe57f36d843b3c973aa44621602a57d0b1e208a7 different logic was introduced to reload the smart dial DB when the locale changes. This added a duplicate call to update the smart dial db if the locale has not changed. Remove the duplicate call that existed before this patch. Change-Id: Ibd8aff58537b101883bf078090230144676633f5
* Undo CAF Dialer IMS conference changesEthan Chen2015-11-211-93/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * This causes weirdness with the FAB in dialtacts. Get rid of it. * Squash of the following Revert "IMS: Enable entry 4G conference call in Dialer" This reverts commit 76c9726e48ccbbcb5780ab076b7c54aadcdc621b. Change-Id: Ic326c817496294a9350c767f5ae3e83d817edd18 Revert "IMS: Fix empty URI list dial after add participant." This reverts commit daba64924bbea8a0eb49723d69c1178a7c2ef0f2. Revert "IMS: Fix Edit before call option not working issue" This reverts commit 2fec8e35dabf931fc349f7d594c5560fbf35bcc5. Revert "IMS: Fix to remove unwanted group conference icon." This reverts commit d3bbfca9fa5db701f719618d9314625626f504db. Revert "Dialer app changes for IMS" This reverts commit 8ea43d354391cd7c75dd361a316e5936e1e1db96. Change-Id: I187d935394e9a935d199b66b28910a38a248b535
* Dialer: Refactor SmartDial for additional languagescretin452015-11-161-3/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds Chinese support and improved Korean support. p4: Refactor for transliterating the displayName. Change-Id: Id3175c6f4eda4962be9d25bd43c24a834c3c5ff1 Read option for t9 search input locale and refresh smart dial db when locale changes Change-Id: I3cd942741310f16678ed9eb675bbba2cbc72d5e8 Add setting for t9 search input locale Change-Id: I410b4e20afa85302a9ef3174c2f219e33b1b7987 Return match positions to enable highlighting for CN smart dial Change-Id: I9255c582708c2fbfe22e7a2bf3ad971da692e2a9 Dialer: Fix T9 for Hebrew Change-Id: I1c8be92acc1fc29b557eb7cda0d910cf036f3aea Move smart dialer initialization to onStart(). The SmartDialCursorLoader expects the SmartDialPrefix map to be initialized when it's created. As - the loader is initialized in SmartDialSearchFragment's onStart and - the fragment's onStart is called asynchronously after the activity's onStart and - the map initialization happens in SmartDialPrefix.initializeNanpSettings() and - the above method is currently called in the activity's onResume() we have a race condition between the activity's onResume() and the fragment's onStart() (at least when processing a dial intent, which is what causes the dialpad fragment to be immediately shown). Fix that race condition by moving the initialization into the activity's onStart() and running it before calling the super method to ensure it happens before fragments are started. JIRA:NIGHTLIES-760 Change-Id: I9767cbba3b177fdd5b1de86914cb1e40d20835ab Ensure the smart dial name matcher is initialized in onStart(). Otherwise SmartDialPrefix.getMap() might not be initialized yet. JIRA: NIGHTLIES-1279 Change-Id: If3aca2809faf0c1f379518096a76f17d357fb8e2
* Russian T9 for Dialerdimfishr2015-11-161-1/+3
| | | | | | | | | | | | | | | | | | | | PS6: final nitpick: replaced getLanguage() with getCountry() call - primarily for those who are going to implement Chinese Traditional/Simplified support (because they all have "zh" language code, but letters are different in rHK/rCN) PS7: polishing: wrapped some lines at 100 chars, restored original dimens.xml / colors.xml values (looks better with 41dp, color change could go into another commit) ... purged earlier patch set changes PS8: fixed MDPI compatibility, marked 1/0/*/# "letters" as untranslatable (they are not displayed in any case) PS9 & PS10: added "values-en-rRU" (Dmitriy). PS11: minor padding tweak (7dp -> 8 dp). PS12: fix buttons being 11dp off to the left, this can not be unseen. Change-Id: Ib99ff7b9ef5184db0450fe1bc8a6de79eb7efe24