Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPhotoLoadingTestCase.java36 private Map<Integer, PhotoEntry> photoResourceCache = Maps.newHashMap();
43 protected final class PhotoEntry { class in PhotoLoadingTestCase
45 public PhotoEntry(byte[] original) { in PhotoEntry() method in PhotoLoadingTestCase.PhotoEntry
62 private static PhotoEntry testPhotoEntry;
90 PhotoEntry entry = photoResourceCache.get(resourceId); in loadPhotoFromResource()
95 entry = new PhotoEntry(content); in loadPhotoFromResource()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java1379 private boolean hasHigherPhotoPriority(PhotoEntry photoEntry, int priority, in hasHigherPhotoPriority()
1380 PhotoEntry bestPhotoEntry, int bestPriority) { in hasHigherPhotoPriority()
1393 PhotoEntry bestPhotoEntry = null; in computeAggregateData()
1485 PhotoEntry photoEntry = getPhotoMetadata(db, photoFileId); in computeAggregateData()
1638 PhotoEntry bestPhotoEntry = null; in updatePhotoId()
1643 PhotoEntry photoEntry = getPhotoMetadata(db, photoFileId); in updatePhotoId()
1692 private class PhotoEntry implements Comparable<PhotoEntry> { class in AbstractContactAggregator
1699 private PhotoEntry(int pixelCount, int fileSize) { in PhotoEntry() method in AbstractContactAggregator.PhotoEntry
1705 public int compareTo(PhotoEntry pe) { in compareTo()
1717 private PhotoEntry getPhotoMetadata(SQLiteDatabase db, long photoFileId) { in getPhotoMetadata()
[all …]
DContactAggregator2.java789 private class PhotoEntry implements Comparable<PhotoEntry> { class in ContactAggregator2
796 private PhotoEntry(int pixelCount, int fileSize) { in PhotoEntry() method in ContactAggregator2.PhotoEntry
802 public int compareTo(PhotoEntry pe) { in compareTo()