History log of /packages/apps/Dialer/src/com/android/dialer/dialpad/SmartDialPrefix.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9d28cc4b92fac8cbbebbbb9adddd529c50b2545d 02-Jul-2013 Christine Chen <christinech@google.com> Fixing SmartDial crash bug.

Change-Id: I405535654240b959cf8b0caa7ecfa8456a632791
/packages/apps/Dialer/src/com/android/dialer/dialpad/SmartDialPrefix.java
661834dd3b45b477165effe126a9c243750ae8d6 31-May-2013 Christine Chen <christinech@google.com> Add SmartDial database for the Dialer app.

- 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
/packages/apps/Dialer/src/com/android/dialer/dialpad/SmartDialPrefix.java