summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/searchfragment/cp2
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/dialer/searchfragment/cp2')
-rw-r--r--java/com/android/dialer/searchfragment/cp2/AndroidManifest.xml16
-rw-r--r--java/com/android/dialer/searchfragment/cp2/ContactFilterCursor.java393
-rw-r--r--java/com/android/dialer/searchfragment/cp2/SearchContactViewHolder.java299
-rw-r--r--java/com/android/dialer/searchfragment/cp2/SearchContactsCursor.java64
-rw-r--r--java/com/android/dialer/searchfragment/cp2/SearchContactsCursorLoader.java52
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-af/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-am/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-ar/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-az/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-b+sr+Latn/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-be/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-bg/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-bn/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-bs/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-ca/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-cs/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-da/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-de/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-el/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-en-rAU/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-en-rGB/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-en-rIN/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-es-rUS/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-es/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-et/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-eu/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-fa/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-fi/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-fr-rCA/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-fr/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-gl/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-gu/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-hi/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-hr/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-hu/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-hy/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-in/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-is/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-it/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-iw/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-ja/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-ka/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-kk/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-km/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-kn/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-ko/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-ky/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-lo/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-lt/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-lv/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-mk/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-ml/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-mn/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-mr/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-ms/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-my/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-nb/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-ne/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-nl/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-no/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-pa/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-pl/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-pt-rBR/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-pt-rPT/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-pt/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-ro/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-ru/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-si/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-sk/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-sl/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-sq/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-sr/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-sv/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-sw/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-ta/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-te/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-th/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-tl/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-tr/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-uk/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-ur/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-uz/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-vi/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-zh-rCN/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-zh-rHK/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-zh-rTW/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values-zu/strings.xml21
-rw-r--r--java/com/android/dialer/searchfragment/cp2/res/values/strings.xml20
88 files changed, 2566 insertions, 0 deletions
diff --git a/java/com/android/dialer/searchfragment/cp2/AndroidManifest.xml b/java/com/android/dialer/searchfragment/cp2/AndroidManifest.xml
new file mode 100644
index 000000000..8d2efca40
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/AndroidManifest.xml
@@ -0,0 +1,16 @@
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+<manifest package="com.android.dialer.searchfragment.cp2"/> \ No newline at end of file
diff --git a/java/com/android/dialer/searchfragment/cp2/ContactFilterCursor.java b/java/com/android/dialer/searchfragment/cp2/ContactFilterCursor.java
new file mode 100644
index 000000000..6fd053cae
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/ContactFilterCursor.java
@@ -0,0 +1,393 @@
+/*
+ * Copyright (C) 2017 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
+ */
+
+package com.android.dialer.searchfragment.cp2;
+
+import android.content.ContentResolver;
+import android.database.CharArrayBuffer;
+import android.database.ContentObserver;
+import android.database.Cursor;
+import android.database.DataSetObserver;
+import android.net.Uri;
+import android.os.Bundle;
+import android.support.annotation.IntDef;
+import android.support.annotation.Nullable;
+import android.text.TextUtils;
+import com.android.dialer.searchfragment.common.Projections;
+import com.android.dialer.searchfragment.common.QueryFilteringUtil;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * Wrapper for a cursor containing all on device contacts.
+ *
+ * <p>This cursor removes duplicate phone numbers associated with the same contact and can filter
+ * contacts based on a query by calling {@link #filter(String)}.
+ */
+final class ContactFilterCursor implements Cursor {
+
+ private final Cursor cursor;
+ // List of cursor ids that are valid for displaying after filtering.
+ private final List<Integer> queryFilteredPositions = new ArrayList<>();
+
+ private int currentPosition = 0;
+
+ @Retention(RetentionPolicy.SOURCE)
+ @IntDef({
+ Qualification.NUMBERS_ARE_NOT_DUPLICATES,
+ Qualification.NEW_NUMBER_IS_MORE_QUALIFIED,
+ Qualification.CURRENT_MORE_QUALIFIED
+ })
+ private @interface Qualification {
+ /** Numbers are not duplicates (i.e. neither is more qualified than the other). */
+ int NUMBERS_ARE_NOT_DUPLICATES = 0;
+ /** Number are duplicates and new number is more qualified than the existing number. */
+ int NEW_NUMBER_IS_MORE_QUALIFIED = 1;
+ /** Numbers are duplicates but current/existing number is more qualified than new number. */
+ int CURRENT_MORE_QUALIFIED = 2;
+ }
+
+ /**
+ * @param cursor with projection {@link Projections#PHONE_PROJECTION}.
+ * @param query to filter cursor results.
+ */
+ ContactFilterCursor(Cursor cursor, @Nullable String query) {
+ // TODO(calderwoodra) investigate copying this into a MatrixCursor and holding in memory
+ this.cursor = cursor;
+ filter(query);
+ }
+
+ /**
+ * Filters out contacts that do not match the query.
+ *
+ * <p>The query can have at least 1 of 3 forms:
+ *
+ * <ul>
+ * <li>A phone number
+ * <li>A T9 representation of a name (matches {@link QueryFilteringUtil#T9_PATTERN}).
+ * <li>A name
+ * </ul>
+ *
+ * <p>A contact is considered a match if:
+ *
+ * <ul>
+ * <li>Its phone number contains the phone number query
+ * <li>Its name represented in T9 contains the T9 query
+ * <li>Its name contains the query
+ * </ul>
+ */
+ public void filter(@Nullable String query) {
+ if (query == null) {
+ query = "";
+ }
+ queryFilteredPositions.clear();
+
+ // On some devices, contacts have multiple rows with identical phone numbers. These numbers are
+ // considered duplicates. Since the order might not be guaranteed, we compare all of the numbers
+ // and hold onto the most qualified one as the one we want to display to the user.
+ // See #getQualification for details on how qualification is determined.
+ int previousMostQualifiedPosition = 0;
+ String previousName = "";
+ String previousMostQualifiedNumber = "";
+
+ query = query.toLowerCase();
+ cursor.moveToPosition(-1);
+
+ while (cursor.moveToNext()) {
+ int position = cursor.getPosition();
+ String currentNumber = cursor.getString(Projections.PHONE_NUMBER);
+ String currentName = cursor.getString(Projections.PHONE_DISPLAY_NAME);
+
+ if (!previousName.equals(currentName)) {
+ previousName = currentName;
+ previousMostQualifiedNumber = currentNumber;
+ previousMostQualifiedPosition = position;
+ } else {
+ // Since the contact name is the same, check if this number is a duplicate
+ switch (getQualification(currentNumber, previousMostQualifiedNumber)) {
+ case Qualification.CURRENT_MORE_QUALIFIED:
+ // Number is a less qualified duplicate, ignore it.
+ continue;
+ case Qualification.NEW_NUMBER_IS_MORE_QUALIFIED:
+ // If number wasn't filtered out before, remove it and add it's more qualified version.
+ int index = queryFilteredPositions.indexOf(previousMostQualifiedPosition);
+ if (index != -1) {
+ queryFilteredPositions.remove(index);
+ queryFilteredPositions.add(position);
+ }
+ previousMostQualifiedNumber = currentNumber;
+ previousMostQualifiedPosition = position;
+ continue;
+ case Qualification.NUMBERS_ARE_NOT_DUPLICATES:
+ default:
+ previousMostQualifiedNumber = currentNumber;
+ previousMostQualifiedPosition = position;
+ }
+ }
+
+ if (TextUtils.isEmpty(query)
+ || QueryFilteringUtil.nameMatchesT9Query(query, previousName)
+ || QueryFilteringUtil.numberMatchesNumberQuery(query, previousMostQualifiedNumber)
+ || QueryFilteringUtil.nameContainsQuery(query, previousName)) {
+ queryFilteredPositions.add(previousMostQualifiedPosition);
+ }
+ }
+ currentPosition = 0;
+ cursor.moveToFirst();
+ }
+
+ /**
+ * @param number that may or may not be more qualified than the existing most qualified number
+ * @param mostQualifiedNumber currently most qualified number associated with same contact
+ * @return {@link Qualification} where the more qualified number is the number with the most
+ * digits. If the digits are the same, the number with the most formatting is more qualified.
+ */
+ private @Qualification int getQualification(String number, String mostQualifiedNumber) {
+ // Ignore formatting
+ String numberDigits = QueryFilteringUtil.digitsOnly(number);
+ String qualifiedNumberDigits = QueryFilteringUtil.digitsOnly(mostQualifiedNumber);
+
+ // If the numbers are identical, return version with more formatting
+ if (qualifiedNumberDigits.equals(numberDigits)) {
+ if (mostQualifiedNumber.length() >= number.length()) {
+ return Qualification.CURRENT_MORE_QUALIFIED;
+ } else {
+ return Qualification.NEW_NUMBER_IS_MORE_QUALIFIED;
+ }
+ }
+
+ // If one number is a suffix of another, then return the longer one.
+ // If they are equal, then return the current most qualified number.
+ if (qualifiedNumberDigits.endsWith(numberDigits)) {
+ return Qualification.CURRENT_MORE_QUALIFIED;
+ }
+ if (numberDigits.endsWith(qualifiedNumberDigits)) {
+ return Qualification.NEW_NUMBER_IS_MORE_QUALIFIED;
+ }
+ return Qualification.NUMBERS_ARE_NOT_DUPLICATES;
+ }
+
+ @Override
+ public boolean moveToPosition(int position) {
+ currentPosition = position;
+ return currentPosition < getCount()
+ && cursor.moveToPosition(queryFilteredPositions.get(currentPosition));
+ }
+
+ @Override
+ public boolean move(int offset) {
+ currentPosition += offset;
+ return moveToPosition(currentPosition);
+ }
+
+ @Override
+ public int getCount() {
+ return queryFilteredPositions.size();
+ }
+
+ @Override
+ public boolean isFirst() {
+ return currentPosition == 0;
+ }
+
+ @Override
+ public boolean isLast() {
+ return currentPosition == getCount() - 1;
+ }
+
+ @Override
+ public int getPosition() {
+ return currentPosition;
+ }
+
+ @Override
+ public boolean moveToFirst() {
+ return moveToPosition(0);
+ }
+
+ @Override
+ public boolean moveToLast() {
+ return moveToPosition(getCount() - 1);
+ }
+
+ @Override
+ public boolean moveToNext() {
+ return moveToPosition(++currentPosition);
+ }
+
+ @Override
+ public boolean moveToPrevious() {
+ return moveToPosition(--currentPosition);
+ }
+
+ // Methods below simply call the corresponding method in cursor.
+ @Override
+ public boolean isBeforeFirst() {
+ return cursor.isBeforeFirst();
+ }
+
+ @Override
+ public boolean isAfterLast() {
+ return cursor.isAfterLast();
+ }
+
+ @Override
+ public int getColumnIndex(String columnName) {
+ return cursor.getColumnIndex(columnName);
+ }
+
+ @Override
+ public int getColumnIndexOrThrow(String columnName) {
+ return cursor.getColumnIndexOrThrow(columnName);
+ }
+
+ @Override
+ public String getColumnName(int columnIndex) {
+ return cursor.getColumnName(columnIndex);
+ }
+
+ @Override
+ public String[] getColumnNames() {
+ return cursor.getColumnNames();
+ }
+
+ @Override
+ public int getColumnCount() {
+ return cursor.getColumnCount();
+ }
+
+ @Override
+ public byte[] getBlob(int columnIndex) {
+ return cursor.getBlob(columnIndex);
+ }
+
+ @Override
+ public String getString(int columnIndex) {
+ return cursor.getString(columnIndex);
+ }
+
+ @Override
+ public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) {
+ cursor.copyStringToBuffer(columnIndex, buffer);
+ }
+
+ @Override
+ public short getShort(int columnIndex) {
+ return cursor.getShort(columnIndex);
+ }
+
+ @Override
+ public int getInt(int columnIndex) {
+ return cursor.getInt(columnIndex);
+ }
+
+ @Override
+ public long getLong(int columnIndex) {
+ return cursor.getLong(columnIndex);
+ }
+
+ @Override
+ public float getFloat(int columnIndex) {
+ return cursor.getFloat(columnIndex);
+ }
+
+ @Override
+ public double getDouble(int columnIndex) {
+ return cursor.getDouble(columnIndex);
+ }
+
+ @Override
+ public int getType(int columnIndex) {
+ return cursor.getType(columnIndex);
+ }
+
+ @Override
+ public boolean isNull(int columnIndex) {
+ return cursor.isNull(columnIndex);
+ }
+
+ @Override
+ public void deactivate() {
+ cursor.deactivate();
+ }
+
+ @Override
+ public boolean requery() {
+ return cursor.requery();
+ }
+
+ @Override
+ public void close() {
+ cursor.close();
+ }
+
+ @Override
+ public boolean isClosed() {
+ return cursor.isClosed();
+ }
+
+ @Override
+ public void registerContentObserver(ContentObserver observer) {
+ cursor.registerContentObserver(observer);
+ }
+
+ @Override
+ public void unregisterContentObserver(ContentObserver observer) {
+ cursor.unregisterContentObserver(observer);
+ }
+
+ @Override
+ public void registerDataSetObserver(DataSetObserver observer) {
+ cursor.registerDataSetObserver(observer);
+ }
+
+ @Override
+ public void unregisterDataSetObserver(DataSetObserver observer) {
+ cursor.unregisterDataSetObserver(observer);
+ }
+
+ @Override
+ public void setNotificationUri(ContentResolver cr, Uri uri) {
+ cursor.setNotificationUri(cr, uri);
+ }
+
+ @Override
+ public Uri getNotificationUri() {
+ return cursor.getNotificationUri();
+ }
+
+ @Override
+ public boolean getWantsAllOnMoveCalls() {
+ return cursor.getWantsAllOnMoveCalls();
+ }
+
+ @Override
+ public void setExtras(Bundle extras) {
+ cursor.setExtras(extras);
+ }
+
+ @Override
+ public Bundle getExtras() {
+ return cursor.getExtras();
+ }
+
+ @Override
+ public Bundle respond(Bundle extras) {
+ return cursor.respond(extras);
+ }
+}
diff --git a/java/com/android/dialer/searchfragment/cp2/SearchContactViewHolder.java b/java/com/android/dialer/searchfragment/cp2/SearchContactViewHolder.java
new file mode 100644
index 000000000..327fe5303
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/SearchContactViewHolder.java
@@ -0,0 +1,299 @@
+/*
+ * Copyright (C) 2017 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
+ */
+
+package com.android.dialer.searchfragment.cp2;
+
+import android.content.Context;
+import android.content.res.Resources;
+import android.database.Cursor;
+import android.net.Uri;
+import android.provider.ContactsContract.CommonDataKinds.Phone;
+import android.provider.ContactsContract.Contacts;
+import android.support.annotation.IntDef;
+import android.support.annotation.Nullable;
+import android.support.v7.widget.RecyclerView.ViewHolder;
+import android.text.TextUtils;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.ImageView;
+import android.widget.QuickContactBadge;
+import android.widget.TextView;
+import com.android.dialer.common.Assert;
+import com.android.dialer.contactphoto.ContactPhotoManager;
+import com.android.dialer.dialercontact.DialerContact;
+import com.android.dialer.enrichedcall.EnrichedCallCapabilities;
+import com.android.dialer.enrichedcall.EnrichedCallComponent;
+import com.android.dialer.enrichedcall.EnrichedCallManager;
+import com.android.dialer.lettertile.LetterTileDrawable;
+import com.android.dialer.lightbringer.LightbringerComponent;
+import com.android.dialer.searchfragment.common.Projections;
+import com.android.dialer.searchfragment.common.QueryBoldingUtil;
+import com.android.dialer.searchfragment.common.R;
+import com.android.dialer.searchfragment.common.RowClickListener;
+import com.android.dialer.searchfragment.common.SearchCursor;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+/** ViewHolder for a contact row. */
+public final class SearchContactViewHolder extends ViewHolder implements OnClickListener {
+
+ /** IntDef for the different types of actions that can be shown. */
+ @Retention(RetentionPolicy.SOURCE)
+ @IntDef({
+ CallToAction.NONE,
+ CallToAction.VIDEO_CALL,
+ CallToAction.DUO_CALL,
+ CallToAction.SHARE_AND_CALL
+ })
+ @interface CallToAction {
+ int NONE = 0;
+ int VIDEO_CALL = 1;
+ int DUO_CALL = 2;
+ int SHARE_AND_CALL = 3;
+ }
+
+ private final RowClickListener listener;
+ private final QuickContactBadge photo;
+ private final TextView nameOrNumberView;
+ private final TextView numberView;
+ private final ImageView callToActionView;
+ private final Context context;
+
+ private int position;
+ private String number;
+ private DialerContact dialerContact;
+ private @CallToAction int currentAction;
+
+ public SearchContactViewHolder(View view, RowClickListener listener) {
+ super(view);
+ this.listener = listener;
+ view.setOnClickListener(this);
+ photo = view.findViewById(R.id.photo);
+ nameOrNumberView = view.findViewById(R.id.primary);
+ numberView = view.findViewById(R.id.secondary);
+ callToActionView = view.findViewById(R.id.call_to_action);
+ context = view.getContext();
+ }
+
+ /**
+ * Binds the ViewHolder with a cursor from {@link SearchContactsCursorLoader} with the data found
+ * at the cursors set position.
+ */
+ public void bind(SearchCursor cursor, String query) {
+ dialerContact = getDialerContact(context, cursor);
+ position = cursor.getPosition();
+ number = cursor.getString(Projections.PHONE_NUMBER);
+ String name = cursor.getString(Projections.PHONE_DISPLAY_NAME);
+ String label = getLabel(context.getResources(), cursor);
+ String secondaryInfo =
+ TextUtils.isEmpty(label)
+ ? number
+ : context.getString(
+ com.android.contacts.common.R.string.call_subject_type_and_number, label, number);
+
+ nameOrNumberView.setText(QueryBoldingUtil.getNameWithQueryBolded(query, name));
+ numberView.setText(QueryBoldingUtil.getNumberWithQueryBolded(query, secondaryInfo));
+ setCallToAction(cursor, query);
+
+ if (shouldShowPhoto(cursor)) {
+ nameOrNumberView.setVisibility(View.VISIBLE);
+ photo.setVisibility(View.VISIBLE);
+ String photoUri = cursor.getString(Projections.PHONE_PHOTO_URI);
+ ContactPhotoManager.getInstance(context)
+ .loadDialerThumbnailOrPhoto(
+ photo,
+ getContactUri(cursor),
+ cursor.getLong(Projections.PHONE_PHOTO_ID),
+ photoUri == null ? null : Uri.parse(photoUri),
+ name,
+ LetterTileDrawable.TYPE_DEFAULT);
+ } else {
+ nameOrNumberView.setVisibility(View.GONE);
+ photo.setVisibility(View.INVISIBLE);
+ }
+ }
+
+ // Show the contact photo next to only the first number if a contact has multiple numbers
+ private boolean shouldShowPhoto(SearchCursor cursor) {
+ int currentPosition = cursor.getPosition();
+ String currentLookupKey = cursor.getString(Projections.PHONE_LOOKUP_KEY);
+ cursor.moveToPosition(currentPosition - 1);
+
+ if (!cursor.isHeader() && !cursor.isBeforeFirst()) {
+ String previousLookupKey = cursor.getString(Projections.PHONE_LOOKUP_KEY);
+ cursor.moveToPosition(currentPosition);
+ return !currentLookupKey.equals(previousLookupKey);
+ }
+ cursor.moveToPosition(currentPosition);
+ return true;
+ }
+
+ private static Uri getContactUri(Cursor cursor) {
+ long contactId = cursor.getLong(Projections.PHONE_ID);
+ String lookupKey = cursor.getString(Projections.PHONE_LOOKUP_KEY);
+ return Contacts.getLookupUri(contactId, lookupKey);
+ }
+
+ // TODO(calderwoodra): handle CNAP and cequint types.
+ // TODO(calderwoodra): unify this into a utility method with CallLogAdapter#getNumberType
+ private static String getLabel(Resources resources, Cursor cursor) {
+ int numberType = cursor.getInt(Projections.PHONE_TYPE);
+ String numberLabel = cursor.getString(Projections.PHONE_LABEL);
+
+ // Returns empty label instead of "custom" if the custom label is empty.
+ if (numberType == Phone.TYPE_CUSTOM && TextUtils.isEmpty(numberLabel)) {
+ return "";
+ }
+ return (String) Phone.getTypeLabel(resources, numberType, numberLabel);
+ }
+
+ private void setCallToAction(SearchCursor cursor, String query) {
+ currentAction = getCallToAction(context, cursor, query);
+ switch (currentAction) {
+ case CallToAction.NONE:
+ callToActionView.setVisibility(View.GONE);
+ callToActionView.setOnClickListener(null);
+ break;
+ case CallToAction.SHARE_AND_CALL:
+ callToActionView.setVisibility(View.VISIBLE);
+ callToActionView.setImageDrawable(
+ context.getDrawable(com.android.contacts.common.R.drawable.ic_phone_attach));
+ callToActionView.setOnClickListener(this);
+ break;
+ case CallToAction.DUO_CALL:
+ case CallToAction.VIDEO_CALL:
+ callToActionView.setVisibility(View.VISIBLE);
+ callToActionView.setImageDrawable(
+ context.getDrawable(R.drawable.quantum_ic_videocam_white_24));
+ callToActionView.setOnClickListener(this);
+ break;
+ default:
+ throw Assert.createIllegalStateFailException(
+ "Invalid Call to action type: " + currentAction);
+ }
+ }
+
+ private static @CallToAction int getCallToAction(
+ Context context, SearchCursor cursor, String query) {
+ int carrierPresence = cursor.getInt(Projections.PHONE_CARRIER_PRESENCE);
+ String number = cursor.getString(Projections.PHONE_NUMBER);
+ if ((carrierPresence & Phone.CARRIER_PRESENCE_VT_CAPABLE) == 1) {
+ return CallToAction.VIDEO_CALL;
+ }
+
+ if (LightbringerComponent.get(context).getLightbringer().isReachable(context, number)) {
+ return CallToAction.DUO_CALL;
+ }
+
+ EnrichedCallManager manager = EnrichedCallComponent.get(context).getEnrichedCallManager();
+ EnrichedCallCapabilities capabilities = manager.getCapabilities(number);
+ if (capabilities != null && capabilities.isCallComposerCapable()) {
+ return CallToAction.SHARE_AND_CALL;
+ } else if (shouldRequestCapabilities(cursor, capabilities, query)) {
+ manager.requestCapabilities(number);
+ }
+ return CallToAction.NONE;
+ }
+
+ /**
+ * An RPC is initiated for each number we request capabilities for, so to limit the network load
+ * and latency on slow networks, we only want to request capabilities for potential contacts the
+ * user is interested in calling. The requirements are that:
+ *
+ * <ul>
+ * <li>The search query must be 3 or more characters; OR
+ * <li>There must be 4 or fewer contacts listed in the cursor.
+ * </ul>
+ */
+ private static boolean shouldRequestCapabilities(
+ SearchCursor cursor,
+ @Nullable EnrichedCallCapabilities capabilities,
+ @Nullable String query) {
+ if (capabilities != null) {
+ return false;
+ }
+
+ if (query != null && query.length() >= 3) {
+ return true;
+ }
+
+ // TODO(calderwoodra): implement SearchCursor#getHeaderCount
+ if (cursor.getCount() <= 5) { // 4 contacts + 1 header row element
+ return true;
+ }
+ return false;
+ }
+
+ @Override
+ public void onClick(View view) {
+ if (view == callToActionView) {
+ switch (currentAction) {
+ case CallToAction.SHARE_AND_CALL:
+ listener.openCallAndShare(dialerContact);
+ break;
+ case CallToAction.VIDEO_CALL:
+ listener.placeVideoCall(number, position);
+ break;
+ case CallToAction.DUO_CALL:
+ listener.placeDuoCall(number);
+ break;
+ case CallToAction.NONE:
+ default:
+ throw Assert.createIllegalStateFailException(
+ "Invalid Call to action type: " + currentAction);
+ }
+ } else {
+ listener.placeVoiceCall(number, position);
+ }
+ }
+
+ private static DialerContact getDialerContact(Context context, Cursor cursor) {
+ DialerContact.Builder contact = DialerContact.newBuilder();
+ String displayName = cursor.getString(Projections.PHONE_DISPLAY_NAME);
+ String number = cursor.getString(Projections.PHONE_NUMBER);
+ Uri contactUri =
+ Contacts.getLookupUri(
+ cursor.getLong(Projections.PHONE_CONTACT_ID),
+ cursor.getString(Projections.PHONE_LOOKUP_KEY));
+
+ contact
+ .setNumber(number)
+ .setPhotoId(cursor.getLong(Projections.PHONE_PHOTO_ID))
+ .setContactType(LetterTileDrawable.TYPE_DEFAULT)
+ .setNameOrNumber(displayName)
+ .setNumberLabel(
+ Phone.getTypeLabel(
+ context.getResources(),
+ cursor.getInt(Projections.PHONE_TYPE),
+ cursor.getString(Projections.PHONE_LABEL))
+ .toString());
+
+ String photoUri = cursor.getString(Projections.PHONE_PHOTO_URI);
+ if (photoUri != null) {
+ contact.setPhotoUri(photoUri);
+ }
+
+ if (contactUri != null) {
+ contact.setContactUri(contactUri.toString());
+ }
+
+ if (!TextUtils.isEmpty(displayName)) {
+ contact.setDisplayNumber(number);
+ }
+
+ return contact.build();
+ }
+}
diff --git a/java/com/android/dialer/searchfragment/cp2/SearchContactsCursor.java b/java/com/android/dialer/searchfragment/cp2/SearchContactsCursor.java
new file mode 100644
index 000000000..18c9ecd7f
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/SearchContactsCursor.java
@@ -0,0 +1,64 @@
+/*
+ * Copyright (C) 2017 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
+ */
+
+package com.android.dialer.searchfragment.cp2;
+
+import android.content.Context;
+import android.database.Cursor;
+import android.database.MatrixCursor;
+import android.database.MergeCursor;
+import android.support.annotation.Nullable;
+import com.android.dialer.searchfragment.common.SearchCursor;
+
+/**
+ * {@link SearchCursor} implementation for displaying on device contacts.
+ *
+ * <p>Inserts header "All Contacts" at position 0.
+ */
+final class SearchContactsCursor extends MergeCursor implements SearchCursor {
+
+ private final ContactFilterCursor contactFilterCursor;
+
+ public static SearchContactsCursor newInstnace(
+ Context context, ContactFilterCursor contactFilterCursor) {
+ MatrixCursor headerCursor = new MatrixCursor(HEADER_PROJECTION);
+ headerCursor.addRow(new String[] {context.getString(R.string.all_contacts)});
+ return new SearchContactsCursor(new Cursor[] {headerCursor, contactFilterCursor});
+ }
+
+ private SearchContactsCursor(Cursor[] cursors) {
+ super(cursors);
+ contactFilterCursor = (ContactFilterCursor) cursors[1];
+ }
+
+ @Override
+ public boolean isHeader() {
+ return isFirst();
+ }
+
+ @Override
+ public boolean updateQuery(@Nullable String query) {
+ contactFilterCursor.filter(query);
+ return true;
+ }
+
+ @Override
+ public int getCount() {
+ // If we don't have any contents, we don't want to show the header
+ int count = contactFilterCursor.getCount();
+ return count == 0 ? 0 : count + 1;
+ }
+}
diff --git a/java/com/android/dialer/searchfragment/cp2/SearchContactsCursorLoader.java b/java/com/android/dialer/searchfragment/cp2/SearchContactsCursorLoader.java
new file mode 100644
index 000000000..84fd64ae5
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/SearchContactsCursorLoader.java
@@ -0,0 +1,52 @@
+/*
+ * Copyright (C) 2017 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.
+ */
+
+package com.android.dialer.searchfragment.cp2;
+
+import android.content.Context;
+import android.content.CursorLoader;
+import android.database.Cursor;
+import android.provider.ContactsContract.CommonDataKinds.Phone;
+import android.support.annotation.Nullable;
+import com.android.dialer.searchfragment.common.Projections;
+
+/** Cursor Loader for CP2 contacts. */
+public final class SearchContactsCursorLoader extends CursorLoader {
+
+ private final String query;
+
+ /** @param query Contacts cursor will be filtered based on this query. */
+ public SearchContactsCursorLoader(Context context, @Nullable String query) {
+ super(
+ context,
+ Phone.CONTENT_URI,
+ Projections.PHONE_PROJECTION,
+ null,
+ null,
+ Phone.SORT_KEY_PRIMARY + " ASC");
+ this.query = query;
+ }
+
+ @Override
+ public Cursor loadInBackground() {
+ // All contacts
+ Cursor cursor = super.loadInBackground();
+ // Filtering logic
+ ContactFilterCursor contactFilterCursor = new ContactFilterCursor(cursor, query);
+ // Header logic
+ return SearchContactsCursor.newInstnace(getContext(), contactFilterCursor);
+ }
+}
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-af/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-af/strings.xml
new file mode 100644
index 000000000..10a86a462
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-af/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Alle kontakte"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-am/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-am/strings.xml
new file mode 100644
index 000000000..4d530eb9c
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-am/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"ሁሉም እውቂያዎች"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-ar/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-ar/strings.xml
new file mode 100644
index 000000000..5f0084b4d
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-ar/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"جميع جهات الاتصال"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-az/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-az/strings.xml
new file mode 100644
index 000000000..f28fd5fe1
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-az/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Bütün kontaktlar"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-b+sr+Latn/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-b+sr+Latn/strings.xml
new file mode 100644
index 000000000..aaf2a2ada
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-b+sr+Latn/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Svi kontakti"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-be/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-be/strings.xml
new file mode 100644
index 000000000..d67743ddc
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-be/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Усе кантакты"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-bg/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-bg/strings.xml
new file mode 100644
index 000000000..2004db827
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-bg/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Всички контакти"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-bn/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-bn/strings.xml
new file mode 100644
index 000000000..8a78098fd
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-bn/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"সমস্ত পরিচিতি"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-bs/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-bs/strings.xml
new file mode 100644
index 000000000..aaf2a2ada
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-bs/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Svi kontakti"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-ca/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-ca/strings.xml
new file mode 100644
index 000000000..b3cf9b3ba
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-ca/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Tots els contactes"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-cs/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-cs/strings.xml
new file mode 100644
index 000000000..0544dc29b
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-cs/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Všechny kontakty"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-da/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-da/strings.xml
new file mode 100644
index 000000000..229507044
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-da/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Alle kontaktpersoner"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-de/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-de/strings.xml
new file mode 100644
index 000000000..5f9d38b96
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-de/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Alle Kontakte"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-el/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-el/strings.xml
new file mode 100644
index 000000000..a1ea81800
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-el/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Όλες οι επαφές"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-en-rAU/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-en-rAU/strings.xml
new file mode 100644
index 000000000..51d836775
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-en-rAU/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"All contacts"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-en-rGB/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-en-rGB/strings.xml
new file mode 100644
index 000000000..51d836775
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-en-rGB/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"All contacts"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-en-rIN/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-en-rIN/strings.xml
new file mode 100644
index 000000000..51d836775
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-en-rIN/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"All contacts"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-es-rUS/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-es-rUS/strings.xml
new file mode 100644
index 000000000..879059719
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-es-rUS/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Todos los contactos"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-es/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-es/strings.xml
new file mode 100644
index 000000000..879059719
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-es/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Todos los contactos"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-et/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-et/strings.xml
new file mode 100644
index 000000000..d8ea3b2be
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-et/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Kõik kontaktid"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-eu/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-eu/strings.xml
new file mode 100644
index 000000000..bdea9a90b
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-eu/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Kontaktu guztiak"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-fa/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-fa/strings.xml
new file mode 100644
index 000000000..6d23a5491
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-fa/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"همه مخاطبین"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-fi/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-fi/strings.xml
new file mode 100644
index 000000000..957fc79d2
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-fi/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Kaikki yhteystiedot"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-fr-rCA/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-fr-rCA/strings.xml
new file mode 100644
index 000000000..c6bf95427
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-fr-rCA/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Tous les contacts"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-fr/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-fr/strings.xml
new file mode 100644
index 000000000..c6bf95427
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-fr/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Tous les contacts"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-gl/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-gl/strings.xml
new file mode 100644
index 000000000..e69e199ed
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-gl/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Todos os contactos"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-gu/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-gu/strings.xml
new file mode 100644
index 000000000..9adc2bc4b
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-gu/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"બધા સંપર્કો"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-hi/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-hi/strings.xml
new file mode 100644
index 000000000..1eb07a78d
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-hi/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"सभी संपर्क"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-hr/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-hr/strings.xml
new file mode 100644
index 000000000..aaf2a2ada
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-hr/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Svi kontakti"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-hu/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-hu/strings.xml
new file mode 100644
index 000000000..34c206cce
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-hu/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Összes névjegy"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-hy/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-hy/strings.xml
new file mode 100644
index 000000000..350662f56
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-hy/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Բոլոր կոնտակտները"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-in/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-in/strings.xml
new file mode 100644
index 000000000..753dd3d7a
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-in/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Semua kontak"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-is/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-is/strings.xml
new file mode 100644
index 000000000..aba498da0
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-is/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Allir tengiliðir"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-it/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-it/strings.xml
new file mode 100644
index 000000000..b523cb69c
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-it/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Tutti i contatti"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-iw/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-iw/strings.xml
new file mode 100644
index 000000000..d71c523d9
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-iw/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"כל אנשי הקשר"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-ja/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-ja/strings.xml
new file mode 100644
index 000000000..5a36ea11e
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-ja/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"すべての連絡先"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-ka/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-ka/strings.xml
new file mode 100644
index 000000000..11a1d7005
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-ka/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"ყველა კონტაქტი"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-kk/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-kk/strings.xml
new file mode 100644
index 000000000..7eeb0398d
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-kk/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Барлық контактілер"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-km/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-km/strings.xml
new file mode 100644
index 000000000..951fc1662
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-km/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"ទំនាក់ទំនង​ទាំងអស់"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-kn/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-kn/strings.xml
new file mode 100644
index 000000000..899787d5b
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-kn/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"ಎಲ್ಲಾ ಸಂಪರ್ಕಗಳು"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-ko/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-ko/strings.xml
new file mode 100644
index 000000000..c7025645c
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-ko/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"모든 연락처"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-ky/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-ky/strings.xml
new file mode 100644
index 000000000..b115ab487
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-ky/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Бардык байланыштар"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-lo/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-lo/strings.xml
new file mode 100644
index 000000000..166d1e001
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-lo/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"ລາຍຊື່ຜູ້ຕິດຕໍ່ທັງໝົດ"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-lt/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-lt/strings.xml
new file mode 100644
index 000000000..b3efc6bda
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-lt/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Visi kontaktai"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-lv/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-lv/strings.xml
new file mode 100644
index 000000000..3c7a34adc
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-lv/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Visas kontaktpersonas"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-mk/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-mk/strings.xml
new file mode 100644
index 000000000..1ef92ddef
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-mk/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Сите контакти"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-ml/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-ml/strings.xml
new file mode 100644
index 000000000..b9daf87ca
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-ml/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"എല്ലാ കോൺടാക്റ്റുകളും"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-mn/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-mn/strings.xml
new file mode 100644
index 000000000..9325de5a0
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-mn/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Бүх харилцагчид"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-mr/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-mr/strings.xml
new file mode 100644
index 000000000..4b9d6bd02
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-mr/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"सर्व संपर्क"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-ms/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-ms/strings.xml
new file mode 100644
index 000000000..29cb58154
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-ms/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Semua kenalan"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-my/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-my/strings.xml
new file mode 100644
index 000000000..31e3ec537
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-my/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"အဆက်အသွယ်အားလုံး"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-nb/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-nb/strings.xml
new file mode 100644
index 000000000..4a1e56278
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-nb/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Alle kontakter"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-ne/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-ne/strings.xml
new file mode 100644
index 000000000..a987d0e0c
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-ne/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"सबै सम्पर्कहरू"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-nl/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-nl/strings.xml
new file mode 100644
index 000000000..b29ac65b9
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-nl/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Alle contacten"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-no/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-no/strings.xml
new file mode 100644
index 000000000..4a1e56278
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-no/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Alle kontakter"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-pa/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-pa/strings.xml
new file mode 100644
index 000000000..1b26c22ca
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-pa/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"ਸਾਰੇ ਸੰਪਰਕ"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-pl/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-pl/strings.xml
new file mode 100644
index 000000000..23190de57
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-pl/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Wszystkie kontakty"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-pt-rBR/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-pt-rBR/strings.xml
new file mode 100644
index 000000000..ccc0c91a1
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-pt-rBR/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Todos os contatos"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-pt-rPT/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-pt-rPT/strings.xml
new file mode 100644
index 000000000..e69e199ed
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-pt-rPT/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Todos os contactos"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-pt/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-pt/strings.xml
new file mode 100644
index 000000000..ccc0c91a1
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-pt/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Todos os contatos"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-ro/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-ro/strings.xml
new file mode 100644
index 000000000..503c0e56a
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-ro/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Toată agenda"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-ru/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-ru/strings.xml
new file mode 100644
index 000000000..38cf675f7
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-ru/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Все контакты"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-si/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-si/strings.xml
new file mode 100644
index 000000000..ceafda071
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-si/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"සියලුම සම්බන්ධතා"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-sk/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-sk/strings.xml
new file mode 100644
index 000000000..a214b6bd2
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-sk/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Všetky kontakty"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-sl/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-sl/strings.xml
new file mode 100644
index 000000000..3d65765be
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-sl/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Vsi stiki"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-sq/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-sq/strings.xml
new file mode 100644
index 000000000..cb6501cda
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-sq/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Të gjitha kontaktet"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-sr/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-sr/strings.xml
new file mode 100644
index 000000000..6b86da92e
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-sr/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Сви контакти"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-sv/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-sv/strings.xml
new file mode 100644
index 000000000..191480388
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-sv/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Alla kontakter"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-sw/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-sw/strings.xml
new file mode 100644
index 000000000..2865645ed
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-sw/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Anwani zote"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-ta/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-ta/strings.xml
new file mode 100644
index 000000000..e8cf9e711
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-ta/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"எல்லாத் தொடர்புகளும்"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-te/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-te/strings.xml
new file mode 100644
index 000000000..431de2136
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-te/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"అన్ని పరిచయాలు"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-th/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-th/strings.xml
new file mode 100644
index 000000000..4b7cb4472
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-th/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"รายชื่อทั้งหมด"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-tl/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-tl/strings.xml
new file mode 100644
index 000000000..ad973da37
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-tl/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Lahat ng contact"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-tr/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-tr/strings.xml
new file mode 100644
index 000000000..6bb043aeb
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-tr/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Tüm kişiler"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-uk/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-uk/strings.xml
new file mode 100644
index 000000000..6a24a69ae
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-uk/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Усі контакти"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-ur/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-ur/strings.xml
new file mode 100644
index 000000000..2a8491695
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-ur/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"سبھی رابطے"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-uz/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-uz/strings.xml
new file mode 100644
index 000000000..b562c4e2b
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-uz/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Barcha kontaktlar"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-vi/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-vi/strings.xml
new file mode 100644
index 000000000..0bdf9e277
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-vi/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Tất cả địa chỉ liên hệ"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-zh-rCN/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-zh-rCN/strings.xml
new file mode 100644
index 000000000..fe8b1ff4a
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-zh-rCN/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"所有联系人"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-zh-rHK/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-zh-rHK/strings.xml
new file mode 100644
index 000000000..5191ae9f6
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-zh-rHK/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"所有聯絡人"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-zh-rTW/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-zh-rTW/strings.xml
new file mode 100644
index 000000000..5191ae9f6
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-zh-rTW/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"所有聯絡人"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values-zu/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values-zu/strings.xml
new file mode 100644
index 000000000..e6812c028
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values-zu/strings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="all_contacts" msgid="2155583160607462513">"Bonke oxhumana nabo"</string>
+</resources>
diff --git a/java/com/android/dialer/searchfragment/cp2/res/values/strings.xml b/java/com/android/dialer/searchfragment/cp2/res/values/strings.xml
new file mode 100644
index 000000000..5462dc926
--- /dev/null
+++ b/java/com/android/dialer/searchfragment/cp2/res/values/strings.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 2017 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
+ -->
+<resources>
+ <!-- Label for a list of all contacts on device. [CHAR LIMIT=30]-->
+ <string name="all_contacts">All contacts</string>
+</resources> \ No newline at end of file