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.java1381 private boolean hasHigherPhotoPriority(PhotoEntry photoEntry, int priority, in hasHigherPhotoPriority()
1382 PhotoEntry bestPhotoEntry, int bestPriority) { in hasHigherPhotoPriority()
1395 PhotoEntry bestPhotoEntry = null; in computeAggregateData()
1487 PhotoEntry photoEntry = getPhotoMetadata(db, photoFileId); in computeAggregateData()
1640 PhotoEntry bestPhotoEntry = null; in updatePhotoId()
1645 PhotoEntry photoEntry = getPhotoMetadata(db, photoFileId); in updatePhotoId()
1694 private class PhotoEntry implements Comparable<PhotoEntry> { class in AbstractContactAggregator
1701 private PhotoEntry(int pixelCount, int fileSize) { in PhotoEntry() method in AbstractContactAggregator.PhotoEntry
1707 public int compareTo(PhotoEntry pe) { in compareTo()
1719 private PhotoEntry getPhotoMetadata(SQLiteDatabase db, long photoFileId) { in getPhotoMetadata()
[all …]
DContactAggregator2.java777 private class PhotoEntry implements Comparable<PhotoEntry> { class in ContactAggregator2
784 private PhotoEntry(int pixelCount, int fileSize) { in PhotoEntry() method in ContactAggregator2.PhotoEntry
790 public int compareTo(PhotoEntry pe) { in compareTo()