Change all contacts button to look like list item

Rewrite layout of all contacts button to look like a regular
contact list item.

Update list default avatar background

Bug: 11654293
Bug: 11668831
Change-Id: Iafa8f69e618b39eabf823cafd8153ed24ddbdfbd
Make fonts and colors consistent across views.

Updated gradient on 3 tiles to make white text pop more.

Bug: 11674807
Change-Id: I6554169388aaf792fd096a32a976c66d9022b37f
Color/layout tweaks for Dialer

Add search icon into search box
Change background of recent cards shortcut to whiter one
Whiten the action bar
Darken background color of list items
Reduce size of searchview text

Bug: 11654293
Change-Id: I204b14e752b40563a6f7ebdd1d61f10854b41100
Merge "Change all contacts button to look like list item" into klp-dev
Merge "Color/layout tweaks for Dialer" into klp-dev
Merge "Make fonts and colors consistent across views." into klp-dev
Import translations. DO NOT MERGE

Change-Id: I45bb9633a99a6dfff8c712c1e1b26c476bc2d3ca
Auto-generated-cl: translation import
Merge "Import translations. DO NOT MERGE" into klp-dev
Fix padding issues with shortcut and call log items

Bug: 11674807
Change-Id: I0a0a167169a004523389e14a79e02c11465312bd
Fix possible NPE in DialerDatabaseHelper

In certain cases (third party contact backup solutions?) it is possible
for raw contacts to end up with null display names, which the Dialer
was crashing on. This fix performs a null check and inserts the default
(No name) contact name if we find that the display name is null.

Bug: 11750613
Change-Id: Ifbaf2861534e6eaf8a86d50d584d11a9fa38b65f
Import translations. DO NOT MERGE

Change-Id: Ibf5cabd4967cd296e8e93c2d1ee1853599fff0bf
Auto-generated-cl: translation import
Import translations. DO NOT MERGE

Change-Id: Ia9424a0fbe8f6c04d15dfb60981eda2fb3abda00
Auto-generated-cl: translation import
Temporarily stop UI refresh during drag and drop

If the user is in the middle of a drag and drop operation, temporarily
stop UI refreshes when a new cursor is delivered, to prevent UI
inconsistencies.

This CL only fixes the dragging/dropping case. Swiping is still buggy
(the fix is more complicated/risky), and swiping might be removed
altogether in the future.

Bug: 11119329
Change-Id: I2939c915d4eb5d8f9de19a369b21c6c98806ba94
(cherry picked from commit 670fd3f59160bdb81f38b6be2f176ba233915686)
Fix crash when number is null

Fix crash in various routines when the number is null.

Bug:11766758
Change-Id: I3bcedbd8ada663a8c47528f32e213f653195fe57
(cherry picked from commit 21d991ee8bab6e2ef7d9df0b268b39053b21cf5b)
Fix ANR in UndemoteOutgoingCallReceiver

Querying the contacts provider for the contact id should happen
in a new thread as well.

Bug: 11773499
Change-Id: I715e7e9b4a650efbd708d4ad3793dad742b74a14
(cherry picked from commit ab9ae646ad4926b69dc02502861e8919b2cdb711)
Fix NPE in DialerDatabaseHelper for null phone numbers

Bug: 12006585
Change-Id: Iaed732806cbb8fb0301596162102e81ab8ec6024
(cherry picked from commit 1ef2b4a896e301b9e81aee073e58e35216128b2e)
Catch ActivityNotFoundException in CallDetailActivity

Bug: 12015287
Change-Id: I23b167e22d0da7f9be98b49e120b5b8ac1700e9a
(cherry picked from commit 7d67c9b12eb80f707e1f3578104b3dbf0a75c88a)
Hide voice search button if intent cannot be handled

If the Google Search app is disabled (this only seems to be possible
on Nexus 4), the Dialer crashes if the voice search button is pressed.
This CL hides/shows the voice search button every time the dialer
is launched/resumed after checking to see if there exists an activity
that can handle the ACTION_RECOGNIZE_SPEECH intent.

A string to indicate that voice search is unavailable is also added
just in case the user ends up in a weird state where the button is
showing but clicking on it would throw an ActivityNotFoundException.

Bug: 12015318
Change-Id: Idd7ec2da422425dd95ae0060ebc9b85a2cf35fb0
(cherry picked from commit da0f9046b2457c8adc0b97896d7ea1e880eccf96)
Always call through to super.onBackPressed in DialtactsActivity

moveTaskToBack is causing crashes in the Dialer when the back button is pressed.
This was legacy code that was unchanged in the new dialer. We should probably
just call through to super.onBackPressed regardless of whether or not the task
was at the top of the stack, to behave the same (navigation wise) as other apps.

Bug: 12015851
Change-Id: Ic0c3efb30b3874ad892b96a9fadd524313cfb782
(cherry picked from commit edf798aaf0eec1e94e1dc889f929a68c9c89922f)
Add null check in CallLogNotificationsService

Bug: 12015853
Change-Id: Ia2394f1ee0f102de4eab3f5468fd6204727b607d
(cherry picked from commit 1d66af17ae04e2c17746d7c402888ce98cda4b12)