Searched refs:mImageResource (Results 1 – 5 of 5) sorted by relevance
32 private FakeImageResource mImageResource; field in MediaResourceManagerTest51 assertEquals("image1", mImageResource.getImageId()); in testLoadFromCache()52 final FakeImageResource loadedResource = mImageResource; in testLoadFromCache()56 assertEquals(loadedResource, mImageResource); in testLoadFromCache()67 assertEquals("image1", mImageResource.getImageId()); in testCacheEviction()71 assertEquals("image2", mImageResource.getImageId()); in testCacheEviction()75 assertEquals("image3", mImageResource.getImageId()); in testCacheEviction()79 assertEquals("image1", mImageResource.getImageId()); in testCacheEviction()90 assertEquals("image1", mImageResource.getImageId()); in testReclaimMemoryFromMediaCache()96 assertEquals(0, mImageResource.getRefCount()); in testReclaimMemoryFromMediaCache()[all …]
40 private ImageResource mImageResource; field in BuglePhotoBitmapLoader74 result.drawable = mImageResource.getDrawable(context.getResources()); in loadInBackground()121 if (takeContentChanged() || (mImageResource == null)) { in onStartLoading()172 if (mImageResource != resource) { in setImageResource()175 mImageResource = resource; in setImageResource()187 if (mImageResource != null) { in releaseImageResource()188 mImageResource.release(); in releaseImageResource()190 mImageResource = null; in releaseImageResource()
86 protected ImageResource mImageResource; field in AsyncImageView192 mImageResource = resource; in setImage()193 mImageResource.addRef(); in setImage()211 if (mImageResource instanceof GifImageResource) { in setImage()214 LogUtil.v(TAG, "setImage size: " + mImageResource.getMediaSize() + in setImage()215 " width: " + mImageResource.getBitmap().getWidth() + in setImage()216 " heigh: " + mImageResource.getBitmap().getHeight()); in setImage()235 if (mImageResource != resource) { in onMediaResourceLoaded()254 if (mImageResource != null) { in releaseImageResource()255 mImageResource.release(); in releaseImageResource()[all …]
31 private static int mImageResource; field in CameraPicker39 setImageResource(mImageResource); in CameraPicker()45 mImageResource = imageResource; in setImageResourceId()
74 private ImageResource mImageResource; field in WidgetConversationService.WidgetConversationFactory506 if (mImageResource != resource) { in setImageResource()509 mImageResource = resource; in setImageResource()514 if (mImageResource != null) { in releaseImageResource()515 mImageResource.release(); in releaseImageResource()517 mImageResource = null; in releaseImageResource()