/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_StreamItemPhotosTest.java | 57 long photoId = ContentUris.parseId(uri); 58 assertTrue(photoId != -1); 59 assertEquals(Uri.withAppendedPath(insertUri, Long.toString(photoId)), uri); 70 long photoId = ContentUris.parseId(uri); 71 assertTrue(photoId != -1); 73 Long.toString(photoId)), uri);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
ContactInfo.java | 38 public long photoId; 73 if (photoId != other.photoId) return false; 82 formattedNumber).add("normalizedNumber", normalizedNumber).add("photoId", photoId)
|
CallLogAdapter.java | 613 final long photoId = info.photoId; 656 if (photoId == 0 && photoUri != null) { 659 setPhoto(views, photoId, lookupUri, nameForDefaultImage, lookupKey, contactType); 814 if (updatedInfo.photoId != callLogInfo.photoId) { 815 values.put(Calls.CACHED_PHOTO_ID, updatedInfo.photoId); [all...] |
ContactInfoHelper.java | 166 info.photoId = phonesCursor.getLong(PhoneQuery.PHOTO_ID);
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
MockContactPhotoManager.java | 31 public void loadThumbnail(ImageView view, long photoId, boolean darkTheme,
|
/packages/apps/Email/src/com/android/email/activity/ |
ContactStatusLoader.java | 112 final long photoId; 118 photoId = c.getLong(COLUMN_PHOTO_ID); 129 if (photoId != -1) { 131 ContentUris.withAppendedId(Data.CONTENT_URI, photoId), PHOTO_PROJECTION,
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
SenderInfoLoader.java | 150 long photoId = cursor.getLong(DATA_PHOTO_ID_COLUMN); 151 photoIdsAsStrings.add(Long.toString(photoId)); 152 photoIdMap.put(photoId, Pair.create(email, result)); 184 long photoId = cursor.getLong(PHOTO_PHOTO_ID_COLUMN); 185 Pair<String, ContactInfo> prev = photoIdMap.get(photoId);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
EmailAddressListAdapter.java | 178 long photoId = 0; 180 photoId = cursor.getLong(EmailQuery.EMAIL_PHOTO_ID); 183 if (photoId == 0) { 187 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, request);
|
PostalAddressListAdapter.java | 168 long photoId = 0; 170 photoId = cursor.getLong(PostalQuery.POSTAL_PHOTO_ID); 174 if (photoId == 0) { 179 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, request);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactListAdapter.java | 236 long photoId = 0; 238 photoId = cursor.getLong(ContactQuery.CONTACT_PHOTO_ID); 241 if (photoId != 0) { 242 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, null);
|
ContactEntryListAdapter.java | 650 long photoId = 0; 652 photoId = cursor.getLong(photoIdColumn); 659 if (photoId != 0 || photoUriColumn == -1) { 660 getPhotoLoader().loadThumbnail(quickContact, photoId, mDarkTheme, null);
|
PhoneNumberListAdapter.java | 418 long photoId = 0; 420 photoId = cursor.getLong(PhoneQuery.PHOTO_ID); 423 if (photoId != 0) { 424 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, null);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
ContactHeaderWidget.java | 268 final long photoId = cursor.getLong(ContactQuery.PHOTO_ID); 270 setPhotoId(photoId, lookupUri); 379 public void setPhotoId(final long photoId, final Uri lookupUri) { 380 if (photoId == 0) { 385 startPhotoQuery(photoId, lookupUri, 600 * @param photoId the photo id. 604 protected void startPhotoQuery(long photoId, Uri lookupKey, boolean resetQueryHandler) { 610 ContentUris.withAppendedId(Data.CONTENT_URI, photoId), PhotoQuery.COLUMNS,
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
DialerDatabaseHelper.java | 245 public final long photoId; 248 String lookupKey, long photoId) { 254 this.photoId = photoId; 259 return Objects.hashCode(id, dataId, displayName, phoneNumber, lookupKey, photoId); 274 && Objects.equal(this.photoId, that.photoId); [all...] |
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
SmartDialCursorLoader.java | 96 row[PhoneQuery.PHOTO_ID] = contact.photoId;
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
ResultActivity.java | 143 private void addRowWithPhoto(long photoId) { 146 ContentUris.withAppendedId(Data.CONTENT_URI, photoId),
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
ContactPhotoManager.java | 346 public abstract void loadThumbnail(ImageView view, long photoId, boolean darkTheme, 353 public final void loadThumbnail(ImageView view, long photoId, boolean darkTheme, 355 loadThumbnail(view, photoId, darkTheme, defaultImageRequest, DEFAULT_AVATAR); 671 public void loadThumbnail(ImageView view, long photoId, boolean darkTheme, 673 if (photoId == 0) { 678 if (DEBUG) Log.d(TAG, "loadPhoto request: " + photoId); 679 loadPhotoByIdOrUri(view, Request.createFromThumbnailId(photoId, darkTheme, [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
Contact.java | 139 long id, long nameRawContactId, int displayNameSource, long photoId, 155 mPhotoId = photoId;
|
ContactLoader.java | 375 0 /* photoId */, 547 final long photoId = contactData.getPhotoId(); 548 if (photoId <= 0) { 555 if (dataItem.getId() == photoId) { 613 final long photoId = cursor.getLong(ContactQuery.PHOTO_ID); 632 contactId, nameRawContactId, displayNameSource, photoId, photoUri, displayName, [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ConfirmAddDetailActivity.java | 321 * @param photoId the photo id. 324 private void startPhotoQuery(long photoId, Uri lookupKey) { 326 ContentUris.withAppendedId(Data.CONTENT_URI, photoId), 490 final long photoId = cursor.getLong(ContactQuery.PHOTO_ID); 495 if (photoId == 0) { 501 startPhotoQuery(photoId, lookupUri); [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
AttendeesView.java | 439 final long photoId = cursor.getLong(EMAIL_PROJECTION_PHOTO_ID_INDEX); 441 if (photoId > 0) {
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
AggregationSuggestionEngine.java | 428 long photoId = mDataCursor.getLong(DataQuery.PHOTO_ID); 429 if (dataId == photoId && !mDataCursor.isNull(DataQuery.PHOTO)) {
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
ContactsUtils.java | 160 public static Bitmap loadContactPhoto(Context context, long photoId, 167 ContentUris.withAppendedId(Data.CONTENT_URI, photoId),
|
/packages/apps/Dialer/tests/src/com/android/dialer/database/ |
SmartDialPrefixTest.java | 144 int id, String number, int contactId, String lookupKey, String displayName, int photoId, 151 photoId, lastTimeUsed, timesUsed, starred, isSuperPrimary, inVisibleGroup,
|
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
CallLogFragmentTest.java | 505 contactInfo.photoId = 0;
|