Home
last modified time | relevance | path

Searched refs:photoBytes (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/chips/src/com/android/ex/chips/
DDefaultPhotoManager.java67 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()
DDropdownChipLayouter.java251 byte[] photoBytes = entry.getPhotoBytes(); in bindIconToView()
252 if (photoBytes != null && photoBytes.length > 0) { in bindIconToView()
253 final Bitmap photo = BitmapFactory.decodeByteArray(photoBytes, 0, in bindIconToView()
254 photoBytes.length); in bindIconToView()
DRecipientEntry.java296 public synchronized void setPhotoBytes(byte[] photoBytes) { in setPhotoBytes() argument
297 mPhotoBytes = photoBytes; in setPhotoBytes()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardEntryTests.java264 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/
DVCardEntry.java985 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()