/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | MediaResourceManager.java | 94 void onMediaResourceLoaded(MediaRequest<T> request, T resource, boolean cached); in onMediaResourceLoaded() 95 void onMediaResourceLoadError(MediaRequest<T> request, Exception exception); in onMediaResourceLoadError() 127 final MediaRequest<T> mediaRequest) { in requestMediaResourceAsync() 137 final MediaRequest<T> mediaRequest) { in requestMediaResourceSync() 160 final MediaRequest<T> mediaRequest) in processMediaRequestInternal() 162 final List<MediaRequest<T>> chainedRequests = new ArrayList<>(); in processMediaRequestInternal() 169 final MediaRequest<T> decodeRequest = (MediaRequest<T>) cachedResource in processMediaRequestInternal() 187 final MediaRequest<T> mediaRequest) { in loadMediaFromCache() 188 if (mediaRequest.getRequestType() != MediaRequest.REQUEST_LOAD_MEDIA) { in loadMediaFromCache() 203 final MediaRequest<T> mediaRequest, final List<MediaRequest<T>> chainedRequests) in loadMediaFromRequest() [all …]
|
D | DecodedImageResource.java | 157 MediaRequest<? extends RefCountedMediaResource> getMediaEncodingRequest( in getMediaEncodingRequest() 158 final MediaRequest<? extends RefCountedMediaResource> originalRequest) { in getMediaEncodingRequest() 164 return new EncodeImageRequest((MediaRequest<ImageResource>) originalRequest); in getMediaEncodingRequest() 170 private class EncodeImageRequest implements MediaRequest<ImageResource> { 171 private final MediaRequest<ImageResource> mOriginalImageRequest; 173 public EncodeImageRequest(MediaRequest<ImageResource> originalImageRequest) { in EncodeImageRequest() 186 public ImageResource loadMediaBlocking(List<MediaRequest<ImageResource>> chainedRequests) in loadMediaBlocking()
|
D | AsyncMediaRequestWrapper.java | 32 createWith(final MediaRequest<T> wrappedRequest, in createWith() 37 private final MediaRequest<T> mWrappedRequest; 40 final MediaRequest<T> wrappedRequest) { in AsyncMediaRequestWrapper() 61 public T loadMediaBlocking(List<MediaRequest<T>> chainedTask) throws Exception { in loadMediaBlocking()
|
D | RefCountedMediaResource.java | 152 MediaRequest<? extends RefCountedMediaResource> getMediaDecodingRequest( in getMediaDecodingRequest() 153 final MediaRequest<? extends RefCountedMediaResource> originalRequest) { in getMediaDecodingRequest() 157 MediaRequest<? extends RefCountedMediaResource> getMediaEncodingRequest( in getMediaEncodingRequest() 158 final MediaRequest<? extends RefCountedMediaResource> originalRequest) { in getMediaEncodingRequest()
|
D | EncodedImageResource.java | 103 MediaRequest<? extends RefCountedMediaResource> getMediaDecodingRequest( in getMediaDecodingRequest() 104 final MediaRequest<? extends RefCountedMediaResource> originalRequest) { in getMediaDecodingRequest() 114 private class DecodeImageRequest implements MediaRequest<ImageResource> { 127 public ImageResource loadMediaBlocking(List<MediaRequest<ImageResource>> chainedTask) in loadMediaBlocking()
|
D | BindableMediaRequest.java | 29 implements MediaRequest<T>, MediaResourceLoadListener<T> { 41 public void onMediaResourceLoaded(final MediaRequest<T> request, final T resource, in onMediaResourceLoaded() 53 public void onMediaResourceLoadError(final MediaRequest<T> request, final Exception exception) { in onMediaResourceLoadError()
|
D | UriImageRequest.java | 39 protected ImageResource loadMediaInternal(List<MediaRequest<ImageResource>> chainedTasks) in loadMediaInternal() 45 final MediaRequest<ImageResource> chainedTask = (MediaRequest<ImageResource>) in loadMediaInternal()
|
D | ImageRequest.java | 43 implements MediaRequest<ImageResource> { 77 return MediaRequest.REQUEST_LOAD_MEDIA; in getRequestType() 103 public final ImageResource loadMediaBlocking(List<MediaRequest<ImageResource>> chainedTask) in loadMediaBlocking() 110 protected ImageResource loadMediaInternal(List<MediaRequest<ImageResource>> chainedTask) in loadMediaInternal()
|
D | MediaRequest.java | 28 public interface MediaRequest<T extends RefCountedMediaResource> { interface 45 T loadMediaBlocking(List<MediaRequest<T>> chainedTask) throws Exception; in loadMediaBlocking()
|
D | MediaRequestDescriptor.java | 27 public abstract MediaRequest<T> buildSyncMediaRequest(Context context); in buildSyncMediaRequest() 35 final MediaRequest<T> syncRequest = buildSyncMediaRequest(context); in buildAsyncMediaRequest()
|
D | VCardRequest.java | 62 public class VCardRequest implements MediaRequest<VCardResource> { 83 public VCardResource loadMediaBlocking(List<MediaRequest<VCardResource>> chainedTask) in loadMediaBlocking() 321 return MediaRequest.REQUEST_LOAD_MEDIA; in getRequestType()
|
D | CompositeImageRequest.java | 55 protected ImageResource loadMediaInternal(List<MediaRequest<ImageResource>> chainedTask) { in loadMediaInternal() 63 final MediaRequest<ImageResource> request = in loadMediaInternal()
|
D | VCardRequestDescriptor.java | 32 public MediaRequest<VCardResource> buildSyncMediaRequest(Context context) { in buildSyncMediaRequest()
|
D | VideoThumbnailRequestDescriptor.java | 34 public MediaRequest<ImageResource> buildSyncMediaRequest(Context context) { in buildSyncMediaRequest()
|
D | MessagePartVideoThumbnailRequestDescriptor.java | 35 public MediaRequest<ImageResource> buildSyncMediaRequest(final Context context) { in buildSyncMediaRequest()
|
D | CompositeImageRequestDescriptor.java | 58 public MediaRequest<ImageResource> buildSyncMediaRequest(final Context context) { in buildSyncMediaRequest()
|
D | FileImageRequestDescriptor.java | 65 public MediaRequest<ImageResource> buildSyncMediaRequest(final Context context) { in buildSyncMediaRequest()
|
D | AvatarRequestDescriptor.java | 52 public MediaRequest<ImageResource> buildSyncMediaRequest(final Context context) { in buildSyncMediaRequest()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/ |
D | FakeImageRequest.java | 22 public class FakeImageRequest implements MediaRequest<FakeImageResource> { 38 public FakeImageResource loadMediaBlocking(List<MediaRequest<FakeImageResource>> chainedTask) in loadMediaBlocking() 61 return MediaRequest.REQUEST_LOAD_MEDIA; in getRequestType()
|
D | MediaResourceManagerTest.java | 153 public void onMediaResourceLoaded(final MediaRequest<FakeImageResource> request, in createAssertListener() 168 final MediaRequest<FakeImageResource> request, final Exception exception) { in createAssertListener()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactRecipientPhotoManager.java | 29 import com.android.messaging.datamodel.media.MediaRequest; 73 public void onMediaResourceLoaded(final MediaRequest<ImageResource> request, in populatePhotoBytesAsync() 80 public void onMediaResourceLoadError(final MediaRequest<ImageResource> request, in populatePhotoBytesAsync()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | VCardContactItemData.java | 26 import com.android.messaging.datamodel.media.MediaRequest; 168 public void onMediaResourceLoaded(final MediaRequest<VCardResource> request, in onMediaResourceLoaded() 179 public void onMediaResourceLoadError(final MediaRequest<VCardResource> request, in onMediaResourceLoadError()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AsyncImageView.java | 41 import com.android.messaging.datamodel.media.MediaRequest; 235 public void onMediaResourceLoaded(final MediaRequest<ImageResource> request, in onMediaResourceLoaded() 244 final MediaRequest<ImageResource> request, final Exception exception) { in onMediaResourceLoadError()
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
D | BuglePhotoBitmapLoader.java | 29 import com.android.messaging.datamodel.media.MediaRequest; 67 final MediaRequest<ImageResource> imageRequest = in loadInBackground()
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
D | BaseWidgetFactory.java | 38 import com.android.messaging.datamodel.media.MediaRequest; 178 final MediaRequest<ImageResource> imageRequest =
|