Searched defs:lookupKey (Results 1 - 25 of 28) sorted by relevance

12

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactTileStarredView.java52 protected DefaultImageRequest getDefaultImageRequest(String displayName, String lookupKey) { argument
53 return new DefaultImageRequest(displayName, lookupKey, ContactPhotoManager.TYPE_DEFAULT,
H A DContactEntry.java52 public String lookupKey; field in class:ContactEntry
H A DContactListAdapter.java147 public void setSelectedContact(long selectedDirectoryId, String lookupKey, long contactId) { argument
149 mSelectedContactLookupKey = lookupKey;
175 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
176 Uri uri = Contacts.getLookupUri(contactId, lookupKey);
205 String lookupKey = getSelectedContactLookupKey();
206 if (lookupKey != null && TextUtils.equals(lookupKey,
314 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
315 if (mSelectedContactLookupKey.equals(lookupKey)) {
H A DContactTileView.java129 entry.lookupKey);
210 * @param lookupKey The lookup key of the contact
214 protected DefaultImageRequest getDefaultImageRequest(String displayName, String lookupKey) { argument
215 return new DefaultImageRequest(displayName, lookupKey, isContactPhotoCircular());
H A DPhoneNumberPickerFragment.java228 final String lookupKey = getLookupKey(position);
229 if (!TextUtils.isEmpty(lookupKey)) {
230 maybeTrackAnalytics(lookupKey);
382 * @param lookupKey The lookup key JSON object.
384 private void maybeTrackAnalytics(String lookupKey) { argument
386 JSONObject json = new JSONObject(lookupKey);
H A DShortcutIntentBuilder.java254 private Drawable getPhotoDrawable(byte[] bitmapData, String displayName, String lookupKey) { argument
260 false, new DefaultImageRequest(displayName, lookupKey, false));
265 String lookupKey, byte[] bitmapData) {
266 Drawable drawable = getPhotoDrawable(bitmapData, displayName, lookupKey);
304 private void createPhoneNumberShortcutIntent(Uri uri, String displayName, String lookupKey, argument
307 Drawable drawable = getPhotoDrawable(bitmapData, displayName, lookupKey);
264 createContactShortcutIntent(Uri contactUri, String contentType, String displayName, String lookupKey, byte[] bitmapData) argument
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
H A DContactUtils.java46 public abstract boolean retrieveContactInteractionsFromLookupKey(String lookupKey, argument
H A DConferenceParticipantListAdapter.java368 contactCache.lookupKey, contactCache.displayPhotoUri, thisRowCanSeparate,
400 * @param lookupKey The lookup key for the participant (for photo lookup).
406 String callerNumber, String callerNumberType, String lookupKey, Uri photoUri,
432 new DefaultImageRequest(callerName, lookupKey, true /* isCircularPhoto */);
405 setCallerInfoForRow(View view, String callerName, String preferredName, String callerNumber, String callerNumberType, String lookupKey, Uri photoUri, boolean thisRowCanSeparate, boolean thisRowCanDisconnect) argument
H A DContactInfoCache.java444 cce.lookupKey = info.lookupKeyOrNull;
672 public String lookupKey; field in class:ContactInfoCache.ContactCacheEntry
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactLookupKeyTest.java142 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, argument
227 ArrayList<LookupKeySegment> list = key.parse(lookupKey);
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
H A DPeopleActivityTest.java155 String lookupKey, long id, String returnLookupKey, long returnId) {
156 Uri uri = Contacts.getLookupUri(id, lookupKey);
164 private void expectContactEntityQuery(String lookupKey, int contactId) { argument
166 Contacts.getLookupUri(contactId, lookupKey), Contacts.Entity.CONTENT_DIRECTORY);
169 row1.put(Contacts.Entity.LOOKUP_KEY, lookupKey);
154 expectContactLookupQuery( String lookupKey, long id, String returnLookupKey, long returnId) argument
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DContactInfo.java36 public String lookupKey; field in class:ContactInfo
H A DContactInfoHelper.java183 String lookupKey = phoneLookupCursor.getString(PhoneQuery.LOOKUP_KEY);
184 ContactInfo contactInfo = createPhoneLookupContactInfo(phoneLookupCursor, lookupKey);
185 contactInfo.nameAlternative = lookUpDisplayNameAlternative(mContext, lookupKey,
193 private ContactInfo createPhoneLookupContactInfo(Cursor phoneLookupCursor, String lookupKey) { argument
195 info.lookupKey = lookupKey;
197 lookupKey);
212 public static String lookUpDisplayNameAlternative(Context context, String lookupKey, argument
215 if (lookupKey == null || userType == ContactsUtils.USER_TYPE_WORK) {
218 final Uri uri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey);
[all...]
/packages/apps/Dialer/src/com/android/dialer/list/
H A DPhoneFavoriteTileView.java137 protected DefaultImageRequest getDefaultImageRequest(String displayName, String lookupKey) { argument
138 return new DefaultImageRequest(displayName, lookupKey, ContactPhotoManager.TYPE_DEFAULT,
/packages/apps/Dialer/tests/src/com/android/dialer/database/
H A DDatabaseTestUtils.java62 MatrixCursor nameCursor, int id, String number, int contactId, String lookupKey,
75 contactCursor.addRow(new Object[]{id, "", "", number, contactId, lookupKey, displayName,
80 return new ContactNumber(contactId, id, displayName, number, lookupKey, 0, 0);
61 constructNewContact(MatrixCursor contactCursor, MatrixCursor nameCursor, int id, String number, int contactId, String lookupKey, String displayName, int photoId, int lastTimeUsed, int timesUsed, int starred, int isSuperPrimary, int inVisibleGroup, int isPrimary, int carrierPresence) argument
/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DBugleRecipientEntry.java34 final String lookupKey) {
36 directoryId, dataId, photoThumbnailUri, isFirstLevel, isValid, lookupKey);
43 final String lookupKey) {
46 ? Uri.parse(thumbnailUriAsString) : null), true, isValid, lookupKey);
53 final String lookupKey) {
56 ? Uri.parse(thumbnailUriAsString) : null), false, isValid, lookupKey);
30 BugleRecipientEntry(final int entryType, final String displayName, final String destination, final int destinationType, final String destinationLabel, final long contactId, final Long directoryId, final long dataId, final Uri photoThumbnailUri, final boolean isFirstLevel, final boolean isValid, final String lookupKey) argument
39 constructTopLevelEntry(final String displayName, final int displayNameSource, final String destination, final int destinationType, final String destinationLabel, final long contactId, final Long directoryId, final long dataId, final String thumbnailUriAsString, final boolean isValid, final String lookupKey) argument
49 constructSecondLevelEntry(final String displayName, final int displayNameSource, final String destination, final int destinationType, final String destinationLabel, final long contactId, final Long directoryId, final long dataId, final String thumbnailUriAsString, final boolean isValid, final String lookupKey) argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactLookupKey.java65 public static void appendToLookupKey(StringBuilder lookupKey, String accountTypeWithDataSet, argument
72 if (lookupKey.length() != 0) {
73 lookupKey.append(".");
76 lookupKey.append(getAccountHashCode(accountTypeWithDataSet, accountName));
78 lookupKey.append('r').append(rawContactId).append('-').append(
81 int pos = lookupKey.length();
82 lookupKey.append('i');
83 if (appendEscapedSourceId(lookupKey, sourceId)) {
84 lookupKey.setCharAt(pos, 'e');
107 public ArrayList<LookupKeySegment> parse(String lookupKey) { argument
[all...]
H A DGlobalSearchSupport.java74 String lookupKey; field in class:GlobalSearchSupport.SearchSuggestion
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);
260 suggestion.lookupKey
209 handleSearchShortcutRefresh(SQLiteDatabase db, String[] projection, String lookupKey, String filter, CancellationSignal cancellationSignal) argument
[all...]
/packages/apps/Dialer/src/com/android/dialer/service/
H A DCachedNumberLookupService.java25 public void setLookupKey(String lookupKey); argument
/packages/apps/Messaging/src/com/android/messaging/util/
H A DContactUtil.java469 final String destinationLabel, final long contactId, final String lookupKey,
474 photoThumbnailUri, true, lookupKey);
478 photoThumbnailUri, true, lookupKey);
499 final String lookupKey = cursor.getString(
507 destinationLabel, contactId, lookupKey, dataId, photoThumbnailUri,
467 createRecipientEntry(final String displayName, final int displayNameSource, final String destination, final int destinationType, final String destinationLabel, final long contactId, final String lookupKey, final long dataId, final String photoThumbnailUri, final boolean firstLevel) argument
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DConfirmAddDetailActivity.java322 * @param lookupKey the lookup uri.
324 private void startPhotoQuery(long photoId, Uri lookupKey) { argument
325 mQueryHandler.startQuery(TOKEN_PHOTO_QUERY, lookupKey,
750 private void setDefaultContactImage(String displayName, String lookupKey) { argument
753 new DefaultImageRequest(displayName, lookupKey, false /* isCircular */)));
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DAggregationSuggestionEngine.java76 public String lookupKey; field in class:AggregationSuggestionEngine.Suggestion
436 suggestion.lookupKey = mDataCursor.getString(DataQuery.LOOKUP_KEY);
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DParticipantData.java416 public void setLookupKey(final String lookupKey) { argument
417 mLookupKey = lookupKey;
/packages/experimental/LoaderApp/src/com/android/loaderapp/
H A DContactHeaderWidget.java282 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) { argument
609 mQueryHandler.startQuery(TOKEN_PHOTO_QUERY, lookupKey,
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DContact.java143 public Contact(Uri requestedUri, Uri uri, Uri lookupUri, long directoryId, String lookupKey, argument
154 mLookupKey = lookupKey;

Completed in 798 milliseconds

12