Inline "select new contact" entry in contact picker

Moved Dialer resources into ContactsCommon (didn't use the exact
same icon. Used the icon from go/icons instead). Made some
small code changes needed by my Contacts CL: bug fix
and overridable parameter.

Part 2/3
Bug: 16209705
Change-Id: I792b4fa560f4f8a26ed05d5b44817152c59deda1
diff --git a/res-common/drawable-hdpi/ic_person_add_24dp.png b/res-common/drawable-hdpi/ic_person_add_24dp.png
new file mode 100644
index 0000000..1b71ff1
--- /dev/null
+++ b/res-common/drawable-hdpi/ic_person_add_24dp.png
Binary files differ
diff --git a/res-common/drawable-mdpi/ic_person_add_24dp.png b/res-common/drawable-mdpi/ic_person_add_24dp.png
new file mode 100644
index 0000000..b6cf02d
--- /dev/null
+++ b/res-common/drawable-mdpi/ic_person_add_24dp.png
Binary files differ
diff --git a/res-common/drawable-xhdpi/ic_person_add_24dp.png b/res-common/drawable-xhdpi/ic_person_add_24dp.png
new file mode 100644
index 0000000..2d265e1
--- /dev/null
+++ b/res-common/drawable-xhdpi/ic_person_add_24dp.png
Binary files differ
diff --git a/res-common/drawable-xxhdpi/ic_person_add_24dp.png b/res-common/drawable-xxhdpi/ic_person_add_24dp.png
new file mode 100644
index 0000000..6091312
--- /dev/null
+++ b/res-common/drawable-xxhdpi/ic_person_add_24dp.png
Binary files differ
diff --git a/res-common/drawable/ic_person_add_tinted_24dp.xml b/res-common/drawable/ic_person_add_tinted_24dp.xml
new file mode 100644
index 0000000..6d79663
--- /dev/null
+++ b/res-common/drawable/ic_person_add_tinted_24dp.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  ~ Copyright (C) 2014 The Android Open Source Project
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License
+  -->
+<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
+    android:src="@drawable/ic_person_add_24dp"
+    android:autoMirrored="true"
+    android:tint="@color/actionbar_icon_color" />
\ No newline at end of file
diff --git a/res-common/drawable/ic_search_add_contact.xml b/res-common/drawable/ic_search_add_contact.xml
new file mode 100644
index 0000000..36475eb
--- /dev/null
+++ b/res-common/drawable/ic_search_add_contact.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+     Copyright (C) 2014 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+
+<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
+    android:src="@drawable/ic_person_add_24dp"
+    android:autoMirrored="true"
+    android:tint="@color/search_shortcut_icon_color" />
diff --git a/res-common/drawable/search_shortcut_background.xml b/res-common/drawable/search_shortcut_background.xml
new file mode 100644
index 0000000..52b5e3f
--- /dev/null
+++ b/res-common/drawable/search_shortcut_background.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+     Copyright (C) 2014 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+    android:shape="oval" >
+    <size
+        android:height="@dimen/search_shortcut_radius"
+        android:width="@dimen/search_shortcut_radius" />
+    <solid android:color="@color/search_shortcut_background_color" />
+</shape>
\ No newline at end of file
diff --git a/res-common/values/colors.xml b/res-common/values/colors.xml
index 8700256..76b3b9f 100644
--- a/res-common/values/colors.xml
+++ b/res-common/values/colors.xml
@@ -133,4 +133,7 @@
     <!-- Text color of the search box hint text  -->
     <color name="searchbox_hint_text_color">#a4a4a4</color>
     <color name="searchbox_icon_tint">#a4a4a4</color>
+
+    <color name="search_shortcut_background_color">#b6b6b6</color>
+    <color name="search_shortcut_icon_color">#f8f8f8</color>
 </resources>
diff --git a/res-common/values/dimens.xml b/res-common/values/dimens.xml
index 2013e85..6624714 100644
--- a/res-common/values/dimens.xml
+++ b/res-common/values/dimens.xml
@@ -130,4 +130,7 @@
     <!-- Top margin for the Frequently Contacted section title, when the title is the first
          item in the list -->
     <dimen name="frequently_contacted_title_top_margin">57dp</dimen>
+
+    <!-- Size of icon for contacts number shortcuts -->
+    <dimen name="search_shortcut_radius">40dp</dimen>
 </resources>