Searched refs:imageResource (Results 1 – 9 of 9) sorted by relevance
68 final ImageResource imageResource) { in addResourceToCache() argument69 mReusablePoolAccessor.onResourceEnterCache(imageResource); in addResourceToCache()70 return super.addResourceToCache(key, imageResource); in addResourceToCache()212 void onResourceEnterCache(final ImageResource imageResource) { in onResourceEnterCache() argument213 if (getPoolKey(imageResource) != INVALID_POOL_KEY) { in onResourceEnterCache()214 addResourceToPool(imageResource); in onResourceEnterCache()223 void onResourceLeaveCache(final ImageResource imageResource) { in onResourceLeaveCache() argument224 if (getPoolKey(imageResource) != INVALID_POOL_KEY) { in onResourceLeaveCache()225 removeResourceFromPool(imageResource); in onResourceLeaveCache()229 private void addResourceToPool(final ImageResource imageResource) { in addResourceToPool() argument[all …]
80 ImageResource imageResource = super.loadMediaInternal(chainedTasks); in loadMediaInternal() local81 bitmap = imageResource.getBitmap(); in loadMediaInternal()82 orientation = imageResource.mOrientation; in loadMediaInternal()
59 final ImageResource imageResource = imageRequest.loadMediaBlocking(null); in testLoadImageUnspecifiedSize() local67 assertNotNull(imageResource); in testLoadImageUnspecifiedSize()68 assertNotNull(imageResource.getBitmap()); in testLoadImageUnspecifiedSize()71 final int bitmapWidth = imageResource.getBitmap().getWidth(); in testLoadImageUnspecifiedSize()72 final int bitmapHeight = imageResource.getBitmap().getHeight(); in testLoadImageUnspecifiedSize()90 final ImageResource imageResource = imageRequest.loadMediaBlocking(null); in testLoadImageWithDownsampling() local97 assertNotNull(imageResource); in testLoadImageWithDownsampling()98 assertNotNull(imageResource.getBitmap()); in testLoadImageWithDownsampling()101 final int bitmapWidth = imageResource.getBitmap().getWidth(); in testLoadImageWithDownsampling()102 final int bitmapHeight = imageResource.getBitmap().getHeight(); in testLoadImageWithDownsampling()
69 final ImageResource imageResource = in loadInBackground() local71 if (imageResource != null) { in loadInBackground()72 setImageResource(imageResource); in loadInBackground()
311 int imageResource = R.drawable.ic_vidcontrol_reload; in updateViews() local314 imageResource = R.drawable.ic_vidcontrol_play; in updateViews()317 imageResource = R.drawable.ic_vidcontrol_pause; in updateViews()321 mPlayPauseReplayView.setImageResource(imageResource); in updateViews()
452 final ImageResource imageResource = in getAttachmentBitmap() local454 if (imageResource != null && imageResource.getBitmap() != null) { in getAttachmentBitmap()455 setImageResource(imageResource); in getAttachmentBitmap()456 return Bitmap.createBitmap(imageResource.getBitmap()); in getAttachmentBitmap()
180 final ImageResource imageResource =182 if (imageResource != null) {183 setAvatarResource(imageResource);
44 public static void setImageResourceId(int imageResource) { in setImageResourceId() argument45 mImageResource = imageResource; in setImageResourceId()
746 final ImageResource imageResource = in sendNotification() local748 if (imageResource != null) { in sendNotification()752 Bitmap imageResourceBitmap = imageResource.getBitmap(); in sendNotification()761 imageResource.release(); in sendNotification()