/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
NameLookupBuilderTest.java | 19 import android.provider.ContactsContract.FullNameStyle; 86 mBuilder.insertNameLookup(0, 0, "", FullNameStyle.UNDEFINED); 91 mBuilder.insertNameLookup(0, 0, "Foo", FullNameStyle.UNDEFINED); 96 mBuilder.insertNameLookup(0, 0, "Mr. Foo", FullNameStyle.UNDEFINED); 101 mBuilder.insertNameLookup(0, 0, "Foo Bar", FullNameStyle.UNDEFINED); 106 mBuilder.insertNameLookup(0, 0, "Foo Bar Baz", FullNameStyle.UNDEFINED); 121 mBuilder.insertNameLookup(0, 0, "Foo Bar Baz Biz", FullNameStyle.UNDEFINED); 155 mBuilder.insertNameLookup(0, 0, "Bill", FullNameStyle.UNDEFINED); 160 mBuilder.insertNameLookup(0, 0, "Al", FullNameStyle.UNDEFINED); 165 mBuilder.insertNameLookup(0, 0, "Foo Al", FullNameStyle.UNDEFINED) [all...] |
NameSplitterTest.java | 19 import android.provider.ContactsContract.FullNameStyle; 174 assertFullNameStyle(FullNameStyle.UNDEFINED, null); 175 assertFullNameStyle(FullNameStyle.UNDEFINED, ""); 181 assertFullNameStyle(FullNameStyle.WESTERN, "John Doe"); 184 assertFullNameStyle(FullNameStyle.JAPANESE, "A\u3080\u308D\u306A\u307F\u3048"); 187 assertFullNameStyle(FullNameStyle.WESTERN, "\u0152uvre"); 190 assertFullNameStyle(FullNameStyle.WESTERN, "\uFF5C.?+Smith"); 197 assertFullNameStyle(FullNameStyle.JAPANESE, "\u3042\u3080\u308D\u306A\u307F\u3048"); 200 assertFullNameStyle(FullNameStyle.JAPANESE, "\u30A2\u30E0\u30ED \u30CA\u30DF\u30A8"); 203 assertFullNameStyle(FullNameStyle.JAPANESE, "\uFF71\uFF91\uFF9B \uFF85\uFF90\uFF74") [all...] |
ContactLocaleUtilsTest.java | 19 import android.provider.ContactsContract.FullNameStyle; 146 assertNull(getNameLookupKeys(LATIN_NAME, FullNameStyle.UNDEFINED)); 163 assertNull(getNameLookupKeys(CHINESE_NAME, FullNameStyle.CJK)); 164 assertNull(getNameLookupKeys(CHINESE_NAME, FullNameStyle.CHINESE)); 194 FullNameStyle.CHINESE); 197 keys = getNameLookupKeys(CHINESE_LATIN_MIX_NAME_1, FullNameStyle.CHINESE); 200 keys = getNameLookupKeys(CHINESE_LATIN_MIX_NAME_2, FullNameStyle.CHINESE); 215 assertNull(getNameLookupKeys(CHINESE_NAME, FullNameStyle.CHINESE)); 216 assertNull(getNameLookupKeys(CHINESE_NAME, FullNameStyle.CJK)); 220 FullNameStyle.CJK) [all...] |
ContactsProvider2Test.java | 53 import android.provider.ContactsContract.FullNameStyle; [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameSplitter.java | 20 import android.provider.ContactsContract.FullNameStyle; 91 public int fullNameStyle; 134 return fullNameStyle; 161 fullNameStyle = integer == null ? FullNameStyle.UNDEFINED : integer; 177 values.put(StructuredName.FULL_NAME_STYLE, fullNameStyle); 196 fullNameStyle = FullNameStyle.UNDEFINED; 350 int fullNameStyle = guessFullNameStyle(fullName); 351 if (fullNameStyle == FullNameStyle.CJK) [all...] |
DataRowHandlerForStructuredName.java | 23 import android.provider.ContactsContract.FullNameStyle; 54 Integer fullNameStyle = values.getAsInteger(StructuredName.FULL_NAME_STYLE); 56 fullNameStyle != null 57 ? mSplitter.getAdjustedFullNameStyle(fullNameStyle) 58 : FullNameStyle.UNDEFINED); 86 Integer fullNameStyle = augmented.getAsInteger(StructuredName.FULL_NAME_STYLE); 88 fullNameStyle != null 89 ? mSplitter.getAdjustedFullNameStyle(fullNameStyle) 90 : FullNameStyle.UNDEFINED); 144 name.fullNameStyle = FullNameStyle.UNDEFINED [all...] |
ContactLocaleUtils.java | 19 import android.provider.ContactsContract.FullNameStyle; 347 if (nameStyle != FullNameStyle.JAPANESE && 348 nameStyle != FullNameStyle.KOREAN) { 475 if (nameStyle == FullNameStyle.JAPANESE &&
|
NameLookupBuilder.java | 19 import android.provider.ContactsContract.FullNameStyle; 99 public void insertNameLookup(long rawContactId, long dataId, String name, int fullNameStyle) { 142 public void appendToSearchIndex(IndexBuilder builder, String name, int fullNameStyle) { 152 appendNameShorthandLookup(builder, name, fullNameStyle); 153 appendNameLookupForLocaleBasedName(builder, name, fullNameStyle); 160 String fullName, int fullNameStyle) { 161 if (fullNameStyle == FullNameStyle.KOREAN) { 163 mSplitter.split(name, fullName, fullNameStyle); 327 public void appendNameShorthandLookup(IndexBuilder builder, String name, int fullNameStyle) { [all...] |
ContactsDatabaseHelper.java | 62 import android.provider.ContactsContract.FullNameStyle; [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
ContactAggregator.java | 34 import android.provider.ContactsContract.FullNameStyle; [all...] |
/frameworks/base/core/java/android/provider/ |
ContactsContract.java | [all...] |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |