/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactEntry.java | 32 public Uri lookupKey;
|
DefaultContactListAdapter.java | 108 String lookupKey = getSelectedContactLookupKey(); 109 if (lookupKey != null) { 110 uri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey);
|
ContactListAdapter.java | 135 public void setSelectedContact(long selectedDirectoryId, String lookupKey, long contactId) { 137 mSelectedContactLookupKey = lookupKey; 163 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY); 164 Uri uri = Contacts.getLookupUri(contactId, lookupKey); 184 String lookupKey = getSelectedContactLookupKey(); 185 if (lookupKey != null && TextUtils.equals(lookupKey, 291 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY); 292 if (mSelectedContactLookupKey.equals(lookupKey)) {
|
ContactTileAdapter.java | 252 String lookupKey = cursor.getString(mLookupIndex); 259 contact.lookupKey = ContentUris.withAppendedId( 260 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey), id);
|
ContactEntryListAdapter.java | 669 String lookupKey = cursor.getString(lookUpKeyColumn); 673 if (TextUtils.isEmpty(lookupKey) && isRemoteDirectory(directoryId)) { 676 Uri uri = Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Contacts/src/com/android/contacts/ |
NfcHandler.java | 68 final String lookupKey = Uri.encode(contactUri.getPathSegments().get(2)); 72 if (lookupKey.equals(PROFILE_LOOKUP_KEY)) { 78 appendPath(lookupKey).
|
/developers/samples/android/content/contacts/BasicContactables/BasicContactablesSample/src/main/java/com/example/android/basiccontactables/ |
ContactablesLoaderCallbacks.java | 110 String lookupKey = ""; 114 if (!lookupKey.equals(currentLookupKey)) { 117 lookupKey = currentLookupKey;
|
/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));
|
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/ |
ContactablesLoaderCallbacks.java | 110 String lookupKey = ""; 114 if (!lookupKey.equals(currentLookupKey)) { 117 lookupKey = currentLookupKey;
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
ContactInfoHelper.java | 162 String lookupKey = phonesCursor.getString(PhoneQuery.LOOKUP_KEY); 163 info.lookupUri = 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 | 74 String lookupKey; 108 list.add(lookupKey); // shortcut id 133 list.add(lookupKey); 135 list.add(lookupKey); 146 return Contacts.getLookupUri(contactId, lookupKey).toString(); 152 lookupKey = null; 205 * <p>Note that if {@code lookupKey} is not a valid lookup key, an empty cursor is returned 210 String lookupKey, String filter, CancellationSignal cancellationSignal) { 213 contactId = mContactsProvider.lookupContactIdByLookupKey(db, lookupKey); 259 suggestion.lookupKey = c.getString(1) [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ShowOrCreateActivity.java | 159 String lookupKey = null; 165 lookupKey = cursor.getString(LOOKUP_KEY_INDEX); 173 final Uri contactUri = Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
JoinContactListAdapter.java | 205 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY); 206 return Contacts.getLookupUri(contactId, lookupKey);
|
ContactBrowseListFragment.java | 121 final String lookupKey = cursor.getString(1); 122 if (contactId != 0 && !TextUtils.isEmpty(lookupKey)) { 123 return Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/ |
ContactLoaderTest.java | 104 final String lookupKey = "aa%12%@!"; 108 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey), 113 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey); 120 assertEquals(lookupKey, contact.getLookupKey()); 133 final String lookupKey = "aa%12%@!"; 139 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey), 144 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, contactId, lookupKey); 145 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey); 152 assertEquals(lookupKey, contact.getLookupKey()); 165 final String lookupKey = "aa%12%@!" [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactLookupKeyTest.java | 142 String lookupKey = "0i1.0i2.0i3"; 146 Contacts.LOOKUP_KEY, lookupKey); 164 Uri lookupUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey); 224 private void assertLookupKey(String lookupKey, int[] accountHashCodes, int[] types, 227 ArrayList<LookupKeySegment> list = key.parse(lookupKey);
|
/frameworks/base/core/java/android/widget/ |
QuickContactBadge.java | 326 String lookupKey = cursor.getString(PHONE_LOOKUP_STRING_COLUMN_INDEX); 327 lookupUri = Contacts.getLookupUri(contactId, lookupKey); 341 String lookupKey = cursor.getString(EMAIL_LOOKUP_STRING_COLUMN_INDEX); 342 lookupUri = Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
ContactDeletionInteraction.java | 227 String lookupKey = null; 240 lookupKey = cursor.getString(COLUMN_INDEX_LOOKUP_KEY); 262 final Uri contactUri = Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
AttendeesView.java | 435 final String lookupKey = 437 item.mContactLookupUri = 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/Contacts/tests/src/com/android/contacts/tests/allintents/ |
AllIntentsActivity.java | 342 final String lookupKey = lookupUri.getPathSegments().get(2); 344 lookupKey); 417 final String lookupKey = lookupUri.getPathSegments().get(2); 419 lookupKey);
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
PhoneFavoritesTileAdapter.java | 287 final String lookupKey = cursor.getString(mLookupIndex); 299 contact.lookupKey = ContentUris.withAppendedId( 300 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey), id); 659 unstarAndUnpinContact(entry.lookupKey); [all...] |