/packages/apps/Contacts/src/com/android/contacts/ |
NfcHandler.java | 69 final String lookupKey = Uri.encode(contactUri.getPathSegments().get(2)); 73 if (lookupKey.equals(PROFILE_LOOKUP_KEY)) { 79 appendPath(lookupKey).
|
ContactSaveService.java | 337 final String lookupKey = c.getString(1); 338 lookupUri = Contacts.getLookupUri(contactId, lookupKey); [all...] |
ContactLoader.java | 184 private Result(Uri requestedUri, Uri uri, Uri lookupUri, long directoryId, String lookupKey, 195 mLookupKey = lookupKey; [all...] |
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
ContactInfoHelper.java | 147 String lookupKey = dataTableCursor.getString( 149 info.lookupUri = Contacts.getLookupUri(contactId, lookupKey); 211 String lookupKey = phonesCursor.getString(PhoneQuery.LOOKUP_KEY); 212 info.lookupUri = Contacts.getLookupUri(contactId, lookupKey);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
QuickContactsDemo.java | 83 final String lookupKey = cursor.getString(SUMMARY_LOOKUP_KEY); 84 cache.photoView.assignContactUri(Contacts.getLookupUri(contactId, lookupKey));
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactsListFragment.java | 145 final String lookupKey = cursor.getString(ContactsListLoader.COLUMN_LOOKUP_KEY); 146 return Contacts.getLookupUri(contactId, lookupKey);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ProfileAwareUriMatcher.java | 120 String lookupKey = uri.getPathSegments().get(lookupKeySegment); 121 if (ContactLookupKey.PROFILE_LOOKUP_KEY.equals(lookupKey)) {
|
ContactLookupKey.java | 67 public static void appendToLookupKey(StringBuilder lookupKey, String accountTypeWithDataSet, 74 if (lookupKey.length() != 0) { 75 lookupKey.append("."); 78 lookupKey.append(getAccountHashCode(accountTypeWithDataSet, accountName)); 80 lookupKey.append('r').append(rawContactId).append('-').append( 83 int pos = lookupKey.length(); 84 lookupKey.append('i'); 85 if (appendEscapedSourceId(lookupKey, sourceId)) { 86 lookupKey.setCharAt(pos, 'e'); 109 public ArrayList<LookupKeySegment> parse(String lookupKey) { [all...] |
GlobalSearchSupport.java | 110 String lookupKey; 139 list.add(lookupKey); 164 list.add(lookupKey); 166 list.add(lookupKey); 177 return Contacts.getLookupUri(contactId, lookupKey).toString(); 227 * <p>Note that if {@code lookupKey} is not a valid lookup key, an empty cursor is returned 232 String lookupKey, String filter) { 235 contactId = mContactsProvider.lookupContactIdByLookupKey(db, lookupKey); 339 suggestion.lookupKey = c.getString(1);
|
/frameworks/base/core/java/android/widget/ |
QuickContactBadge.java | 262 String lookupKey = cursor.getString(PHONE_LOOKUP_STRING_COLUMN_INDEX); 263 lookupUri = Contacts.getLookupUri(contactId, lookupKey); 276 String lookupKey = cursor.getString(EMAIL_LOOKUP_STRING_COLUMN_INDEX); 277 lookupUri = Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ShowOrCreateActivity.java | 162 String lookupKey = null; 168 lookupKey = cursor.getString(LOOKUP_KEY_INDEX); 176 final Uri contactUri = Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
DefaultContactListAdapter.java | 114 String lookupKey = getSelectedContactLookupKey(); 115 if (lookupKey != null) { 116 uri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey);
|
JoinContactListAdapter.java | 238 String lookupKey = cursor.getString(CONTACT_LOOKUP_KEY_COLUMN_INDEX); 239 return Contacts.getLookupUri(contactId, lookupKey);
|
ContactListAdapter.java | 136 public void setSelectedContact(long selectedDirectoryId, String lookupKey, long contactId) { 138 mSelectedContactLookupKey = lookupKey; 184 String lookupKey = cursor.getString(CONTACT_LOOKUP_KEY_COLUMN_INDEX); 185 Uri uri = Contacts.getLookupUri(contactId, lookupKey); 205 String lookupKey = getSelectedContactLookupKey(); 206 if (lookupKey != null && TextUtils.equals(lookupKey, 309 String lookupKey = cursor.getString(CONTACT_LOOKUP_KEY_COLUMN_INDEX); 310 if (mSelectedContactLookupKey.equals(lookupKey)) {
|
ContactTileAdapter.java | 235 String lookupKey = cursor.getString(mLookupIndex); 242 contact.lookupKey = ContentUris.withAppendedId( 243 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey), id); 653 public Uri lookupKey;
|
ContactBrowseListFragment.java | 114 String lookupKey = null; 118 lookupKey = data.getString(1); 128 if (contactId != 0 && lookupKey != null) { 129 uri = Contacts.getLookupUri(contactId, lookupKey);
|
ContactEntryListAdapter.java | 621 String lookupKey = cursor.getString(lookUpKeyColumn); 622 Uri uri = Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
ContactLoaderTest.java | 103 final String lookupKey = "aa%12%@!"; 107 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey), 112 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey); 119 assertEquals(lookupKey, contact.getLookupKey()); 132 final String lookupKey = "aa%12%@!"; 138 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey), 143 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, contactId, lookupKey); 144 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey); 151 assertEquals(lookupKey, contact.getLookupKey()); 164 final String lookupKey = "aa%12%@!" [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactLookupKeyTest.java | 141 String lookupKey = "0i1.0i2.0i3"; 145 Contacts.LOOKUP_KEY, lookupKey); 163 Uri lookupUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey); 223 private void assertLookupKey(String lookupKey, int[] accountHashCodes, int[] types, 226 ArrayList<LookupKeySegment> list = key.parse(lookupKey);
|
BaseContactsProvider2Test.java | 594 String lookupKey = c.getString(c.getColumnIndex(Contacts.LOOKUP_KEY)); 596 return lookupKey; [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
ContactDeletionInteraction.java | 228 String lookupKey = null; 241 lookupKey = cursor.getString(COLUMN_INDEX_LOOKUP_KEY); 263 final Uri contactUri = Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
AggregationSuggestionEngine.java | 73 public String lookupKey; 385 suggestion.lookupKey = mDataCursor.getString(DataQuery.LOOKUP_KEY);
|
/packages/apps/Exchange/src/com/android/exchange/provider/ |
ExchangeDirectoryProvider.java | 107 GalContactRow(GalProjection projection, long contactId, String lookupKey, 143 long contactId, String lookupKey, String accountName, String displayName, 147 galProjection, contactId, lookupKey, accountName, displayName); 156 String lookupKey, String accountName, String displayName, int type, String number) { 159 projection, contactId, lookupKey, accountName, displayName); 168 long contactId, String lookupKey, String accountName, String displayName, 171 galProjection, contactId, lookupKey, accountName, displayName); 205 String lookupKey; 319 lookupKey = pathSegments.get(2); 323 ps = new PackedString(lookupKey); [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
AllIntentsActivity.java | 346 final String lookupKey = lookupUri.getPathSegments().get(2); 348 lookupKey); 421 final String lookupKey = lookupUri.getPathSegments().get(2); 423 lookupKey);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
ContactHeaderWidget.java | 282 String lookupKey = cursor.getString( 284 bindFromContactUriInternal(Contacts.getLookupUri(contactId, lookupKey), 298 String lookupKey = cursor.getString( 300 bindFromContactUriInternal(Contacts.getLookupUri(contactId, lookupKey), 601 * @param lookupKey the lookup uri. 604 protected void startPhotoQuery(long photoId, Uri lookupKey, boolean resetQueryHandler) { 609 mQueryHandler.startQuery(TOKEN_PHOTO_QUERY, lookupKey,
|