-
@Immutable() public class ImageRequestImmutable object encapsulating everything pipeline has to know about requested image to proceed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumImageRequest.CacheChoiceAn enum describing the cache choice.
public enumImageRequest.RequestLevelLevel down to we are willing to go in order to find an image. E.g., we might only want to godown to bitmap memory cache, and not check the disk cache or do a full fetch.
public @interfaceImageRequest.CachesLocationsMasksCaches bit locations in cachesDisabled from bitmap read bit (rightest bit, 00000001) to diskwrite bit (00100000). Uses for creating mask when performing bitwise operation withcachesDisabled in order to turn on (disable cache) or turn off (enable cache) the right bit.
-
Field Summary
Fields Modifier and Type Field Description public final static Fn<ImageRequest, Uri>REQUEST_TO_URI_FN
-
Method Summary
-
-
Method Detail
-
fromFile
@Nullable() static ImageRequest fromFile(@Nullable() File file)
-
fromUri
@Nullable() static ImageRequest fromUri(@Nullable() Uri uri)
-
fromUri
@Nullable() static ImageRequest fromUri(@Nullable() String uriString)
-
getCacheChoice
ImageRequest.CacheChoice getCacheChoice()
-
getSourceUri
Uri getSourceUri()
-
getSourceUriType
int getSourceUriType()
-
getPreferredWidth
int getPreferredWidth()
-
getPreferredHeight
int getPreferredHeight()
-
getResizeOptions
@Nullable() ResizeOptions getResizeOptions()
-
getRotationOptions
RotationOptions getRotationOptions()
-
getAutoRotateEnabled
@Deprecated() boolean getAutoRotateEnabled()
-
getBytesRange
@Nullable() BytesRange getBytesRange()
-
getImageDecodeOptions
ImageDecodeOptions getImageDecodeOptions()
-
getProgressiveRenderingEnabled
boolean getProgressiveRenderingEnabled()
-
getLocalThumbnailPreviewsEnabled
boolean getLocalThumbnailPreviewsEnabled()
-
getLoadThumbnailOnlyForAndroidSdkAboveQ
boolean getLoadThumbnailOnlyForAndroidSdkAboveQ()
-
getPriority
Priority getPriority()
-
getLowestPermittedRequestLevel
ImageRequest.RequestLevel getLowestPermittedRequestLevel()
-
getCachesDisabled
int getCachesDisabled()
-
isDiskCacheEnabled
boolean isDiskCacheEnabled()
-
isCacheEnabled
boolean isCacheEnabled(int cacheMask)
Returns whether the use of the cache is enabled for read or write according to given mask.
-
isMemoryCacheEnabled
boolean isMemoryCacheEnabled()
-
shouldDecodePrefetches
@Nullable() Boolean shouldDecodePrefetches()
-
getResizingAllowedOverride
@Nullable() Boolean getResizingAllowedOverride()
-
getDelayMs
int getDelayMs()
-
getSourceFile
synchronized File getSourceFile()
-
getPostprocessor
@Nullable() Postprocessor getPostprocessor()
-
getRequestListener
@Nullable() RequestListener getRequestListener()
-
hashCode
int hashCode()
-
recordHashCode
void recordHashCode(HashMap<String, Integer> hashCodeLog)
-
setUseCachedHashcodeInEquals
static void setUseCachedHashcodeInEquals(boolean useCachedHashcodeInEquals)
-
setCacheHashcode
static void setCacheHashcode(boolean cacheHashcode)
-
-
-
-