Searched refs:photoBytes (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | DefaultPhotoManager.java | 67 final byte[] photoBytes = mPhotoCacheMap.get(photoThumbnailUri); in populatePhotoBytesAsync() 68 if (photoBytes != null) { in populatePhotoBytesAsync() 69 entry.setPhotoBytes(photoBytes); in populatePhotoBytesAsync() 131 protected void onPostExecute(final byte[] photoBytes) { in fetchPhotoAsync() 132 entry.setPhotoBytes(photoBytes); in fetchPhotoAsync() 133 if (photoBytes != null) { in fetchPhotoAsync() 134 mPhotoCacheMap.put(photoThumbnailUri, photoBytes); in fetchPhotoAsync()
|
D | DropdownChipLayouter.java | 213 byte[] photoBytes = entry.getPhotoBytes(); in bindIconToView() 214 if (photoBytes != null && photoBytes.length > 0) { in bindIconToView() 215 final Bitmap photo = BitmapFactory.decodeByteArray(photoBytes, 0, in bindIconToView() 216 photoBytes.length); in bindIconToView()
|
D | RecipientEntry.java | 231 public synchronized void setPhotoBytes(byte[] photoBytes) { in setPhotoBytes() argument 232 mPhotoBytes = photoBytes; in setPhotoBytes()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardEntryTests.java | 264 byte[] photoBytes = new byte[] {1}; in testEntryElementIterator() 265 property.setByteValue(photoBytes); in testEntryElementIterator() 267 PhotoData photoData = new PhotoData("PNG", photoBytes, false); in testEntryElementIterator()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardEntry.java | 985 public PhotoData(String format, byte[] photoBytes, boolean isPrimary) { in PhotoData() argument 987 mBytes = photoBytes; in PhotoData() 1979 private void addPhotoBytes(String formatName, byte[] photoBytes, boolean isPrimary) { in addPhotoBytes() argument 1983 final PhotoData photoData = new PhotoData(formatName, photoBytes, isPrimary); in addPhotoBytes()
|