OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MediaResourceManager
(Results
1 - 17
of
17
) sorted by null
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/
MediaResourceManagerTest.java
23
import com.android.messaging.datamodel.media.
MediaResourceManager
.MediaResourceLoadListener;
31
// Loaded image resource from the
MediaResourceManager
callback.
44
final
MediaResourceManager
mediaResourceManager
=
45
new
MediaResourceManager
();
47
assertNotNull(
mediaResourceManager
);
50
loadImage(
mediaResourceManager
, "image1", 1 * KB, false /* shouldBeCached */, false);
55
loadImage(
mediaResourceManager
, "image1", 1 * KB, true /* shouldBeCached */, false);
60
final
MediaResourceManager
mediaResourceManager
[
all
...]
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
MediaRequestDescriptor.java
20
import com.android.messaging.datamodel.media.
MediaResourceManager
.MediaResourceLoadListener;
31
* {@link
MediaResourceManager
#requestMediaResourceAsync(MediaRequest)}
BindableMediaRequest.java
19
import com.android.messaging.datamodel.media.
MediaResourceManager
.MediaResourceLoadListener;
AsyncMediaRequestWrapper.java
18
import com.android.messaging.datamodel.media.
MediaResourceManager
.MediaResourceLoadListener;
CompositeImageRequest.java
67
MediaResourceManager
.get().requestMediaResourceSync(request);
MediaResourceManager.java
37
* <p>The
MediaResourceManager
takes media loading requests through one of two ways:</p>
47
* <p>For each media loading task,
MediaResourceManager
starts an AsyncTask that runs on a
49
* loading work. As the media resources are loaded,
MediaResourceManager
notifies the callers
51
* callback. Meanwhile,
MediaResourceManager
also pushes the loaded resource onto its dedicated
79
* UI component call
MediaResourceManager
.requestMediaResourceAsync() to request a media source.
83
public class
MediaResourceManager
{
86
public static
MediaResourceManager
get() {
/packages/apps/Messaging/src/com/android/messaging/
Factory.java
25
import com.android.messaging.datamodel.media.
MediaResourceManager
;
65
public abstract
MediaResourceManager
getMediaResourceManager();
FactoryImpl.java
31
import com.android.messaging.datamodel.media.
MediaResourceManager
;
59
private
MediaResourceManager
mMediaResourceManager;
93
factory.mMediaResourceManager = new
MediaResourceManager
();
184
public
MediaResourceManager
getMediaResourceManager() {
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
VCardContactItemData.java
27
import com.android.messaging.datamodel.media.
MediaResourceManager
;
28
import com.android.messaging.datamodel.media.
MediaResourceManager
.MediaResourceLoadListener;
140
MediaResourceManager
.get().requestMediaResourceAsync(mBinding.getData());
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
ContactRecipientPhotoManager.java
30
import com.android.messaging.datamodel.media.
MediaResourceManager
;
31
import com.android.messaging.datamodel.media.
MediaResourceManager
.MediaResourceLoadListener;
38
* {@link
MediaResourceManager
} for retrieving and caching contact avatars.
/packages/apps/Messaging/tests/src/com/android/messaging/
FakeFactory.java
30
import com.android.messaging.datamodel.media.
MediaResourceManager
;
59
private
MediaResourceManager
mMediaResourceManager;
81
factory.mMediaResourceManager = Mockito.mock(
MediaResourceManager
.class);
202
public
MediaResourceManager
getMediaResourceManager() {
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
BuglePhotoBitmapLoader.java
30
import com.android.messaging.datamodel.media.
MediaResourceManager
;
70
MediaResourceManager
.get().requestMediaResourceSync(imageRequest);
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
ConversationFragmentTest.java
33
import com.android.messaging.datamodel.media.
MediaResourceManager
;
56
@Mock protected
MediaResourceManager
mockMediaResourceManager;
/packages/apps/Messaging/src/com/android/messaging/ui/
AsyncImageView.java
42
import com.android.messaging.datamodel.media.
MediaResourceManager
;
43
import com.android.messaging.datamodel.media.
MediaResourceManager
.MediaResourceLoadListener;
53
* An ImageView used to asynchronously request an image from
MediaResourceManager
and render it.
61
// the image from the
MediaResourceManager
. Since the request is done asynchronously, we
153
MediaResourceManager
.get().requestMediaResourceAsync(mImageRequestBinding.getData());
226
MediaResourceManager
.get().requestMediaResourceAsync(request);
/packages/apps/Messaging/src/com/android/messaging/widget/
BaseWidgetFactory.java
39
import com.android.messaging.datamodel.media.
MediaResourceManager
;
181
MediaResourceManager
.get().requestMediaResourceSync(imageRequest);
WidgetConversationService.java
42
import com.android.messaging.datamodel.media.
MediaResourceManager
;
452
MediaResourceManager
.get().requestMediaResourceSync(imageRequest);
/packages/apps/Messaging/src/com/android/messaging/datamodel/
BugleNotifications.java
59
import com.android.messaging.datamodel.media.
MediaResourceManager
;
488
MediaResourceManager
.get().requestMediaResourceSync(imageRequest);
507
avatarHiRes =
MediaResourceManager
.get().requestMediaResourceSync(
590
return
MediaResourceManager
.get().requestMediaResourceSync(
[
all
...]
Completed in 137 milliseconds