Home
last modified time | relevance | path

Searched refs:PhotoEntry (Results 1 – 4 of 4) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPhotoLoadingTestCase.java35 private Map<Integer, PhotoEntry> photoResourceCache = Maps.newHashMap();
42 protected final class PhotoEntry { class in PhotoLoadingTestCase
44 public PhotoEntry(byte[] original) { in PhotoEntry() method in PhotoLoadingTestCase.PhotoEntry
61 private static PhotoEntry testPhotoEntry;
89 PhotoEntry entry = photoResourceCache.get(resourceId); in loadPhotoFromResource()
94 entry = new PhotoEntry(content); in loadPhotoFromResource()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPhotoPickerActivity.java59 ArrayAdapter<PhotoEntry> photosAdapter = new ArrayAdapter<>( in onCreate()
68 ImmutableList.Builder<PhotoEntry> imageRowsBuilder = ImmutableList.builder(); in onCreate()
82 new PhotoEntry(cursor.getLong(idColumn), cursor.getString(nameColumn))); in onCreate()
87 private void respondPhoto(PhotoEntry photoEntry) { in respondPhoto()
117 private static class PhotoEntry { class in PhotoPickerActivity
121 PhotoEntry(long id, String name) { in PhotoEntry() method in PhotoPickerActivity.PhotoEntry
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java1388 private boolean hasHigherPhotoPriority(PhotoEntry photoEntry, int priority, in hasHigherPhotoPriority()
1389 PhotoEntry bestPhotoEntry, int bestPriority) { in hasHigherPhotoPriority()
1402 PhotoEntry bestPhotoEntry = null; in computeAggregateData()
1494 PhotoEntry photoEntry = getPhotoMetadata(db, photoFileId); in computeAggregateData()
1647 PhotoEntry bestPhotoEntry = null; in updatePhotoId()
1652 PhotoEntry photoEntry = getPhotoMetadata(db, photoFileId); in updatePhotoId()
1701 private class PhotoEntry implements Comparable<PhotoEntry> { class in AbstractContactAggregator
1708 private PhotoEntry(int pixelCount, int fileSize) { in PhotoEntry() method in AbstractContactAggregator.PhotoEntry
1714 public int compareTo(PhotoEntry pe) { in compareTo()
1726 private PhotoEntry getPhotoMetadata(SQLiteDatabase db, long photoFileId) { in getPhotoMetadata()
[all …]
DContactAggregator2.java791 private class PhotoEntry implements Comparable<PhotoEntry> { class in ContactAggregator2
798 private PhotoEntry(int pixelCount, int fileSize) { in PhotoEntry() method in ContactAggregator2.PhotoEntry
804 public int compareTo(PhotoEntry pe) { in compareTo()