Dialpad : T9 Dialer

This adds t9 functionality to the dialer.

Patchset 2 : Fix layout issue in landscape

Change-Id: I141dc23e4a5833aec5ae23eb7426c5f0da60800d
Update Russian translation - T9 Dialer
Contacts: update German translation.

Change-Id: I3ea1b51d921e339509b37aabce1b1287039cc194
Dialpad: T9 Dialer - Fixes

- Added highlight for matching part of number/name in all entries
  in the drop down list

- Replaced the QuickContactBadge and TextView items with a ListView
  like in the drop down but with only 1 element. This way the
  first entry and the drop down entries all look the same.
  This also adds the (mobile/home/...) indicator in the first item.

- Some changes to the layout xml:
  * Reverted the height of the digit editbox to a fixed value.
    This should fix the cut off text on smaller resolutions.
  * Reduced the size of the dropdown arrow to match the height
    of the ListView item row (40dip)

- call searchContacts() in onKey(), too, to make it work with
  hard-keyboards and the android soft-keyboard

Patch Set 2:
- If/else was swapped accidently

Patch Set 3:
- Fine tuned layout parameters:
  * Fixed mdpi dial pad
  * Limited size of mdpi digit box just like hdpi
  * Made first result entry fixed height to fit the large
    list below (almost looks like one continous list now)

Patch Set 4:
- Same as Patch Set 3, but for landscape

Patch Set 5:
- Remove unneded setNumber() method in T9Adapter, and use mPrevInput
  field of T9Search instead
- Set cursor to the end of the digits input after selecting a number
  from the t9 search results
- Prevent android soft keyboard from popping up and messing up the
  layout when clicking the digits edittext to move the cursor

Patch Set 6:
- Fixed toggle arrow not missing on ldpi devices
  (replaced 9patch graphics with fixed ones)
- Remove unneeded drawable/t9result_state.xml

Change-Id: I5867f82be089f77012b114536ae913fabf6c8b09
Fix a possible null pointer exeption editing a contact.

Change-Id: I4c6fb8f6f5c72ae4b286514e4a1dfd8a6bb66632

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Dialpad: T9 Dialer - Additional Fixes

Included fixes from
http://review.cyanogenmod.com/#change,11107

Change-Id: Icec955bdb03e8341df5c6f2d82bd6448fcc191f0
es_ES: Add T9 translations

Change-Id: Ia1494cd9c276dd9484cb431dbb98259430805ecd
Update hungarian translation - T9 Dialer

Change-Id: Ifc693cd4f972b108e9875fe65b50fd00fbd3a60e
Dialpad: perform search when retrieving last dialled number

Change-Id: I5ec0b565b15605017bd878ae0c3b1dc94907530d
Signed-off-by: Spencer Oliver <spenoliver@gmail.com>
Merge "Fix a possible null pointer exeption editing a contact." into gingerbread
Merge "Contacts: update German translation." into gingerbread
Dialpad : T9 add to contact if no match found

Cherry-picked http://review.cyanogenmod.com/11212 for gingerbread.

Also included fix from http://review.cyanogenmod.com/11386

Change-Id: Idd91c732b14c35227bc89ea7c68eb249d921b80d
french: T9, cleanup (reduce big titles) and Default Tab

Change-Id: I9686227852a3eeb0d963b0d5dc5a962f321cc9ee
Contacts: update Simplified Chinese translations

Add translations for T9.

Change-Id: Idffa8352bc5ca4fbb11279acb4101aca693cd079
Merge "french: T9, cleanup (reduce big titles) and Default Tab" into gingerbread
Merge "Update hungarian translation - T9 Dialer" into gingerbread
Merge "Update Russian translation - T9 Dialer" into gingerbread
Merge "es_ES: Add T9 translations" into gingerbread
RU - Add russian T9

Add missing files - dial_num_8_wht & dial_num_9_blk
Czech: added missing strings for T9 and fixed some strings

Change-Id: I3a29e36017398c1a15194cdf83f32b414a90a7fb