/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 | 54 public long photoId; 91 if (photoId != other.photoId) return false; 104 .add("normalizedNumber", normalizedNumber).add("photoId", photoId)
|
ContactInfoHelper.java | 203 info.photoId = phoneLookupCursor.getLong(PhoneQuery.PHOTO_ID); 342 if (updatedInfo.photoId != callLogInfo.photoId) { 343 values.put(Calls.CACHED_PHOTO_ID, updatedInfo.photoId); 368 values.put(Calls.CACHED_PHOTO_ID, updatedInfo.photoId); 446 info.photoId = c.getLong(CallLogQuery.CACHED_PHOTO_ID);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
EditorIntents.java | 49 MaterialPalette materialPalette, long photoId) { 52 putPhotoId(intent, photoId); 103 MaterialPalette materialPalette, long photoId) { 107 putPhotoId(intent, photoId); 156 private static void putPhotoId(Intent intent, long photoId) { 157 if (photoId >= 0) { 158 intent.putExtra(ContactEditorBaseFragment.INTENT_EXTRA_PHOTO_ID, photoId);
|
CompactPhotoSelectionFragment.java | 121 public long photoId; 138 dest.writeLong(photoId); 151 photoId = source.readLong();
|
AggregationSuggestionEngine.java | 75 public long photoId; 474 long photoId = mDataCursor.getLong(DataQuery.PHOTO_ID); 475 if (dataId == photoId && !mDataCursor.isNull(DataQuery.PHOTO)) { 477 suggestion.photoId = photoId;
|
CompactContactEditorFragment.java | 198 mPhotoId = photo.photoId; 251 // This method override photo's primary flag based on photoId and set the photo currently 259 if (photo.photoId == mPhotoId) {
|
/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/EmergencyInfo/src/com/android/emergency/ |
EmergencyContactManager.java | 61 Long photoId = cursor.getLong(4); 62 if (photoId != null && photoId > 0) { 64 photoId);
|
/packages/apps/Dialer/tests/src/com/android/dialer/database/ |
DatabaseTestUtils.java | 63 String displayName, int photoId, int lastTimeUsed, int timesUsed, int starred, 76 photoId, lastTimeUsed, timesUsed, starred, isSuperPrimary, inVisibleGroup,
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
SenderInfoLoader.java | 162 long photoId = cursor.getLong(DATA_PHOTO_ID_COLUMN); 163 photoIdsAsStrings.add(Long.toString(photoId)); 164 photoIdMap.put(photoId, Pair.create(email, result)); 213 long photoId = cursor.getLong(PHOTO_PHOTO_ID_COLUMN); 214 Pair<String, ContactInfo> prev = photoIdMap.get(photoId);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
EmailAddressListAdapter.java | 172 long photoId = 0; 174 photoId = cursor.getLong(EmailQuery.EMAIL_PHOTO_ID); 177 if (photoId == 0) { 181 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, getCircularPhotos(),
|
PostalAddressListAdapter.java | 163 long photoId = 0; 165 photoId = cursor.getLong(PostalQuery.POSTAL_PHOTO_ID); 169 if (photoId == 0) { 174 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, getCircularPhotos(),
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
MockContactPhotoManager.java | 32 public void loadThumbnail(ImageView view, long photoId, boolean darkTheme, boolean isCircular,
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactListAdapter.java | 247 long photoId = 0; 249 photoId = cursor.getLong(ContactQuery.CONTACT_PHOTO_ID); 252 if (photoId != 0) { 253 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false,
|
ContactEntryListAdapter.java | 740 long photoId = 0; 742 photoId = cursor.getLong(photoIdColumn); 755 if (photoId != 0 || photoUriColumn == -1) { 756 getPhotoLoader().loadThumbnail(quickContact, photoId, mDarkTheme, mCircularPhotos,
|
PhoneNumberListAdapter.java | 539 long photoId = 0; 541 photoId = cursor.getLong(PhoneQuery.PHOTO_ID); 544 if (photoId != 0) { 545 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false,
|
/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 | 276 public final long photoId; 280 String lookupKey, long photoId, int carrierPresence) { 286 this.photoId = photoId; 292 return Objects.hashCode(id, dataId, displayName, phoneNumber, lookupKey, photoId, 308 && Objects.equal(this.photoId, that.photoId) [all...] |
/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/dialog/ |
CallSubjectDialog.java | 212 -1 /* photoId */, 227 * @param photoId The photo ID (used to populate contact photo). 237 public static void start(Activity activity, long photoId, Uri photoUri, Uri contactUri, 241 arguments.putLong(ARG_PHOTO_ID, photoId); 384 * @param photoId 390 private void setPhoto(long photoId, Uri photoUri, Uri contactUri, String displayName, 413 if (photoId == 0 && photoUri != null) { 417 ContactPhotoManager.getInstance(this).loadThumbnail(mContactPhoto, photoId,
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
ContactPhotoManager.java | 463 public abstract void loadThumbnail(ImageView view, long photoId, boolean darkTheme, 471 public final void loadThumbnail(ImageView view, long photoId, boolean darkTheme, 473 loadThumbnail(view, photoId, darkTheme, isCircular, defaultImageRequest, DEFAULT_AVATAR); [all...] |
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
SmartDialCursorLoader.java | 103 row[PhoneQuery.PHOTO_ID] = contact.photoId;
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
ContactsTest.java | 98 String photoId; 101 String photoThumbnailUri, String photoId) { 106 this.photoId = photoId; 140 return photoId != null && Long.parseLong(photoId) > 0; [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
Contact.java | 144 long id, long nameRawContactId, int displayNameSource, long photoId, 160 mPhotoId = photoId;
|