Age | Commit message (Collapse) | Author |
|
Only applies if the user has not input any digits yet.
Bug: 11648799
Change-Id: I28a57fcd7eae0faaf5e234e9ec7531140903e2f5
|
|
Each dialpad key needs to manually have the "focusable" flag set so that
hovering and lift-to-type works properly.
The edittext containing digits needs to receive focus at least once in
order for it to report sendAccessibilityEventTypeViewTextChanged type events.
In JB-MR2, the ViewPager would automatically give focus to the dialpad
fragment when it was swiped into view, but now we have to manually give it
focus ourselves when the dialpad fragment is swiped into view.
Bug: 11067558
Change-Id: I56a1891b12d5ec7771a37e1f7c361242ebfe028d
|
|
Use a set of views, instead of a simple counter to track whether
or not tones should still be played.
Bug: 10906908
Change-Id: I6bdb08c253f17d9b0aa867b5cbdf4770bc52510b
|
|
Bug: 11006188
Change-Id: I67861038510591384daf4e2c5da06af3dda5439c
|
|
Change-Id: Ib5c98b51c4f3113e434208b83310754b825a197f
|
|
|
|
|
|
Centralize dialpad keys
Change voicemail icon
Bug: 10445734
Bug: 10510368
Change-Id: I1e9dc98c9aed07c26bdfe176f4a4c94c65fc6d85
|
|
Bug: 10314426
Change-Id: Ieecb5cc64ce93fb8457ed0cab0d054b5a1b1586c
|
|
* 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
|
|
Bug: 10328290
Change-Id: I3fc560f0727c493ae5f051320ea6abe4715f0e79
|
|
* Remove account filter header container
* Remove frequent header position
* Move dialer database updating to DialtactsActivity
Change-Id: I8a6a092f25609537a47ffafb28aa4df9f55b1bd5
|
|
into klp-dev
|
|
|
|
Bug: 9465444
Change-Id: Ibe7f463da5ba0a5276701fa10ce01c28a5d4b16d
|
|
This change prevents the dialpad from animating in when
the dialer is launched directly with a dial intent.
Change-Id: I6d7378de0484dcdadecbbc0e9c25d4c8ed1e3800
|
|
Bug: 10248510
Change-Id: Ib70b6b5eee8f1f16e2a9ea306292e324bfe3474d
|
|
* No code was changed, just either removed or renamed
* Reshuffled a couple of ids around in dialpad_fragment to fix some
compile time errors that somehow weren't caught before
Change-Id: I9e2381edfb14b0940015deb8cbd94786a1242f43
|
|
Removed unused classes and renamed NewDialpadFragment to DialpadFragment.
Removed some unused static imports
Change-Id: If16a8bfe8cc113a570514b6d0edd87cb946758fa
|
|
Change-Id: I51351f252338eee4d0be5723beafc044786b801e
|
|
- Creates a database helper to create a smartdial database for the Dialer app.
- Queries all rows in the Contact database and copies related columns to
the smart dial database.
- Create another prefix database to contain all prefixes of a contact.
- During keypad input, the prefix databse is queried to find contact
suggestions, and suggestions are ranked by the usage data and contact
status (starred, primary contact, etc.)
- Created unit test for the SmartDial database insertion and prefix
computing functions.
Change-Id: I4d7c3b3bcc52dd6efa4d6e69d3f1687c3abaeb69
|
|
* commit '1dd46a5c676325d20b7a042d0d0d3c7d9365d0bd':
Fix crash in Dialer in landscape mode
|
|
Bug 9369806
Change-Id: I286ebb828c0f6ce7c005c541661b9aa67284847e
|
|
Added check on whether the intent is new to decide when to fill in the
number in dialer automatically. If the intent is not new, the dialer
will be filled with previously used number, preserving any edits on that
number.
Bug: 8484457
Change-Id: I45f02d395ce402670b380485b5ba1e7190600ec3
|
|
Switch to using public TelephonyManager calls (needed for unbundling).
Bug: 6948882
Change-Id: I301590efa5c45dfc3d31a16181694941a2bee092
|
|
All character validation, remap and index calculations in both
SmartDialTrie and SmartDialNameMatcher now go through a
SmartDialMap. The LatinSmartDialMap is used by default.
Bug: 8769026
Change-Id: I4ff90acc380e802f035ca1fbc55c022bf3b76aa3
|
|
Bug 9086662
Change-Id: Iab8fc869180188930f84edb794e0a24a1a0a2229
|
|
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
|
|
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
|
|
|
|
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
|
|
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
|
|
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
|
|
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
|
|
Change-Id: Idcab1877b341b42440e336fa09ba7d631c28c7d0
|
|
Bug: 6656969
Change-Id: I0bb094125eb9be2b6508e6ca658ae23da9da19d1
|
|
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
|
|
|
|
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
|
|
Bug: 6993891
Change-Id: I21b3afb81855ae728b9e20f8af8632c9cd9f4e58
|
|
Bug: 6993891
Change-Id: I0137ea3a72e0ee1a75f9218fec471049abf36d97
|
|
Bug: 6993891
Change-Id: I3ef54efc0ff92367ea4f9b68c1629a99d90ff22c
|
|
Bug: 6993891
Change-Id: I921ec71fffbd4d4a058bab29ded8a6ac62adfb70
|
|
- Also moving some shared utilities.
Bug: 6993891
Change-Id: I5fa18d26e4f5423f4d3f3450b8f3e3dacbfb947a
|
|
- These classes are only used by dialer code.
- Fixed import order.
Bug: 6993891
Change-Id: I7941a029989c4793b766fdc77a4666f9f99b750a
|
|
- removed dependency on com.android.phone.common jar (old package)
Bug: 7054788
Change-Id: I8c1f6449534a946f4660a9e8924079c08ff1786c
|
|
Bug: 6993891
Change-Id: I758ce359ca7e87a1d184303822979318be171921
|