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

/frameworks/ex/chips/src/com/android/ex/chips/
H A DBaseRecipientAdapter.java775 final byte[] photoBytes = mPhotoCacheMap.get(photoThumbnailUri);
776 if (photoBytes != null) {
777 entry.setPhotoBytes(photoBytes);
838 protected void onPostExecute(final byte[] photoBytes) {
839 entry.setPhotoBytes(photoBytes);
840 if (photoBytes != null) {
841 mPhotoCacheMap.put(photoThumbnailUri, photoBytes);
850 byte[] photoBytes = mPhotoCacheMap.get(photoThumbnailUri);
851 if (photoBytes != null) {
852 entry.setPhotoBytes(photoBytes);
[all...]
H A DRecipientEntry.java216 public synchronized void setPhotoBytes(byte[] photoBytes) { argument
217 mPhotoBytes = photoBytes;
H A DRecipientEditTextView.java621 byte[] photoBytes = contact.getPhotoBytes();
624 if (photoBytes == null && contact.getPhotoThumbnailUri() != null) {
628 photoBytes = contact.getPhotoBytes();
632 if (photoBytes != null) {
633 photo = BitmapFactory.decodeByteArray(photoBytes, 0, photoBytes.length);
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
H A DVCardEntryTests.java264 byte[] photoBytes = new byte[] {1};
265 property.setByteValue(photoBytes);
267 PhotoData photoData = new PhotoData("PNG", photoBytes, false);
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntry.java984 public PhotoData(String format, byte[] photoBytes, boolean isPrimary) { argument
986 mBytes = photoBytes;
1977 private void addPhotoBytes(String formatName, byte[] photoBytes, boolean isPrimary) { argument
1981 final PhotoData photoData = new PhotoData(formatName, photoBytes, isPrimary);

Completed in 84 milliseconds