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 AsyncImageView194 mImageResource = resource; in setImage()195 mImageResource.addRef(); in setImage()213 if (mImageResource instanceof GifImageResource) { in setImage()216 LogUtil.v(TAG, "setImage size: " + mImageResource.getMediaSize() + in setImage()217 " width: " + mImageResource.getBitmap().getWidth() + in setImage()218 " heigh: " + mImageResource.getBitmap().getHeight()); in setImage()237 if (mImageResource != resource) { in onMediaResourceLoaded()256 if (mImageResource != null) { in releaseImageResource()257 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.WidgetConversationFactory507 if (mImageResource != resource) { in setImageResource()510 mImageResource = resource; in setImageResource()515 if (mImageResource != null) { in releaseImageResource()516 mImageResource.release(); in releaseImageResource()518 mImageResource = null; in releaseImageResource()