/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
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/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/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactListAdapter.java | 137 public void setSelectedContact(long selectedDirectoryId, String lookupKey, long contactId) { 139 mSelectedContactLookupKey = lookupKey; 165 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY); 166 Uri uri = Contacts.getLookupUri(contactId, lookupKey); 186 String lookupKey = getSelectedContactLookupKey(); 187 if (lookupKey != null && TextUtils.equals(lookupKey, 249 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY); 250 request = new DefaultImageRequest(displayName, lookupKey); 299 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY) [all...] |
ContactEntry.java | 33 public String lookupKey;
|
ContactTileView.java | 128 DefaultImageRequest request = getDefaultImageRequest(entry.name, entry.lookupKey); 204 * @param lookupKey The lookup key of the contact 208 protected DefaultImageRequest getDefaultImageRequest(String displayName, String lookupKey) { 209 return new DefaultImageRequest(displayName, lookupKey);
|
DefaultContactListAdapter.java | 108 String lookupKey = getSelectedContactLookupKey(); 109 if (lookupKey != null) { 110 uri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey);
|
ShortcutIntentBuilder.java | 251 private Drawable getPhotoDrawable(byte[] bitmapData, String displayName, String lookupKey) { 257 false, new DefaultImageRequest(displayName, lookupKey)); 262 String lookupKey, byte[] bitmapData) { 263 Drawable drawable = getPhotoDrawable(bitmapData, displayName, lookupKey); 297 private void createPhoneNumberShortcutIntent(Uri uri, String displayName, String lookupKey, 300 Drawable drawable = getPhotoDrawable(bitmapData, displayName, lookupKey);
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
dbformat.h | 189 class LookupKey { 193 LookupKey(const Slice& user_key, SequenceNumber sequence); 195 ~LookupKey(); 220 LookupKey(const LookupKey&); 221 void operator=(const LookupKey&); 224 inline LookupKey::~LookupKey() {
|
memtable.h | 64 bool Get(const LookupKey& key, std::string* value, Status* s);
|
/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).
|
/packages/apps/Dialer/src/com/android/dialer/service/ |
CachedNumberLookupService.java | 15 public void setLookupKey(String lookupKey);
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
PeopleActivityTest.java | 218 String lookupKey, long id, String returnLookupKey, long returnId) { 219 Uri uri = Contacts.getLookupUri(id, lookupKey); 227 private void expectContactEntityQuery(String lookupKey, int contactId) { 229 Contacts.getLookupUri(contactId, lookupKey), Contacts.Entity.CONTENT_DIRECTORY); 232 row1.put(Contacts.Entity.LOOKUP_KEY, lookupKey);
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
DialerDatabaseHelper.java | 244 public final String lookupKey; 248 String lookupKey, long photoId) { 253 this.lookupKey = lookupKey; 259 return Objects.hashCode(id, dataId, displayName, phoneNumber, lookupKey, photoId); 273 && Objects.equal(this.lookupKey, that.lookupKey) 284 private final String lookupKey; 287 public ContactMatch(String lookupKey, long id) { 288 this.lookupKey = lookupKey [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);
|
/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));
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_ContactsTest.java | 98 String lookupKey = contact.getString(Contacts.LOOKUP_KEY); 100 Uri lookupUri = Contacts.getLookupUri(contactId, lookupKey); 102 lookupKey), contactId), lookupUri);
|
/developers/build/prebuilts/gradle/BasicContactables/BasicContactablesSample/src/main/java/com/example/android/basiccontactables/ |
ContactablesLoaderCallbacks.java | 110 String lookupKey = ""; 114 if (!lookupKey.equals(currentLookupKey)) { 117 lookupKey = currentLookupKey;
|
/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/browseable/BasicContactables/src/com.example.android.basiccontactables/ |
ContactablesLoaderCallbacks.java | 110 String lookupKey = ""; 114 if (!lookupKey.equals(currentLookupKey)) { 117 lookupKey = currentLookupKey;
|
/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/interactions/ |
ContactDeletionInteraction.java | 227 String lookupKey = null; 240 lookupKey = cursor.getString(COLUMN_INDEX_LOOKUP_KEY); 262 final Uri contactUri = Contacts.getLookupUri(contactId, 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/Dialer/src/com/android/dialer/calllog/ |
ContactInfoHelper.java | 158 String lookupKey = phonesCursor.getString(PhoneQuery.LOOKUP_KEY); 159 info.lookupKey = lookupKey; 160 info.lookupUri = Contacts.getLookupUri(contactId, lookupKey);
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
KeyIterator.java | 110 // System.out.println("lookupKey: "+lookupKey);
|