Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(ImageHeaderParser) - Method in class com.bumptech.glide.provider.ImageHeaderParserRegistry
- addDefaultRequestListener(RequestListener<Object>) - Method in class com.bumptech.glide.RequestManager
-
Adds a default
RequestListenerthat will be added to every request started with thisRequestManager. - addGlobalRequestListener(RequestListener<Object>) - Method in class com.bumptech.glide.GlideBuilder
-
Adds a global
RequestListenerthat will be added to every request started with Glide. - addHeader(String, LazyHeaderFactory) - Method in class com.bumptech.glide.load.model.LazyHeaders.Builder
-
Adds an
LazyHeaderFactorythat will be used to construct a value for the given key lazily on a background thread. - addHeader(String, String) - Method in class com.bumptech.glide.load.model.LazyHeaders.Builder
-
Adds a value for the given header and returns this builder.
- addListener(LifecycleListener) - Method in interface com.bumptech.glide.manager.Lifecycle
-
Adds the given listener to the set of listeners managed by this Lifecycle implementation.
- addListener(RequestListener<TranscodeType>) - Method in class com.bumptech.glide.RequestBuilder
-
Adds a
RequestListenerto the list that will be called in the order they were added when the request ends. - ALL - Static variable in class com.bumptech.glide.load.engine.DiskCacheStrategy
-
Caches remote data with both
DiskCacheStrategy.DATAandDiskCacheStrategy.RESOURCE, and local data withDiskCacheStrategy.RESOURCEonly. - ALLOW_HARDWARE_CONFIG - Static variable in class com.bumptech.glide.load.resource.bitmap.Downsampler
-
Indicates that it's safe or unsafe to decode
Bitmaps withBitmap.Config.HARDWARE. - alternateKeys - Variable in class com.bumptech.glide.load.model.ModelLoader.LoadData
- AndroidResourceSignature - Class in com.bumptech.glide.signature
-
Includes information about the package as well as whether or not the device is in night mode.
- animate(View) - Method in interface com.bumptech.glide.request.transition.ViewPropertyTransition.Animator
-
Starts an animation on the given
View. - ANIMATED_AVIF - Enum constant in enum class com.bumptech.glide.load.ImageHeaderParser.ImageType
-
Animated Avif type (may contain alpha).
- ANIMATED_WEBP - Enum constant in enum class com.bumptech.glide.load.ImageHeaderParser.ImageType
-
All animated webps.
- AnimatedImageDecoder - Class in com.bumptech.glide.load.resource.drawable
-
Allows decoding animated images using
ImageDecoder. - AnimatedWebpDecoder - Class in com.bumptech.glide.load.resource.drawable
-
Deprecated.
- append(Class<Data>, Encoder<Data>) - Method in class com.bumptech.glide.Registry
- append(Class<Data>, Class<TResource>, ResourceDecoder<Data, TResource>) - Method in class com.bumptech.glide.Registry
-
Appends the given
ResourceDecoderonto the list of all availableResourceDecoders allowing it to be used if all earlier and defaultResourceDecoders for the given types fail (or there are none). - append(Class<Model>, Class<Data>, ModelLoaderFactory<? extends Model, ? extends Data>) - Method in class com.bumptech.glide.load.model.ModelLoaderRegistry
- append(Class<Model>, Class<Data>, ModelLoaderFactory<Model, Data>) - Method in class com.bumptech.glide.Registry
-
Appends a new
ModelLoaderFactoryonto the end of the existing set so that the constructedModelLoaderwill be tried after all default and previously registeredModelLoaders for the given model and data classes. - append(Class<T>, Encoder<T>) - Method in class com.bumptech.glide.provider.EncoderRegistry
- append(Class<TResource>, ResourceEncoder<TResource>) - Method in class com.bumptech.glide.Registry
-
Appends the given
ResourceEncoderinto the list of availableResourceEncoders so that it is attempted after all earlier and defaultResourceEncoders for the given data type. - append(Class<Z>, ResourceEncoder<Z>) - Method in class com.bumptech.glide.provider.ResourceEncoderRegistry
- append(String, ResourceDecoder<T, R>, Class<T>, Class<R>) - Method in class com.bumptech.glide.provider.ResourceDecoderRegistry
- append(String, Class<Data>, Class<TResource>, ResourceDecoder<Data, TResource>) - Method in class com.bumptech.glide.Registry
-
Appends the given
ResourceDecoderonto the list of availableResourceDecoders in this bucket, allowing it to be used if all earlier and defaultResourceDecoders for the given types in this bucket fail (or there are none). - AppGlideModule - Class in com.bumptech.glide.module
-
Defines a set of dependencies and options to use when initializing Glide within an application.
- AppGlideModule() - Constructor for class com.bumptech.glide.module.AppGlideModule
- ApplicationVersionSignature - Class in com.bumptech.glide.signature
-
A utility class for obtaining a
Keysignature containing the application version name usingPackageInfo.versionCode. - apply(BaseRequestOptions<?>) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Updates this options set with any options that are explicitly set in the given
Tobject and returns this object ifBaseRequestOptions.autoClone()is disabled or a newTobject ifBaseRequestOptions.autoClone()is enabled. - apply(BaseRequestOptions<?>) - Method in class com.bumptech.glide.RequestBuilder
-
Applies the given options to the request.
- applyDefaultRequestOptions(RequestOptions) - Method in class com.bumptech.glide.RequestManager
-
Updates the default
RequestOptionsfor all loads started with this request manager with the givenRequestOptions. - applyOptions(Context, GlideBuilder) - Method in class com.bumptech.glide.module.AppGlideModule
- applyOptions(Context, GlideBuilder) - Method in interface com.bumptech.glide.module.GlideModule
-
Deprecated.Lazily apply options to a
GlideBuilderimmediately before the Glide singleton is created. - AppWidgetTarget - Class in com.bumptech.glide.request.target
-
This class is used in order to display downloaded Bitmap inside an ImageView of an AppWidget through RemoteViews.
- AppWidgetTarget(Context, int, int, int, RemoteViews, int...) - Constructor for class com.bumptech.glide.request.target.AppWidgetTarget
-
Constructor using an int array of widgetIds to get a handle on the Widget in order to update it.
- AppWidgetTarget(Context, int, int, int, RemoteViews, ComponentName) - Constructor for class com.bumptech.glide.request.target.AppWidgetTarget
-
Constructor using a ComponentName to get a handle on the Widget in order to update it.
- AppWidgetTarget(Context, int, RemoteViews, int...) - Constructor for class com.bumptech.glide.request.target.AppWidgetTarget
-
Constructor using an int array of widgetIds to get a handle on the Widget in order to update it that uses
Target.SIZE_ORIGINALas the target width and height. - AppWidgetTarget(Context, int, RemoteViews, ComponentName) - Constructor for class com.bumptech.glide.request.target.AppWidgetTarget
-
Constructor using a ComponentName, when override has been put to get a handle on the Widget in order to update it that uses
Target.SIZE_ORIGINALas the target width and height. - ArrayPool - Interface in com.bumptech.glide.load.engine.bitmap_recycle
-
Interface for an array pool that pools arrays of different types.
- as(Class<ResourceType>) - Method in class com.bumptech.glide.RequestManager
-
Attempts to load the resource using any registered
ResourceDecoders that can decode the given resource class or any subclass of the given resource class. - asBitmap() - Method in class com.bumptech.glide.RequestManager
-
Attempts to always load the resource as a
Bitmap, even if it could actually be animated. - asBitmapDrawable() - Method in class com.bumptech.glide.load.resource.bitmap.DrawableTransformation
- asDrawable() - Method in class com.bumptech.glide.RequestManager
-
Attempts to always load the resource using any registered
ResourceDecoders that can decode any subclass ofDrawable. - asFile() - Method in class com.bumptech.glide.RequestManager
-
Attempts to always load a
Filecontaining the resource, either using a file path obtained from the media store (for local images/videos), or using Glide's disk cache (for remote images/videos). - asGif() - Method in class com.bumptech.glide.RequestManager
-
Attempts to always load the resource as a
GifDrawable. - assertBackgroundThread() - Static method in class com.bumptech.glide.util.Util
-
Throws an
IllegalArgumentExceptionif called on the main thread. - assertMainThread() - Static method in class com.bumptech.glide.util.Util
-
Throws an
IllegalArgumentExceptionif called on a thread other than the main thread. - asset(BitmapPool) - Static method in class com.bumptech.glide.load.resource.bitmap.VideoDecoder
- assetFileDescriptorFactory(Context) - Static method in class com.bumptech.glide.load.model.DirectResourceLoader
- AssetFileDescriptorFactory() - Constructor for class com.bumptech.glide.load.model.StringLoader.AssetFileDescriptorFactory
- AssetFileDescriptorFactory(ContentResolver) - Constructor for class com.bumptech.glide.load.model.UriLoader.AssetFileDescriptorFactory
- AssetFileDescriptorFactory(Resources) - Constructor for class com.bumptech.glide.load.model.ResourceLoader.AssetFileDescriptorFactory
- AssetFileDescriptorLocalUriFetcher - Class in com.bumptech.glide.load.data
-
Fetches an
AssetFileDescriptorfor a localUri. - AssetFileDescriptorLocalUriFetcher(ContentResolver, Uri) - Constructor for class com.bumptech.glide.load.data.AssetFileDescriptorLocalUriFetcher
- AssetPathFetcher<T> - Class in com.bumptech.glide.load.data
-
An abstract class for obtaining data for an asset path using an
AssetManager. - AssetPathFetcher(AssetManager, String) - Constructor for class com.bumptech.glide.load.data.AssetPathFetcher
- AssetUriLoader<Data> - Class in com.bumptech.glide.load.model
-
Loads a specific data type from an Asset Manager Uri.
- AssetUriLoader(AssetManager, AssetUriLoader.AssetFetcherFactory<Data>) - Constructor for class com.bumptech.glide.load.model.AssetUriLoader
- AssetUriLoader.AssetFetcherFactory<Data> - Interface in com.bumptech.glide.load.model
-
A factory to build a
DataFetcherfor a specific asset path. - AssetUriLoader.FileDescriptorFactory - Class in com.bumptech.glide.load.model
-
Factory for loading
AssetFileDescriptors from asset manager Uris. - AssetUriLoader.StreamFactory - Class in com.bumptech.glide.load.model
-
Factory for loading
InputStreams from asset manager Uris. - AT_LEAST - Static variable in class com.bumptech.glide.load.resource.bitmap.DownsampleStrategy
-
Downsamples so the image's smallest dimension is between the given dimensions and 2x the given dimensions, with no size restrictions on the image's largest dimension.
- AT_MOST - Static variable in class com.bumptech.glide.load.resource.bitmap.DownsampleStrategy
-
Downsamples so the image's largest dimension is between 1/2 the given dimensions and the given dimensions, with no restrictions on the image's smallest dimension.
- autoClone() - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Similar to
BaseRequestOptions.lock()except that mutations cause aBaseRequestOptions.clone()operation to happen before the mutation resulting in all methods returning a new Object and leaving the original locked object unmodified. - AUTOMATIC - Static variable in class com.bumptech.glide.load.engine.DiskCacheStrategy
-
Tries to intelligently choose a strategy based on the data source of the
DataFetcherand theEncodeStrategyof theResourceEncoder(if anResourceEncoderis available). - available() - Method in class com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream
-
Returns an estimated number of bytes that can be read or skipped without blocking for more input.
- available() - Method in class com.bumptech.glide.util.ContentLengthInputStream
- available() - Method in class com.bumptech.glide.util.ExceptionCatchingInputStream
-
Deprecated.
- available() - Method in class com.bumptech.glide.util.ExceptionPassthroughInputStream
- available() - Method in class com.bumptech.glide.util.MarkEnforcingInputStream
- AVIF - Enum constant in enum class com.bumptech.glide.load.ImageHeaderParser.ImageType
-
Avif type (may contain alpha).
- awaitTermination(long, TimeUnit) - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor
B
- BaseGlideUrlLoader<Model> - Class in com.bumptech.glide.load.model.stream
-
A base class for loading data over http/https.
- BaseGlideUrlLoader(ModelLoader<GlideUrl, InputStream>) - Constructor for class com.bumptech.glide.load.model.stream.BaseGlideUrlLoader
- BaseGlideUrlLoader(ModelLoader<GlideUrl, InputStream>, ModelCache<Model, GlideUrl>) - Constructor for class com.bumptech.glide.load.model.stream.BaseGlideUrlLoader
- BaseRequestOptions<T extends BaseRequestOptions<T>> - Class in com.bumptech.glide.request
-
A base object to allow method sharing between
RequestOptionsandRequestBuilder. - BaseRequestOptions() - Constructor for class com.bumptech.glide.request.BaseRequestOptions
- BaseTarget<Z> - Class in com.bumptech.glide.request.target
-
Deprecated.
- BaseTarget() - Constructor for class com.bumptech.glide.request.target.BaseTarget
-
Deprecated.
- begin() - Method in class com.bumptech.glide.request.ErrorRequestCoordinator
- begin() - Method in interface com.bumptech.glide.request.Request
-
Starts an asynchronous load.
- begin() - Method in class com.bumptech.glide.request.SingleRequest
- begin() - Method in class com.bumptech.glide.request.ThumbnailRequestCoordinator
-
Starts first the thumb request and then the full request.
- beginSection(String) - Static method in class com.bumptech.glide.util.pool.GlideTrace
- beginSectionAsync(String) - Static method in class com.bumptech.glide.util.pool.GlideTrace
- beginSectionFormat(String, Object) - Static method in class com.bumptech.glide.util.pool.GlideTrace
- beginSectionFormat(String, Object, Object) - Static method in class com.bumptech.glide.util.pool.GlideTrace
- beginSectionFormat(String, Object, Object, Object) - Static method in class com.bumptech.glide.util.pool.GlideTrace
- BitmapBytesTranscoder - Class in com.bumptech.glide.load.resource.transcode
-
An
ResourceTranscoderthat convertsBitmaps into byte arrays using(android.graphics.Bitmap.CompressFormat, int, java.io.OutputStream). - BitmapBytesTranscoder() - Constructor for class com.bumptech.glide.load.resource.transcode.BitmapBytesTranscoder
- BitmapBytesTranscoder(Bitmap.CompressFormat, int) - Constructor for class com.bumptech.glide.load.resource.transcode.BitmapBytesTranscoder
- BitmapContainerTransitionFactory<R> - Class in com.bumptech.glide.request.transition
-
A
TransitionFactoryfor complex types that have aBitmapinside. - BitmapContainerTransitionFactory(TransitionFactory<Drawable>) - Constructor for class com.bumptech.glide.request.transition.BitmapContainerTransitionFactory
- BitmapDrawableDecoder<DataType> - Class in com.bumptech.glide.load.resource.bitmap
-
Decodes an
BitmapDrawablefor a data type. - BitmapDrawableDecoder(Context, ResourceDecoder<DataType, Bitmap>) - Constructor for class com.bumptech.glide.load.resource.bitmap.BitmapDrawableDecoder
- BitmapDrawableDecoder(Resources, BitmapPool, ResourceDecoder<DataType, Bitmap>) - Constructor for class com.bumptech.glide.load.resource.bitmap.BitmapDrawableDecoder
-
Deprecated.Use
BitmapDrawableDecoder(Context, ResourceDecoder),bitmapPoolis ignored. - BitmapDrawableDecoder(Resources, ResourceDecoder<DataType, Bitmap>) - Constructor for class com.bumptech.glide.load.resource.bitmap.BitmapDrawableDecoder
- BitmapDrawableEncoder - Class in com.bumptech.glide.load.resource.bitmap
-
Encodes
BitmapDrawables. - BitmapDrawableEncoder(BitmapPool, ResourceEncoder<Bitmap>) - Constructor for class com.bumptech.glide.load.resource.bitmap.BitmapDrawableEncoder
- BitmapDrawableResource - Class in com.bumptech.glide.load.resource.bitmap
-
A
Resourcethat wraps anBitmapDrawable - BitmapDrawableResource(BitmapDrawable, BitmapPool) - Constructor for class com.bumptech.glide.load.resource.bitmap.BitmapDrawableResource
- BitmapDrawableTranscoder - Class in com.bumptech.glide.load.resource.transcode
- BitmapDrawableTranscoder(Context) - Constructor for class com.bumptech.glide.load.resource.transcode.BitmapDrawableTranscoder
- BitmapDrawableTranscoder(Resources) - Constructor for class com.bumptech.glide.load.resource.transcode.BitmapDrawableTranscoder
- BitmapDrawableTranscoder(Resources, BitmapPool) - Constructor for class com.bumptech.glide.load.resource.transcode.BitmapDrawableTranscoder
-
Deprecated.Use
BitmapDrawableTranscoder(Resources),bitmapPoolis unused. - BitmapDrawableTransformation - Class in com.bumptech.glide.load.resource.bitmap
-
Deprecated.Use
DrawableTransformationinstead. - BitmapDrawableTransformation(Transformation<Bitmap>) - Constructor for class com.bumptech.glide.load.resource.bitmap.BitmapDrawableTransformation
-
Deprecated.
- BitmapEncoder - Class in com.bumptech.glide.load.resource.bitmap
- BitmapEncoder() - Constructor for class com.bumptech.glide.load.resource.bitmap.BitmapEncoder
-
Deprecated.Use
BitmapEncoder(ArrayPool)instead. - BitmapEncoder(ArrayPool) - Constructor for class com.bumptech.glide.load.resource.bitmap.BitmapEncoder
- BitmapImageDecoderResourceDecoder - Class in com.bumptech.glide.load.resource.bitmap
-
Bitmapspecific implementation ofDefaultOnHeaderDecodedListener. - BitmapImageDecoderResourceDecoder() - Constructor for class com.bumptech.glide.load.resource.bitmap.BitmapImageDecoderResourceDecoder
- BitmapImageViewTarget - Class in com.bumptech.glide.request.target
- BitmapImageViewTarget(ImageView) - Constructor for class com.bumptech.glide.request.target.BitmapImageViewTarget
- BitmapImageViewTarget(ImageView, boolean) - Constructor for class com.bumptech.glide.request.target.BitmapImageViewTarget
-
Deprecated.Use
ViewTarget.waitForLayout()instead. - BitmapPool - Interface in com.bumptech.glide.load.engine.bitmap_recycle
-
An interface for a pool that allows users to reuse
Bitmapobjects. - BitmapPoolAdapter - Class in com.bumptech.glide.load.engine.bitmap_recycle
- BitmapPoolAdapter() - Constructor for class com.bumptech.glide.load.engine.bitmap_recycle.BitmapPoolAdapter
- BitmapPreFiller - Class in com.bumptech.glide.load.engine.prefill
-
A class for pre-filling
Bitmapsin aBitmapPool. - BitmapPreFiller(MemoryCache, BitmapPool, DecodeFormat) - Constructor for class com.bumptech.glide.load.engine.prefill.BitmapPreFiller
- BitmapResource - Class in com.bumptech.glide.load.resource.bitmap
-
A resource wrapping a
Bitmapobject. - BitmapResource(Bitmap, BitmapPool) - Constructor for class com.bumptech.glide.load.resource.bitmap.BitmapResource
- BitmapThumbnailImageViewTarget - Class in com.bumptech.glide.request.target
-
Efficiently displays multiple Bitmaps loaded serially into a single
View. - BitmapThumbnailImageViewTarget(ImageView) - Constructor for class com.bumptech.glide.request.target.BitmapThumbnailImageViewTarget
- BitmapThumbnailImageViewTarget(ImageView, boolean) - Constructor for class com.bumptech.glide.request.target.BitmapThumbnailImageViewTarget
-
Deprecated.Use
ViewTarget.waitForLayout()instead. - bitmapTransform(Transformation<Bitmap>) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.transform(Transformation)set. - BitmapTransformation - Class in com.bumptech.glide.load.resource.bitmap
-
A simple
Transformationfor transformingBitmaps that abstracts away dealing withResourceobjects for subclasses. - BitmapTransformation() - Constructor for class com.bumptech.glide.load.resource.bitmap.BitmapTransformation
- BitmapTransitionFactory - Class in com.bumptech.glide.request.transition
-
A
TransitionFactoryforBitmaps that uses a Drawable transition factory to transition from an existing drawable already visible on the target to the new bitmap. - BitmapTransitionFactory(TransitionFactory<Drawable>) - Constructor for class com.bumptech.glide.request.transition.BitmapTransitionFactory
- BitmapTransitionOptions - Class in com.bumptech.glide.load.resource.bitmap
-
Contains
Bitmapspecific animation options. - BitmapTransitionOptions() - Constructor for class com.bumptech.glide.load.resource.bitmap.BitmapTransitionOptions
- BLOCK_HARDWARE_BITMAPS_WHEN_GL_CONTEXT_MIGHT_NOT_BE_INITIALIZED - Static variable in class com.bumptech.glide.load.resource.bitmap.HardwareConfigState
-
Force the state to wait until a call to allow hardware Bitmaps to be used when they'd otherwise be eligible to work around a framework issue pre Q that can cause a native crash when allocating a hardware Bitmap in this specific circumstance.
- blockHardwareBitmaps() - Method in class com.bumptech.glide.load.resource.bitmap.HardwareConfigState
- bothBaseRequestOptionsNullEquivalentOrEquals(BaseRequestOptions<?>, BaseRequestOptions<?>) - Static method in class com.bumptech.glide.util.Util
- bothModelsNullEquivalentOrEquals(Object, Object) - Static method in class com.bumptech.glide.util.Util
- bothNullOrEqual(Object, Object) - Static method in class com.bumptech.glide.util.Util
-
Null-safe equivalent of
a.equals(b). - BUCKET_ANIMATION - Static variable in class com.bumptech.glide.Registry
- BUCKET_BITMAP - Static variable in class com.bumptech.glide.Registry
- BUCKET_BITMAP_DRAWABLE - Static variable in class com.bumptech.glide.Registry
- BUCKET_GIF - Static variable in class com.bumptech.glide.Registry
-
Deprecated.Identical to
Registry.BUCKET_ANIMATION, just with a more confusing name. This bucket can be used for all animation types (including webp). - BufferedOutputStream - Class in com.bumptech.glide.load.data
- BufferedOutputStream(OutputStream, ArrayPool) - Constructor for class com.bumptech.glide.load.data.BufferedOutputStream
- build() - Method in interface com.bumptech.glide.Glide.RequestOptionsFactory
-
Returns a non-null
RequestOptionsobject. - build() - Method in interface com.bumptech.glide.load.engine.cache.DiskCache.Factory
-
Returns a new disk cache, or
nullif no disk cache could be created. - build() - Method in class com.bumptech.glide.load.engine.cache.DiskCacheAdapter.Factory
- build() - Method in class com.bumptech.glide.load.engine.cache.DiskLruCacheFactory
- build() - Method in class com.bumptech.glide.load.engine.cache.MemorySizeCalculator.Builder
- build() - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor.Builder
-
Builds a new
GlideExecutorwith any previously specified options. - build() - Method in class com.bumptech.glide.load.model.LazyHeaders.Builder
-
Returns a new immutable
LazyHeadersobject. - build() - Method in class com.bumptech.glide.request.transition.DrawableCrossFadeFactory.Builder
- build(Context, ConnectivityMonitor.ConnectivityListener) - Method in interface com.bumptech.glide.manager.ConnectivityMonitorFactory
- build(Context, ConnectivityMonitor.ConnectivityListener) - Method in class com.bumptech.glide.manager.DefaultConnectivityMonitorFactory
- build(Uri) - Method in class com.bumptech.glide.load.model.UriLoader.AssetFileDescriptorFactory
- build(Uri) - Method in class com.bumptech.glide.load.model.UriLoader.FileDescriptorFactory
- build(Uri) - Method in interface com.bumptech.glide.load.model.UriLoader.LocalUriFetcherFactory
- build(Uri) - Method in class com.bumptech.glide.load.model.UriLoader.StreamFactory
- build(ParcelFileDescriptor) - Method in class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder.Factory
- build(Glide, Lifecycle, RequestManagerTreeNode, Context) - Method in interface com.bumptech.glide.manager.RequestManagerRetriever.RequestManagerFactory
- build(DataSource, boolean) - Method in class com.bumptech.glide.request.transition.BitmapContainerTransitionFactory
- build(DataSource, boolean) - Method in class com.bumptech.glide.request.transition.DrawableCrossFadeFactory
- build(DataSource, boolean) - Method in class com.bumptech.glide.request.transition.NoTransition.NoAnimationFactory
- build(DataSource, boolean) - Method in interface com.bumptech.glide.request.transition.TransitionFactory
-
Returns a new
Transition. - build(DataSource, boolean) - Method in class com.bumptech.glide.request.transition.ViewAnimationFactory
-
Returns a new
Transitionfor the given arguments. - build(DataSource, boolean) - Method in class com.bumptech.glide.request.transition.ViewPropertyAnimationFactory
-
Returns a new
Transitionfor the given arguments. - build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.AssetUriLoader.FileDescriptorFactory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.AssetUriLoader.StreamFactory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.ByteArrayLoader.ByteBufferFactory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.ByteArrayLoader.StreamFactory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.ByteBufferFileLoader.Factory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.DataUrlLoader.StreamFactory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.FileLoader.Factory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.MediaStoreFileLoader.Factory
- build(MultiModelLoaderFactory) - Method in interface com.bumptech.glide.load.model.ModelLoaderFactory
-
Build a concrete ModelLoader for this model type.
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.ResourceLoader.AssetFileDescriptorFactory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.ResourceLoader.FileDescriptorFactory
-
Deprecated.
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.ResourceLoader.StreamFactory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.ResourceLoader.UriFactory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.stream.HttpGlideUrlLoader.Factory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.stream.MediaStoreImageThumbLoader.Factory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.stream.MediaStoreVideoThumbLoader.Factory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.stream.QMediaStoreUriLoader.FileDescriptorFactory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.stream.UrlLoader.StreamFactory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.StringLoader.AssetFileDescriptorFactory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.StringLoader.FileDescriptorFactory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.StringLoader.StreamFactory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.UnitModelLoader.Factory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.UriLoader.AssetFileDescriptorFactory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.UriLoader.FileDescriptorFactory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.UriLoader.StreamFactory
- build(MultiModelLoaderFactory) - Method in class com.bumptech.glide.load.model.UrlUriLoader.StreamFactory
- build(InputStream) - Method in class com.bumptech.glide.load.data.InputStreamRewinder.Factory
- build(Class<Model>, Class<Data>) - Method in class com.bumptech.glide.load.model.ModelLoaderRegistry
- build(Class<Model>, Class<Data>) - Method in class com.bumptech.glide.load.model.MultiModelLoaderFactory
- build(ByteBuffer) - Method in class com.bumptech.glide.load.resource.bytes.ByteBufferRewinder.Factory
- build(T) - Method in interface com.bumptech.glide.load.data.DataRewinder.Factory
-
Returns a new
DataRewinderwrapping the given data. - build(T) - Method in class com.bumptech.glide.load.data.DataRewinderRegistry
- Builder() - Constructor for class com.bumptech.glide.load.model.LazyHeaders.Builder
- Builder() - Constructor for class com.bumptech.glide.request.transition.DrawableCrossFadeFactory.Builder
- Builder(int) - Constructor for class com.bumptech.glide.load.engine.prefill.PreFillType.Builder
-
Constructor for a builder that uses the given size as the width and height of the Bitmaps to prefill.
- Builder(int) - Constructor for class com.bumptech.glide.request.transition.DrawableCrossFadeFactory.Builder
- Builder(int, int) - Constructor for class com.bumptech.glide.load.engine.prefill.PreFillType.Builder
-
Constructor for a builder that uses the given dimensions as the dimensions of the Bitmaps to prefill.
- Builder(Context) - Constructor for class com.bumptech.glide.load.engine.cache.MemorySizeCalculator.Builder
- buildFetcher(AssetManager, String) - Method in interface com.bumptech.glide.load.model.AssetUriLoader.AssetFetcherFactory
- buildFetcher(AssetManager, String) - Method in class com.bumptech.glide.load.model.AssetUriLoader.FileDescriptorFactory
- buildFetcher(AssetManager, String) - Method in class com.bumptech.glide.load.model.AssetUriLoader.StreamFactory
- buildHeader() - Method in interface com.bumptech.glide.load.model.LazyHeaderFactory
-
Returns an http header, or
nullif no header could be built. - buildImageFetcher(Context, Uri) - Static method in class com.bumptech.glide.load.data.mediastore.ThumbFetcher
- buildImageViewTarget(ImageView, Class<X>) - Method in class com.bumptech.glide.GlideContext
- buildLoadData(byte[], int, int, Options) - Method in class com.bumptech.glide.load.model.ByteArrayLoader
- buildLoadData(Uri, int, int, Options) - Method in class com.bumptech.glide.load.model.AssetUriLoader
- buildLoadData(Uri, int, int, Options) - Method in class com.bumptech.glide.load.model.MediaStoreFileLoader
- buildLoadData(Uri, int, int, Options) - Method in class com.bumptech.glide.load.model.ResourceUriLoader
- buildLoadData(Uri, int, int, Options) - Method in class com.bumptech.glide.load.model.stream.MediaStoreImageThumbLoader
- buildLoadData(Uri, int, int, Options) - Method in class com.bumptech.glide.load.model.stream.MediaStoreVideoThumbLoader
- buildLoadData(Uri, int, int, Options) - Method in class com.bumptech.glide.load.model.stream.QMediaStoreUriLoader
- buildLoadData(Uri, int, int, Options) - Method in class com.bumptech.glide.load.model.UriLoader
- buildLoadData(Uri, int, int, Options) - Method in class com.bumptech.glide.load.model.UrlUriLoader
- buildLoadData(GlideUrl, int, int, Options) - Method in class com.bumptech.glide.load.model.stream.HttpGlideUrlLoader
- buildLoadData(File, int, int, Options) - Method in class com.bumptech.glide.load.model.ByteBufferFileLoader
- buildLoadData(File, int, int, Options) - Method in class com.bumptech.glide.load.model.FileLoader
- buildLoadData(Integer, int, int, Options) - Method in class com.bumptech.glide.load.model.DirectResourceLoader
- buildLoadData(Integer, int, int, Options) - Method in class com.bumptech.glide.load.model.ResourceLoader
- buildLoadData(String, int, int, Options) - Method in class com.bumptech.glide.load.model.StringLoader
- buildLoadData(URL, int, int, Options) - Method in class com.bumptech.glide.load.model.stream.UrlLoader
- buildLoadData(Model, int, int, Options) - Method in class com.bumptech.glide.load.model.DataUrlLoader
- buildLoadData(Model, int, int, Options) - Method in interface com.bumptech.glide.load.model.ModelLoader
-
Returns a
ModelLoader.LoadDatacontaining aDataFetcherrequired to decode the resource represented by this model, as well as a set ofKeysthat identify the data loaded by theDataFetcheras well as an optional list of alternate keys from which equivalent data can be loaded. - buildLoadData(Model, int, int, Options) - Method in class com.bumptech.glide.load.model.stream.BaseGlideUrlLoader
- buildLoadData(Model, int, int, Options) - Method in class com.bumptech.glide.load.model.UnitModelLoader
- buildTarget(ImageView, Class<Z>) - Method in class com.bumptech.glide.request.target.ImageViewTargetFactory
- buildVideoFetcher(Context, Uri) - Static method in class com.bumptech.glide.load.data.mediastore.ThumbFetcher
- ByteArrayAdapter - Class in com.bumptech.glide.load.engine.bitmap_recycle
-
Adapter for handling primitive byte arrays.
- ByteArrayAdapter() - Constructor for class com.bumptech.glide.load.engine.bitmap_recycle.ByteArrayAdapter
- ByteArrayLoader<Data> - Class in com.bumptech.glide.load.model
-
A base class to convert byte arrays to input streams so they can be decoded.
- ByteArrayLoader(ByteArrayLoader.Converter<Data>) - Constructor for class com.bumptech.glide.load.model.ByteArrayLoader
- ByteArrayLoader.ByteBufferFactory - Class in com.bumptech.glide.load.model
-
Factory for
ByteArrayLoaderandByteBuffer. - ByteArrayLoader.Converter<Data> - Interface in com.bumptech.glide.load.model
-
Converts between a byte array a desired model class.
- ByteArrayLoader.StreamFactory - Class in com.bumptech.glide.load.model
-
Factory for
ByteArrayLoaderandInputStream. - byteBuffer(BitmapPool) - Static method in class com.bumptech.glide.load.resource.bitmap.VideoDecoder
- ByteBufferBitmapDecoder - Class in com.bumptech.glide.load.resource.bitmap
-
Decodes
BitmapsfromByteBuffers. - ByteBufferBitmapDecoder(Downsampler) - Constructor for class com.bumptech.glide.load.resource.bitmap.ByteBufferBitmapDecoder
- ByteBufferBitmapImageDecoderResourceDecoder - Class in com.bumptech.glide.load.resource.bitmap
-
ByteBufferspecific implementation ofByteBufferBitmapImageDecoderResourceDecoder. - ByteBufferBitmapImageDecoderResourceDecoder() - Constructor for class com.bumptech.glide.load.resource.bitmap.ByteBufferBitmapImageDecoderResourceDecoder
- byteBufferDecoder(List<ImageHeaderParser>, ArrayPool) - Static method in class com.bumptech.glide.load.resource.drawable.AnimatedImageDecoder
- byteBufferDecoder(List<ImageHeaderParser>, ArrayPool) - Static method in class com.bumptech.glide.load.resource.drawable.AnimatedWebpDecoder
-
Deprecated.
- ByteBufferEncoder - Class in com.bumptech.glide.load.model
-
Writes
ByteBufferstoFiles. - ByteBufferEncoder() - Constructor for class com.bumptech.glide.load.model.ByteBufferEncoder
- ByteBufferFactory() - Constructor for class com.bumptech.glide.load.model.ByteArrayLoader.ByteBufferFactory
- ByteBufferFileLoader - Class in com.bumptech.glide.load.model
-
Loads
ByteBuffers using NIO forFile. - ByteBufferFileLoader() - Constructor for class com.bumptech.glide.load.model.ByteBufferFileLoader
- ByteBufferFileLoader.Factory - Class in com.bumptech.glide.load.model
-
Factory for
ByteBufferFileLoader. - ByteBufferGifDecoder - Class in com.bumptech.glide.load.resource.gif
- ByteBufferGifDecoder(Context) - Constructor for class com.bumptech.glide.load.resource.gif.ByteBufferGifDecoder
- ByteBufferGifDecoder(Context, List<ImageHeaderParser>, BitmapPool, ArrayPool) - Constructor for class com.bumptech.glide.load.resource.gif.ByteBufferGifDecoder
- ByteBufferRewinder - Class in com.bumptech.glide.load.resource.bytes
-
Rewinds
ByteBuffers. - ByteBufferRewinder(ByteBuffer) - Constructor for class com.bumptech.glide.load.resource.bytes.ByteBufferRewinder
- ByteBufferRewinder.Factory - Class in com.bumptech.glide.load.resource.bytes
-
Factory for
ByteBufferRewinder. - ByteBufferUtil - Class in com.bumptech.glide.util
-
Utilities for interacting with
ByteBuffers. - BytesResource - Class in com.bumptech.glide.load.resource.bytes
-
An
Resourcewrapping a byte array. - BytesResource(byte[]) - Constructor for class com.bumptech.glide.load.resource.bytes.BytesResource
C
- CachedHashCodeArrayMap<K,
V> - Class in com.bumptech.glide.util -
An
ArrayMapthat caches its hashCode to support efficient lookup. - CachedHashCodeArrayMap() - Constructor for class com.bumptech.glide.util.CachedHashCodeArrayMap
- calculateBestThreadCount() - Static method in class com.bumptech.glide.load.engine.executor.GlideExecutor
-
Determines the number of cores available on the device.
- cancel() - Method in class com.bumptech.glide.load.data.AssetPathFetcher
- cancel() - Method in interface com.bumptech.glide.load.data.DataFetcher
-
A method that will be called when a load is no longer relevant and has been cancelled.
- cancel() - Method in class com.bumptech.glide.load.data.HttpUrlFetcher
- cancel() - Method in class com.bumptech.glide.load.data.LocalUriFetcher
- cancel() - Method in class com.bumptech.glide.load.data.mediastore.ThumbFetcher
- cancel() - Method in class com.bumptech.glide.load.engine.Engine.LoadStatus
- cancel(boolean) - Method in class com.bumptech.glide.request.RequestFutureTarget
- canNotifyCleared(Request) - Method in class com.bumptech.glide.request.ErrorRequestCoordinator
- canNotifyCleared(Request) - Method in interface com.bumptech.glide.request.RequestCoordinator
- canNotifyCleared(Request) - Method in class com.bumptech.glide.request.ThumbnailRequestCoordinator
- canNotifyStatusChanged(Request) - Method in class com.bumptech.glide.request.ErrorRequestCoordinator
- canNotifyStatusChanged(Request) - Method in interface com.bumptech.glide.request.RequestCoordinator
-
Returns true if the
Requestcan display a placeholder. - canNotifyStatusChanged(Request) - Method in class com.bumptech.glide.request.ThumbnailRequestCoordinator
-
Returns true if the request is the request loading the full size image and if neither the full nor the thumbnail image have completed successfully.
- canSetImage(Request) - Method in class com.bumptech.glide.request.ErrorRequestCoordinator
- canSetImage(Request) - Method in interface com.bumptech.glide.request.RequestCoordinator
-
Returns true if the
Requestcan display a loaded bitmap. - canSetImage(Request) - Method in class com.bumptech.glide.request.ThumbnailRequestCoordinator
-
Returns true if the request is either the request loading the full size image or if the request loading the full size image has not yet completed.
- CENTER_INSIDE - Static variable in class com.bumptech.glide.load.resource.bitmap.DownsampleStrategy
-
Identical to
DownsampleStrategy.FIT_CENTER, but never upscales. - CENTER_OUTSIDE - Static variable in class com.bumptech.glide.load.resource.bitmap.DownsampleStrategy
-
Scales, maintaining the original aspect ratio, so that one of the image's dimensions is exactly equal to the requested size and the other dimension is greater than or equal to the requested size.
- centerCrop() - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Applies
CenterCropto all default types and throws an exception if asked to transform an unknown type. - centerCrop(BitmapPool, Bitmap, int, int) - Static method in class com.bumptech.glide.load.resource.bitmap.TransformationUtils
-
A potentially expensive operation to crop the given Bitmap so that it fills the given dimensions.
- CenterCrop - Class in com.bumptech.glide.load.resource.bitmap
-
Scale the image so that either the width of the image matches the given width and the height of the image is greater than the given height or vice versa, and then crop the larger dimension to match the given dimension.
- CenterCrop() - Constructor for class com.bumptech.glide.load.resource.bitmap.CenterCrop
- centerCropTransform() - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.centerCrop()set. - centerInside() - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Applies
CenterInsideto all default types,DownsampleStrategy.CENTER_INSIDEto image types and throws an exception if asked to transform an unknown type. - centerInside(BitmapPool, Bitmap, int, int) - Static method in class com.bumptech.glide.load.resource.bitmap.TransformationUtils
-
If the Bitmap is smaller or equal to the Target it returns the original size, if not then
TransformationUtils.fitCenter(BitmapPool, Bitmap, int, int)is called instead. - CenterInside - Class in com.bumptech.glide.load.resource.bitmap
-
Returns the image with its original size if its dimensions match or are smaller than the target's, couple with
ImageView.ScaleType.CENTER_INSIDEin order to center it in Target. - CenterInside() - Constructor for class com.bumptech.glide.load.resource.bitmap.CenterInside
- centerInsideTransform() - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.centerInside()set. - CHARSET - Static variable in interface com.bumptech.glide.load.Key
- checkArgument(boolean) - Static method in class com.bumptech.glide.util.Preconditions
- checkArgument(boolean, String) - Static method in class com.bumptech.glide.util.Preconditions
- checkNotEmpty(String) - Static method in class com.bumptech.glide.util.Preconditions
- checkNotEmpty(T) - Static method in class com.bumptech.glide.util.Preconditions
- checkNotNull(T) - Static method in class com.bumptech.glide.util.Preconditions
- checkNotNull(T, String) - Static method in class com.bumptech.glide.util.Preconditions
- circleCrop() - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Applies
CircleCropto all default types and throws an exception if asked to transform an unknown type. - circleCrop(BitmapPool, Bitmap, int, int) - Static method in class com.bumptech.glide.load.resource.bitmap.TransformationUtils
-
Crop the image to a circle and resize to the specified width/height.
- CircleCrop - Class in com.bumptech.glide.load.resource.bitmap
-
A Glide
BitmapTransformationto circle crop an image. - CircleCrop() - Constructor for class com.bumptech.glide.load.resource.bitmap.CircleCrop
- circleCropTransform() - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.circleCrop()set. - cleanup() - Method in class com.bumptech.glide.load.data.AssetPathFetcher
- cleanup() - Method in interface com.bumptech.glide.load.data.DataFetcher
-
Cleanup or recycle any resources used by this data fetcher.
- cleanup() - Method in interface com.bumptech.glide.load.data.DataRewinder
-
Called when this rewinder is no longer needed and can be cleaned up.
- cleanup() - Method in class com.bumptech.glide.load.data.HttpUrlFetcher
- cleanup() - Method in class com.bumptech.glide.load.data.InputStreamRewinder
- cleanup() - Method in class com.bumptech.glide.load.data.LocalUriFetcher
- cleanup() - Method in class com.bumptech.glide.load.data.mediastore.ThumbFetcher
- cleanup() - Method in class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder
- cleanup() - Method in class com.bumptech.glide.load.resource.bytes.ByteBufferRewinder
- clear() - Method in interface com.bumptech.glide.load.engine.cache.DiskCache
-
Clear the cache.
- clear() - Method in class com.bumptech.glide.load.engine.cache.DiskCacheAdapter
- clear() - Method in class com.bumptech.glide.load.engine.cache.DiskLruCacheWrapper
- clear() - Method in class com.bumptech.glide.load.model.ModelCache
-
Removes all entries from the cache.
- clear() - Method in class com.bumptech.glide.manager.TargetTracker
- clear() - Method in class com.bumptech.glide.provider.ModelToResourceClassCache
- clear() - Method in class com.bumptech.glide.request.ErrorRequestCoordinator
- clear() - Method in interface com.bumptech.glide.request.Request
-
Prevents any bitmaps being loaded from previous requests, releases any resources held by this request, displays the current placeholder if one was provided, and marks the request as having been cancelled.
- clear() - Method in class com.bumptech.glide.request.SingleRequest
-
Cancels the current load if it is in progress, clears any resources held onto by the request and replaces the loaded resource if the load completed with the placeholder.
- clear() - Method in class com.bumptech.glide.request.ThumbnailRequestCoordinator
- clear() - Method in class com.bumptech.glide.util.CachedHashCodeArrayMap
- clear(View) - Method in class com.bumptech.glide.RequestManager
-
Cancel any pending loads Glide may have for the view and free any resources that may have been loaded for the view.
- clear(Target<?>) - Method in class com.bumptech.glide.RequestManager
-
Cancel any pending loads Glide may have for the target and free any resources (such as
Bitmaps) that may have been loaded for the target so they may be reused. - clearAndRemove(Request) - Method in class com.bumptech.glide.manager.RequestTracker
-
Stops tracking the given request, clears, and recycles it, and returns
trueif the request was removed or invalid orfalseif the request was not found. - clearAnimationCallbacks() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- clearColorFilter() - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- clearDiskCache() - Method in class com.bumptech.glide.Glide
-
Clears disk cache.
- clearDiskCache() - Method in class com.bumptech.glide.load.engine.Engine
- CLEARED - Enum constant in enum class com.bumptech.glide.request.RequestCoordinator.RequestState
- clearMemory() - Method in class com.bumptech.glide.Glide
-
Clears as much memory as possible.
- clearMemory() - Method in interface com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool
-
Clears all arrays from the pool.
- clearMemory() - Method in interface com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool
-
Removes all
Bitmaps from the pool. - clearMemory() - Method in class com.bumptech.glide.load.engine.bitmap_recycle.BitmapPoolAdapter
- clearMemory() - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruArrayPool
- clearMemory() - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool
- clearMemory() - Method in interface com.bumptech.glide.load.engine.cache.MemoryCache
-
Evict all items from the memory cache.
- clearMemory() - Method in class com.bumptech.glide.load.engine.cache.MemoryCacheAdapter
- clearMemory() - Method in class com.bumptech.glide.util.LruCache
-
Clears all items in the cache.
- clearOnDetach() - Method in class com.bumptech.glide.request.target.CustomViewTarget
- clearOnDetach() - Method in class com.bumptech.glide.request.target.ViewTarget
-
Deprecated.
- clearOnStop() - Method in class com.bumptech.glide.RequestManager
-
Clear all resources when onStop() from
LifecycleListeneris called. - clearRequests() - Method in class com.bumptech.glide.manager.RequestTracker
-
Cancels all requests and clears their resources.
- clone() - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Returns a copy of this request builder with all of the options put so far on this builder.
- clone() - Method in class com.bumptech.glide.RequestBuilder
-
Returns a copy of this request builder with all of the options put so far on this builder.
- clone() - Method in class com.bumptech.glide.TransitionOptions
- close() - Method in class com.bumptech.glide.load.data.BufferedOutputStream
- close() - Method in class com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream
-
Closes this stream.
- close() - Method in class com.bumptech.glide.util.ExceptionCatchingInputStream
-
Deprecated.
- close() - Method in class com.bumptech.glide.util.ExceptionPassthroughInputStream
- close(AssetFileDescriptor) - Method in class com.bumptech.glide.load.data.AssetFileDescriptorLocalUriFetcher
- close(AssetFileDescriptor) - Method in class com.bumptech.glide.load.data.FileDescriptorAssetPathFetcher
- close(ParcelFileDescriptor) - Method in class com.bumptech.glide.load.data.FileDescriptorLocalUriFetcher
- close(Data) - Method in interface com.bumptech.glide.load.model.DataUrlLoader.DataDecoder
- close(Data) - Method in interface com.bumptech.glide.load.model.FileLoader.FileOpener
- close(InputStream) - Method in class com.bumptech.glide.load.data.StreamAssetPathFetcher
- close(InputStream) - Method in class com.bumptech.glide.load.data.StreamLocalUriFetcher
- close(T) - Method in class com.bumptech.glide.load.data.AssetPathFetcher
-
Closes the concrete data type if necessary.
- close(T) - Method in class com.bumptech.glide.load.data.LocalUriFetcher
-
Closes the concrete data type if necessary.
- com.bumptech.glide - package com.bumptech.glide
- com.bumptech.glide.load - package com.bumptech.glide.load
- com.bumptech.glide.load.data - package com.bumptech.glide.load.data
- com.bumptech.glide.load.data.mediastore - package com.bumptech.glide.load.data.mediastore
- com.bumptech.glide.load.engine - package com.bumptech.glide.load.engine
- com.bumptech.glide.load.engine.bitmap_recycle - package com.bumptech.glide.load.engine.bitmap_recycle
- com.bumptech.glide.load.engine.cache - package com.bumptech.glide.load.engine.cache
- com.bumptech.glide.load.engine.executor - package com.bumptech.glide.load.engine.executor
- com.bumptech.glide.load.engine.prefill - package com.bumptech.glide.load.engine.prefill
- com.bumptech.glide.load.model - package com.bumptech.glide.load.model
- com.bumptech.glide.load.model.stream - package com.bumptech.glide.load.model.stream
- com.bumptech.glide.load.resource - package com.bumptech.glide.load.resource
- com.bumptech.glide.load.resource.bitmap - package com.bumptech.glide.load.resource.bitmap
- com.bumptech.glide.load.resource.bytes - package com.bumptech.glide.load.resource.bytes
- com.bumptech.glide.load.resource.drawable - package com.bumptech.glide.load.resource.drawable
- com.bumptech.glide.load.resource.file - package com.bumptech.glide.load.resource.file
- com.bumptech.glide.load.resource.gif - package com.bumptech.glide.load.resource.gif
- com.bumptech.glide.load.resource.transcode - package com.bumptech.glide.load.resource.transcode
- com.bumptech.glide.manager - package com.bumptech.glide.manager
- com.bumptech.glide.module - package com.bumptech.glide.module
- com.bumptech.glide.provider - package com.bumptech.glide.provider
- com.bumptech.glide.request - package com.bumptech.glide.request
- com.bumptech.glide.request.target - package com.bumptech.glide.request.target
- com.bumptech.glide.request.transition - package com.bumptech.glide.request.transition
- com.bumptech.glide.signature - package com.bumptech.glide.signature
- com.bumptech.glide.util - package com.bumptech.glide.util
- com.bumptech.glide.util.pool - package com.bumptech.glide.util.pool
- COMPRESSION_FORMAT - Static variable in class com.bumptech.glide.load.resource.bitmap.BitmapEncoder
-
An
Bitmap.CompressFormatoption used as the format to encode theBitmap. - COMPRESSION_QUALITY - Static variable in class com.bumptech.glide.load.resource.bitmap.BitmapEncoder
-
An integer option between 0 and 100 that is used as the compression quality.
- ConnectivityMonitor - Interface in com.bumptech.glide.manager
-
An interface for monitoring network connectivity events.
- ConnectivityMonitor.ConnectivityListener - Interface in com.bumptech.glide.manager
-
An interface for listening to network connectivity events picked up by the monitor.
- ConnectivityMonitorFactory - Interface in com.bumptech.glide.manager
-
A factory class that produces a functional
ConnectivityMonitor. - contains(T) - Method in class com.bumptech.glide.util.LruCache
-
Returns true if there is a value for the given key in the cache.
- ContentLengthInputStream - Class in com.bumptech.glide.util
-
Uses the content length as the basis for the return value of
ContentLengthInputStream.available()and verifies that at least content length bytes are returned from the various read methods. - context - Variable in class com.bumptech.glide.RequestManager
- convert(byte[]) - Method in interface com.bumptech.glide.load.model.ByteArrayLoader.Converter
- create() - Method in interface com.bumptech.glide.util.pool.FactoryPools.Factory
- create(File, long) - Static method in class com.bumptech.glide.load.engine.cache.DiskLruCacheWrapper
-
Create a new DiskCache in the given directory with a specified max size.
- createQueue(int) - Static method in class com.bumptech.glide.util.Util
-
Creates a
Queueof the given size using Glide's preferred implementation. - crossFade() - Method in class com.bumptech.glide.load.resource.bitmap.BitmapTransitionOptions
-
Enables a cross fade animation between both the placeholder and the first resource and between subsequent resources (if thumbnails are used).
- crossFade() - Method in class com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
-
Enables a cross fade animation between both the placeholder and the first resource and between subsequent resources (if thumbnails are used).
- crossFade(int) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapTransitionOptions
-
Enables a cross fade animation between both the placeholder and the first resource and between subsequent resources (if thumbnails are used).
- crossFade(int) - Method in class com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
-
Enables a cross fade animation between both the placeholder and the first resource and between subsequent resources (if thumbnails are used).
- crossFade(DrawableCrossFadeFactory) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapTransitionOptions
-
Enables a cross fade animation between both the placeholder and the first resource and between subsequent resources (if thumbnails are used).
- crossFade(DrawableCrossFadeFactory) - Method in class com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
-
Enables a cross fade animation between both the placeholder and the first resource and between subsequent resources (if thumbnails are used).
- crossFade(DrawableCrossFadeFactory.Builder) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapTransitionOptions
-
Enables a cross fade animation between both the placeholder and the first resource and between subsequent resources (if thumbnails are used).
- crossFade(DrawableCrossFadeFactory.Builder) - Method in class com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
-
Enables a cross fade animation between both the placeholder and the first resource and between subsequent resources (if thumbnails are used).
- CustomTarget<T> - Class in com.bumptech.glide.request.target
- CustomTarget() - Constructor for class com.bumptech.glide.request.target.CustomTarget
-
Creates a new
CustomTargetthat will attempt to load the resource in its original size. - CustomTarget(int, int) - Constructor for class com.bumptech.glide.request.target.CustomTarget
-
Creates a new
CustomTargetthat will return the givenwidthandheightas the requested size (unless overridden byBaseRequestOptions.override(int)in the request). - CustomViewTarget<T extends View,
Z> - Class in com.bumptech.glide.request.target -
A base
Targetfor loading resources (Bitmap,Drawableetc) intoViews that provides default implementations for most methods and can determine the size of views using aViewTreeObserver.OnDrawListener. - CustomViewTarget(T) - Constructor for class com.bumptech.glide.request.target.CustomViewTarget
-
Constructor that defaults
waitForLayouttofalse.
D
- data - Variable in class com.bumptech.glide.load.resource.SimpleResource
- DATA - Static variable in class com.bumptech.glide.load.engine.DiskCacheStrategy
-
Writes retrieved data directly to the disk cache before it's decoded.
- DATA_DISK_CACHE - Enum constant in enum class com.bumptech.glide.load.DataSource
-
Indicates data was retrieved unmodified from the on device cache.
- DataFetcher<T> - Interface in com.bumptech.glide.load.data
-
Lazily retrieves data that can be used to load a resource.
- DataFetcher.DataCallback<T> - Interface in com.bumptech.glide.load.data
-
Callback that must be called when data has been loaded and is available, or when the load fails.
- DataRewinder<T> - Interface in com.bumptech.glide.load.data
-
Responsible for rewinding a stream like data types.
- DataRewinder.Factory<T> - Interface in com.bumptech.glide.load.data
-
A factory interface for producing individual
DataRewinders. - DataRewinderRegistry - Class in com.bumptech.glide.load.data
-
Stores a mapping of data class to
DataRewinder.Factoryand allows registration of new types and factories. - DataRewinderRegistry() - Constructor for class com.bumptech.glide.load.data.DataRewinderRegistry
- DataSource - Enum Class in com.bumptech.glide.load
-
Indicates the origin of some retrieved data.
- DataUrlLoader<Model,
Data> - Class in com.bumptech.glide.load.model -
A simple model loader for loading data from a Data URL String.
- DataUrlLoader(DataUrlLoader.DataDecoder<Data>) - Constructor for class com.bumptech.glide.load.model.DataUrlLoader
- DataUrlLoader.DataDecoder<Data> - Interface in com.bumptech.glide.load.model
-
Allows decoding a specific type of data from a Data URL String.
- DataUrlLoader.StreamFactory<Model> - Class in com.bumptech.glide.load.model
-
Factory for loading
InputStreams from data uris. - decode(Bitmap, int, int, Options) - Method in class com.bumptech.glide.load.resource.bitmap.UnitBitmapDecoder
- decode(Drawable, int, int, Options) - Method in class com.bumptech.glide.load.resource.drawable.UnitDrawableDecoder
- decode(ImageDecoder.Source, int, int, Options) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapImageDecoderResourceDecoder
- decode(Uri, int, int, Options) - Method in class com.bumptech.glide.load.resource.bitmap.ResourceBitmapDecoder
- decode(Uri, int, int, Options) - Method in class com.bumptech.glide.load.resource.drawable.ResourceDrawableDecoder
- decode(ParcelFileDescriptor, int, int, Options) - Method in class com.bumptech.glide.load.resource.bitmap.Downsampler
- decode(ParcelFileDescriptor, int, int, Options) - Method in class com.bumptech.glide.load.resource.bitmap.ParcelFileDescriptorBitmapDecoder
- decode(GifDecoder, int, int, Options) - Method in class com.bumptech.glide.load.resource.gif.GifFrameResourceDecoder
- decode(DataRewinder<DataType>, int, int, Options, DecodePath.DecodeCallback<ResourceType>) - Method in class com.bumptech.glide.load.engine.DecodePath
- decode(DataType, int, int, Options) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapDrawableDecoder
- decode(File, int, int, Options) - Method in class com.bumptech.glide.load.resource.file.FileDecoder
- decode(InputStream, int, int, Options) - Method in class com.bumptech.glide.load.resource.bitmap.Downsampler
-
Returns a Bitmap decoded from the given
InputStreamthat is rotated to match any EXIF data present in the stream and that is downsampled according to the given dimensions and any providedDownsampleStrategyoption. - decode(InputStream, int, int, Options) - Method in class com.bumptech.glide.load.resource.bitmap.InputStreamBitmapImageDecoderResourceDecoder
- decode(InputStream, int, int, Options) - Method in class com.bumptech.glide.load.resource.bitmap.StreamBitmapDecoder
- decode(InputStream, int, int, Options) - Method in class com.bumptech.glide.load.resource.gif.StreamGifDecoder
- decode(InputStream, int, int, Options, Downsampler.DecodeCallbacks) - Method in class com.bumptech.glide.load.resource.bitmap.Downsampler
-
Returns a Bitmap decoded from the given
InputStreamthat is rotated to match any EXIF data present in the stream and that is downsampled according to the given dimensions and any providedDownsampleStrategyoption. - decode(Class<?>) - Method in class com.bumptech.glide.request.BaseRequestOptions
- decode(String) - Method in interface com.bumptech.glide.load.model.DataUrlLoader.DataDecoder
- decode(ByteBuffer, int, int, Options) - Method in class com.bumptech.glide.load.resource.bitmap.ByteBufferBitmapDecoder
- decode(ByteBuffer, int, int, Options) - Method in class com.bumptech.glide.load.resource.bitmap.ByteBufferBitmapImageDecoderResourceDecoder
- decode(ByteBuffer, int, int, Options) - Method in class com.bumptech.glide.load.resource.bitmap.Downsampler
-
Identical to
Downsampler.decode(InputStream, int, int, Options), except that it accepts aByteBufferin place of anInputStream. - decode(ByteBuffer, int, int, Options) - Method in class com.bumptech.glide.load.resource.gif.ByteBufferGifDecoder
- decode(T, int, int, Options) - Method in class com.bumptech.glide.load.resource.bitmap.VideoDecoder
- decode(T, int, int, Options) - Method in interface com.bumptech.glide.load.ResourceDecoder
-
Returns a decoded resource from the given data or null if no resource could be decoded.
- DECODE_FORMAT - Static variable in class com.bumptech.glide.load.resource.bitmap.Downsampler
-
Indicates the
DecodeFormatthat will be used in conjunction with the image format to determine theBitmap.Configto provide toBitmapFactory.Options.inPreferredConfigwhen decoding the image. - DECODE_FORMAT - Static variable in class com.bumptech.glide.load.resource.gif.GifOptions
-
Indicates the
DecodeFormatthat will be used in conjunction with the particular GIF to determine theBitmap.Configto use when decoding frames of GIFs. - decodeCachedData() - Method in class com.bumptech.glide.load.engine.DiskCacheStrategy
-
Returns true if this request should attempt to decode cached source data.
- decodeCachedResource() - Method in class com.bumptech.glide.load.engine.DiskCacheStrategy
-
Returns true if this request should attempt to decode cached resource data.
- DecodeFormat - Enum Class in com.bumptech.glide.load
- DecodePath<DataType,
ResourceType, Transcode> - Class in com.bumptech.glide.load.engine -
Attempts to decode and transcode resource type from a given data type.
- DecodePath(Class<DataType>, Class<ResourceType>, Class<Transcode>, List<? extends ResourceDecoder<DataType, ResourceType>>, ResourceTranscoder<ResourceType, Transcode>, Pools.Pool<List<Throwable>>) - Constructor for class com.bumptech.glide.load.engine.DecodePath
- decodeTypeOf(Class<?>) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.decode(Class)set. - DEFAULT - Static variable in enum class com.bumptech.glide.load.DecodeFormat
-
The default value for DecodeFormat.
- DEFAULT - Static variable in interface com.bumptech.glide.load.engine.executor.GlideExecutor.UncaughtThrowableStrategy
-
The default strategy, currently
GlideExecutor.UncaughtThrowableStrategy.LOG. - DEFAULT - Static variable in interface com.bumptech.glide.load.model.Headers
-
A Headers object containing reasonable defaults that should be used when users don't want to provide their own headers.
- DEFAULT - Static variable in class com.bumptech.glide.load.resource.bitmap.DownsampleStrategy
-
Default strategy, currently
DownsampleStrategy.CENTER_OUTSIDE. - DEFAULT_DISK_CACHE_DIR - Static variable in interface com.bumptech.glide.load.engine.cache.DiskCache.Factory
- DEFAULT_DISK_CACHE_SIZE - Static variable in interface com.bumptech.glide.load.engine.cache.DiskCache.Factory
-
250 MB of cache.
- DEFAULT_FRAME - Static variable in class com.bumptech.glide.load.resource.bitmap.VideoDecoder
-
A constant indicating we should use whatever frame we consider best, frequently not the first frame.
- DefaultConnectivityMonitorFactory - Class in com.bumptech.glide.manager
-
A factory class that produces a functional
ConnectivityMonitorif the application has theandroid.permission.ACCESS_NETWORK_STATEpermission and a no-op non functionalConnectivityMonitorif the app does not have the required permission. - DefaultConnectivityMonitorFactory() - Constructor for class com.bumptech.glide.manager.DefaultConnectivityMonitorFactory
- DefaultImageHeaderParser - Class in com.bumptech.glide.load.resource.bitmap
-
A class for parsing the exif orientation and other data from an image header.
- DefaultImageHeaderParser() - Constructor for class com.bumptech.glide.load.resource.bitmap.DefaultImageHeaderParser
- DefaultOnHeaderDecodedListener - Class in com.bumptech.glide.load.resource
-
Downsamples, decodes, and rotates images according to their exif orientation using
ImageDecoder. - DefaultOnHeaderDecodedListener(int, int, Options) - Constructor for class com.bumptech.glide.load.resource.DefaultOnHeaderDecodedListener
- delete(Key) - Method in interface com.bumptech.glide.load.engine.cache.DiskCache
-
Remove the key and value from the cache.
- delete(Key) - Method in class com.bumptech.glide.load.engine.cache.DiskCacheAdapter
- delete(Key) - Method in class com.bumptech.glide.load.engine.cache.DiskLruCacheWrapper
- directExecutor() - Static method in class com.bumptech.glide.util.Executors
-
Immediately calls
Runnable.run()on the current thread. - DirectResourceLoader<DataT> - Class in com.bumptech.glide.load.model
-
Loads themed resource ids using
Resources.openRawResource(int)orResources.openRawResourceFd(int)using the theme fromResourceDrawableDecoder.THEMEwhen it's available. - DISABLE_ANIMATION - Static variable in class com.bumptech.glide.load.resource.gif.GifOptions
-
If set to
true, disables the GIFResourceDecoders (ResourceDecoder.handles(Object, Options)will returnfalse). - disallowHardwareConfig() - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Disables the use of
Bitmap.Config.HARDWAREinDownsamplerto avoid errors caused by inspecting Bitmap pixels, drawing with hardware support disabled, drawing toCanvass backed byBitmaps etc. - disk(String, Option.CacheKeyUpdater<T>) - Static method in class com.bumptech.glide.load.Option
-
Returns a new
Optionthat uses the givenOption.CacheKeyUpdaterto update disk cache keys. - disk(String, T, Option.CacheKeyUpdater<T>) - Static method in class com.bumptech.glide.load.Option
-
Returns a new
Optionthat uses the givenOption.CacheKeyUpdaterto update disk cache keys and provides the given value as the default value. - DiskCache - Interface in com.bumptech.glide.load.engine.cache
-
An interface for writing to and reading from a disk cache.
- DiskCache.Factory - Interface in com.bumptech.glide.load.engine.cache
-
An interface for lazily creating a disk cache.
- DiskCache.Writer - Interface in com.bumptech.glide.load.engine.cache
-
An interface to actually write data to a key in the disk cache.
- DiskCacheAdapter - Class in com.bumptech.glide.load.engine.cache
-
A simple class that returns null for all gets and ignores all writes.
- DiskCacheAdapter() - Constructor for class com.bumptech.glide.load.engine.cache.DiskCacheAdapter
- DiskCacheAdapter.Factory - Class in com.bumptech.glide.load.engine.cache
-
Default factory for
DiskCacheAdapter. - diskCacheStrategy(DiskCacheStrategy) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Sets the
DiskCacheStrategyto use for this load. - DiskCacheStrategy - Class in com.bumptech.glide.load.engine
-
Set of available caching strategies for media.
- DiskCacheStrategy() - Constructor for class com.bumptech.glide.load.engine.DiskCacheStrategy
- diskCacheStrategyOf(DiskCacheStrategy) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.diskCacheStrategy(DiskCacheStrategy)set. - DiskLruCacheFactory - Class in com.bumptech.glide.load.engine.cache
-
Creates an
DiskLruCachebased disk cache in the specified disk cache directory. - DiskLruCacheFactory(DiskLruCacheFactory.CacheDirectoryGetter, long) - Constructor for class com.bumptech.glide.load.engine.cache.DiskLruCacheFactory
-
When using this constructor
DiskLruCacheFactory.CacheDirectoryGetter.getCacheDirectory()will be called out of UI thread, allowing to do I/O access without performance impacts. - DiskLruCacheFactory(String, long) - Constructor for class com.bumptech.glide.load.engine.cache.DiskLruCacheFactory
- DiskLruCacheFactory(String, String, long) - Constructor for class com.bumptech.glide.load.engine.cache.DiskLruCacheFactory
- DiskLruCacheFactory.CacheDirectoryGetter - Interface in com.bumptech.glide.load.engine.cache
-
Interface called out of UI thread to get the cache folder.
- DiskLruCacheWrapper - Class in com.bumptech.glide.load.engine.cache
-
The default DiskCache implementation.
- DiskLruCacheWrapper(File, long) - Constructor for class com.bumptech.glide.load.engine.cache.DiskLruCacheWrapper
-
Deprecated.Do not extend this class.
- DISPLAY_P3 - Enum constant in enum class com.bumptech.glide.load.PreferredColorSpace
-
Prefers to decode images using
ColorSpace.Named.DISPLAY_P3. - dontAnimate() - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Disables resource decoders that return animated resources so any resource returned will be static.
- dontTransform() - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Removes all applied
Transformationsfor all resource classes and allows unknown resource types to be transformed without throwing an exception. - dontTransition() - Method in class com.bumptech.glide.TransitionOptions
-
Removes any existing animation put on the builder.
- download(Object) - Method in class com.bumptech.glide.RequestManager
-
A helper method equivalent to calling
RequestManager.downloadOnly()()} and thenRequestBuilder.load(Object)with the given model. - DOWNLOAD_ONLY_OPTIONS - Static variable in class com.bumptech.glide.RequestBuilder
- downloadOnly() - Method in class com.bumptech.glide.RequestManager
-
Attempts always load the resource into the cache and return the
Filecontaining the cached source data. - downloadOnly(int, int) - Method in class com.bumptech.glide.RequestBuilder
-
Deprecated.
- downloadOnly(Y) - Method in class com.bumptech.glide.RequestBuilder
-
Deprecated.
- downsample(DownsampleStrategy) - Method in class com.bumptech.glide.request.BaseRequestOptions
- DOWNSAMPLE_STRATEGY - Static variable in class com.bumptech.glide.load.resource.bitmap.Downsampler
-
Deprecated.Use
DownsampleStrategy.OPTIONdirectly instead. - downsampleOf(DownsampleStrategy) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.downsample(DownsampleStrategy)set. - Downsampler - Class in com.bumptech.glide.load.resource.bitmap
-
Downsamples, decodes, and rotates images according to their exif orientation using
BitmapFactory. - Downsampler(List<ImageHeaderParser>, DisplayMetrics, BitmapPool, ArrayPool) - Constructor for class com.bumptech.glide.load.resource.bitmap.Downsampler
- Downsampler.DecodeCallbacks - Interface in com.bumptech.glide.load.resource.bitmap
-
Callbacks for key points during decodes.
- DownsampleStrategy - Class in com.bumptech.glide.load.resource.bitmap
-
Indicates the algorithm to use when downsampling images.
- DownsampleStrategy() - Constructor for class com.bumptech.glide.load.resource.bitmap.DownsampleStrategy
- DownsampleStrategy.SampleSizeRounding - Enum Class in com.bumptech.glide.load.resource.bitmap
-
Indicates whether to prefer to prefer downsampling or scaling to prefer lower memory usage or higher quality.
- draw(Canvas) - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- draw(Canvas) - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- drawable - Variable in class com.bumptech.glide.load.resource.drawable.DrawableResource
- DrawableBytesTranscoder - Class in com.bumptech.glide.load.resource.transcode
- DrawableBytesTranscoder(BitmapPool, ResourceTranscoder<Bitmap, byte[]>, ResourceTranscoder<GifDrawable, byte[]>) - Constructor for class com.bumptech.glide.load.resource.transcode.DrawableBytesTranscoder
- DrawableCrossFadeFactory - Class in com.bumptech.glide.request.transition
-
A factory class that produces a new
Transitionthat varies depending on whether or not the drawable was loaded from the memory cache and whether or not the drawable is the first image to be put on the target. - DrawableCrossFadeFactory(int, boolean) - Constructor for class com.bumptech.glide.request.transition.DrawableCrossFadeFactory
- DrawableCrossFadeFactory.Builder - Class in com.bumptech.glide.request.transition
-
A Builder for
DrawableCrossFadeFactory. - DrawableCrossFadeTransition - Class in com.bumptech.glide.request.transition
-
A cross fade
TransitionforDrawables that uses anTransitionDrawableto transition from an existing drawable already visible on the target to a new drawable. - DrawableCrossFadeTransition(int, boolean) - Constructor for class com.bumptech.glide.request.transition.DrawableCrossFadeTransition
- DrawableDecoderCompat - Class in com.bumptech.glide.load.resource.drawable
-
Handles decoding Drawables with the v7 support library if present and falling back to the v4 support library otherwise.
- drawableFactory(Context) - Static method in class com.bumptech.glide.load.model.DirectResourceLoader
- DrawableImageViewTarget - Class in com.bumptech.glide.request.target
- DrawableImageViewTarget(ImageView) - Constructor for class com.bumptech.glide.request.target.DrawableImageViewTarget
- DrawableImageViewTarget(ImageView, boolean) - Constructor for class com.bumptech.glide.request.target.DrawableImageViewTarget
-
Deprecated.Use
ViewTarget.waitForLayout()instead. - DrawableResource<T extends Drawable> - Class in com.bumptech.glide.load.resource.drawable
- DrawableResource(T) - Constructor for class com.bumptech.glide.load.resource.drawable.DrawableResource
- DrawableThumbnailImageViewTarget - Class in com.bumptech.glide.request.target
-
Efficiently displays multiple Drawables loaded serially into a single
View. - DrawableThumbnailImageViewTarget(ImageView) - Constructor for class com.bumptech.glide.request.target.DrawableThumbnailImageViewTarget
- DrawableThumbnailImageViewTarget(ImageView, boolean) - Constructor for class com.bumptech.glide.request.target.DrawableThumbnailImageViewTarget
-
Deprecated.Use
ViewTarget.waitForLayout()instead. - DrawableTransformation - Class in com.bumptech.glide.load.resource.bitmap
-
Applies a
BitmapTransformationtoDrawables by first attempting to convert theDrawableto aBitmapand then running theTransformationon the convertedBitmap. - DrawableTransformation(Transformation<Bitmap>, boolean) - Constructor for class com.bumptech.glide.load.resource.bitmap.DrawableTransformation
- DrawableTransitionOptions - Class in com.bumptech.glide.load.resource.drawable
-
Contains
Drawablespecific animation options. - DrawableTransitionOptions() - Constructor for class com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
E
- EmptySignature - Class in com.bumptech.glide.signature
-
An empty key that is always equal to all other empty keys.
- enableHardwareBitmaps() - Static method in class com.bumptech.glide.Glide
-
Allows hardware Bitmaps to be used prior to the first frame in the app being drawn as soon as this method is called.
- encode(Resource<Bitmap>, File, Options) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapEncoder
- encode(Resource<BitmapDrawable>, File, Options) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapDrawableEncoder
- encode(Resource<GifDrawable>, File, Options) - Method in class com.bumptech.glide.load.resource.gif.GifDrawableEncoder
- encode(InputStream, File, Options) - Method in class com.bumptech.glide.load.model.StreamEncoder
- encode(ByteBuffer, File, Options) - Method in class com.bumptech.glide.load.model.ByteBufferEncoder
- encode(T, File, Options) - Method in interface com.bumptech.glide.load.Encoder
-
Writes the given data to the given output stream and returns True if the write completed successfully and should be committed.
- encodeFormat(Bitmap.CompressFormat) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Sets the value for key
BitmapEncoder.COMPRESSION_FORMAT. - encodeFormatOf(Bitmap.CompressFormat) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionswithBaseRequestOptions.encodeFormat(android.graphics.Bitmap.CompressFormat)called with the given format. - encodeQuality(int) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Sets the value for key
BitmapEncoder.COMPRESSION_QUALITY. - encodeQualityOf(int) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionswithBaseRequestOptions.encodeQuality(int)called with the given quality. - Encoder<T> - Interface in com.bumptech.glide.load
-
An interface for writing data to some persistent data store (i.e.
- EncoderRegistry - Class in com.bumptech.glide.provider
-
Contains an ordered list of
Encoders capable of encoding arbitrary data types. - EncoderRegistry() - Constructor for class com.bumptech.glide.provider.EncoderRegistry
- EncodeStrategy - Enum Class in com.bumptech.glide.load
-
Details how an
ResourceEncoderwill encode a resource to cache. - endSection() - Static method in class com.bumptech.glide.util.pool.GlideTrace
- endSectionAsync(String, int) - Static method in class com.bumptech.glide.util.pool.GlideTrace
- Engine - Class in com.bumptech.glide.load.engine
-
Responsible for starting loads and managing active and cached resources.
- Engine(MemoryCache, DiskCache.Factory, GlideExecutor, GlideExecutor, GlideExecutor, GlideExecutor, boolean) - Constructor for class com.bumptech.glide.load.engine.Engine
- Engine.LoadStatus - Class in com.bumptech.glide.load.engine
-
Allows a request to indicate it no longer is interested in a given load.
- equals(Object) - Method in class com.bumptech.glide.GenericTransitionOptions
- equals(Object) - Method in class com.bumptech.glide.load.engine.prefill.PreFillType
- equals(Object) - Method in interface com.bumptech.glide.load.Key
-
For caching to work correctly, implementations must implement this method and
Key.hashCode(). - equals(Object) - Method in class com.bumptech.glide.load.model.GlideUrl
- equals(Object) - Method in class com.bumptech.glide.load.model.LazyHeaders
- equals(Object) - Method in class com.bumptech.glide.load.MultiTransformation
- equals(Object) - Method in class com.bumptech.glide.load.Option
- equals(Object) - Method in class com.bumptech.glide.load.Options
- equals(Object) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapDrawableTransformation
-
Deprecated.
- equals(Object) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapTransitionOptions
- equals(Object) - Method in class com.bumptech.glide.load.resource.bitmap.CenterCrop
- equals(Object) - Method in class com.bumptech.glide.load.resource.bitmap.CenterInside
- equals(Object) - Method in class com.bumptech.glide.load.resource.bitmap.CircleCrop
- equals(Object) - Method in class com.bumptech.glide.load.resource.bitmap.DrawableTransformation
- equals(Object) - Method in class com.bumptech.glide.load.resource.bitmap.FitCenter
- equals(Object) - Method in class com.bumptech.glide.load.resource.bitmap.GranularRoundedCorners
- equals(Object) - Method in class com.bumptech.glide.load.resource.bitmap.Rotate
- equals(Object) - Method in class com.bumptech.glide.load.resource.bitmap.RoundedCorners
- equals(Object) - Method in class com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
- equals(Object) - Method in class com.bumptech.glide.load.resource.gif.GifDrawableTransformation
- equals(Object) - Method in class com.bumptech.glide.request.BaseRequestOptions
- equals(Object) - Method in class com.bumptech.glide.request.RequestOptions
- equals(Object) - Method in class com.bumptech.glide.RequestBuilder
- equals(Object) - Method in class com.bumptech.glide.signature.AndroidResourceSignature
- equals(Object) - Method in class com.bumptech.glide.signature.MediaStoreSignature
- equals(Object) - Method in class com.bumptech.glide.signature.ObjectKey
- equals(Object) - Method in class com.bumptech.glide.TransitionOptions
- equals(Object) - Method in class com.bumptech.glide.util.MultiClassKey
- error(int) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Sets a resource to display if a load fails.
- error(Drawable) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Sets a
Drawableto display if a load fails. - error(RequestBuilder<TranscodeType>) - Method in class com.bumptech.glide.RequestBuilder
-
Sets a
RequestBuilderthat is built and run if the load started by thisRequestBuilderfails. - error(Object) - Method in class com.bumptech.glide.RequestBuilder
-
Identical to calling
RequestBuilder.error(RequestBuilder)where theRequestBuilderis the result of callingRequestBuilder.clone()and removing any existing thumbnail and errorRequestBuilders. - errorOf(int) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.error(int)} set. - errorOf(Drawable) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.error(Drawable)set. - ErrorRequestCoordinator - Class in com.bumptech.glide.request
-
Runs a single primary
Requestuntil it completes and then a fallback error request only if the single primary request fails. - ErrorRequestCoordinator(Object, RequestCoordinator) - Constructor for class com.bumptech.glide.request.ErrorRequestCoordinator
- evictionCount() - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool
-
Returns the number of bitmaps that have been evicted from the pool.
- ExceptionCatchingInputStream - Class in com.bumptech.glide.util
-
Deprecated.In some cases, callers may not handle getting 0 or -1 return values from methods, which can lead to infinite loops (see #4438). Use
ExceptionPassthroughInputStreaminstead. This class will be deleted in a future version of Glide. - ExceptionPassthroughInputStream - Class in com.bumptech.glide.util
-
An
InputStreamthat catches, stores and rethrowsIOExceptions during read and skip calls. - execute(Runnable) - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor
- Executors - Class in com.bumptech.glide.util
-
Generic
Executorimplementations. - ExifInterfaceImageHeaderParser - Class in com.bumptech.glide.load.resource.bitmap
-
Uses
ExifInterfaceto parse orientation data. - ExifInterfaceImageHeaderParser() - Constructor for class com.bumptech.glide.load.resource.bitmap.ExifInterfaceImageHeaderParser
- ExifOrientationStream - Class in com.bumptech.glide.load.data
-
Adds an exif segment with an orientation attribute to a wrapped
InputStreamcontaining image data. - ExifOrientationStream(InputStream, int) - Constructor for class com.bumptech.glide.load.data.ExifOrientationStream
- ExperimentalRequestListener<ResourceT> - Class in com.bumptech.glide.request
-
Deprecated.Not ready for public consumption, avoid using this class. It may be removed at any time.
- ExperimentalRequestListener() - Constructor for class com.bumptech.glide.request.ExperimentalRequestListener
-
Deprecated.
- ExternalCacheDiskCacheFactory - Class in com.bumptech.glide.load.engine.cache
-
Deprecated.use
ExternalPreferredCacheDiskCacheFactoryinstead. - ExternalCacheDiskCacheFactory(Context) - Constructor for class com.bumptech.glide.load.engine.cache.ExternalCacheDiskCacheFactory
-
Deprecated.
- ExternalCacheDiskCacheFactory(Context, int) - Constructor for class com.bumptech.glide.load.engine.cache.ExternalCacheDiskCacheFactory
-
Deprecated.
- ExternalCacheDiskCacheFactory(Context, String, int) - Constructor for class com.bumptech.glide.load.engine.cache.ExternalCacheDiskCacheFactory
-
Deprecated.
- ExternalPreferredCacheDiskCacheFactory - Class in com.bumptech.glide.load.engine.cache
-
Creates an
DiskLruCachebased disk cache in the external disk cache directory, which falls back to the internal disk cache if no external storage is available. - ExternalPreferredCacheDiskCacheFactory(Context) - Constructor for class com.bumptech.glide.load.engine.cache.ExternalPreferredCacheDiskCacheFactory
- ExternalPreferredCacheDiskCacheFactory(Context, long) - Constructor for class com.bumptech.glide.load.engine.cache.ExternalPreferredCacheDiskCacheFactory
- ExternalPreferredCacheDiskCacheFactory(Context, String, long) - Constructor for class com.bumptech.glide.load.engine.cache.ExternalPreferredCacheDiskCacheFactory
F
- Factory() - Constructor for class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder.Factory
- Factory() - Constructor for class com.bumptech.glide.load.engine.cache.DiskCacheAdapter.Factory
- Factory() - Constructor for class com.bumptech.glide.load.model.ByteBufferFileLoader.Factory
- Factory() - Constructor for class com.bumptech.glide.load.model.stream.HttpGlideUrlLoader.Factory
- Factory() - Constructor for class com.bumptech.glide.load.model.stream.HttpUriLoader.Factory
-
Deprecated.
- Factory() - Constructor for class com.bumptech.glide.load.model.UnitModelLoader.Factory
-
Deprecated.Use
UnitModelLoader.Factory.getInstance()instead. - Factory() - Constructor for class com.bumptech.glide.load.resource.bytes.ByteBufferRewinder.Factory
- Factory(Context) - Constructor for class com.bumptech.glide.load.model.MediaStoreFileLoader.Factory
- Factory(Context) - Constructor for class com.bumptech.glide.load.model.stream.MediaStoreImageThumbLoader.Factory
- Factory(Context) - Constructor for class com.bumptech.glide.load.model.stream.MediaStoreVideoThumbLoader.Factory
- Factory(ArrayPool) - Constructor for class com.bumptech.glide.load.data.InputStreamRewinder.Factory
- Factory(FileLoader.FileOpener<Data>) - Constructor for class com.bumptech.glide.load.model.FileLoader.Factory
- FactoryPools - Class in com.bumptech.glide.util.pool
-
Provides implementations of
Pools.Poolnever returnnull, log when new instances are created, and that can use theFactoryPools.Poolableinterface to ensure objects aren't used while inside the pool. - FactoryPools.Factory<T> - Interface in com.bumptech.glide.util.pool
-
Creates new instances of the given type.
- FactoryPools.Poolable - Interface in com.bumptech.glide.util.pool
-
Allows additional verification to catch errors caused by using objects while they are in an object pool.
- FactoryPools.Resetter<T> - Interface in com.bumptech.glide.util.pool
-
Resets state when objects are returned to the pool.
- FAILED - Enum constant in enum class com.bumptech.glide.request.RequestCoordinator.RequestState
- fallback(int) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Sets a resource to display if the model provided to
RequestBuilder.load(Object)isnull. - fallback(Drawable) - Method in class com.bumptech.glide.request.BaseRequestOptions
- fetcher - Variable in class com.bumptech.glide.load.model.ModelLoader.LoadData
- FileDecoder - Class in com.bumptech.glide.load.resource.file
-
A simple
ResourceDecoderthat creates resource for a givenFile. - FileDecoder() - Constructor for class com.bumptech.glide.load.resource.file.FileDecoder
- FileDescriptorAssetPathFetcher - Class in com.bumptech.glide.load.data
-
Fetches an
AssetFileDescriptorfor an asset path. - FileDescriptorAssetPathFetcher(AssetManager, String) - Constructor for class com.bumptech.glide.load.data.FileDescriptorAssetPathFetcher
- FileDescriptorFactory() - Constructor for class com.bumptech.glide.load.model.FileLoader.FileDescriptorFactory
- FileDescriptorFactory() - Constructor for class com.bumptech.glide.load.model.StringLoader.FileDescriptorFactory
- FileDescriptorFactory(ContentResolver) - Constructor for class com.bumptech.glide.load.model.UriLoader.FileDescriptorFactory
- FileDescriptorFactory(Context) - Constructor for class com.bumptech.glide.load.model.stream.QMediaStoreUriLoader.FileDescriptorFactory
- FileDescriptorFactory(AssetManager) - Constructor for class com.bumptech.glide.load.model.AssetUriLoader.FileDescriptorFactory
- FileDescriptorFactory(Resources) - Constructor for class com.bumptech.glide.load.model.ResourceLoader.FileDescriptorFactory
-
Deprecated.
- FileDescriptorLocalUriFetcher - Class in com.bumptech.glide.load.data
-
Fetches an
ParcelFileDescriptorfor a localUri. - FileDescriptorLocalUriFetcher(ContentResolver, Uri) - Constructor for class com.bumptech.glide.load.data.FileDescriptorLocalUriFetcher
- FileLoader<Data> - Class in com.bumptech.glide.load.model
-
A simple model loader for loading data from
Files. - FileLoader(FileLoader.FileOpener<Data>) - Constructor for class com.bumptech.glide.load.model.FileLoader
- FileLoader.Factory<Data> - Class in com.bumptech.glide.load.model
-
Base factory for loading data from
files. - FileLoader.FileDescriptorFactory - Class in com.bumptech.glide.load.model
-
Factory for loading
ParcelFileDescriptors fromFiles. - FileLoader.FileOpener<Data> - Interface in com.bumptech.glide.load.model
-
Allows opening a specific type of data from a
File. - FileLoader.StreamFactory - Class in com.bumptech.glide.load.model
-
Factory for loading
InputStreams fromFiles. - FileResource - Class in com.bumptech.glide.load.resource.file
- FileResource(File) - Constructor for class com.bumptech.glide.load.resource.file.FileResource
- fillInStackTrace() - Method in exception com.bumptech.glide.load.engine.GlideException
- FIT_CENTER - Static variable in class com.bumptech.glide.load.resource.bitmap.DownsampleStrategy
-
Scales, maintaining the original aspect ratio, so that one of the image's dimensions is exactly equal to the requested size and the other dimension is less than or equal to the requested size.
- fitCenter() - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Applies
FitCenterand to all default types,DownsampleStrategy.FIT_CENTERto image types, and throws an exception if asked to transform an unknown type. - fitCenter(BitmapPool, Bitmap, int, int) - Static method in class com.bumptech.glide.load.resource.bitmap.TransformationUtils
-
An expensive operation to resize the given Bitmap down so that it fits within the given dimensions maintain the original proportions.
- FitCenter - Class in com.bumptech.glide.load.resource.bitmap
-
Scales the image uniformly (maintaining the image's aspect ratio) so that one of the dimensions of the image will be equal to the given dimension and the other will be less than the given dimension.
- FitCenter() - Constructor for class com.bumptech.glide.load.resource.bitmap.FitCenter
- fitCenterTransform() - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.fitCenter()set. - FIX_BITMAP_SIZE_TO_REQUESTED_DIMENSIONS - Static variable in class com.bumptech.glide.load.resource.bitmap.Downsampler
-
Ensure that the size of the bitmap is fixed to the requested width and height of the resource from the caller.
- FixedPreloadSizeProvider<T> - Class in com.bumptech.glide.util
-
A
ListPreloader.PreloadSizeProviderwith a fixed width and height. - FixedPreloadSizeProvider(int, int) - Constructor for class com.bumptech.glide.util.FixedPreloadSizeProvider
-
Constructor for a PreloadSizeProvider with a fixed size.
- FixedSizeDrawable - Class in com.bumptech.glide.request.target
-
A wrapper drawable to square the wrapped drawable so that it expands to fill a square with exactly the given side length.
- FixedSizeDrawable(Drawable, int, int) - Constructor for class com.bumptech.glide.request.target.FixedSizeDrawable
- fixMarkLimit() - Method in class com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream
-
Reduces the mark limit to match the current buffer length to prevent the buffer from continuing to increase in size.
- fixMarkLimits() - Method in class com.bumptech.glide.load.data.InputStreamRewinder
- flush() - Method in class com.bumptech.glide.load.data.BufferedOutputStream
- format(DecodeFormat) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Sets the
DecodeFormatto use when decodingBitmapobjects usingDownsamplerand Glide's default GIF decoders. - formatOf(DecodeFormat) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.format(DecodeFormat)set. - frame(long) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Sets the time position of the frame to extract from a video.
- FRAME_OPTION - Static variable in class com.bumptech.glide.load.resource.bitmap.VideoDecoder
-
An integer indicating the frame option used to retrieve a target frame.
- frameOf(long) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.frame(long)set. - fromFile(File) - Static method in class com.bumptech.glide.util.ByteBufferUtil
- fromStream(InputStream) - Static method in class com.bumptech.glide.util.ByteBufferUtil
- FutureTarget<R> - Interface in com.bumptech.glide.request
G
- GenericTransitionOptions<TranscodeType> - Class in com.bumptech.glide
-
Implementation of
TransitionOptionsthat exposes only generic methods that can be applied to any resource type. - GenericTransitionOptions() - Constructor for class com.bumptech.glide.GenericTransitionOptions
- get() - Method in interface com.bumptech.glide.load.engine.Resource
-
Returns an instance of the wrapped resource.
- get() - Method in class com.bumptech.glide.load.resource.bitmap.BitmapResource
- get() - Method in class com.bumptech.glide.load.resource.bitmap.LazyBitmapDrawableResource
- get() - Method in class com.bumptech.glide.load.resource.bytes.BytesResource
-
In most cases it will only be retrieved once (see linked methods).
- get() - Method in class com.bumptech.glide.load.resource.drawable.DrawableResource
- get() - Method in class com.bumptech.glide.load.resource.SimpleResource
- get() - Static method in class com.bumptech.glide.load.resource.transcode.UnitTranscoder
- get() - Static method in class com.bumptech.glide.load.resource.UnitTransformation
-
Returns a UnitTransformation for the given type.
- get() - Method in class com.bumptech.glide.request.RequestFutureTarget
- get() - Static method in class com.bumptech.glide.request.transition.NoTransition
-
Returns an instance of
NoTransition. - get() - Method in interface com.bumptech.glide.util.GlideSuppliers.GlideSupplier
- get(int, int, Bitmap.Config) - Method in interface com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool
-
Returns a
Bitmapof exactly the given width, height, and configuration, and containing only transparent pixels. - get(int, int, Bitmap.Config) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.BitmapPoolAdapter
- get(int, int, Bitmap.Config) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool
- get(int, int, Bitmap.Config) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.SizeConfigStrategy
- get(int, Class<T>) - Method in interface com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool
-
Returns a non-null array of the given type with a length
>=to the given size. - get(int, Class<T>) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruArrayPool
- get(long, TimeUnit) - Method in class com.bumptech.glide.request.RequestFutureTarget
- get(Activity) - Method in class com.bumptech.glide.manager.RequestManagerRetriever
-
Deprecated.This is identical to calling
RequestManagerRetriever.get(Context)with the application context. Use androidx Activities instead (ieFragmentActivity, orAppCompatActivity). - get(Fragment) - Method in class com.bumptech.glide.manager.RequestManagerRetriever
-
Deprecated.This is equivalent to calling
RequestManagerRetriever.get(Context)with the application context. Use androidx fragments instead:Fragment. - get(Context) - Static method in class com.bumptech.glide.Glide
-
Get the singleton.
- get(Context) - Method in class com.bumptech.glide.manager.RequestManagerRetriever
- get(View) - Method in class com.bumptech.glide.manager.RequestManagerRetriever
- get(Fragment) - Method in class com.bumptech.glide.manager.RequestManagerRetriever
- get(FragmentActivity) - Method in class com.bumptech.glide.manager.RequestManagerRetriever
- get(A, int, int) - Method in class com.bumptech.glide.load.model.ModelCache
-
Get a value.
- get(Key) - Method in interface com.bumptech.glide.load.engine.cache.DiskCache
-
Get the cache for the value at the given key.
- get(Key) - Method in class com.bumptech.glide.load.engine.cache.DiskCacheAdapter
- get(Key) - Method in class com.bumptech.glide.load.engine.cache.DiskLruCacheWrapper
- get(Option<T>) - Method in class com.bumptech.glide.load.Options
- get(File, long) - Static method in class com.bumptech.glide.load.engine.cache.DiskLruCacheWrapper
-
Deprecated.Use
DiskLruCacheWrapper.create(File, long)to create a new cache with the specified arguments. - get(Class<?>, Class<?>, Class<?>) - Method in class com.bumptech.glide.provider.ModelToResourceClassCache
- get(Class<Data>, Class<TResource>, Class<Transcode>) - Method in class com.bumptech.glide.provider.LoadPathCache
-
May return
LoadPathCache.NO_PATHS_SIGNALto indicate that we've previously found that there are 0 available load paths for the requested types. - get(Class<Z>) - Method in class com.bumptech.glide.provider.ResourceEncoderRegistry
- get(Class<Z>, Class<R>) - Method in class com.bumptech.glide.load.resource.transcode.TranscoderRegistry
-
Returns the currently registered
ResourceTranscoderfor the given classes. - get(T) - Method in class com.bumptech.glide.util.LruCache
-
Returns the item in the cache for the given key or null if no such item exists.
- getAll() - Method in class com.bumptech.glide.manager.TargetTracker
- getAlpha() - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- getAlternateUrls(Model, int, int, Options) - Method in class com.bumptech.glide.load.model.stream.BaseGlideUrlLoader
-
Returns a list of alternate urls for the given model, width, and height from which equivalent data can be obtained (usually the same image with the same aspect ratio, but in a larger size) as the primary url.
- getArrayLength(byte[]) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.ByteArrayAdapter
- getArrayLength(int[]) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.IntegerArrayAdapter
- getArrayPool() - Method in class com.bumptech.glide.Glide
- getArrayPool() - Method in class com.bumptech.glide.GlideContext
- getArrayPoolSizeInBytes() - Method in class com.bumptech.glide.load.engine.cache.MemorySizeCalculator
-
Returns the recommended array pool size for the device it is run on in bytes.
- getBitmap(Bitmap) - Method in class com.bumptech.glide.request.transition.BitmapTransitionFactory
- getBitmap(R) - Method in class com.bumptech.glide.request.transition.BitmapContainerTransitionFactory
-
Retrieve the Bitmap from a composite object.
- getBitmapByteSize(int, int, Bitmap.Config) - Static method in class com.bumptech.glide.util.Util
-
Returns the in memory size of
Bitmapwith the given width, height, andBitmap.Config. - getBitmapByteSize(Bitmap) - Static method in class com.bumptech.glide.util.Util
-
Returns the in memory size of the given
Bitmapin bytes. - getBitmapDrawableLock() - Static method in class com.bumptech.glide.load.resource.bitmap.TransformationUtils
- getBitmapPool() - Method in class com.bumptech.glide.Glide
-
Returns the
BitmapPoolused to temporarily storeBitmaps so they can be reused to avoid garbage collections. - getBitmapPoolSize() - Method in class com.bumptech.glide.load.engine.cache.MemorySizeCalculator
-
Returns the recommended bitmap pool size for the device it is run on in bytes.
- getBuffer() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- getBytesPerPixel(Bitmap.Config) - Static method in class com.bumptech.glide.util.Util
-
Returns the number of bytes required to store each pixel of a
Bitmapwith the givenconfig. - getCacheDirectory() - Method in interface com.bumptech.glide.load.engine.cache.DiskLruCacheFactory.CacheDirectoryGetter
- getCacheKey() - Method in class com.bumptech.glide.load.model.GlideUrl
-
Returns an inexpensive to calculate
Stringsuitable for use as a disk cache key. - getCallback() - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- getCauses() - Method in exception com.bumptech.glide.load.engine.GlideException
-
Returns a list of causes that are immediate children of this exception.
- getChangingConfigurations() - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- getConstantState() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- getConstantState() - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- getContext() - Method in class com.bumptech.glide.Glide
- getCount() - Method in class com.bumptech.glide.util.LruCache
-
Returns the number of entries stored in cache.
- getCurrent() - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- getCurrentDrawable() - Method in class com.bumptech.glide.request.target.ImageViewTarget
-
Returns the current
Drawablebeing displayed in the view usingImageView.getDrawable(). - getCurrentDrawable() - Method in interface com.bumptech.glide.request.transition.Transition.ViewAdapter
-
Returns the current drawable being displayed in the view, or null if no such drawable exists (or one cannot be retrieved).
- getCurrentSize() - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool
-
Returns the current size of the pool in bytes.
- getCurrentSize() - Method in interface com.bumptech.glide.load.engine.cache.MemoryCache
-
Returns the sum of the sizes of all the contents of the cache in bytes.
- getCurrentSize() - Method in class com.bumptech.glide.load.engine.cache.MemoryCacheAdapter
- getCurrentSize() - Method in class com.bumptech.glide.util.LruCache
-
Returns the sum of the sizes of all items in the cache.
- getDataClass() - Method in class com.bumptech.glide.load.data.AssetFileDescriptorLocalUriFetcher
- getDataClass() - Method in interface com.bumptech.glide.load.data.DataFetcher
-
Returns the class of the data this fetcher will attempt to obtain.
- getDataClass() - Method in interface com.bumptech.glide.load.data.DataRewinder.Factory
-
Returns the class of data this factory can produce
DataRewinders for. - getDataClass() - Method in class com.bumptech.glide.load.data.FileDescriptorAssetPathFetcher
- getDataClass() - Method in class com.bumptech.glide.load.data.FileDescriptorLocalUriFetcher
- getDataClass() - Method in class com.bumptech.glide.load.data.HttpUrlFetcher
- getDataClass() - Method in class com.bumptech.glide.load.data.InputStreamRewinder.Factory
- getDataClass() - Method in class com.bumptech.glide.load.data.mediastore.ThumbFetcher
- getDataClass() - Method in class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder.Factory
- getDataClass() - Method in class com.bumptech.glide.load.data.StreamAssetPathFetcher
- getDataClass() - Method in class com.bumptech.glide.load.data.StreamLocalUriFetcher
- getDataClass() - Method in class com.bumptech.glide.load.engine.LoadPath
- getDataClass() - Method in interface com.bumptech.glide.load.model.ByteArrayLoader.Converter
- getDataClass() - Method in interface com.bumptech.glide.load.model.DataUrlLoader.DataDecoder
- getDataClass() - Method in interface com.bumptech.glide.load.model.FileLoader.FileOpener
- getDataClass() - Method in class com.bumptech.glide.load.resource.bytes.ByteBufferRewinder.Factory
- getDataClasses(Class<?>) - Method in class com.bumptech.glide.load.model.ModelLoaderRegistry
- getDataSource() - Method in class com.bumptech.glide.load.data.AssetPathFetcher
- getDataSource() - Method in interface com.bumptech.glide.load.data.DataFetcher
-
Returns the
DataSourcethis fetcher will return data from. - getDataSource() - Method in class com.bumptech.glide.load.data.HttpUrlFetcher
- getDataSource() - Method in class com.bumptech.glide.load.data.LocalUriFetcher
- getDataSource() - Method in class com.bumptech.glide.load.data.mediastore.ThumbFetcher
- getDecoders(Class<T>, Class<R>) - Method in class com.bumptech.glide.provider.ResourceDecoderRegistry
- getDefaultRequestListeners() - Method in class com.bumptech.glide.GlideContext
- getDefaultRequestOptions() - Method in class com.bumptech.glide.GlideContext
- getDefaultTransitionOptions(Class<T>) - Method in class com.bumptech.glide.GlideContext
- getDefaultValue() - Method in class com.bumptech.glide.load.Option
-
Returns a reasonable default to use if no other value is set, or
null. - getDescendants() - Method in interface com.bumptech.glide.manager.RequestManagerTreeNode
-
Returns all descendant
RequestManagers relative to the context of the currentRequestManager. - getDirty(int, int, Bitmap.Config) - Method in interface com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool
-
Identical to
BitmapPool.get(int, int, android.graphics.Bitmap.Config)except that any returnedBitmapmay not have been erased and may contain random data. - getDirty(int, int, Bitmap.Config) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.BitmapPoolAdapter
- getDirty(int, int, Bitmap.Config) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool
- getDiskCacheStrategy() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getDownloadOnlyRequest() - Method in class com.bumptech.glide.RequestBuilder
- getDrawable(Context, int, Resources.Theme) - Static method in class com.bumptech.glide.load.resource.drawable.DrawableDecoderCompat
-
Loads a Drawable using
AppCompatResourcesif available andResourcesCompatotherwise, depending on whether or not the v7 support library is included in the application. - getDrawable(Context, Context, int) - Static method in class com.bumptech.glide.load.resource.drawable.DrawableDecoderCompat
-
See
getDrawable(Context, int, Theme). - getDrawable(Bitmap) - Method in class com.bumptech.glide.request.target.BitmapThumbnailImageViewTarget
- getDrawable(Drawable) - Method in class com.bumptech.glide.request.target.DrawableThumbnailImageViewTarget
- getDrawable(T) - Method in class com.bumptech.glide.request.target.ThumbnailImageViewTarget
- getElapsedMillis(long) - Static method in class com.bumptech.glide.util.LogTime
-
Returns the time elapsed since the given logTime in millis.
- getElementSizeInBytes() - Method in class com.bumptech.glide.load.engine.bitmap_recycle.ByteArrayAdapter
- getElementSizeInBytes() - Method in class com.bumptech.glide.load.engine.bitmap_recycle.IntegerArrayAdapter
- getEncoder(Class<T>) - Method in class com.bumptech.glide.provider.EncoderRegistry
- getEncodeStrategy(Options) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapDrawableEncoder
- getEncodeStrategy(Options) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapEncoder
- getEncodeStrategy(Options) - Method in class com.bumptech.glide.load.resource.gif.GifDrawableEncoder
- getEncodeStrategy(Options) - Method in interface com.bumptech.glide.load.ResourceEncoder
- getEngine() - Method in class com.bumptech.glide.GlideContext
- getErrorId() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getErrorPlaceholder() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getExact(int, Class<T>) - Method in interface com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool
-
Returns a non-null array of the given type with a length exactly equal to the given size.
- getExact(int, Class<T>) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruArrayPool
- getException() - Method in class com.bumptech.glide.util.ExceptionCatchingInputStream
-
Deprecated.
- getException() - Method in class com.bumptech.glide.util.ExceptionPassthroughInputStream
- getExifOrientationDegrees(int) - Static method in class com.bumptech.glide.load.resource.bitmap.TransformationUtils
-
Get the # of degrees an image must be rotated to match the given exif orientation.
- getExperiments() - Method in class com.bumptech.glide.GlideContext
- getFactory() - Static method in class com.bumptech.glide.request.transition.NoTransition
-
Returns an instance of a factory that produces
NoTransitions. - getFallbackDrawable() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getFallbackId() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getFirstFrame() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- getFrameCount() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- getFrameIndex() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
-
Returns the current frame index in the range 0..
GifDrawable.getFrameCount()- 1, or -1 if no frame is displayed. - getFrameTransformation() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- getHeaders() - Method in class com.bumptech.glide.load.model.GlideUrl
-
Returns a non-null
Mapcontaining headers. - getHeaders() - Method in interface com.bumptech.glide.load.model.Headers
-
Returns a non-null map containing a set of headers to apply to an http request.
- getHeaders() - Method in class com.bumptech.glide.load.model.LazyHeaders
- getHeaders(Model, int, int, Options) - Method in class com.bumptech.glide.load.model.stream.BaseGlideUrlLoader
-
Returns the headers for the given model and dimensions as a map of strings to sets of strings, or null if no headers should be added.
- getImageHeaderParsers() - Method in class com.bumptech.glide.Registry
- getInstance() - Static method in class com.bumptech.glide.load.model.UnitModelLoader.Factory
- getInstance() - Static method in class com.bumptech.glide.load.model.UnitModelLoader
- getInstance() - Static method in class com.bumptech.glide.load.resource.bitmap.HardwareConfigState
- getIntrinsicHeight() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- getIntrinsicHeight() - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- getIntrinsicWidth() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- getIntrinsicWidth() - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- getLoadPath(Class<Data>, Class<TResource>, Class<Transcode>) - Method in class com.bumptech.glide.Registry
- getLock() - Method in interface com.bumptech.glide.request.ResourceCallback
-
Returns the lock to use when notifying individual requests.
- getLock() - Method in class com.bumptech.glide.request.SingleRequest
- getLogLevel() - Method in class com.bumptech.glide.GlideContext
- getLogTime() - Static method in class com.bumptech.glide.util.LogTime
-
Returns the current time in either millis or nanos depending on the api level to be used with
LogTime.getElapsedMillis(long). - getMaxSize() - Method in interface com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool
-
Returns the current maximum size of the pool in bytes.
- getMaxSize() - Method in class com.bumptech.glide.load.engine.bitmap_recycle.BitmapPoolAdapter
- getMaxSize() - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool
- getMaxSize() - Method in interface com.bumptech.glide.load.engine.cache.MemoryCache
-
Returns the current maximum size in bytes of the cache.
- getMaxSize() - Method in class com.bumptech.glide.load.engine.cache.MemoryCacheAdapter
- getMaxSize() - Method in class com.bumptech.glide.util.LruCache
-
Returns the current maximum size of the cache in bytes.
- getMemoryCacheSize() - Method in class com.bumptech.glide.load.engine.cache.MemorySizeCalculator
-
Returns the recommended memory cache size for the device it is run on in bytes.
- getMessage() - Method in exception com.bumptech.glide.load.engine.GlideException
- getMinimumHeight() - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- getMinimumWidth() - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- getModelLoaders(A) - Method in class com.bumptech.glide.load.model.ModelLoaderRegistry
- getModelLoaders(Model) - Method in class com.bumptech.glide.Registry
- getMultiplier() - Method in enum class com.bumptech.glide.MemoryCategory
-
Returns the multiplier that should be applied to the initial maximum size of Glide's memory cache and bitmap pool.
- getOnlyRetrieveFromCache() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getOpacity() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- getOpacity() - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- getOptions() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getOrientation(InputStream, ArrayPool) - Method in interface com.bumptech.glide.load.ImageHeaderParser
-
Parse the orientation from the image header.
- getOrientation(InputStream, ArrayPool) - Method in class com.bumptech.glide.load.resource.bitmap.DefaultImageHeaderParser
- getOrientation(InputStream, ArrayPool) - Method in class com.bumptech.glide.load.resource.bitmap.ExifInterfaceImageHeaderParser
- getOrientation(ByteBuffer, ArrayPool) - Method in interface com.bumptech.glide.load.ImageHeaderParser
- getOrientation(ByteBuffer, ArrayPool) - Method in class com.bumptech.glide.load.resource.bitmap.DefaultImageHeaderParser
- getOrientation(ByteBuffer, ArrayPool) - Method in class com.bumptech.glide.load.resource.bitmap.ExifInterfaceImageHeaderParser
- getOrientation(List<ImageHeaderParser>, ParcelFileDescriptorRewinder, ArrayPool) - Static method in class com.bumptech.glide.load.ImageHeaderParserUtils
- getOrientation(List<ImageHeaderParser>, InputStream, ArrayPool) - Static method in class com.bumptech.glide.load.ImageHeaderParserUtils
-
Returns the orientation for the given InputStream.
- getOrientation(List<ImageHeaderParser>, ByteBuffer, ArrayPool) - Static method in class com.bumptech.glide.load.ImageHeaderParserUtils
-
Returns the result from the first of
parsersthat returns something other thanImageHeaderParser.UNKNOWN_ORIENTATION. - getOrigin() - Method in exception com.bumptech.glide.load.engine.GlideException
-
Returns an
Exceptionwith a stack trace that includes where the request originated (if previously set viaGlideException.setOrigin(Exception)) - getOverrideHeight() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getOverrideWidth() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getPadding(Rect) - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- getParsers() - Method in class com.bumptech.glide.provider.ImageHeaderParserRegistry
- getPhotoCacheDir(Context) - Static method in class com.bumptech.glide.Glide
-
Returns a directory with a default name in the private cache directory of the application to use to store retrieved media and thumbnails.
- getPhotoCacheDir(Context, String) - Static method in class com.bumptech.glide.Glide
-
Returns a directory with the given name in the private cache directory of the application to use to store retrieved media and thumbnails.
- getPlaceholderDrawable() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getPlaceholderId() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getPreloadItems(int) - Method in interface com.bumptech.glide.ListPreloader.PreloadModelProvider
-
Returns a
Listof models that need to be loaded for the list to display adapter items in positions betweenstartandend. - getPreloadRequestBuilder(U) - Method in interface com.bumptech.glide.ListPreloader.PreloadModelProvider
-
Returns a
RequestBuilderfor a given item on whichRequestBuilder.load(Object)} has been called ornullif no valid load can be started. - getPreloadSize(T, int, int) - Method in interface com.bumptech.glide.ListPreloader.PreloadSizeProvider
-
Returns the size of the view in the list where the resources will be displayed in pixels in the format [x, y], or
nullif no size is currently available. - getPreloadSize(T, int, int) - Method in class com.bumptech.glide.util.FixedPreloadSizeProvider
- getPreloadSize(T, int, int) - Method in class com.bumptech.glide.util.ViewPreloadSizeProvider
- getPriority() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getRegisteredResourceClasses(Class<Model>, Class<TResource>, Class<Transcode>) - Method in class com.bumptech.glide.Registry
- getRegistry() - Method in class com.bumptech.glide.Glide
- getRegistry() - Method in class com.bumptech.glide.GlideContext
- getRequest() - Method in class com.bumptech.glide.request.RequestFutureTarget
- getRequest() - Method in class com.bumptech.glide.request.target.BaseTarget
-
Deprecated.
- getRequest() - Method in class com.bumptech.glide.request.target.CustomTarget
- getRequest() - Method in class com.bumptech.glide.request.target.CustomViewTarget
-
Returns any stored request using
View.getTag(). - getRequest() - Method in interface com.bumptech.glide.request.target.Target
-
Retrieves the current request for this target, should not be called outside of Glide.
- getRequest() - Method in class com.bumptech.glide.request.target.ViewTarget
-
Deprecated.Returns any stored request using
View.getTag(). - getRequestManager() - Method in class com.bumptech.glide.manager.RequestManagerFragment
-
Deprecated.This always returns null. See the class comment for deprecation details.
- getRequestManager() - Method in class com.bumptech.glide.manager.SupportRequestManagerFragment
-
Deprecated.Always returns
null. See the class deprecation method for details. - getRequestManagerRetriever() - Method in class com.bumptech.glide.Glide
-
Internal method.
- getRequestManagerTreeNode() - Method in class com.bumptech.glide.manager.RequestManagerFragment
-
Deprecated.This always returns an empty tree node. See the class comment for deprecation details.
- getRequestManagerTreeNode() - Method in class com.bumptech.glide.manager.SupportRequestManagerFragment
-
Deprecated.Always returns
EmptyRequestManagerTreeNode. See the class deprecation method for details. - getResourceClass() - Method in interface com.bumptech.glide.load.engine.Resource
-
Returns the
Classof the wrapped resource. - getResourceClass() - Method in class com.bumptech.glide.load.resource.bitmap.BitmapDrawableResource
- getResourceClass() - Method in class com.bumptech.glide.load.resource.bitmap.BitmapResource
- getResourceClass() - Method in class com.bumptech.glide.load.resource.bitmap.LazyBitmapDrawableResource
- getResourceClass() - Method in class com.bumptech.glide.load.resource.bytes.BytesResource
- getResourceClass() - Method in class com.bumptech.glide.load.resource.gif.GifDrawableResource
- getResourceClass() - Method in class com.bumptech.glide.load.resource.SimpleResource
- getResourceClass() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getResourceClasses(Class<T>, Class<R>) - Method in class com.bumptech.glide.provider.ResourceDecoderRegistry
- getResultEncoder(Resource<X>) - Method in class com.bumptech.glide.Registry
- getRewinder(X) - Method in class com.bumptech.glide.Registry
- getRoot() - Method in class com.bumptech.glide.request.ErrorRequestCoordinator
- getRoot() - Method in interface com.bumptech.glide.request.RequestCoordinator
-
Returns the top most parent
RequestCoordinator. - getRoot() - Method in class com.bumptech.glide.request.ThumbnailRequestCoordinator
- getRootCauses() - Method in exception com.bumptech.glide.load.engine.GlideException
-
Returns the list of root causes that are the leaf nodes of all children of this exception.
- getSafeKey(Key) - Method in class com.bumptech.glide.load.engine.cache.SafeKeyGenerator
- getSampleSizeRounding(int, int, int, int) - Method in class com.bumptech.glide.load.resource.bitmap.DownsampleStrategy
-
Returns a non-null
DownsampleStrategy.SampleSizeRoundingto use to resolve rounding errors and conflicts between scaling for the width and the height of the image. - getScaleFactor(int, int, int, int) - Method in class com.bumptech.glide.load.resource.bitmap.DownsampleStrategy
-
Returns a float (0, +infinity) indicating a scale factor to apply to the source width and height when displayed in the requested width and height.
- getSignature() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getSize() - Method in interface com.bumptech.glide.load.engine.Resource
-
Returns the size in bytes of the wrapped resource to use to determine how much of the memory cache this resource uses.
- getSize() - Method in class com.bumptech.glide.load.resource.bitmap.BitmapDrawableResource
- getSize() - Method in class com.bumptech.glide.load.resource.bitmap.BitmapResource
- getSize() - Method in class com.bumptech.glide.load.resource.bitmap.LazyBitmapDrawableResource
- getSize() - Method in class com.bumptech.glide.load.resource.bytes.BytesResource
- getSize() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- getSize() - Method in class com.bumptech.glide.load.resource.gif.GifDrawableResource
- getSize() - Method in class com.bumptech.glide.load.resource.SimpleResource
- getSize(Bitmap) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.SizeConfigStrategy
- getSize(Bitmap) - Static method in class com.bumptech.glide.util.Util
-
Deprecated.Use
Util.getBitmapByteSize(android.graphics.Bitmap)instead. Scheduled to be removed in Glide 4.0. - getSize(Resource<?>) - Method in class com.bumptech.glide.load.engine.cache.LruResourceCache
- getSize(SizeReadyCallback) - Method in class com.bumptech.glide.request.RequestFutureTarget
-
A callback that should never be invoked directly.
- getSize(SizeReadyCallback) - Method in class com.bumptech.glide.request.target.CustomTarget
- getSize(SizeReadyCallback) - Method in class com.bumptech.glide.request.target.CustomViewTarget
-
Determines the size of the view by first checking
View.getWidth()andView.getHeight(). - getSize(SizeReadyCallback) - Method in class com.bumptech.glide.request.target.SimpleTarget
-
Deprecated.Immediately calls the given callback with the sizes given in the constructor.
- getSize(SizeReadyCallback) - Method in interface com.bumptech.glide.request.target.Target
-
A method to retrieve the size of this target.
- getSize(SizeReadyCallback) - Method in class com.bumptech.glide.request.target.ViewTarget
-
Deprecated.Determines the size of the view by first checking
View.getWidth()andView.getHeight(). - getSize(Y) - Method in class com.bumptech.glide.util.LruCache
-
Returns the size of a given item, defaulting to one.
- getSizeMultiplier() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getSnapshot(Collection<T>) - Static method in class com.bumptech.glide.util.Util
-
Returns a copy of the given list that is safe to iterate over and perform actions that may modify the original list.
- getSourceEncoder(X) - Method in class com.bumptech.glide.Registry
- getStatusCode() - Method in exception com.bumptech.glide.load.HttpException
-
Returns the http status code, or
HttpException.UNKNOWNif the request failed without providing a status code. - getTag() - Method in class com.bumptech.glide.load.engine.bitmap_recycle.ByteArrayAdapter
- getTag() - Method in class com.bumptech.glide.load.engine.bitmap_recycle.IntegerArrayAdapter
- getTheme() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getTranscodeClasses(Class<Z>, Class<R>) - Method in class com.bumptech.glide.load.resource.transcode.TranscoderRegistry
- getTransformations() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getType(InputStream) - Method in interface com.bumptech.glide.load.ImageHeaderParser
- getType(InputStream) - Method in class com.bumptech.glide.load.resource.bitmap.DefaultImageHeaderParser
- getType(InputStream) - Method in class com.bumptech.glide.load.resource.bitmap.ExifInterfaceImageHeaderParser
- getType(ByteBuffer) - Method in interface com.bumptech.glide.load.ImageHeaderParser
- getType(ByteBuffer) - Method in class com.bumptech.glide.load.resource.bitmap.DefaultImageHeaderParser
- getType(ByteBuffer) - Method in class com.bumptech.glide.load.resource.bitmap.ExifInterfaceImageHeaderParser
- getType(List<ImageHeaderParser>, ParcelFileDescriptorRewinder, ArrayPool) - Static method in class com.bumptech.glide.load.ImageHeaderParserUtils
- getType(List<ImageHeaderParser>, InputStream, ArrayPool) - Static method in class com.bumptech.glide.load.ImageHeaderParserUtils
-
Returns the ImageType for the given InputStream.
- getType(List<ImageHeaderParser>, ByteBuffer) - Static method in class com.bumptech.glide.load.ImageHeaderParserUtils
-
Returns the ImageType for the given ByteBuffer.
- getUrl(Model, int, int, Options) - Method in class com.bumptech.glide.load.model.stream.BaseGlideUrlLoader
-
Returns a valid url http:// or https:// for the given model and dimensions as a string.
- getUseAnimationPool() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getUseUnlimitedSourceGeneratorsPool() - Method in class com.bumptech.glide.request.BaseRequestOptions
- getVerifier() - Method in interface com.bumptech.glide.util.pool.FactoryPools.Poolable
- getView() - Method in class com.bumptech.glide.request.target.CustomViewTarget
-
Returns the wrapped
View. - getView() - Method in class com.bumptech.glide.request.target.ViewTarget
-
Deprecated.Returns the wrapped
View. - getView() - Method in interface com.bumptech.glide.request.transition.Transition.ViewAdapter
-
Returns the wrapped
View. - GIF - Enum constant in enum class com.bumptech.glide.load.ImageHeaderParser.ImageType
- GifBitmapProvider - Class in com.bumptech.glide.load.resource.gif
-
Implements
GifDecoder.BitmapProviderby wrapping Glide'sBitmapPool. - GifBitmapProvider(BitmapPool) - Constructor for class com.bumptech.glide.load.resource.gif.GifBitmapProvider
-
Constructs an instance without a shared byte array pool.
- GifBitmapProvider(BitmapPool, ArrayPool) - Constructor for class com.bumptech.glide.load.resource.gif.GifBitmapProvider
-
Constructs an instance with a shared array pool.
- GifDrawable - Class in com.bumptech.glide.load.resource.gif
-
An animated
Drawablethat plays the frames of an animated GIF. - GifDrawable(Context, GifDecoder, BitmapPool, Transformation<Bitmap>, int, int, Bitmap) - Constructor for class com.bumptech.glide.load.resource.gif.GifDrawable
- GifDrawable(Context, GifDecoder, Transformation<Bitmap>, int, int, Bitmap) - Constructor for class com.bumptech.glide.load.resource.gif.GifDrawable
-
Constructor for GifDrawable.
- GifDrawableBytesTranscoder - Class in com.bumptech.glide.load.resource.transcode
-
An
ResourceTranscoderthat convertsGifDrawableinto bytes by obtaining the original bytes of the GIF from theGifDrawable. - GifDrawableBytesTranscoder() - Constructor for class com.bumptech.glide.load.resource.transcode.GifDrawableBytesTranscoder
- GifDrawableEncoder - Class in com.bumptech.glide.load.resource.gif
-
Writes the original bytes of a
GifDrawableto anOutputStream. - GifDrawableEncoder() - Constructor for class com.bumptech.glide.load.resource.gif.GifDrawableEncoder
- GifDrawableResource - Class in com.bumptech.glide.load.resource.gif
-
A resource wrapping an
GifDrawable. - GifDrawableResource(GifDrawable) - Constructor for class com.bumptech.glide.load.resource.gif.GifDrawableResource
- GifDrawableTransformation - Class in com.bumptech.glide.load.resource.gif
-
An
Transformationthat wraps a transformation for aBitmapand can apply it to every frame of anyGifDrawable. - GifDrawableTransformation(Transformation<Bitmap>) - Constructor for class com.bumptech.glide.load.resource.gif.GifDrawableTransformation
- GifFrameResourceDecoder - Class in com.bumptech.glide.load.resource.gif
-
Decodes
Bitmaps fromGifDecoders representing a particular frame of a particular GIF image. - GifFrameResourceDecoder(BitmapPool) - Constructor for class com.bumptech.glide.load.resource.gif.GifFrameResourceDecoder
- GifOptions - Class in com.bumptech.glide.load.resource.gif
-
Options related to decoding GIFs.
- glide - Variable in class com.bumptech.glide.RequestManager
- Glide - Class in com.bumptech.glide
-
A singleton to present a simple static interface for building requests with
RequestBuilderand maintaining anEngine,BitmapPool,DiskCacheandMemoryCache. - Glide.RequestOptionsFactory - Interface in com.bumptech.glide
-
Creates a new instance of
RequestOptions. - GlideBuilder - Class in com.bumptech.glide
-
A builder class for setting default structural classes for Glide to use.
- GlideBuilder() - Constructor for class com.bumptech.glide.GlideBuilder
- GlideBuilder.LogRequestOrigins - Class in com.bumptech.glide
- GlideContext - Class in com.bumptech.glide
-
Global context for all loads in Glide containing and exposing the various registries and classes required to load resources.
- GlideContext(Context, ArrayPool, GlideSuppliers.GlideSupplier<Registry>, ImageViewTargetFactory, Glide.RequestOptionsFactory, Map<Class<?>, TransitionOptions<?, ?>>, List<RequestListener<Object>>, Engine, GlideExperiments, int) - Constructor for class com.bumptech.glide.GlideContext
- GlideException - Exception in com.bumptech.glide.load.engine
-
An exception with zero or more causes indicating why a load in Glide failed.
- GlideException(String) - Constructor for exception com.bumptech.glide.load.engine.GlideException
- GlideException(String, Throwable) - Constructor for exception com.bumptech.glide.load.engine.GlideException
- GlideException(String, List<Throwable>) - Constructor for exception com.bumptech.glide.load.engine.GlideException
- GlideExecutor - Class in com.bumptech.glide.load.engine.executor
-
A prioritized
ThreadPoolExecutorfor running jobs in Glide. - GlideExecutor.Builder - Class in com.bumptech.glide.load.engine.executor
-
A builder for
GlideExecutors. - GlideExecutor.UncaughtThrowableStrategy - Interface in com.bumptech.glide.load.engine.executor
-
A strategy for handling unexpected and uncaught
Throwables thrown by futures run on the pool. - GlideExperiments - Class in com.bumptech.glide
-
Keeps track of a set of Experimental features that may be enabled in Glide, simplifying the process of adding and removing them.
- GlideModule - Interface in com.bumptech.glide.module
-
Deprecated.Libraries should use
LibraryGlideModuleand Applications should useAppGlideModule. - GlideSuppliers - Class in com.bumptech.glide.util
-
Similar to
com.google.common.base.Suppliers, but named to reduce import confusion. - GlideSuppliers.GlideSupplier<T> - Interface in com.bumptech.glide.util
-
Produces a non-null instance of
T. - GlideTrace - Class in com.bumptech.glide.util.pool
-
Systracing utilities for Glide.
- GlideUrl - Class in com.bumptech.glide.load.model
-
A wrapper for strings representing http/https URLs responsible for ensuring URLs are properly escaped and avoiding unnecessary URL instantiations for loaders that require only string urls rather than URL objects.
- GlideUrl(String) - Constructor for class com.bumptech.glide.load.model.GlideUrl
- GlideUrl(String, Headers) - Constructor for class com.bumptech.glide.load.model.GlideUrl
- GlideUrl(URL) - Constructor for class com.bumptech.glide.load.model.GlideUrl
- GlideUrl(URL, Headers) - Constructor for class com.bumptech.glide.load.model.GlideUrl
- GranularRoundedCorners - Class in com.bumptech.glide.load.resource.bitmap
-
A
BitmapTransformationwhich has a different radius for each corner of a bitmap. - GranularRoundedCorners(float, float, float, float) - Constructor for class com.bumptech.glide.load.resource.bitmap.GranularRoundedCorners
-
Provide the radii to round the corners of the bitmap.
H
- handle(Throwable) - Method in interface com.bumptech.glide.load.engine.executor.GlideExecutor.UncaughtThrowableStrategy
- handleMessage(Message) - Method in class com.bumptech.glide.manager.RequestManagerRetriever
-
Deprecated.This method is no longer called by Glide or provides any functionality and it will be removed in the future. Retained for now to preserve backwards compatibility.
- handles(byte[]) - Method in class com.bumptech.glide.load.model.ByteArrayLoader
- handles(Bitmap, Options) - Method in class com.bumptech.glide.load.resource.bitmap.UnitBitmapDecoder
- handles(Drawable, Options) - Method in class com.bumptech.glide.load.resource.drawable.UnitDrawableDecoder
- handles(ImageDecoder.Source, Options) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapImageDecoderResourceDecoder
- handles(Uri) - Method in class com.bumptech.glide.load.model.AssetUriLoader
- handles(Uri) - Method in class com.bumptech.glide.load.model.MediaStoreFileLoader
- handles(Uri) - Method in class com.bumptech.glide.load.model.ResourceUriLoader
- handles(Uri) - Method in class com.bumptech.glide.load.model.stream.MediaStoreImageThumbLoader
- handles(Uri) - Method in class com.bumptech.glide.load.model.stream.MediaStoreVideoThumbLoader
- handles(Uri) - Method in class com.bumptech.glide.load.model.stream.QMediaStoreUriLoader
- handles(Uri) - Method in class com.bumptech.glide.load.model.UriLoader
- handles(Uri) - Method in class com.bumptech.glide.load.model.UrlUriLoader
- handles(Uri, Options) - Method in class com.bumptech.glide.load.resource.bitmap.ResourceBitmapDecoder
- handles(Uri, Options) - Method in class com.bumptech.glide.load.resource.drawable.ResourceDrawableDecoder
- handles(ParcelFileDescriptor) - Method in class com.bumptech.glide.load.resource.bitmap.Downsampler
- handles(ParcelFileDescriptor, Options) - Method in class com.bumptech.glide.load.resource.bitmap.ParcelFileDescriptorBitmapDecoder
- handles(GifDecoder, Options) - Method in class com.bumptech.glide.load.resource.gif.GifFrameResourceDecoder
- handles(GlideUrl) - Method in class com.bumptech.glide.load.model.stream.HttpGlideUrlLoader
- handles(DataType, Options) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapDrawableDecoder
- handles(File) - Method in class com.bumptech.glide.load.model.ByteBufferFileLoader
- handles(File) - Method in class com.bumptech.glide.load.model.FileLoader
- handles(File, Options) - Method in class com.bumptech.glide.load.resource.file.FileDecoder
- handles(InputStream) - Method in class com.bumptech.glide.load.resource.bitmap.Downsampler
- handles(InputStream, Options) - Method in class com.bumptech.glide.load.resource.bitmap.InputStreamBitmapImageDecoderResourceDecoder
- handles(InputStream, Options) - Method in class com.bumptech.glide.load.resource.bitmap.StreamBitmapDecoder
- handles(InputStream, Options) - Method in class com.bumptech.glide.load.resource.gif.StreamGifDecoder
- handles(Integer) - Method in class com.bumptech.glide.load.model.DirectResourceLoader
- handles(Integer) - Method in class com.bumptech.glide.load.model.ResourceLoader
- handles(String) - Method in class com.bumptech.glide.load.model.StringLoader
- handles(URL) - Method in class com.bumptech.glide.load.model.stream.UrlLoader
- handles(ByteBuffer) - Method in class com.bumptech.glide.load.resource.bitmap.Downsampler
- handles(ByteBuffer, Options) - Method in class com.bumptech.glide.load.resource.bitmap.ByteBufferBitmapDecoder
- handles(ByteBuffer, Options) - Method in class com.bumptech.glide.load.resource.bitmap.ByteBufferBitmapImageDecoderResourceDecoder
- handles(ByteBuffer, Options) - Method in class com.bumptech.glide.load.resource.gif.ByteBufferGifDecoder
- handles(Model) - Method in class com.bumptech.glide.load.model.DataUrlLoader
- handles(Model) - Method in interface com.bumptech.glide.load.model.ModelLoader
-
Returns true if the given model is a of a recognized type that this loader can probably load.
- handles(Model) - Method in class com.bumptech.glide.load.model.UnitModelLoader
- handles(T, Options) - Method in class com.bumptech.glide.load.resource.bitmap.VideoDecoder
- handles(T, Options) - Method in interface com.bumptech.glide.load.ResourceDecoder
-
Returns
trueif this decoder is capable of decoding the given source with the given options, andfalseotherwise. - HARDWARE_BITMAPS_SUPPORTED - Static variable in class com.bumptech.glide.load.resource.bitmap.HardwareConfigState
-
Support for the hardware bitmap config was added in Android O.
- HardwareConfigState - Class in com.bumptech.glide.load.resource.bitmap
-
State and constants for interacting with
Bitmap.Config.HARDWAREon Android O+. - hasAlpha() - Method in enum class com.bumptech.glide.load.ImageHeaderParser.ImageType
- hashCode() - Method in class com.bumptech.glide.GenericTransitionOptions
- hashCode() - Method in class com.bumptech.glide.load.engine.prefill.PreFillType
- hashCode() - Method in interface com.bumptech.glide.load.Key
-
For caching to work correctly, implementations must implement this method and
Key.equals(Object). - hashCode() - Method in class com.bumptech.glide.load.model.GlideUrl
- hashCode() - Method in class com.bumptech.glide.load.model.LazyHeaders
- hashCode() - Method in class com.bumptech.glide.load.MultiTransformation
- hashCode() - Method in class com.bumptech.glide.load.Option
- hashCode() - Method in class com.bumptech.glide.load.Options
- hashCode() - Method in class com.bumptech.glide.load.resource.bitmap.BitmapDrawableTransformation
-
Deprecated.
- hashCode() - Method in class com.bumptech.glide.load.resource.bitmap.BitmapTransitionOptions
- hashCode() - Method in class com.bumptech.glide.load.resource.bitmap.CenterCrop
- hashCode() - Method in class com.bumptech.glide.load.resource.bitmap.CenterInside
- hashCode() - Method in class com.bumptech.glide.load.resource.bitmap.CircleCrop
- hashCode() - Method in class com.bumptech.glide.load.resource.bitmap.DrawableTransformation
- hashCode() - Method in class com.bumptech.glide.load.resource.bitmap.FitCenter
- hashCode() - Method in class com.bumptech.glide.load.resource.bitmap.GranularRoundedCorners
- hashCode() - Method in class com.bumptech.glide.load.resource.bitmap.Rotate
- hashCode() - Method in class com.bumptech.glide.load.resource.bitmap.RoundedCorners
- hashCode() - Method in class com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
- hashCode() - Method in class com.bumptech.glide.load.resource.gif.GifDrawableTransformation
- hashCode() - Method in class com.bumptech.glide.request.BaseRequestOptions
- hashCode() - Method in class com.bumptech.glide.request.RequestOptions
- hashCode() - Method in class com.bumptech.glide.RequestBuilder
- hashCode() - Method in class com.bumptech.glide.signature.AndroidResourceSignature
- hashCode() - Method in class com.bumptech.glide.signature.MediaStoreSignature
- hashCode() - Method in class com.bumptech.glide.signature.ObjectKey
- hashCode() - Method in class com.bumptech.glide.TransitionOptions
- hashCode() - Method in class com.bumptech.glide.util.CachedHashCodeArrayMap
- hashCode() - Method in class com.bumptech.glide.util.MultiClassKey
- hashCode(boolean) - Static method in class com.bumptech.glide.util.Util
- hashCode(boolean, int) - Static method in class com.bumptech.glide.util.Util
- hashCode(float) - Static method in class com.bumptech.glide.util.Util
- hashCode(float, int) - Static method in class com.bumptech.glide.util.Util
- hashCode(int) - Static method in class com.bumptech.glide.util.Util
- hashCode(int, int) - Static method in class com.bumptech.glide.util.Util
- hashCode(Object, int) - Static method in class com.bumptech.glide.util.Util
- Headers - Interface in com.bumptech.glide.load.model
-
An interface for a wrapper for a set of headers to be included in a Glide request.
- HIGH - Enum constant in enum class com.bumptech.glide.MemoryCategory
-
Tells Glide's memory cache and bitmap pool to use at most one and a half times their initial maximum size.
- HIGH - Enum constant in enum class com.bumptech.glide.Priority
- hitCount() - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool
-
Returns the number of cache hits for bitmaps in the pool.
- HttpException - Exception in com.bumptech.glide.load
-
Thrown when an http request fails.
- HttpException(int) - Constructor for exception com.bumptech.glide.load.HttpException
- HttpException(String) - Constructor for exception com.bumptech.glide.load.HttpException
-
Deprecated.You should always include a status code, default to
HttpException.UNKNOWNif you can't come up with a reasonable one. This method will be removed in a future version. - HttpException(String, int) - Constructor for exception com.bumptech.glide.load.HttpException
- HttpException(String, int, Throwable) - Constructor for exception com.bumptech.glide.load.HttpException
- HttpGlideUrlLoader - Class in com.bumptech.glide.load.model.stream
- HttpGlideUrlLoader() - Constructor for class com.bumptech.glide.load.model.stream.HttpGlideUrlLoader
- HttpGlideUrlLoader(ModelCache<GlideUrl, GlideUrl>) - Constructor for class com.bumptech.glide.load.model.stream.HttpGlideUrlLoader
- HttpGlideUrlLoader.Factory - Class in com.bumptech.glide.load.model.stream
-
The default factory for
HttpGlideUrlLoaders. - HttpUriLoader - Class in com.bumptech.glide.load.model.stream
-
Deprecated.Use
UrlUriLoaderinstead - HttpUriLoader(ModelLoader<GlideUrl, InputStream>) - Constructor for class com.bumptech.glide.load.model.stream.HttpUriLoader
-
Deprecated.
- HttpUriLoader.Factory - Class in com.bumptech.glide.load.model.stream
-
Deprecated.Use
UrlUriLoader.StreamFactoryinstead - HttpUrlFetcher - Class in com.bumptech.glide.load.data
-
A DataFetcher that retrieves an
InputStreamfor a Url. - HttpUrlFetcher(GlideUrl, int) - Constructor for class com.bumptech.glide.load.data.HttpUrlFetcher
I
- IGNORE - Static variable in interface com.bumptech.glide.load.engine.executor.GlideExecutor.UncaughtThrowableStrategy
-
Silently catches and ignores the uncaught
Throwables. - ImageHeaderParser - Interface in com.bumptech.glide.load
-
Interface for the ImageHeaderParser.
- ImageHeaderParser.ImageType - Enum Class in com.bumptech.glide.load
-
The format of the image data including whether or not the image may include transparent pixels.
- ImageHeaderParserRegistry - Class in com.bumptech.glide.provider
-
Contains an unordered list of
ImageHeaderParsers capable of parsing image headers. - ImageHeaderParserRegistry() - Constructor for class com.bumptech.glide.provider.ImageHeaderParserRegistry
- ImageHeaderParserUtils - Class in com.bumptech.glide.load
-
Utilities for the ImageHeaderParser.
- ImageViewTarget<Z> - Class in com.bumptech.glide.request.target
- ImageViewTarget(ImageView) - Constructor for class com.bumptech.glide.request.target.ImageViewTarget
- ImageViewTarget(ImageView, boolean) - Constructor for class com.bumptech.glide.request.target.ImageViewTarget
-
Deprecated.Use
ViewTarget.waitForLayout()instead. - ImageViewTargetFactory - Class in com.bumptech.glide.request.target
- ImageViewTargetFactory() - Constructor for class com.bumptech.glide.request.target.ImageViewTargetFactory
- IMMEDIATE - Enum constant in enum class com.bumptech.glide.Priority
- init(Context, GlideBuilder) - Static method in class com.bumptech.glide.Glide
- init(Glide) - Static method in class com.bumptech.glide.Glide
-
Deprecated.Use
Glide.init(Context, GlideBuilder)to get a singleton compatible with Glide's generated API.This method will be removed in a future version of Glide.
- Initializable - Interface in com.bumptech.glide.load.engine
-
A callback allowing a resource to do some optimization on a background thread before being returned to the ui.
- initialize() - Method in interface com.bumptech.glide.load.engine.Initializable
-
Called on a background thread so the
Resourcecan do some eager initialization. - initialize() - Method in class com.bumptech.glide.load.resource.bitmap.BitmapDrawableResource
- initialize() - Method in class com.bumptech.glide.load.resource.bitmap.BitmapResource
- initialize() - Method in class com.bumptech.glide.load.resource.bitmap.LazyBitmapDrawableResource
- initialize() - Method in class com.bumptech.glide.load.resource.drawable.DrawableResource
- initialize() - Method in class com.bumptech.glide.load.resource.gif.GifDrawableResource
- InputStreamBitmapImageDecoderResourceDecoder - Class in com.bumptech.glide.load.resource.bitmap
-
InputStreamspecific implementation ofBitmapImageDecoderResourceDecoder. - InputStreamBitmapImageDecoderResourceDecoder() - Constructor for class com.bumptech.glide.load.resource.bitmap.InputStreamBitmapImageDecoderResourceDecoder
- inputStreamFactory(Context) - Static method in class com.bumptech.glide.load.model.DirectResourceLoader
- InputStreamFactory(Context) - Constructor for class com.bumptech.glide.load.model.stream.QMediaStoreUriLoader.InputStreamFactory
- InputStreamRewinder - Class in com.bumptech.glide.load.data
-
Implementation for
InputStreams that rewinds streams by wrapping them in a buffered stream. - InputStreamRewinder(InputStream, ArrayPool) - Constructor for class com.bumptech.glide.load.data.InputStreamRewinder
- InputStreamRewinder.Factory - Class in com.bumptech.glide.load.data
-
Factory for producing
InputStreamRewinders fromInputStreams. - IntegerArrayAdapter - Class in com.bumptech.glide.load.engine.bitmap_recycle
-
Adapter for handling primitive int arrays.
- IntegerArrayAdapter() - Constructor for class com.bumptech.glide.load.engine.bitmap_recycle.IntegerArrayAdapter
- InternalCacheDiskCacheFactory - Class in com.bumptech.glide.load.engine.cache
-
Creates an
DiskLruCachebased disk cache in the internal disk cache directory. - InternalCacheDiskCacheFactory(Context) - Constructor for class com.bumptech.glide.load.engine.cache.InternalCacheDiskCacheFactory
- InternalCacheDiskCacheFactory(Context, long) - Constructor for class com.bumptech.glide.load.engine.cache.InternalCacheDiskCacheFactory
- InternalCacheDiskCacheFactory(Context, String, long) - Constructor for class com.bumptech.glide.load.engine.cache.InternalCacheDiskCacheFactory
- into(int, int) - Method in class com.bumptech.glide.RequestBuilder
-
Deprecated.Use
RequestBuilder.submit(int, int)instead. - into(ImageView) - Method in class com.bumptech.glide.RequestBuilder
-
Sets the
ImageViewthe resource will be loaded into, cancels any existing loads into the view, and frees any resources Glide may have previously loaded into the view so they may be reused. - into(Y) - Method in class com.bumptech.glide.RequestBuilder
-
Set the target the resource will be loaded into.
- invalidateSelf() - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- invokeAll(Collection<? extends Callable<T>>) - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor
- invokeAny(Collection<? extends Callable<T>>) - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor
- isAndroidPickerUri(Uri) - Static method in class com.bumptech.glide.load.data.mediastore.MediaStoreUtil
- isAnyResourceSet() - Method in class com.bumptech.glide.request.ErrorRequestCoordinator
- isAnyResourceSet() - Method in interface com.bumptech.glide.request.Request
-
Returns true if a resource is set, even if the request is not yet complete or the primary request has failed.
- isAnyResourceSet() - Method in interface com.bumptech.glide.request.RequestCoordinator
-
Returns true if any coordinated
Requesthas successfully completed. - isAnyResourceSet() - Method in class com.bumptech.glide.request.SingleRequest
- isAnyResourceSet() - Method in class com.bumptech.glide.request.ThumbnailRequestCoordinator
- isAutoCloneEnabled() - Method in class com.bumptech.glide.request.BaseRequestOptions
- isCancelled() - Method in class com.bumptech.glide.request.RequestFutureTarget
- isCleared() - Method in class com.bumptech.glide.request.ErrorRequestCoordinator
- isCleared() - Method in interface com.bumptech.glide.request.Request
-
Returns true if the request has been cleared.
- isCleared() - Method in class com.bumptech.glide.request.SingleRequest
- isCleared() - Method in class com.bumptech.glide.request.ThumbnailRequestCoordinator
- isComplete() - Method in class com.bumptech.glide.request.ErrorRequestCoordinator
- isComplete() - Method in interface com.bumptech.glide.request.Request
-
Returns true if the request has completed successfully.
- isComplete() - Method in class com.bumptech.glide.request.SingleRequest
- isComplete() - Method in class com.bumptech.glide.request.ThumbnailRequestCoordinator
- isDataCacheable(DataSource) - Method in class com.bumptech.glide.load.engine.DiskCacheStrategy
-
Returns true if this request should cache the original unmodified data.
- isDiskCacheStrategySet() - Method in class com.bumptech.glide.request.BaseRequestOptions
- isDone() - Method in class com.bumptech.glide.request.RequestFutureTarget
- isEmptyLoadPath(LoadPath<?, ?, ?>) - Method in class com.bumptech.glide.provider.LoadPathCache
-
Returns true if the given
LoadPathis the signal object returned fromLoadPathCache.get(Class, Class, Class)that indicates that we've previously found that there are no available paths to load the requested resources andfalseotherwise. - isEnabled(Class<? extends GlideExperiments.Experiment>) - Method in class com.bumptech.glide.GlideExperiments
-
Returns
trueif the given experiment is enabled. - isEquivalentTo(BaseRequestOptions<?>) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Returns
trueif thisBaseRequestOptionsis equivalent to the givenBaseRequestOptions(has all of the same options and sizes). - isEquivalentTo(Request) - Method in class com.bumptech.glide.request.ErrorRequestCoordinator
- isEquivalentTo(Request) - Method in interface com.bumptech.glide.request.Request
- isEquivalentTo(Request) - Method in class com.bumptech.glide.request.SingleRequest
- isEquivalentTo(Request) - Method in class com.bumptech.glide.request.ThumbnailRequestCoordinator
- isEquivalentTo(Object) - Method in interface com.bumptech.glide.load.model.Model
-
Returns
trueif this model produces the same image using the same mechanism (server, authentication, source etc) as the given model. - isExifOrientationRequired(int) - Static method in class com.bumptech.glide.load.resource.bitmap.TransformationUtils
-
Returns
trueif the given exif orientation indicates that a transformation is necessary andfalseotherwise. - isHardwareConfigAllowed(int, int, boolean, boolean) - Method in class com.bumptech.glide.load.resource.bitmap.HardwareConfigState
- isInitialized() - Static method in class com.bumptech.glide.Glide
- isLocked() - Method in class com.bumptech.glide.request.BaseRequestOptions
- isManifestParsingEnabled() - Method in class com.bumptech.glide.module.AppGlideModule
-
Returns
trueif Glide should check the AndroidManifest forGlideModules. - isMediaStoreImageUri(Uri) - Static method in class com.bumptech.glide.load.data.mediastore.MediaStoreUtil
- isMediaStoreUri(Uri) - Static method in class com.bumptech.glide.load.data.mediastore.MediaStoreUtil
- isMediaStoreVideoUri(Uri) - Static method in class com.bumptech.glide.load.data.mediastore.MediaStoreUtil
- isMemoryCacheable() - Method in class com.bumptech.glide.request.BaseRequestOptions
- isOnBackgroundThread() - Static method in class com.bumptech.glide.util.Util
-
Returns
trueif called on a background thread,falseotherwise. - isOnMainThread() - Static method in class com.bumptech.glide.util.Util
-
Returns
trueif called on the main thread,falseotherwise. - isPaused() - Method in class com.bumptech.glide.manager.RequestTracker
-
Returns
trueif requests are currently paused, andfalseotherwise. - isPaused() - Method in class com.bumptech.glide.RequestManager
-
Returns true if loads for this
RequestManagerare currently paused. - isPrioritySet() - Method in class com.bumptech.glide.request.BaseRequestOptions
- isResourceCacheable(boolean, DataSource, EncodeStrategy) - Method in class com.bumptech.glide.load.engine.DiskCacheStrategy
-
Returns true if this request should cache the final transformed resource.
- isResourceEncoderAvailable(Resource<?>) - Method in class com.bumptech.glide.Registry
- isRunning() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- isRunning() - Method in class com.bumptech.glide.request.ErrorRequestCoordinator
- isRunning() - Method in interface com.bumptech.glide.request.Request
-
Returns true if this request is running and has not completed or failed.
- isRunning() - Method in class com.bumptech.glide.request.SingleRequest
- isRunning() - Method in class com.bumptech.glide.request.ThumbnailRequestCoordinator
- isShutdown() - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor
- isSkipMemoryCacheSet() - Method in class com.bumptech.glide.request.BaseRequestOptions
- isSupported() - Static method in class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder
- isTerminated() - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor
- isThumbnailSize(int, int) - Static method in class com.bumptech.glide.load.data.mediastore.MediaStoreUtil
- isTransformationAllowed() - Method in class com.bumptech.glide.request.BaseRequestOptions
- isTransformationRequired() - Method in class com.bumptech.glide.request.BaseRequestOptions
- isTransformationSet() - Method in class com.bumptech.glide.request.BaseRequestOptions
- isValidDimension(int) - Static method in class com.bumptech.glide.util.Util
- isValidDimensions(int, int) - Static method in class com.bumptech.glide.util.Util
- isValidOverride() - Method in class com.bumptech.glide.request.BaseRequestOptions
- isWebp() - Method in enum class com.bumptech.glide.load.ImageHeaderParser.ImageType
J
- JPEG - Enum constant in enum class com.bumptech.glide.load.ImageHeaderParser.ImageType
K
- Key - Interface in com.bumptech.glide.load
-
An interface that uniquely identifies some put of data.
L
- LazyBitmapDrawableResource - Class in com.bumptech.glide.load.resource.bitmap
-
Lazily allocates a
BitmapDrawablefrom a givenBitmapon the first call toLazyBitmapDrawableResource.get(). - LazyHeaderFactory - Interface in com.bumptech.glide.load.model
-
An interface for lazily creating headers that allows expensive to calculate headers (oauth for example) to be generated in the background during the first fetch.
- LazyHeaders - Class in com.bumptech.glide.load.model
-
A wrapper class for a set of headers to be included in a Glide request, allowing headers to be constructed lazily.
- LazyHeaders.Builder - Class in com.bumptech.glide.load.model
-
Adds an
LazyHeaderFactorythat will be used to construct a value for the given key* lazily on a background thread. - LibraryGlideModule - Class in com.bumptech.glide.module
-
Registers a set of components to use when initializing Glide within an app when Glide's annotation processor is used.
- LibraryGlideModule() - Constructor for class com.bumptech.glide.module.LibraryGlideModule
- Lifecycle - Interface in com.bumptech.glide.manager
-
An interface for listening to Activity/Fragment lifecycle events.
- LifecycleListener - Interface in com.bumptech.glide.manager
- listener(RequestListener<TranscodeType>) - Method in class com.bumptech.glide.RequestBuilder
-
Sets a
RequestListenerto monitor the resource load and removes all previously set listeners (either via this method or fromRequestBuilder.addListener(RequestListener). - ListPreloader<T> - Class in com.bumptech.glide
-
Loads a few resources ahead in the direction of scrolling in any
AbsListViewso that images are in the memory cache just before the corresponding view in created in the list. - ListPreloader(RequestManager, ListPreloader.PreloadModelProvider<T>, ListPreloader.PreloadSizeProvider<T>, int) - Constructor for class com.bumptech.glide.ListPreloader
-
Constructor for
ListPreloaderthat accepts interfaces for providing the dimensions of images to preload, the list of models to preload for a given position, and the request to use to load images. - ListPreloader.PreloadModelProvider<U> - Interface in com.bumptech.glide
-
An implementation of PreloadModelProvider should provide all the models that should be preloaded.
- ListPreloader.PreloadSizeProvider<T> - Interface in com.bumptech.glide
-
An implementation of PreloadSizeProvider should provide the size of the view in the list where the resources will be displayed.
- load(byte[]) - Method in class com.bumptech.glide.RequestBuilder
-
Returns a request to load the given byte array.
- load(byte[]) - Method in class com.bumptech.glide.RequestManager
-
Equivalent to calling
RequestManager.asDrawable()and thenRequestBuilder.load(byte[]). - load(Bitmap) - Method in class com.bumptech.glide.RequestBuilder
-
Returns an object to load the given
Bitmap. - load(Bitmap) - Method in class com.bumptech.glide.RequestManager
-
Equivalent to calling
RequestManager.asDrawable()and thenRequestBuilder.load(Bitmap). - load(Drawable) - Method in class com.bumptech.glide.RequestBuilder
-
Returns a request builder to load the given
Drawable. - load(Drawable) - Method in class com.bumptech.glide.RequestManager
-
Equivalent to calling
RequestManager.asDrawable()and thenRequestBuilder.load(Drawable). - load(Uri) - Method in class com.bumptech.glide.RequestBuilder
-
Returns a request builder to load the given
Uri. - load(Uri) - Method in class com.bumptech.glide.RequestManager
-
Equivalent to calling
RequestManager.asDrawable()and thenRequestBuilder.load(Uri). - load(GlideContext, Object, Key, int, int, Class<?>, Class<R>, Priority, DiskCacheStrategy, Map<Class<?>, Transformation<?>>, boolean, boolean, Options, boolean, boolean, boolean, boolean, ResourceCallback, Executor) - Method in class com.bumptech.glide.load.engine.Engine
-
Starts a load for the given arguments.
- load(DataRewinder<Data>, Options, int, int, DecodePath.DecodeCallback<ResourceType>) - Method in class com.bumptech.glide.load.engine.LoadPath
- load(File) - Method in class com.bumptech.glide.RequestBuilder
-
Returns a request builder to load the given
File. - load(File) - Method in class com.bumptech.glide.RequestManager
-
Equivalent to calling
RequestManager.asDrawable()and thenRequestBuilder.load(File). - load(Integer) - Method in class com.bumptech.glide.RequestBuilder
-
Returns a request builder that uses the
ModelLoaderFactorycurrently registered orIntegerto load the image represented by the givenIntegerresource id. - load(Integer) - Method in class com.bumptech.glide.RequestManager
-
Equivalent to calling
RequestManager.asDrawable()and thenRequestBuilder.load(Integer). - load(Object) - Method in class com.bumptech.glide.RequestBuilder
-
Sets the specific model to load data for.
- load(Object) - Method in class com.bumptech.glide.RequestManager
-
A helper method equivalent to calling
RequestManager.asDrawable()and thenRequestBuilder.load(Object)with the given model. - load(String) - Method in class com.bumptech.glide.RequestBuilder
-
Returns a request builder to load the given
String. - load(String) - Method in class com.bumptech.glide.RequestManager
-
Equivalent to calling
RequestManager.asDrawable()and thenRequestBuilder.load(String). - load(URL) - Method in class com.bumptech.glide.RequestBuilder
-
Deprecated.The
URLclass has a number of performance problems and should generally be avoided when possible. PreferRequestBuilder.load(android.net.Uri)orRequestBuilder.load(String). - load(URL) - Method in class com.bumptech.glide.RequestManager
-
Deprecated.
- loadData(Priority, DataFetcher.DataCallback<? super InputStream>) - Method in class com.bumptech.glide.load.data.HttpUrlFetcher
- loadData(Priority, DataFetcher.DataCallback<? super InputStream>) - Method in class com.bumptech.glide.load.data.mediastore.ThumbFetcher
- loadData(Priority, DataFetcher.DataCallback<? super T>) - Method in class com.bumptech.glide.load.data.AssetPathFetcher
- loadData(Priority, DataFetcher.DataCallback<? super T>) - Method in interface com.bumptech.glide.load.data.DataFetcher
-
Fetch data from which a resource can be decoded.
- loadData(Priority, DataFetcher.DataCallback<? super T>) - Method in class com.bumptech.glide.load.data.LocalUriFetcher
- LoadData(Key, DataFetcher<Data>) - Constructor for class com.bumptech.glide.load.model.ModelLoader.LoadData
- LoadData(Key, List<Key>, DataFetcher<Data>) - Constructor for class com.bumptech.glide.load.model.ModelLoader.LoadData
- LoadPath<Data,
ResourceType, Transcode> - Class in com.bumptech.glide.load.engine -
For a given
DataFetcherfor a given data class, attempts to fetch the data and then run it through one or moreDecodePaths. - LoadPath(Class<Data>, Class<ResourceType>, Class<Transcode>, List<DecodePath<Data, ResourceType, Transcode>>, Pools.Pool<List<Throwable>>) - Constructor for class com.bumptech.glide.load.engine.LoadPath
- LoadPathCache - Class in com.bumptech.glide.provider
-
Maintains a cache of data, resource, and transcode classes to available
LoadPaths capable of decoding with the requested types. - LoadPathCache() - Constructor for class com.bumptech.glide.provider.LoadPathCache
- loadResource(AssetManager, String) - Method in class com.bumptech.glide.load.data.AssetPathFetcher
-
Opens the given asset path with the given
AssetManagerand returns the concrete data type returned by the AssetManager. - loadResource(AssetManager, String) - Method in class com.bumptech.glide.load.data.FileDescriptorAssetPathFetcher
- loadResource(AssetManager, String) - Method in class com.bumptech.glide.load.data.StreamAssetPathFetcher
- loadResource(Uri, ContentResolver) - Method in class com.bumptech.glide.load.data.AssetFileDescriptorLocalUriFetcher
- loadResource(Uri, ContentResolver) - Method in class com.bumptech.glide.load.data.FileDescriptorLocalUriFetcher
- loadResource(Uri, ContentResolver) - Method in class com.bumptech.glide.load.data.LocalUriFetcher
-
Returns a concrete data type from the given
Uriusing the givenContentResolver. - loadResource(Uri, ContentResolver) - Method in class com.bumptech.glide.load.data.StreamLocalUriFetcher
- LOCAL - Enum constant in enum class com.bumptech.glide.load.DataSource
-
Indicates data was probably retrieved locally from the device, although it may have been obtained through a content provider that may have obtained the data from a remote source.
- LocalUriFetcher<T> - Class in com.bumptech.glide.load.data
-
A DataFetcher that uses an
ContentResolverto load data from aUripointing to a local resource. - LocalUriFetcher(ContentResolver, Uri) - Constructor for class com.bumptech.glide.load.data.LocalUriFetcher
-
Opens an input stream for a uri pointing to a local asset.
- lock() - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Throws if any further mutations are attempted.
- LOG - Static variable in interface com.bumptech.glide.load.engine.executor.GlideExecutor.UncaughtThrowableStrategy
- logBitmap(int, int, Bitmap.Config) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.SizeConfigStrategy
- logBitmap(Bitmap) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.SizeConfigStrategy
- LogRequestOrigins() - Constructor for class com.bumptech.glide.GlideBuilder.LogRequestOrigins
- logRootCauses(String) - Method in exception com.bumptech.glide.load.engine.GlideException
-
Logs all root causes using the given tag.
- LogTime - Class in com.bumptech.glide.util
-
A class for logging elapsed real time in millis.
- LOOP_FOREVER - Static variable in class com.bumptech.glide.load.resource.gif.GifDrawable
-
A constant indicating that an animated drawable should loop continuously.
- LOOP_INTRINSIC - Static variable in class com.bumptech.glide.load.resource.gif.GifDrawable
-
A constant indicating that an animated drawable should loop for its default number of times.
- LOW - Enum constant in enum class com.bumptech.glide.MemoryCategory
-
Tells Glide's memory cache and bitmap pool to use at most half of their initial maximum size.
- LOW - Enum constant in enum class com.bumptech.glide.Priority
- LruArrayPool - Class in com.bumptech.glide.load.engine.bitmap_recycle
-
A fixed size Array Pool that evicts arrays using an LRU strategy to keep the pool under the maximum byte size.
- LruArrayPool() - Constructor for class com.bumptech.glide.load.engine.bitmap_recycle.LruArrayPool
- LruArrayPool(int) - Constructor for class com.bumptech.glide.load.engine.bitmap_recycle.LruArrayPool
-
Constructor for a new pool.
- LruBitmapPool - Class in com.bumptech.glide.load.engine.bitmap_recycle
-
An
BitmapPoolimplementation that uses anLruPoolStrategyto bucketBitmaps and then uses an LRU eviction policy to evictBitmaps from the least recently used bucket in order to keep the pool below a given maximum size limit. - LruBitmapPool(long) - Constructor for class com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool
-
Constructor for LruBitmapPool.
- LruBitmapPool(long, Set<Bitmap.Config>) - Constructor for class com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool
-
Constructor for LruBitmapPool.
- LruCache<T,
Y> - Class in com.bumptech.glide.util -
A general purpose size limited cache that evicts items using an LRU algorithm.
- LruCache(long) - Constructor for class com.bumptech.glide.util.LruCache
-
Constructor for LruCache.
- LruResourceCache - Class in com.bumptech.glide.load.engine.cache
-
An LRU in memory cache for
Resources. - LruResourceCache(long) - Constructor for class com.bumptech.glide.load.engine.cache.LruResourceCache
-
Constructor for LruResourceCache.
M
- mainThreadExecutor() - Static method in class com.bumptech.glide.util.Executors
-
Posts executions to the main thread.
- ManifestParser - Class in com.bumptech.glide.module
-
Deprecated.
- ManifestParser(Context) - Constructor for class com.bumptech.glide.module.ManifestParser
-
Deprecated.
- mark(int) - Method in class com.bumptech.glide.load.data.ExifOrientationStream
- mark(int) - Method in class com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream
-
Sets a mark position in this stream.
- mark(int) - Method in class com.bumptech.glide.util.ExceptionCatchingInputStream
-
Deprecated.
- mark(int) - Method in class com.bumptech.glide.util.ExceptionPassthroughInputStream
- mark(int) - Method in class com.bumptech.glide.util.MarkEnforcingInputStream
- MarkEnforcingInputStream - Class in com.bumptech.glide.util
-
Prevents
InputStreamsfrom overflowing their buffer by reading data past their read limit. - MarkEnforcingInputStream(InputStream) - Constructor for class com.bumptech.glide.util.MarkEnforcingInputStream
- markSupported() - Method in class com.bumptech.glide.load.data.ExifOrientationStream
- markSupported() - Method in class com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream
-
Indicates whether
BufferedInputStreamsupports theRecyclableBufferedInputStream.mark(int)andRecyclableBufferedInputStream.reset()methods. - markSupported() - Method in class com.bumptech.glide.util.ExceptionCatchingInputStream
-
Deprecated.
- markSupported() - Method in class com.bumptech.glide.util.ExceptionPassthroughInputStream
- MediaStoreFileLoader - Class in com.bumptech.glide.load.model
-
Loads the file path for
MediaStoreowneduris. - MediaStoreFileLoader(Context) - Constructor for class com.bumptech.glide.load.model.MediaStoreFileLoader
- MediaStoreFileLoader.Factory - Class in com.bumptech.glide.load.model
- MediaStoreImageThumbLoader - Class in com.bumptech.glide.load.model.stream
-
Loads
InputStreams from media store imageUris that point to pre-generated thumbnails for thoseUris in the media store. - MediaStoreImageThumbLoader(Context) - Constructor for class com.bumptech.glide.load.model.stream.MediaStoreImageThumbLoader
- MediaStoreImageThumbLoader.Factory - Class in com.bumptech.glide.load.model.stream
-
Factory that loads
InputStreams from media store imageUris. - MediaStoreSignature - Class in com.bumptech.glide.signature
-
A unique signature based on metadata data from the media store that detects common changes to media store files like edits, rotations, and temporary file replacement.
- MediaStoreSignature(String, long, int) - Constructor for class com.bumptech.glide.signature.MediaStoreSignature
-
Constructor for
MediaStoreSignature. - MediaStoreUtil - Class in com.bumptech.glide.load.data.mediastore
-
Utility classes for interacting with the media store.
- MediaStoreVideoThumbLoader - Class in com.bumptech.glide.load.model.stream
-
Loads
InputStreams from media store videoUris that point to pre-generated thumbnails for thoseUris in the media store. - MediaStoreVideoThumbLoader(Context) - Constructor for class com.bumptech.glide.load.model.stream.MediaStoreVideoThumbLoader
- MediaStoreVideoThumbLoader.Factory - Class in com.bumptech.glide.load.model.stream
-
Loads
InputStreams from media store imageUris that point to pre-generated thumbnails for thoseUris in the media store. - memorize(GlideSuppliers.GlideSupplier<T>) - Static method in class com.bumptech.glide.util.GlideSuppliers
- memory(String) - Static method in class com.bumptech.glide.load.Option
-
Returns a new
Optionthat does not affect disk cache keys with anulldefault value. - memory(String, T) - Static method in class com.bumptech.glide.load.Option
-
Returns a new
Optionthat does not affect disk cache keys with the given value as the default value. - MEMORY - Enum constant in enum class com.bumptech.glide.load.resource.bitmap.DownsampleStrategy.SampleSizeRounding
-
Prefer to round the sample size up so that the image is downsampled to smaller than the requested size to use less memory.
- MEMORY_CACHE - Enum constant in enum class com.bumptech.glide.load.DataSource
-
Indicates data was retrieved from the in memory cache.
- MemoryCache - Interface in com.bumptech.glide.load.engine.cache
-
An interface for adding and removing resources from an in memory cache.
- MemoryCache.ResourceRemovedListener - Interface in com.bumptech.glide.load.engine.cache
-
An interface that will be called whenever a bitmap is removed from the cache.
- MemoryCacheAdapter - Class in com.bumptech.glide.load.engine.cache
-
A simple class that ignores all puts and returns null for all gets.
- MemoryCacheAdapter() - Constructor for class com.bumptech.glide.load.engine.cache.MemoryCacheAdapter
- MemoryCategory - Enum Class in com.bumptech.glide
-
An enum for dynamically modifying the amount of memory Glide is able to use.
- MemorySizeCalculator - Class in com.bumptech.glide.load.engine.cache
-
A calculator that tries to intelligently determine cache sizes for a given device based on some constants and the devices screen density, width, and height.
- MemorySizeCalculator.Builder - Class in com.bumptech.glide.load.engine.cache
-
Constructs an
MemorySizeCalculatorwith reasonable defaults that can be optionally overridden. - missCount() - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool
-
Returns the number of cache misses for bitmaps in the pool.
- MissingComponentException(String) - Constructor for exception com.bumptech.glide.Registry.MissingComponentException
- Model - Interface in com.bumptech.glide.load.model
-
An optional interface that models can implement to enhance control over Glide behaviors.
- ModelCache<A,
B> - Class in com.bumptech.glide.load.model -
A simple cache that can be used by
ModelLoaderandModelLoaderFactoryto cache some data for a given model, width and height. - ModelCache() - Constructor for class com.bumptech.glide.load.model.ModelCache
- ModelCache(long) - Constructor for class com.bumptech.glide.load.model.ModelCache
- ModelLoader<Model,
Data> - Interface in com.bumptech.glide.load.model -
A factory interface for translating an arbitrarily complex data model into a concrete data type that can be used by an
DataFetcherto obtain the data for a resource represented by the model. - ModelLoader.LoadData<Data> - Class in com.bumptech.glide.load.model
-
Contains a set of
Keysidentifying the source of the load, alternate cache keys pointing to equivalent data, and aDataFetcherthat can be used to fetch data not found in cache. - ModelLoaderFactory<T,
Y> - Interface in com.bumptech.glide.load.model -
An interface for creating a
ModelLoaderfor a given model type. - ModelLoaderRegistry - Class in com.bumptech.glide.load.model
-
Maintains an ordered put of
ModelLoaders and the model and data types they handle in order from highest priority to lowest. - ModelLoaderRegistry(Pools.Pool<List<Throwable>>) - Constructor for class com.bumptech.glide.load.model.ModelLoaderRegistry
- ModelToResourceClassCache - Class in com.bumptech.glide.provider
-
Maintains a cache of Model + Resource class to a set of registered resource classes that are subclasses of the resource class that can be decoded from the model class.
- ModelToResourceClassCache() - Constructor for class com.bumptech.glide.provider.ModelToResourceClassCache
- MultiClassKey - Class in com.bumptech.glide.util
-
A key of two
Classes to be used in hashed collections. - MultiClassKey() - Constructor for class com.bumptech.glide.util.MultiClassKey
- MultiClassKey(Class<?>, Class<?>) - Constructor for class com.bumptech.glide.util.MultiClassKey
- MultiClassKey(Class<?>, Class<?>, Class<?>) - Constructor for class com.bumptech.glide.util.MultiClassKey
- MultiModelLoaderFactory - Class in com.bumptech.glide.load.model
-
Capable of building an
ModelLoaderthat wraps one or more otherModelLoaders for a given model and data class. - MultiModelLoaderFactory(Pools.Pool<List<Throwable>>) - Constructor for class com.bumptech.glide.load.model.MultiModelLoaderFactory
- MultiTransformation<T> - Class in com.bumptech.glide.load
-
A transformation that applies one or more transformations in iteration order to a resource.
- MultiTransformation(Transformation<T>...) - Constructor for class com.bumptech.glide.load.MultiTransformation
- MultiTransformation(Collection<? extends Transformation<T>>) - Constructor for class com.bumptech.glide.load.MultiTransformation
- mutate() - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
N
- newAnimationBuilder() - Static method in class com.bumptech.glide.load.engine.executor.GlideExecutor
-
Returns a new fixed thread pool that defaults to either one or two threads depending on the number of available cores to use when loading frames of animations.
- newAnimationExecutor() - Static method in class com.bumptech.glide.load.engine.executor.GlideExecutor
-
Shortcut for calling
GlideExecutor.Builder.build()onGlideExecutor.newAnimationBuilder(). - newAnimationExecutor(int, GlideExecutor.UncaughtThrowableStrategy) - Static method in class com.bumptech.glide.load.engine.executor.GlideExecutor
-
Deprecated.Use
GlideExecutor.newAnimationBuilder()instead. - newArray(int) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.ByteArrayAdapter
- newArray(int) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.IntegerArrayAdapter
- newAssetFileDescriptorFactory(Context) - Static method in class com.bumptech.glide.load.model.ResourceUriLoader
- newDiskCacheBuilder() - Static method in class com.bumptech.glide.load.engine.executor.GlideExecutor
-
Returns a new
GlideExecutor.Builderwith theGlideExecutor.DEFAULT_DISK_CACHE_EXECUTOR_THREADSthreads,GlideExecutor.DEFAULT_DISK_CACHE_EXECUTOR_NAMEname andGlideExecutor.UncaughtThrowableStrategy.DEFAULTuncaught throwable strategy. - newDiskCacheExecutor() - Static method in class com.bumptech.glide.load.engine.executor.GlideExecutor
-
Shortcut for calling
GlideExecutor.Builder.build()onGlideExecutor.newDiskCacheBuilder(). - newDiskCacheExecutor(int, String, GlideExecutor.UncaughtThrowableStrategy) - Static method in class com.bumptech.glide.load.engine.executor.GlideExecutor
-
Deprecated.Use
GlideExecutor.newDiskCacheBuilder()instead. - newDiskCacheExecutor(GlideExecutor.UncaughtThrowableStrategy) - Static method in class com.bumptech.glide.load.engine.executor.GlideExecutor
-
Deprecated.
- newInstance() - Static method in class com.bumptech.glide.util.pool.StateVerifier
-
Creates a new
StateVerifierinstance. - newSourceBuilder() - Static method in class com.bumptech.glide.load.engine.executor.GlideExecutor
-
Returns a new
GlideExecutor.Builderwith the default thread count returned fromGlideExecutor.calculateBestThreadCount(), theGlideExecutor.DEFAULT_SOURCE_EXECUTOR_NAMEthread name prefix, and theGlideExecutor.UncaughtThrowableStrategy.DEFAULTuncaught throwable strategy. - newSourceExecutor() - Static method in class com.bumptech.glide.load.engine.executor.GlideExecutor
-
Shortcut for calling
GlideExecutor.Builder.build()onGlideExecutor.newSourceBuilder(). - newSourceExecutor(int, String, GlideExecutor.UncaughtThrowableStrategy) - Static method in class com.bumptech.glide.load.engine.executor.GlideExecutor
-
Deprecated.Use
GlideExecutor.newSourceBuilder()instead. - newSourceExecutor(GlideExecutor.UncaughtThrowableStrategy) - Static method in class com.bumptech.glide.load.engine.executor.GlideExecutor
-
Deprecated.Use
GlideExecutor.newSourceBuilder()instead. - newStreamFactory(Context) - Static method in class com.bumptech.glide.load.model.ResourceUriLoader
- newUnlimitedSourceExecutor() - Static method in class com.bumptech.glide.load.engine.executor.GlideExecutor
-
Returns a new unlimited thread pool with zero core thread count to make sure no threads are created by default,
GlideExecutor.KEEP_ALIVE_TIME_MSkeep alive time, theGlideExecutor.DEFAULT_SOURCE_UNLIMITED_EXECUTOR_NAMEthread name prefix, theGlideExecutor.UncaughtThrowableStrategy.DEFAULTuncaught throwable strategy, and theSynchronousQueuesince using default unbounded blocking queue, for example,PriorityBlockingQueueeffectively won't create more thancorePoolSizethreads. - NO_MAX_FD_COUNT - Static variable in class com.bumptech.glide.load.resource.bitmap.HardwareConfigState
-
Deprecated.This constant is unused and will be removed in a future version, avoid using it.
- NO_THREAD_TIMEOUT - Static variable in class com.bumptech.glide.load.engine.executor.GlideExecutor.Builder
-
Prevents core and non-core threads from timing out ever if provided to
GlideExecutor.Builder.setThreadTimeoutMillis(long). - noAnimation() - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a new
RequestOptionswithBaseRequestOptions.dontAnimate()called. - NoAnimationFactory() - Constructor for class com.bumptech.glide.request.transition.NoTransition.NoAnimationFactory
- NoImageHeaderParserException() - Constructor for exception com.bumptech.glide.Registry.NoImageHeaderParserException
- NoModelLoaderAvailableException(Class<?>, Class<?>) - Constructor for exception com.bumptech.glide.Registry.NoModelLoaderAvailableException
- NoModelLoaderAvailableException(Object) - Constructor for exception com.bumptech.glide.Registry.NoModelLoaderAvailableException
- NoModelLoaderAvailableException(M, List<ModelLoader<M, ?>>) - Constructor for exception com.bumptech.glide.Registry.NoModelLoaderAvailableException
- NONE - Enum constant in enum class com.bumptech.glide.load.EncodeStrategy
-
Will write no data.
- NONE - Static variable in class com.bumptech.glide.load.engine.DiskCacheStrategy
-
Saves no data to cache.
- NONE - Static variable in interface com.bumptech.glide.load.model.Headers
-
Deprecated.Use
Headers.DEFAULTinstead. - NONE - Static variable in class com.bumptech.glide.load.resource.bitmap.DownsampleStrategy
-
Performs no downsampling or scaling.
- NoResultEncoderAvailableException(Class<?>) - Constructor for exception com.bumptech.glide.Registry.NoResultEncoderAvailableException
- NORMAL - Enum constant in enum class com.bumptech.glide.MemoryCategory
-
Tells Glide's memory cache and bitmap pool to use at most their initial maximum size.
- NORMAL - Enum constant in enum class com.bumptech.glide.Priority
- NoSourceEncoderAvailableException(Class<?>) - Constructor for exception com.bumptech.glide.Registry.NoSourceEncoderAvailableException
- NotificationTarget - Class in com.bumptech.glide.request.target
-
This class is used to display downloaded Bitmap inside an ImageView of a Notification through RemoteViews.
- NotificationTarget(Context, int, int, int, RemoteViews, Notification, int, String) - Constructor for class com.bumptech.glide.request.target.NotificationTarget
-
Constructor using a Notification object, a notificationId, and a notificationTag to get a handle on the Notification in order to update it.
- NotificationTarget(Context, int, RemoteViews, Notification, int) - Constructor for class com.bumptech.glide.request.target.NotificationTarget
-
Constructor using a Notification object and a notificationId to get a handle on the Notification in order to update it that uses
Target.SIZE_ORIGINALas the target width and height. - NotificationTarget(Context, int, RemoteViews, Notification, int, String) - Constructor for class com.bumptech.glide.request.target.NotificationTarget
-
Constructor using a Notification object, a notificationId, and a notificationTag to get a handle on the Notification in order to update it that uses
Target.SIZE_ORIGINALas the target width and height. - noTransformation() - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.dontTransform()set. - NoTransition<R> - Class in com.bumptech.glide.request.transition
-
A simple
Transitionthat performs no actions. - NoTransition() - Constructor for class com.bumptech.glide.request.transition.NoTransition
- NoTransition.NoAnimationFactory<R> - Class in com.bumptech.glide.request.transition
-
A factory that always returns the same
NoTransition.
O
- ObjectKey - Class in com.bumptech.glide.signature
-
Wraps an
Object, delegatingObjectKey.equals(Object)andObjectKey.hashCode()to the wrapped Object and providing the bytes of the result of the Object'sObjectKey.toString()method to theMessageDigestinObjectKey.updateDiskCacheKey(java.security.MessageDigest). - ObjectKey(Object) - Constructor for class com.bumptech.glide.signature.ObjectKey
- obtain() - Static method in class com.bumptech.glide.signature.EmptySignature
- obtain(int, int, Bitmap.Config) - Method in class com.bumptech.glide.load.resource.gif.GifBitmapProvider
- obtain(Context) - Static method in class com.bumptech.glide.signature.AndroidResourceSignature
- obtain(Context) - Static method in class com.bumptech.glide.signature.ApplicationVersionSignature
-
Returns the signature
Keyfor version code of the Application of the given Context. - obtain(Context, Bitmap) - Static method in class com.bumptech.glide.load.resource.bitmap.LazyBitmapDrawableResource
-
Deprecated.Use
LazyBitmapDrawableResource.obtain(Resources, Resource)instead, it can be unsafe to extractBitmaps from their wrappedResource. - obtain(Context, GlideContext, Object, Object, Class<R>, BaseRequestOptions<?>, int, int, Priority, Target<R>, RequestListener<R>, List<RequestListener<R>>, RequestCoordinator, Engine, TransitionFactory<? super R>, Executor) - Static method in class com.bumptech.glide.request.SingleRequest
- obtain(Resources, BitmapPool, Bitmap) - Static method in class com.bumptech.glide.load.resource.bitmap.LazyBitmapDrawableResource
-
Deprecated.Use
LazyBitmapDrawableResource.obtain(Resources, Resource)instead, it can be unsafe to extractBitmaps from their wrappedResource. - obtain(Resources, Resource<Bitmap>) - Static method in class com.bumptech.glide.load.resource.bitmap.LazyBitmapDrawableResource
- obtain(Bitmap, BitmapPool) - Static method in class com.bumptech.glide.load.resource.bitmap.BitmapResource
-
Returns a new
BitmapResourcewrapping the givenBitmapif the Bitmap is non-null or null if the given Bitmap is null. - obtain(RequestManager, int, int) - Static method in class com.bumptech.glide.request.target.PreloadTarget
-
Returns a PreloadTarget.
- obtain(InputStream) - Static method in class com.bumptech.glide.util.ExceptionCatchingInputStream
-
Deprecated.
- obtain(InputStream) - Static method in class com.bumptech.glide.util.ExceptionPassthroughInputStream
- obtain(InputStream, long) - Static method in class com.bumptech.glide.util.ContentLengthInputStream
- obtain(InputStream, String) - Static method in class com.bumptech.glide.util.ContentLengthInputStream
- obtainByteArray(int) - Method in class com.bumptech.glide.load.resource.gif.GifBitmapProvider
- obtainIntArray(int) - Method in class com.bumptech.glide.load.resource.gif.GifBitmapProvider
- onBoundsChange(Rect) - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- onConfigurationChanged(Configuration) - Method in class com.bumptech.glide.Glide
- onConfigurationChanged(Configuration) - Method in class com.bumptech.glide.RequestManager
- onConnectivityChanged(boolean) - Method in interface com.bumptech.glide.manager.ConnectivityMonitor.ConnectivityListener
-
Called when the connectivity state changes.
- onDataReady(T) - Method in interface com.bumptech.glide.load.data.DataFetcher.DataCallback
-
Called with the loaded data if the load succeeded, or with
nullif the load failed. - onDecodeComplete(BitmapPool, Bitmap) - Method in interface com.bumptech.glide.load.resource.bitmap.Downsampler.DecodeCallbacks
- onDestroy() - Method in interface com.bumptech.glide.manager.LifecycleListener
-
Callback for when
Fragment.onDestroy()} orActivity.onDestroy()is called. - onDestroy() - Method in class com.bumptech.glide.manager.TargetTracker
- onDestroy() - Method in class com.bumptech.glide.request.RequestFutureTarget
- onDestroy() - Method in class com.bumptech.glide.request.target.BaseTarget
-
Deprecated.
- onDestroy() - Method in class com.bumptech.glide.request.target.CustomTarget
- onDestroy() - Method in class com.bumptech.glide.request.target.CustomViewTarget
- onDestroy() - Method in class com.bumptech.glide.RequestManager
-
Lifecycle callback that cancels all in progress requests and clears and recycles resources for all completed requests.
- onEngineJobCancelled(EngineJob<?>, Key) - Method in class com.bumptech.glide.load.engine.Engine
- onEngineJobComplete(EngineJob<?>, Key, EngineResource<?>) - Method in class com.bumptech.glide.load.engine.Engine
- onFrameReady() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- onHeaderDecoded(ImageDecoder, ImageDecoder.ImageInfo, ImageDecoder.Source) - Method in class com.bumptech.glide.load.resource.DefaultOnHeaderDecodedListener
- onItemEvicted(Key, Resource<?>) - Method in class com.bumptech.glide.load.engine.cache.LruResourceCache
- onItemEvicted(T, Y) - Method in class com.bumptech.glide.util.LruCache
-
A callback called whenever an item is evicted from the cache.
- onLoadCleared(Drawable) - Method in class com.bumptech.glide.request.RequestFutureTarget
-
A callback that should never be invoked directly.
- onLoadCleared(Drawable) - Method in class com.bumptech.glide.request.target.AppWidgetTarget
- onLoadCleared(Drawable) - Method in class com.bumptech.glide.request.target.BaseTarget
-
Deprecated.
- onLoadCleared(Drawable) - Method in class com.bumptech.glide.request.target.CustomViewTarget
- onLoadCleared(Drawable) - Method in class com.bumptech.glide.request.target.ImageViewTarget
-
Sets the given
Drawableon the view usingImageView.setImageDrawable(android.graphics.drawable.Drawable). - onLoadCleared(Drawable) - Method in class com.bumptech.glide.request.target.NotificationTarget
- onLoadCleared(Drawable) - Method in class com.bumptech.glide.request.target.PreloadTarget
- onLoadCleared(Drawable) - Method in interface com.bumptech.glide.request.target.Target
-
A mandatory lifecycle callback that is called when a load is cancelled and its resources are freed.
- onLoadCleared(Drawable) - Method in class com.bumptech.glide.request.target.ViewTarget
-
Deprecated.
- onLoadFailed(Drawable) - Method in class com.bumptech.glide.request.RequestFutureTarget
-
A callback that should never be invoked directly.
- onLoadFailed(Drawable) - Method in class com.bumptech.glide.request.target.BaseTarget
-
Deprecated.
- onLoadFailed(Drawable) - Method in class com.bumptech.glide.request.target.CustomTarget
- onLoadFailed(Drawable) - Method in class com.bumptech.glide.request.target.ImageViewTarget
-
Sets the given
Drawableon the view usingImageView.setImageDrawable(android.graphics.drawable.Drawable). - onLoadFailed(Drawable) - Method in interface com.bumptech.glide.request.target.Target
-
A mandatory lifecycle callback that is called when a load fails.
- onLoadFailed(GlideException) - Method in interface com.bumptech.glide.request.ResourceCallback
-
Called when a resource fails to load successfully.
- onLoadFailed(GlideException) - Method in class com.bumptech.glide.request.SingleRequest
-
A callback method that should never be invoked directly.
- onLoadFailed(GlideException, Object, Target<R>, boolean) - Method in class com.bumptech.glide.request.RequestFutureTarget
- onLoadFailed(GlideException, Object, Target<R>, boolean) - Method in interface com.bumptech.glide.request.RequestListener
-
Called when an exception occurs during a load, immediately before
Target.onLoadFailed(Drawable). - onLoadFailed(Exception) - Method in interface com.bumptech.glide.load.data.DataFetcher.DataCallback
-
Called when the load fails.
- onLoadStarted(Drawable) - Method in class com.bumptech.glide.request.RequestFutureTarget
-
A callback that should never be invoked directly.
- onLoadStarted(Drawable) - Method in class com.bumptech.glide.request.target.BaseTarget
-
Deprecated.
- onLoadStarted(Drawable) - Method in class com.bumptech.glide.request.target.CustomTarget
- onLoadStarted(Drawable) - Method in class com.bumptech.glide.request.target.CustomViewTarget
- onLoadStarted(Drawable) - Method in class com.bumptech.glide.request.target.ImageViewTarget
-
Sets the given
Drawableon the view usingImageView.setImageDrawable(android.graphics.drawable.Drawable). - onLoadStarted(Drawable) - Method in interface com.bumptech.glide.request.target.Target
-
A lifecycle callback that is called when a load is started.
- onLoadStarted(Drawable) - Method in class com.bumptech.glide.request.target.ViewTarget
-
Deprecated.
- onLowMemory() - Method in class com.bumptech.glide.Glide
- onLowMemory() - Method in class com.bumptech.glide.RequestManager
- onlyRetrieveFromCache(boolean) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
If set to true, will only load an item if found in the cache, and will not fetch from source.
- onObtainBounds() - Method in interface com.bumptech.glide.load.resource.bitmap.Downsampler.DecodeCallbacks
- onRequestFailed(Request) - Method in class com.bumptech.glide.request.ErrorRequestCoordinator
- onRequestFailed(Request) - Method in interface com.bumptech.glide.request.RequestCoordinator
-
Must be called when a
Requestcoordinated by this object fails. - onRequestFailed(Request) - Method in class com.bumptech.glide.request.ThumbnailRequestCoordinator
- onRequestStarted(Object) - Method in class com.bumptech.glide.request.ExperimentalRequestListener
-
Deprecated.
- onRequestSuccess(Request) - Method in class com.bumptech.glide.request.ErrorRequestCoordinator
- onRequestSuccess(Request) - Method in interface com.bumptech.glide.request.RequestCoordinator
-
Must be called when a
Requestcoordinated by this object completes successfully. - onRequestSuccess(Request) - Method in class com.bumptech.glide.request.ThumbnailRequestCoordinator
- onResourceCleared(Drawable) - Method in class com.bumptech.glide.request.target.CustomViewTarget
-
A required callback invoked when the resource is no longer valid and must be freed.
- onResourceLoading(Drawable) - Method in class com.bumptech.glide.request.target.CustomViewTarget
-
An optional callback invoked when a resource load is started.
- onResourceReady(Bitmap, Transition<? super Bitmap>) - Method in class com.bumptech.glide.request.target.AppWidgetTarget
- onResourceReady(Bitmap, Transition<? super Bitmap>) - Method in class com.bumptech.glide.request.target.NotificationTarget
- onResourceReady(Resource<?>, DataSource, boolean) - Method in interface com.bumptech.glide.request.ResourceCallback
-
Called when a resource is successfully loaded.
- onResourceReady(Resource<?>, DataSource, boolean) - Method in class com.bumptech.glide.request.SingleRequest
-
A callback method that should never be invoked directly.
- onResourceReady(ResourceT, Object, Target<ResourceT>, DataSource, boolean, boolean) - Method in class com.bumptech.glide.request.ExperimentalRequestListener
-
Deprecated.Identical to
RequestListener.onResourceReady(Object, Object, Target, DataSource, boolean)except thatisAlternateCacheKeyis provided. - onResourceReady(R, Transition<? super R>) - Method in class com.bumptech.glide.request.RequestFutureTarget
-
A callback that should never be invoked directly.
- onResourceReady(R, Transition<? super R>) - Method in interface com.bumptech.glide.request.target.Target
-
The method that will be called when the resource load has finished.
- onResourceReady(R, Object, Target<R>, DataSource, boolean) - Method in class com.bumptech.glide.request.RequestFutureTarget
- onResourceReady(R, Object, Target<R>, DataSource, boolean) - Method in interface com.bumptech.glide.request.RequestListener
-
Called when a load completes successfully, immediately before
Target.onResourceReady(Object, com.bumptech.glide.request.transition.Transition). - onResourceReady(Z, Transition<? super Z>) - Method in class com.bumptech.glide.request.target.ImageViewTarget
- onResourceReady(Z, Transition<? super Z>) - Method in class com.bumptech.glide.request.target.PreloadTarget
- onResourceReleased(Key, EngineResource<?>) - Method in class com.bumptech.glide.load.engine.Engine
- onResourceRemoved(Resource<?>) - Method in interface com.bumptech.glide.load.engine.cache.MemoryCache.ResourceRemovedListener
- onResourceRemoved(Resource<?>) - Method in class com.bumptech.glide.load.engine.Engine
- onScroll(AbsListView, int, int, int) - Method in class com.bumptech.glide.ListPreloader
- onScrollStateChanged(AbsListView, int) - Method in class com.bumptech.glide.ListPreloader
- onSizeReady(int, int) - Method in class com.bumptech.glide.request.SingleRequest
-
A callback method that should never be invoked directly.
- onSizeReady(int, int) - Method in interface com.bumptech.glide.request.target.SizeReadyCallback
-
A callback called on the main thread.
- onSizeReady(int, int) - Method in class com.bumptech.glide.util.ViewPreloadSizeProvider
- onStart() - Method in interface com.bumptech.glide.manager.LifecycleListener
-
Callback for when
Fragment.onStart()} orActivity.onStart()is called. - onStart() - Method in class com.bumptech.glide.manager.TargetTracker
- onStart() - Method in class com.bumptech.glide.request.RequestFutureTarget
- onStart() - Method in class com.bumptech.glide.request.target.BaseTarget
-
Deprecated.
- onStart() - Method in class com.bumptech.glide.request.target.CustomTarget
- onStart() - Method in class com.bumptech.glide.request.target.CustomViewTarget
- onStart() - Method in class com.bumptech.glide.request.target.ImageViewTarget
- onStart() - Method in class com.bumptech.glide.RequestManager
-
Lifecycle callback that registers for connectivity events (if the android.permission.ACCESS_NETWORK_STATE permission is present) and restarts failed or paused requests.
- onStop() - Method in interface com.bumptech.glide.manager.LifecycleListener
-
Callback for when
Fragment.onStop()} orActivity.onStop()} is called. - onStop() - Method in class com.bumptech.glide.manager.TargetTracker
- onStop() - Method in class com.bumptech.glide.request.RequestFutureTarget
- onStop() - Method in class com.bumptech.glide.request.target.BaseTarget
-
Deprecated.
- onStop() - Method in class com.bumptech.glide.request.target.CustomTarget
- onStop() - Method in class com.bumptech.glide.request.target.CustomViewTarget
- onStop() - Method in class com.bumptech.glide.request.target.ImageViewTarget
- onStop() - Method in class com.bumptech.glide.RequestManager
-
Lifecycle callback that unregisters for connectivity events (if the android.permission.ACCESS_NETWORK_STATE permission is present) and pauses in progress loads and clears all resources if
RequestManager.clearOnStop()is called. - onTrimMemory(int) - Method in class com.bumptech.glide.Glide
- onTrimMemory(int) - Method in class com.bumptech.glide.RequestManager
- open(File) - Method in interface com.bumptech.glide.load.model.FileLoader.FileOpener
- option(Option<T>, T) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject with the givenOptionset viaBaseRequestOptions.set(Option, Object). - Option<T> - Class in com.bumptech.glide.load
-
Defines available component (decoders, encoders, model loaders etc.) options with optional default values and the ability to affect the resource disk cache key used by
DiskCacheStrategy.RESOURCE. - OPTION - Static variable in class com.bumptech.glide.load.resource.bitmap.DownsampleStrategy
-
Indicates the
DownsampleStrategyoption that will be used to calculate the sample size to use to downsample an image given the original and target dimensions of the image. - Option.CacheKeyUpdater<T> - Interface in com.bumptech.glide.load
-
An interface that updates a
MessageDigestwith the given value as part of a process to generate a disk cache key. - optionalCenterCrop() - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Applies
CenterCropto all default types, and ignores unknown types. - optionalCenterInside() - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Applies
CenterInsideto all default types,DownsampleStrategy.CENTER_INSIDEto image types, and ignores unknown types. - optionalCircleCrop() - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Applies
CircleCropto all default types, and ignores unknown types. - optionalFitCenter() - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Applies
FitCenterand to all default types,DownsampleStrategy.FIT_CENTERto image types, and ignores unknown types. - optionalTransform(Transformation<Bitmap>) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Applies the given
TransformationforBitmapsto the default types (Bitmap,BitmapDrawable, andGifDrawable) and ignores unknown types. - optionalTransform(Class<Y>, Transformation<Y>) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Applies the given
Transformationfor any decoded resource of the given type and allows unknown resource types to be ignored. - Options - Class in com.bumptech.glide.load
-
A set of
Optionsto apply to in memory and disk cache keys. - Options() - Constructor for class com.bumptech.glide.load.Options
- override(int) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Overrides the
Target's width and height with the given size. - override(int, int) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Overrides the
Target's width and height with the given values. - overrideOf(int) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionswithBaseRequestOptions.override(int, int)set where both the width and height are the given size. - overrideOf(int, int) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.override(int, int)} set.
P
- PAINT_FLAGS - Static variable in class com.bumptech.glide.load.resource.bitmap.TransformationUtils
- parcel(BitmapPool) - Static method in class com.bumptech.glide.load.resource.bitmap.VideoDecoder
- ParcelFileDescriptorBitmapDecoder - Class in com.bumptech.glide.load.resource.bitmap
-
Decodes
Bitmaps fromParcelFileDescriptors. - ParcelFileDescriptorBitmapDecoder(Downsampler) - Constructor for class com.bumptech.glide.load.resource.bitmap.ParcelFileDescriptorBitmapDecoder
- ParcelFileDescriptorRewinder - Class in com.bumptech.glide.load.data
-
Implementation for
ParcelFileDescriptors that rewinds file descriptors by seeking to 0. - ParcelFileDescriptorRewinder(ParcelFileDescriptor) - Constructor for class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder
- ParcelFileDescriptorRewinder.Factory - Class in com.bumptech.glide.load.data
-
Factory for producing
ParcelFileDescriptorRewinders fromParcelFileDescriptors. - parse() - Method in class com.bumptech.glide.module.ManifestParser
-
Deprecated.
- pause() - Method in class com.bumptech.glide.request.ErrorRequestCoordinator
- pause() - Method in interface com.bumptech.glide.request.Request
-
Similar to
Request.clear()for in progress requests (or portions of a request), but does nothing if the request is already complete. - pause() - Method in class com.bumptech.glide.request.SingleRequest
- pause() - Method in class com.bumptech.glide.request.ThumbnailRequestCoordinator
- pauseAllRequests() - Method in class com.bumptech.glide.manager.RequestTracker
-
Stops any in progress requests and releases bitmaps associated with completed requests.
- pauseAllRequests() - Method in class com.bumptech.glide.RequestManager
-
Cancels any in progress loads and clears resources of completed loads.
- pauseAllRequestsRecursive() - Method in class com.bumptech.glide.RequestManager
-
Performs
RequestManager.pauseAllRequests()recursively for all managers that are contextually descendant to this manager based on the Activity/Fragment hierarchy. - PAUSED - Enum constant in enum class com.bumptech.glide.request.RequestCoordinator.RequestState
- pauseRequests() - Method in class com.bumptech.glide.manager.RequestTracker
-
Stops any in progress requests.
- pauseRequests() - Method in class com.bumptech.glide.RequestManager
-
Cancels any in progress loads, but does not clear resources of completed loads.
- pauseRequestsRecursive() - Method in class com.bumptech.glide.RequestManager
-
Performs
RequestManager.pauseRequests()recursively for all managers that are contextually descendant to this manager based on the Activity/Fragment hierarchy: When pausing on an Activity all attached fragments will also get paused. - placeholder(int) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Sets an Android resource id for a
Drawableresource to display while a resource is loading. - placeholder(Drawable) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Sets an
Drawableto display while a resource is loading. - placeholderOf(int) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.placeholder(int)set. - placeholderOf(Drawable) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.placeholder(Drawable)set. - PNG - Enum constant in enum class com.bumptech.glide.load.ImageHeaderParser.ImageType
-
PNG type without alpha.
- PNG_A - Enum constant in enum class com.bumptech.glide.load.ImageHeaderParser.ImageType
-
PNG type with alpha.
- postOnUiThread(Runnable) - Static method in class com.bumptech.glide.util.Util
-
Posts the given
runnableto the UI thread using a sharedHandler. - Preconditions - Class in com.bumptech.glide.util
-
Contains common assertions.
- PREFER_ARGB_8888 - Enum constant in enum class com.bumptech.glide.load.DecodeFormat
-
Bitmaps returned by the
ResourceDecoder. - PREFER_RGB_565 - Enum constant in enum class com.bumptech.glide.load.DecodeFormat
-
Bitmaps decoded from image formats that support and/or use alpha (some types of PNGs, GIFs etc) should return
Bitmap.Config.ARGB_8888forBitmap.getConfig(). - PREFERRED_COLOR_SPACE - Static variable in class com.bumptech.glide.load.resource.bitmap.Downsampler
-
Sets the
PreferredColorSpacethat will be used along with the version of Android and color space of the requested image to determine the final color space used to decode the image. - PreferredColorSpace - Enum Class in com.bumptech.glide.load
-
Glide's supported handling of color spaces on Android O+, defaults to null.
- preFill(PreFillType.Builder...) - Method in class com.bumptech.glide.load.engine.prefill.BitmapPreFiller
- preFillBitmapPool(PreFillType.Builder...) - Method in class com.bumptech.glide.Glide
-
Pre-fills the
BitmapPoolusing the given sizes. - PreFillType - Class in com.bumptech.glide.load.engine.prefill
-
A container for a put of options used to pre-fill a
BitmapPoolwithBitmapsof a single size and configuration. - PreFillType.Builder - Class in com.bumptech.glide.load.engine.prefill
-
Builder for
PreFillType. - preload() - Method in class com.bumptech.glide.RequestBuilder
-
Preloads the resource into the cache using
Target.SIZE_ORIGINALas the target width and height. - preload(int, int) - Method in class com.bumptech.glide.RequestBuilder
-
Preloads the resource into the cache using the given width and height.
- PreloadTarget<Z> - Class in com.bumptech.glide.request.target
-
A one time use
Targetclass that loads a resource into memory and then clears itself. - prepend(Class<Data>, Encoder<Data>) - Method in class com.bumptech.glide.Registry
- prepend(Class<Data>, Class<TResource>, ResourceDecoder<Data, TResource>) - Method in class com.bumptech.glide.Registry
-
Prepends the given
ResourceDecoderinto the list of all availableResourceDecoders so that it is attempted before all later and defaultResourceDecoders for the given types. - prepend(Class<Model>, Class<Data>, ModelLoaderFactory<? extends Model, ? extends Data>) - Method in class com.bumptech.glide.load.model.ModelLoaderRegistry
- prepend(Class<Model>, Class<Data>, ModelLoaderFactory<Model, Data>) - Method in class com.bumptech.glide.Registry
-
Prepends a new
ModelLoaderFactoryonto the beginning of the existing set so that the constructedModelLoaderwill be tried before all default and previously registeredModelLoaders for the given model and data classes. - prepend(Class<T>, Encoder<T>) - Method in class com.bumptech.glide.provider.EncoderRegistry
- prepend(Class<TResource>, ResourceEncoder<TResource>) - Method in class com.bumptech.glide.Registry
-
Prepends the given
ResourceEncoderinto the list of availableResourceEncoders so that it is attempted before all later and defaultResourceEncoders for the given data type. - prepend(Class<Z>, ResourceEncoder<Z>) - Method in class com.bumptech.glide.provider.ResourceEncoderRegistry
- prepend(String, ResourceDecoder<T, R>, Class<T>, Class<R>) - Method in class com.bumptech.glide.provider.ResourceDecoderRegistry
- prepend(String, Class<Data>, Class<TResource>, ResourceDecoder<Data, TResource>) - Method in class com.bumptech.glide.Registry
-
Prepends the given
ResourceDecoderinto the list of availableResourceDecoders in the same bucket so that it is attempted before all later and defaultResourceDecoders for the given types in that bucket. - printStackTrace() - Method in exception com.bumptech.glide.load.engine.GlideException
- printStackTrace(PrintStream) - Method in exception com.bumptech.glide.load.engine.GlideException
- printStackTrace(PrintWriter) - Method in exception com.bumptech.glide.load.engine.GlideException
- priority(Priority) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Sets the priority for this load.
- Priority - Enum Class in com.bumptech.glide
-
Priorities for completing loads.
- priorityOf(Priority) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.priority(Priority)} set. - put(Bitmap) - Method in interface com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool
-
Adds the given
Bitmapif it is eligible to be re-used and the pool can fit it, or callsBitmap.recycle()on the Bitmap and discards it. - put(Bitmap) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.BitmapPoolAdapter
- put(Bitmap) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool
- put(Bitmap) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.SizeConfigStrategy
- put(A, int, int, B) - Method in class com.bumptech.glide.load.model.ModelCache
-
Add a value.
- put(Key, DiskCache.Writer) - Method in interface com.bumptech.glide.load.engine.cache.DiskCache
-
Write to a key in the cache.
- put(Key, DiskCache.Writer) - Method in class com.bumptech.glide.load.engine.cache.DiskCacheAdapter
- put(Key, DiskCache.Writer) - Method in class com.bumptech.glide.load.engine.cache.DiskLruCacheWrapper
- put(Key, Resource<?>) - Method in interface com.bumptech.glide.load.engine.cache.MemoryCache
-
Add bitmap to the cache with the given key.
- put(Key, Resource<?>) - Method in class com.bumptech.glide.load.engine.cache.MemoryCacheAdapter
- put(Class<?>, Class<?>, Class<?>, LoadPath<?, ?, ?>) - Method in class com.bumptech.glide.provider.LoadPathCache
- put(Class<?>, Class<?>, Class<?>, List<Class<?>>) - Method in class com.bumptech.glide.provider.ModelToResourceClassCache
- put(K, V) - Method in class com.bumptech.glide.util.CachedHashCodeArrayMap
- put(T) - Method in interface com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool
-
Optionally adds the given array of the given type to the pool.
- put(T) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruArrayPool
- put(T, Class<T>) - Method in interface com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool
-
Deprecated.
- put(T, Class<T>) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruArrayPool
-
Deprecated.
- put(T, Y) - Method in class com.bumptech.glide.util.LruCache
-
Adds the given item to the cache with the given key and returns any previous entry for the given key that may have already been in the cache.
- putAll(SimpleArrayMap<? extends K, ? extends V>) - Method in class com.bumptech.glide.util.CachedHashCodeArrayMap
- putAll(Options) - Method in class com.bumptech.glide.load.Options
Q
- QMediaStoreUriLoader<DataT> - Class in com.bumptech.glide.load.model.stream
-
Best effort attempt to work around various Q storage states and bugs.
- QMediaStoreUriLoader.FileDescriptorFactory - Class in com.bumptech.glide.load.model.stream
-
Factory for
ParcelFileDescriptor. - QMediaStoreUriLoader.InputStreamFactory - Class in com.bumptech.glide.load.model.stream
-
Factory for
InputStream. - QUALITY - Enum constant in enum class com.bumptech.glide.load.resource.bitmap.DownsampleStrategy.SampleSizeRounding
-
Prefer to round the sample size down so that the image is downsampled to larger than the requested size to maintain quality at the expense of extra memory usage.
R
- RAW - Enum constant in enum class com.bumptech.glide.load.ImageHeaderParser.ImageType
- read() - Method in class com.bumptech.glide.load.data.ExifOrientationStream
- read() - Method in class com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream
-
Reads a single byte from this stream and returns it as an integer in the range from 0 to 255.
- read() - Method in class com.bumptech.glide.util.ContentLengthInputStream
- read() - Method in class com.bumptech.glide.util.ExceptionCatchingInputStream
-
Deprecated.
- read() - Method in class com.bumptech.glide.util.ExceptionPassthroughInputStream
- read() - Method in class com.bumptech.glide.util.MarkEnforcingInputStream
- read(byte[]) - Method in class com.bumptech.glide.util.ContentLengthInputStream
- read(byte[]) - Method in class com.bumptech.glide.util.ExceptionCatchingInputStream
-
Deprecated.
- read(byte[]) - Method in class com.bumptech.glide.util.ExceptionPassthroughInputStream
- read(byte[], int, int) - Method in class com.bumptech.glide.load.data.ExifOrientationStream
- read(byte[], int, int) - Method in class com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream
-
Reads at most
byteCountbytes from this stream and stores them in byte arraybufferstarting at offsetoffset. - read(byte[], int, int) - Method in class com.bumptech.glide.util.ContentLengthInputStream
- read(byte[], int, int) - Method in class com.bumptech.glide.util.ExceptionCatchingInputStream
-
Deprecated.
- read(byte[], int, int) - Method in class com.bumptech.glide.util.ExceptionPassthroughInputStream
- read(byte[], int, int) - Method in class com.bumptech.glide.util.MarkEnforcingInputStream
- RecyclableBufferedInputStream - Class in com.bumptech.glide.load.resource.bitmap
-
Wraps an existing
InputStreamand buffers the input. - RecyclableBufferedInputStream(InputStream, ArrayPool) - Constructor for class com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream
- recycle() - Method in interface com.bumptech.glide.load.engine.Resource
-
Cleans up and recycles internal resources.
- recycle() - Method in class com.bumptech.glide.load.resource.bitmap.BitmapDrawableResource
- recycle() - Method in class com.bumptech.glide.load.resource.bitmap.BitmapResource
- recycle() - Method in class com.bumptech.glide.load.resource.bitmap.LazyBitmapDrawableResource
- recycle() - Method in class com.bumptech.glide.load.resource.bytes.BytesResource
- recycle() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
-
Clears any resources for loading frames that are currently held on to by this object.
- recycle() - Method in class com.bumptech.glide.load.resource.gif.GifDrawableResource
- recycle() - Method in class com.bumptech.glide.load.resource.SimpleResource
- register(DataRewinder.Factory<?>) - Method in class com.bumptech.glide.load.data.DataRewinderRegistry
- register(DataRewinder.Factory<?>) - Method in class com.bumptech.glide.Registry
-
Registers a new
DataRewinder.Factoryto handle a non-default data type that can be rewind to allow for efficient reads of file headers. - register(ImageHeaderParser) - Method in class com.bumptech.glide.Registry
-
Registers a new
ImageHeaderParserthat can obtain some basic metadata from an image header (orientation, type etc). - register(Class<Data>, Encoder<Data>) - Method in class com.bumptech.glide.Registry
-
Deprecated.Use the equivalent
Registry.append(Class, Class, ModelLoaderFactory)method instead. - register(Class<TResource>, ResourceEncoder<TResource>) - Method in class com.bumptech.glide.Registry
-
Deprecated.Use the equivalent
Registry.append(Class, ResourceEncoder)method instead. - register(Class<TResource>, Class<Transcode>, ResourceTranscoder<TResource, Transcode>) - Method in class com.bumptech.glide.Registry
-
Registers the given
ResourceTranscoderto convert from the given resourceClassto the given transcodeClass. - register(Class<Z>, Class<R>, ResourceTranscoder<Z, R>) - Method in class com.bumptech.glide.load.resource.transcode.TranscoderRegistry
-
Registers the given
ResourceTranscoderusing the given classes so it can later be retrieved using the given classes. - registerAnimationCallback(Animatable2Compat.AnimationCallback) - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
-
Register callback to listen to GifDrawable animation end event after specific loop count set by
GifDrawable.setLoopCount(int). - registerComponents(Context, Glide, Registry) - Method in class com.bumptech.glide.module.LibraryGlideModule
- registerComponents(Context, Glide, Registry) - Method in interface com.bumptech.glide.module.GlideModule
-
Deprecated.Lazily register components immediately after the Glide singleton is created but before any requests can be started.
- Registry - Class in com.bumptech.glide
-
Manages component registration to extend or replace Glide's default loading, decoding, and encoding logic.
- Registry() - Constructor for class com.bumptech.glide.Registry
- Registry.MissingComponentException - Exception in com.bumptech.glide
-
Thrown when some necessary component is missing for a load.
- Registry.NoImageHeaderParserException - Exception in com.bumptech.glide
-
Thrown when no
ImageHeaderParseris registered. - Registry.NoModelLoaderAvailableException - Exception in com.bumptech.glide
-
Thrown when no
ModelLoaderis registered for a given model class. - Registry.NoResultEncoderAvailableException - Exception in com.bumptech.glide
-
Thrown when no
ResourceEncoderis registered for a given resource class. - Registry.NoSourceEncoderAvailableException - Exception in com.bumptech.glide
-
Thrown when no
Encoderis registered for a given data class. - release() - Method in class com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream
- release() - Method in class com.bumptech.glide.util.ExceptionCatchingInputStream
-
Deprecated.
- release() - Method in class com.bumptech.glide.util.ExceptionPassthroughInputStream
- release(byte[]) - Method in class com.bumptech.glide.load.resource.gif.GifBitmapProvider
- release(int[]) - Method in class com.bumptech.glide.load.resource.gif.GifBitmapProvider
- release(Bitmap) - Method in class com.bumptech.glide.load.resource.gif.GifBitmapProvider
- release(Resource<?>) - Method in class com.bumptech.glide.load.engine.Engine
- REMOTE - Enum constant in enum class com.bumptech.glide.load.DataSource
-
Indicates data was retrieved from a remote source other than the device.
- remove(Key) - Method in interface com.bumptech.glide.load.engine.cache.MemoryCache
-
Removes the value for the given key and returns it if present or null otherwise.
- remove(Key) - Method in class com.bumptech.glide.load.engine.cache.MemoryCacheAdapter
- remove(Option<?>) - Method in class com.bumptech.glide.load.Options
- remove(Class<Model>, Class<Data>) - Method in class com.bumptech.glide.load.model.ModelLoaderRegistry
- remove(T) - Method in class com.bumptech.glide.util.LruCache
-
Removes the item at the given key and returns the removed item if present, and null otherwise.
- removeAt(int) - Method in class com.bumptech.glide.util.CachedHashCodeArrayMap
- removeCallback(SizeReadyCallback) - Method in class com.bumptech.glide.request.RequestFutureTarget
- removeCallback(SizeReadyCallback) - Method in class com.bumptech.glide.request.target.CustomTarget
- removeCallback(SizeReadyCallback) - Method in class com.bumptech.glide.request.target.CustomViewTarget
- removeCallback(SizeReadyCallback) - Method in class com.bumptech.glide.request.target.SimpleTarget
-
Deprecated.
- removeCallback(SizeReadyCallback) - Method in interface com.bumptech.glide.request.target.Target
-
Removes the given callback from the pending set if it's still retained.
- removeCallback(SizeReadyCallback) - Method in class com.bumptech.glide.request.target.ViewTarget
-
Deprecated.
- removeCallbacksOnUiThread(Runnable) - Static method in class com.bumptech.glide.util.Util
-
Removes the given
runnablefrom the UI threads queue if it is still queued. - removeLast() - Method in class com.bumptech.glide.load.engine.bitmap_recycle.SizeConfigStrategy
- removeListener(LifecycleListener) - Method in interface com.bumptech.glide.manager.Lifecycle
-
Removes the given listener from the set of listeners managed by this Lifecycle implementation, returning
trueif the listener was removed successfully, andfalseotherwise. - replace(Class<Model>, Class<Data>, ModelLoaderFactory<? extends Model, ? extends Data>) - Method in class com.bumptech.glide.load.model.ModelLoaderRegistry
- replace(Class<Model>, Class<Data>, ModelLoaderFactory<? extends Model, ? extends Data>) - Method in class com.bumptech.glide.Registry
-
Removes all default and previously registered
ModelLoaderFactorys for the given data and model class and replaces all of them with the singleModelLoaderprovided. - Request - Interface in com.bumptech.glide.request
-
A request that loads a resource for an
Target. - RequestBuilder<TranscodeType> - Class in com.bumptech.glide
-
A generic class that can handle setting options and staring loads for generic resource types.
- RequestBuilder(Glide, RequestManager, Class<TranscodeType>, Context) - Constructor for class com.bumptech.glide.RequestBuilder
- RequestBuilder(Class<TranscodeType>, RequestBuilder<?>) - Constructor for class com.bumptech.glide.RequestBuilder
- RequestCoordinator - Interface in com.bumptech.glide.request
-
An interface for coordinating multiple requests with the same
Target. - RequestCoordinator.RequestState - Enum Class in com.bumptech.glide.request
-
A simple state enum to keep track of the states of individual subrequests.
- RequestFutureTarget<R> - Class in com.bumptech.glide.request
-
A
Futureimplementation for Glide that can be used to load resources in a blocking manner on background threads. - RequestFutureTarget(int, int) - Constructor for class com.bumptech.glide.request.RequestFutureTarget
-
Constructor for a RequestFutureTarget.
- RequestListener<R> - Interface in com.bumptech.glide.request
-
A class for monitoring the status of a request while images load.
- RequestManager - Class in com.bumptech.glide
-
A class for managing and starting requests for Glide.
- RequestManager(Glide, Lifecycle, RequestManagerTreeNode, Context) - Constructor for class com.bumptech.glide.RequestManager
- RequestManagerFragment - Class in com.bumptech.glide.manager
-
Deprecated.This class is unused by Glide and contains only no-op methods. It's retained along with its public methods to avoid breaking binary compatibility. Lifecycle integration is no longer supported outside of androidx Activitys and Fragments.
- RequestManagerFragment() - Constructor for class com.bumptech.glide.manager.RequestManagerFragment
-
Deprecated.
- RequestManagerRetriever - Class in com.bumptech.glide.manager
-
A collection of static methods for creating new
RequestManagers or retrieving existing ones from activities and fragment. - RequestManagerRetriever(RequestManagerRetriever.RequestManagerFactory) - Constructor for class com.bumptech.glide.manager.RequestManagerRetriever
- RequestManagerRetriever.RequestManagerFactory - Interface in com.bumptech.glide.manager
-
Used internally to create
RequestManagers. - RequestManagerTreeNode - Interface in com.bumptech.glide.manager
-
Provides access to the relatives of a RequestManager based on the current context.
- RequestOptions - Class in com.bumptech.glide.request
-
Provides type independent options to customize loads with Glide.
- RequestOptions() - Constructor for class com.bumptech.glide.request.RequestOptions
- RequestTracker - Class in com.bumptech.glide.manager
-
A class for tracking, canceling, and restarting in progress, completed, and failed requests.
- RequestTracker() - Constructor for class com.bumptech.glide.manager.RequestTracker
- reset() - Method in class com.bumptech.glide.load.data.ExifOrientationStream
- reset() - Method in class com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream
-
Resets this stream to the last marked location.
- reset() - Method in class com.bumptech.glide.util.ExceptionCatchingInputStream
-
Deprecated.
- reset() - Method in class com.bumptech.glide.util.ExceptionPassthroughInputStream
- reset() - Method in class com.bumptech.glide.util.MarkEnforcingInputStream
- reset(T) - Method in interface com.bumptech.glide.util.pool.FactoryPools.Resetter
- Resource<Z> - Interface in com.bumptech.glide.load.engine
-
A resource interface that wraps a particular type so that it can be pooled and reused.
- RESOURCE - Static variable in class com.bumptech.glide.load.engine.DiskCacheStrategy
-
Writes resources to disk after they've been decoded.
- RESOURCE_DISK_CACHE - Enum constant in enum class com.bumptech.glide.load.DataSource
-
Indicates data was retrieved from modified content in the on device cache.
- ResourceBitmapDecoder - Class in com.bumptech.glide.load.resource.bitmap
-
Decodes
Bitmaps from resource ids. - ResourceBitmapDecoder(ResourceDrawableDecoder, BitmapPool) - Constructor for class com.bumptech.glide.load.resource.bitmap.ResourceBitmapDecoder
- ResourceCallback - Interface in com.bumptech.glide.request
-
A callback that listens for when a resource load completes successfully or fails due to an exception.
- ResourceDecoder<T,
Z> - Interface in com.bumptech.glide.load -
An interface for decoding resources.
- ResourceDecoderRegistry - Class in com.bumptech.glide.provider
-
Contains an ordered list of
ResourceDecoders capable of decoding arbitrary data types into arbitrary resource types from highest priority decoders to lowest priority decoders. - ResourceDecoderRegistry() - Constructor for class com.bumptech.glide.provider.ResourceDecoderRegistry
- ResourceDrawableDecoder - Class in com.bumptech.glide.load.resource.drawable
- ResourceDrawableDecoder(Context) - Constructor for class com.bumptech.glide.load.resource.drawable.ResourceDrawableDecoder
- ResourceEncoder<T> - Interface in com.bumptech.glide.load
-
An interface for writing data from a resource to some persistent data store (i.e.
- ResourceEncoderRegistry - Class in com.bumptech.glide.provider
-
Contains an ordered list of
ResourceEncoders capable of encoding arbitrary resource types. - ResourceEncoderRegistry() - Constructor for class com.bumptech.glide.provider.ResourceEncoderRegistry
- ResourceLoader<Data> - Class in com.bumptech.glide.load.model
-
A model loader for handling Android resource files.
- ResourceLoader(Resources, ModelLoader<Uri, Data>) - Constructor for class com.bumptech.glide.load.model.ResourceLoader
- ResourceLoader.AssetFileDescriptorFactory - Class in com.bumptech.glide.load.model
-
Loads
AssetFileDescriptors from resource ids. - ResourceLoader.FileDescriptorFactory - Class in com.bumptech.glide.load.model
-
Deprecated.This class is unused by Glide.
ResourceLoader.AssetFileDescriptorFactoryshould be preferred because it's not possible to reliably load a simpleFileDescriptorfor resources. - ResourceLoader.StreamFactory - Class in com.bumptech.glide.load.model
-
Factory for loading
InputStreams from Android resource ids. - ResourceLoader.UriFactory - Class in com.bumptech.glide.load.model
-
Factory for loading resource
Uris from Android resource ids. - ResourceTranscoder<Z,
R> - Interface in com.bumptech.glide.load.resource.transcode -
Transcodes a resource of one type to a resource of another type.
- ResourceUriLoader<DataT> - Class in com.bumptech.glide.load.model
-
Converts Resource Uris to resource ids if the resource Uri points to a resource in this package.
- restartRequests() - Method in class com.bumptech.glide.manager.RequestTracker
-
Restarts failed requests and cancels and restarts in progress requests.
- resumeRequests() - Method in class com.bumptech.glide.manager.RequestTracker
-
Starts any not yet completed or failed requests.
- resumeRequests() - Method in class com.bumptech.glide.RequestManager
-
Restarts any loads that have not yet completed.
- resumeRequestsRecursive() - Method in class com.bumptech.glide.RequestManager
-
Performs
RequestManager.resumeRequests()recursively for all managers that are contextually descendant to this manager based on the Activity/Fragment hierarchy. - rewind(ByteBuffer) - Static method in class com.bumptech.glide.util.ByteBufferUtil
- rewindAndGet() - Method in interface com.bumptech.glide.load.data.DataRewinder
-
Rewinds the wrapped data back to the beginning and returns the re-wound data (or a wrapper for the re-wound data).
- rewindAndGet() - Method in class com.bumptech.glide.load.data.InputStreamRewinder
- rewindAndGet() - Method in class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder
- rewindAndGet() - Method in class com.bumptech.glide.load.resource.bytes.ByteBufferRewinder
- Rotate - Class in com.bumptech.glide.load.resource.bitmap
-
A
BitmapTransformationwhich rotates the bitmap. - Rotate(int) - Constructor for class com.bumptech.glide.load.resource.bitmap.Rotate
- rotateImage(Bitmap, int) - Static method in class com.bumptech.glide.load.resource.bitmap.TransformationUtils
-
This is an expensive operation that copies the image in place with the pixels rotated.
- rotateImageExif(BitmapPool, Bitmap, int) - Static method in class com.bumptech.glide.load.resource.bitmap.TransformationUtils
-
Rotate and/or flip the image to match the given exif orientation.
- roundedCorners(BitmapPool, Bitmap, float, float, float, float) - Static method in class com.bumptech.glide.load.resource.bitmap.TransformationUtils
-
Creates a bitmap from a source bitmap and rounds the corners, applying a potentially different [X, Y] radius to each corner.
- roundedCorners(BitmapPool, Bitmap, int) - Static method in class com.bumptech.glide.load.resource.bitmap.TransformationUtils
-
Creates a bitmap from a source bitmap and rounds the corners.
- roundedCorners(BitmapPool, Bitmap, int, int, int) - Static method in class com.bumptech.glide.load.resource.bitmap.TransformationUtils
-
Deprecated.Width and height are unused and ignored. Use
TransformationUtils.roundedCorners(BitmapPool, Bitmap, int)instead. - RoundedCorners - Class in com.bumptech.glide.load.resource.bitmap
-
A
BitmapTransformationwhich rounds the corners of a bitmap. - RoundedCorners(int) - Constructor for class com.bumptech.glide.load.resource.bitmap.RoundedCorners
- RUNNING - Enum constant in enum class com.bumptech.glide.request.RequestCoordinator.RequestState
- runRequest(Request) - Method in class com.bumptech.glide.manager.RequestTracker
-
Starts tracking the given request.
S
- SafeKeyGenerator - Class in com.bumptech.glide.load.engine.cache
-
A class that generates and caches safe and unique string file names from
Keys. - SafeKeyGenerator() - Constructor for class com.bumptech.glide.load.engine.cache.SafeKeyGenerator
- scheduleSelf(Runnable, long) - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- selfOrThrowIfLocked() - Method in class com.bumptech.glide.request.BaseRequestOptions
- set(Option<T>, T) - Method in class com.bumptech.glide.load.Options
- set(Option<Y>, Y) - Method in class com.bumptech.glide.request.BaseRequestOptions
- set(Class<?>, Class<?>) - Method in class com.bumptech.glide.util.MultiClassKey
- set(Class<?>, Class<?>, Class<?>) - Method in class com.bumptech.glide.util.MultiClassKey
- setAlpha(int) - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- setAlpha(int) - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- setAlpha(Bitmap, Bitmap) - Static method in class com.bumptech.glide.load.resource.bitmap.TransformationUtils
-
Sets the alpha of the Bitmap we're going to re-use to the alpha of the Bitmap we're going to transform.
- setAnimationExecutor(GlideExecutor) - Method in class com.bumptech.glide.GlideBuilder
-
Sets the
GlideExecutorto use when loading frames of animated images and particularly ofGifDrawables. - setArrayPool(ArrayPool) - Method in class com.bumptech.glide.GlideBuilder
-
Sets the
ArrayPoolimplementation to allow variable sized arrays to be stored and retrieved as needed. - setArrayPoolSize(int) - Method in class com.bumptech.glide.load.engine.cache.MemorySizeCalculator.Builder
-
Sets the size in bytes of the
ArrayPoolto use to store temporary arrays while decoding data and returns this builder. - setBitmapPool(BitmapPool) - Method in class com.bumptech.glide.GlideBuilder
-
Sets the
BitmapPoolimplementation to use to store and retrieve reusedBitmaps. - setBitmapPoolScreens(float) - Method in class com.bumptech.glide.load.engine.cache.MemorySizeCalculator.Builder
-
Sets the number of device screens worth of pixels the
BitmapPoolshould be able to hold and returns this Builder. - setBounds(int, int, int, int) - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- setBounds(Rect) - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- setBucketPriorityList(List<String>) - Method in class com.bumptech.glide.provider.ResourceDecoderRegistry
- setChangingConfigurations(int) - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- setColorFilter(int, PorterDuff.Mode) - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- setColorFilter(ColorFilter) - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- setColorFilter(ColorFilter) - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- setConfig(Bitmap.Config) - Method in class com.bumptech.glide.load.engine.prefill.PreFillType.Builder
-
Sets the
Bitmap.Configfor the Bitmaps to pre-fill. - setConnectivityMonitorFactory(ConnectivityMonitorFactory) - Method in class com.bumptech.glide.GlideBuilder
-
Sets the
ConnectivityMonitorFactoryto use to notifyRequestManagerof connectivity events. - setCrossFadeEnabled(boolean) - Method in class com.bumptech.glide.request.transition.DrawableCrossFadeFactory.Builder
-
Enables or disables animating the alpha of the
Drawablethe cross fade will animate from. - setDefaultRequestOptions(Glide.RequestOptionsFactory) - Method in class com.bumptech.glide.GlideBuilder
-
Sets a factory for the default
RequestOptionsto use for all loads across the app and returns thisGlideBuilder. - setDefaultRequestOptions(RequestOptions) - Method in class com.bumptech.glide.GlideBuilder
-
Sets the default
RequestOptionsto use for all loads across the app. - setDefaultRequestOptions(RequestOptions) - Method in class com.bumptech.glide.RequestManager
-
Replaces the default
RequestOptionsfor all loads started with this request manager with the givenRequestOptions. - setDefaultTransitionOptions(Class<T>, TransitionOptions<?, T>) - Method in class com.bumptech.glide.GlideBuilder
-
Sets the default
TransitionOptionsto use when starting a request that will load a resource with the givenClass. - setDisableHardwareBitmapsOnO(boolean) - Method in class com.bumptech.glide.GlideBuilder
-
Deprecated.This method does nothing. It will be hard coded and removed in a future release without further warning.
- setDiskCache(DiskCache.Factory) - Method in class com.bumptech.glide.GlideBuilder
-
Sets the
DiskCache.Factoryimplementation to use to construct theDiskCacheto use to storeResourcedata on disk. - setDiskCacheExecutor(GlideExecutor) - Method in class com.bumptech.glide.GlideBuilder
-
Sets the
GlideExecutorto use when retrievingResources that are currently in Glide's disk caches. - setDither(boolean) - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
-
Deprecated.
- setDrawable(Drawable) - Method in class com.bumptech.glide.request.target.ImageViewTarget
-
Sets the given
Drawableon the view usingImageView.setImageDrawable(android.graphics.drawable.Drawable). - setDrawable(Drawable) - Method in interface com.bumptech.glide.request.transition.Transition.ViewAdapter
-
Sets the current drawable (usually an animated drawable) to display in the wrapped view.
- setFilterBitmap(boolean) - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- setFrameTransformation(Transformation<Bitmap>, Bitmap) - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- setHeader(String, LazyHeaderFactory) - Method in class com.bumptech.glide.load.model.LazyHeaders.Builder
-
Replaces all existing
LazyHeaderFactorysfor the given key with the givenLazyHeaderFactory. - setHeader(String, String) - Method in class com.bumptech.glide.load.model.LazyHeaders.Builder
-
Replaces all existing
LazyHeaderFactorysfor the given key with the givenLazyHeaderFactory. - setImageDecoderEnabledForBitmaps(boolean) - Method in class com.bumptech.glide.GlideBuilder
- setIsActiveResourceRetentionAllowed(boolean) - Method in class com.bumptech.glide.GlideBuilder
-
If set to
true, allows Glide to re-capture resources that are loaded intoTargets which are subsequently de-referenced and garbage collected without being cleared. - setLogLevel(int) - Method in class com.bumptech.glide.GlideBuilder
-
Sets a log level constant from those in
Logto indicate the desired log verbosity. - setLogRequestOrigins(boolean) - Method in class com.bumptech.glide.GlideBuilder
-
Set to
trueto make Glide populateGlideException.setOrigin(Exception)for failed requests. - setLoopCount(int) - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- setLowMemoryMaxSizeMultiplier(float) - Method in class com.bumptech.glide.load.engine.cache.MemorySizeCalculator.Builder
-
Sets the maximum percentage of the device's memory class for low ram devices that can be taken up by Glide's
MemoryCacheandBitmapPoolput together, and returns this builder. - setMaxSizeMultiplier(float) - Method in class com.bumptech.glide.load.engine.cache.MemorySizeCalculator.Builder
-
Sets the maximum percentage of the device's memory class for standard devices that can be taken up by Glide's
MemoryCacheandBitmapPoolput together, and returns this builder. - setMemoryCache(MemoryCache) - Method in class com.bumptech.glide.GlideBuilder
-
Sets the
MemoryCacheimplementation to storeResources that are not currently in use. - setMemoryCacheScreens(float) - Method in class com.bumptech.glide.load.engine.cache.MemorySizeCalculator.Builder
-
Sets the number of device screens worth of pixels the
MemoryCacheshould be able to hold and returns this Builder. - setMemoryCategory(MemoryCategory) - Method in class com.bumptech.glide.Glide
-
Adjusts Glide's current and maximum memory usage based on the given
MemoryCategory. - setMemorySizeCalculator(MemorySizeCalculator) - Method in class com.bumptech.glide.GlideBuilder
-
Sets the
MemorySizeCalculatorto use to calculate maximum sizes for defaultMemoryCachesand/or defaultBitmapPools. - setMemorySizeCalculator(MemorySizeCalculator.Builder) - Method in class com.bumptech.glide.GlideBuilder
-
Sets the
MemorySizeCalculatorto use to calculate maximum sizes for defaultMemoryCachesand/or defaultBitmapPools. - setName(String) - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor.Builder
-
Sets the prefix to use for each thread name created by any
GlideExecutors built by thisBuilder. - setOrigin(Exception) - Method in exception com.bumptech.glide.load.engine.GlideException
-
Sets a stack trace that includes where the request originated.
- setPauseAllRequestsOnTrimMemoryModerate(boolean) - Method in class com.bumptech.glide.RequestManager
-
If
truethen clear all in-progress and completed requests when the platform sendsonTrimMemorywith level =TRIM_MEMORY_MODERATE. - setRequest(Request) - Method in class com.bumptech.glide.request.RequestFutureTarget
- setRequest(Request) - Method in class com.bumptech.glide.request.target.BaseTarget
-
Deprecated.
- setRequest(Request) - Method in class com.bumptech.glide.request.target.CustomTarget
- setRequest(Request) - Method in class com.bumptech.glide.request.target.CustomViewTarget
-
Stores the request using
View.setTag(Object). - setRequest(Request) - Method in interface com.bumptech.glide.request.target.Target
-
Sets the current request for this target to retain, should not be called outside of Glide.
- setRequest(Request) - Method in class com.bumptech.glide.request.target.ViewTarget
-
Deprecated.Stores the request using
View.setTag(Object). - setRequestManager(RequestManager) - Method in class com.bumptech.glide.manager.RequestManagerFragment
-
Deprecated.This method is a no-op. See the class comment for deprecation details.
- setRequestManager(RequestManager) - Method in class com.bumptech.glide.manager.SupportRequestManagerFragment
-
Deprecated.A no-op method. See the class deprecation method for details.
- setRequestOptions(RequestOptions) - Method in class com.bumptech.glide.RequestManager
- setRequests(Request, Request) - Method in class com.bumptech.glide.request.ErrorRequestCoordinator
- setRequests(Request, Request) - Method in class com.bumptech.glide.request.ThumbnailRequestCoordinator
- setResizeExecutor(GlideExecutor) - Method in class com.bumptech.glide.GlideBuilder
-
Deprecated.
- setResource(Bitmap) - Method in class com.bumptech.glide.request.target.BitmapImageViewTarget
-
Sets the
Bitmapon the view usingImageView.setImageBitmap(android.graphics.Bitmap). - setResource(Drawable) - Method in class com.bumptech.glide.request.target.DrawableImageViewTarget
- setResource(T) - Method in class com.bumptech.glide.request.target.ThumbnailImageViewTarget
- setResource(Z) - Method in class com.bumptech.glide.request.target.ImageViewTarget
- setResourceDecoderBucketPriorityList(List<String>) - Method in class com.bumptech.glide.Registry
-
Overrides the default ordering of resource decoder buckets.
- setResourceRemovedListener(MemoryCache.ResourceRemovedListener) - Method in class com.bumptech.glide.load.engine.cache.LruResourceCache
- setResourceRemovedListener(MemoryCache.ResourceRemovedListener) - Method in interface com.bumptech.glide.load.engine.cache.MemoryCache
-
Set the listener to be called when a bitmap is removed from the cache.
- setResourceRemovedListener(MemoryCache.ResourceRemovedListener) - Method in class com.bumptech.glide.load.engine.cache.MemoryCacheAdapter
- setSizeMultiplier(float) - Method in interface com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool
-
Multiplies the initial size of the pool by the given multiplier to dynamically and synchronously allow users to adjust the size of the pool.
- setSizeMultiplier(float) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.BitmapPoolAdapter
- setSizeMultiplier(float) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool
- setSizeMultiplier(float) - Method in interface com.bumptech.glide.load.engine.cache.MemoryCache
-
Adjust the maximum size of the cache by multiplying the original size of the cache by the given multiplier.
- setSizeMultiplier(float) - Method in class com.bumptech.glide.load.engine.cache.MemoryCacheAdapter
- setSizeMultiplier(float) - Method in class com.bumptech.glide.util.LruCache
-
Sets a size multiplier that will be applied to the size provided in the constructor to put the new size of the cache.
- setSourceExecutor(GlideExecutor) - Method in class com.bumptech.glide.GlideBuilder
-
Sets the
GlideExecutorto use when retrievingResources that are not already in the cache. - setTagId(int) - Static method in class com.bumptech.glide.request.target.ViewTarget
-
Deprecated.Glide uses it's own default tag id, so there's no need to specify your own. This method will be removed in a future version.
- setThreadCount(int) - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor.Builder
-
Sets the maximum number of threads to use.
- setThreadFactory(ThreadFactory) - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor.Builder
-
Deprecated.This is an experimental method that may be removed without warning in a future version.
- setThreadTimeoutMillis(long) - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor.Builder
-
Allows both core and non-core threads in the executor to be terminated if no tasks arrive for at least the given timeout milliseconds.
- setUncaughtThrowableStrategy(GlideExecutor.UncaughtThrowableStrategy) - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor.Builder
-
Sets the
GlideExecutor.UncaughtThrowableStrategyto use for unexpected exceptions thrown by tasks onGlideExecutors built by thisBuilder. - setValueAt(int, V) - Method in class com.bumptech.glide.util.CachedHashCodeArrayMap
- setView(View) - Method in class com.bumptech.glide.util.ViewPreloadSizeProvider
-
Sets the
Viewthe size will be extracted. - setVisible(boolean, boolean) - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- setVisible(boolean, boolean) - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- setWeight(int) - Method in class com.bumptech.glide.load.engine.prefill.PreFillType.Builder
-
Sets the weight to use to balance how many Bitmaps of this type are prefilled relative to the other requested types.
- sha256BytesToHex(byte[]) - Static method in class com.bumptech.glide.util.Util
-
Returns the hex string of the given byte array representing a SHA256 hash.
- shutdown() - Method in class com.bumptech.glide.load.engine.Engine
- shutdown() - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor
- shutdownAndAwaitTermination(ExecutorService) - Static method in class com.bumptech.glide.util.Executors
- shutdownNow() - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor
- signature(Key) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Sets some additional data to be mixed in to the memory and disk cache keys allowing the caller more control over when cached data is invalidated.
- signatureOf(Key) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.signatureset. - simple(int, FactoryPools.Factory<T>) - Static method in class com.bumptech.glide.util.pool.FactoryPools
-
Returns a non-thread safe
Pools.Poolthat never returnsnullfromPools.Pool.acquire()and that contains objects of the type created by the givenFactoryPools.Factorywith the given maximum size. - SimpleResource<T> - Class in com.bumptech.glide.load.resource
-
Simple wrapper for an arbitrary object which helps to satisfy some of the glide engine's contracts.
- SimpleResource(T) - Constructor for class com.bumptech.glide.load.resource.SimpleResource
- SimpleTarget<Z> - Class in com.bumptech.glide.request.target
-
Deprecated.Use
CustomViewTargetif loading the content into a view, the download API if in the background (http://bumptech.github.io/glide/doc/getting-started.html#background-threads), or aCustomTargetfor any specialized use-cases. UsingSimpleTargetorBaseTargetis unsafe if the user does not implementBaseTarget.onLoadCleared(android.graphics.drawable.Drawable), resulting in recycled bitmaps being referenced from the UI and hard to root-cause crashes. - SimpleTarget() - Constructor for class com.bumptech.glide.request.target.SimpleTarget
-
Deprecated.Constructor for the target that uses
Target.SIZE_ORIGINALas the target width and height. - SimpleTarget(int, int) - Constructor for class com.bumptech.glide.request.target.SimpleTarget
-
Deprecated.Constructor for the target that takes the desired dimensions of the decoded and/or transformed resource.
- SingleRequest<R> - Class in com.bumptech.glide.request
- SIZE_ORIGINAL - Static variable in interface com.bumptech.glide.request.target.Target
-
Indicates that we want the resource in its original unmodified width and/or height.
- SizeConfigStrategy - Class in com.bumptech.glide.load.engine.bitmap_recycle
-
Keys
Bitmapsusing bothBitmap.getAllocationByteCount()and theBitmap.Configreturned fromBitmap.getConfig(). - SizeConfigStrategy() - Constructor for class com.bumptech.glide.load.engine.bitmap_recycle.SizeConfigStrategy
- sizeMultiplier(float) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Applies a multiplier to the
Target's size before loading the resource. - sizeMultiplierOf(float) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.sizeMultiplier(float)set. - SizeReadyCallback - Interface in com.bumptech.glide.request.target
-
A callback that must be called when the target has determined its size.
- skip(long) - Method in class com.bumptech.glide.load.data.ExifOrientationStream
- skip(long) - Method in class com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream
-
Skips
byteCountbytes in this stream. - skip(long) - Method in class com.bumptech.glide.util.ExceptionCatchingInputStream
-
Deprecated.
- skip(long) - Method in class com.bumptech.glide.util.ExceptionPassthroughInputStream
- skip(long) - Method in class com.bumptech.glide.util.MarkEnforcingInputStream
- skipMemoryCache(boolean) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Allows the loaded resource to skip the memory cache.
- skipMemoryCacheOf(boolean) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.skipMemoryCache(boolean)set. - SOURCE - Enum constant in enum class com.bumptech.glide.load.EncodeStrategy
-
Writes the original unmodified data for the resource to disk, not include downsampling or transformations.
- sourceKey - Variable in class com.bumptech.glide.load.model.ModelLoader.LoadData
- SRGB - Enum constant in enum class com.bumptech.glide.load.PreferredColorSpace
-
Prefers to decode images using
ColorSpace.Named.SRGB. - STANDARD_BUFFER_SIZE_BYTES - Static variable in interface com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool
-
A standard size to use to increase hit rates when the required size isn't defined.
- start() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- startFromFirstFrame() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
-
Starts the animation from the first frame.
- StateVerifier - Class in com.bumptech.glide.util.pool
-
Verifies that the job is not in the recycled state.
- stop() - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- StreamAssetPathFetcher - Class in com.bumptech.glide.load.data
-
Fetches an
InputStreamfor an asset path. - StreamAssetPathFetcher(AssetManager, String) - Constructor for class com.bumptech.glide.load.data.StreamAssetPathFetcher
- StreamBitmapDecoder - Class in com.bumptech.glide.load.resource.bitmap
-
Decodes
BitmapsfromInputStreams. - StreamBitmapDecoder(Downsampler, ArrayPool) - Constructor for class com.bumptech.glide.load.resource.bitmap.StreamBitmapDecoder
- streamDecoder(List<ImageHeaderParser>, ArrayPool) - Static method in class com.bumptech.glide.load.resource.drawable.AnimatedImageDecoder
- streamDecoder(List<ImageHeaderParser>, ArrayPool) - Static method in class com.bumptech.glide.load.resource.drawable.AnimatedWebpDecoder
-
Deprecated.
- StreamEncoder - Class in com.bumptech.glide.load.model
-
An
Encoderthat can write anInputStreamto disk. - StreamEncoder(ArrayPool) - Constructor for class com.bumptech.glide.load.model.StreamEncoder
- StreamFactory() - Constructor for class com.bumptech.glide.load.model.ByteArrayLoader.StreamFactory
- StreamFactory() - Constructor for class com.bumptech.glide.load.model.DataUrlLoader.StreamFactory
- StreamFactory() - Constructor for class com.bumptech.glide.load.model.FileLoader.StreamFactory
- StreamFactory() - Constructor for class com.bumptech.glide.load.model.stream.UrlLoader.StreamFactory
- StreamFactory() - Constructor for class com.bumptech.glide.load.model.StringLoader.StreamFactory
- StreamFactory() - Constructor for class com.bumptech.glide.load.model.UrlUriLoader.StreamFactory
- StreamFactory(ContentResolver) - Constructor for class com.bumptech.glide.load.model.UriLoader.StreamFactory
- StreamFactory(AssetManager) - Constructor for class com.bumptech.glide.load.model.AssetUriLoader.StreamFactory
- StreamFactory(Resources) - Constructor for class com.bumptech.glide.load.model.ResourceLoader.StreamFactory
- StreamGifDecoder - Class in com.bumptech.glide.load.resource.gif
-
A relatively inefficient decoder for
GifDrawablethat convertsInputStreams toByteBuffers and then passes the buffer to a wrapped decoder. - StreamGifDecoder(List<ImageHeaderParser>, ResourceDecoder<ByteBuffer, GifDrawable>, ArrayPool) - Constructor for class com.bumptech.glide.load.resource.gif.StreamGifDecoder
- StreamLocalUriFetcher - Class in com.bumptech.glide.load.data
-
Fetches an
InputStreamfor a localUri. - StreamLocalUriFetcher(ContentResolver, Uri) - Constructor for class com.bumptech.glide.load.data.StreamLocalUriFetcher
- STRING_CHARSET_NAME - Static variable in interface com.bumptech.glide.load.Key
- StringLoader<Data> - Class in com.bumptech.glide.load.model
-
A model loader for handling certain string models.
- StringLoader(ModelLoader<Uri, Data>) - Constructor for class com.bumptech.glide.load.model.StringLoader
- StringLoader.AssetFileDescriptorFactory - Class in com.bumptech.glide.load.model
-
Loads
AssetFileDescriptors from Strings. - StringLoader.FileDescriptorFactory - Class in com.bumptech.glide.load.model
-
Factory for loading
ParcelFileDescriptors from Strings. - StringLoader.StreamFactory - Class in com.bumptech.glide.load.model
-
Factory for loading
InputStreams from Strings. - submit() - Method in class com.bumptech.glide.RequestBuilder
-
Returns a future that can be used to do a blocking get on a background thread.
- submit(int, int) - Method in class com.bumptech.glide.RequestBuilder
-
Returns a future that can be used to do a blocking get on a background thread.
- submit(Runnable) - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor
- submit(Runnable, T) - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor
- submit(Callable<T>) - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor
- SUCCESS - Enum constant in enum class com.bumptech.glide.request.RequestCoordinator.RequestState
- SupportRequestManagerFragment - Class in com.bumptech.glide.manager
-
Deprecated.This class is unused by Glide. All functionality has been removed. The class will be removed in a future version.
- SupportRequestManagerFragment() - Constructor for class com.bumptech.glide.manager.SupportRequestManagerFragment
-
Deprecated.
- Synthetic - Annotation Interface in com.bumptech.glide.util
-
Indicates that target's visibility can be relaxed to avoid synthetic methods.
T
- Target<R> - Interface in com.bumptech.glide.request.target
-
An interface that Glide can load a resource into and notify of relevant lifecycle events during a load.
- TARGET_FRAME - Static variable in class com.bumptech.glide.load.resource.bitmap.VideoDecoder
-
A long indicating the time position (in microseconds) of the target frame which will be retrieved.
- TargetTracker - Class in com.bumptech.glide.manager
-
Holds the set of
Targets currently active for aRequestManagerand forwards on lifecycle events. - TargetTracker() - Constructor for class com.bumptech.glide.manager.TargetTracker
- teardown() - Method in class com.bumptech.glide.load.model.AssetUriLoader.FileDescriptorFactory
- teardown() - Method in class com.bumptech.glide.load.model.AssetUriLoader.StreamFactory
- teardown() - Method in class com.bumptech.glide.load.model.ByteArrayLoader.ByteBufferFactory
- teardown() - Method in class com.bumptech.glide.load.model.ByteArrayLoader.StreamFactory
- teardown() - Method in class com.bumptech.glide.load.model.ByteBufferFileLoader.Factory
- teardown() - Method in class com.bumptech.glide.load.model.DataUrlLoader.StreamFactory
- teardown() - Method in class com.bumptech.glide.load.model.FileLoader.Factory
- teardown() - Method in class com.bumptech.glide.load.model.MediaStoreFileLoader.Factory
- teardown() - Method in interface com.bumptech.glide.load.model.ModelLoaderFactory
-
A lifecycle method that will be called when this factory is about to replaced.
- teardown() - Method in class com.bumptech.glide.load.model.ResourceLoader.AssetFileDescriptorFactory
- teardown() - Method in class com.bumptech.glide.load.model.ResourceLoader.FileDescriptorFactory
-
Deprecated.
- teardown() - Method in class com.bumptech.glide.load.model.ResourceLoader.StreamFactory
- teardown() - Method in class com.bumptech.glide.load.model.ResourceLoader.UriFactory
- teardown() - Method in class com.bumptech.glide.load.model.stream.HttpGlideUrlLoader.Factory
- teardown() - Method in class com.bumptech.glide.load.model.stream.MediaStoreImageThumbLoader.Factory
- teardown() - Method in class com.bumptech.glide.load.model.stream.MediaStoreVideoThumbLoader.Factory
- teardown() - Method in class com.bumptech.glide.load.model.stream.QMediaStoreUriLoader.FileDescriptorFactory
- teardown() - Method in class com.bumptech.glide.load.model.stream.UrlLoader.StreamFactory
- teardown() - Method in class com.bumptech.glide.load.model.StringLoader.AssetFileDescriptorFactory
- teardown() - Method in class com.bumptech.glide.load.model.StringLoader.FileDescriptorFactory
- teardown() - Method in class com.bumptech.glide.load.model.StringLoader.StreamFactory
- teardown() - Method in class com.bumptech.glide.load.model.UnitModelLoader.Factory
- teardown() - Method in class com.bumptech.glide.load.model.UriLoader.AssetFileDescriptorFactory
- teardown() - Method in class com.bumptech.glide.load.model.UriLoader.FileDescriptorFactory
- teardown() - Method in class com.bumptech.glide.load.model.UriLoader.StreamFactory
- teardown() - Method in class com.bumptech.glide.load.model.UrlUriLoader.StreamFactory
- tearDown() - Static method in class com.bumptech.glide.Glide
- theme(Resources.Theme) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Sets the
Resources.Themeto apply when loadingDrawables for resource ids, including those provided viaBaseRequestOptions.error(int),BaseRequestOptions.placeholder(int), andBaseRequestOptions.fallback(Drawable). - THEME - Static variable in class com.bumptech.glide.load.resource.drawable.ResourceDrawableDecoder
-
Specifies a
Resources.Themewhich will be used to load the drawable. - threadSafe(int, FactoryPools.Factory<T>) - Static method in class com.bumptech.glide.util.pool.FactoryPools
-
Identical to
FactoryPools.threadSafe(int, Factory, Resetter)except no action is taken when an instance is returned to the pool. - threadSafe(int, FactoryPools.Factory<T>, FactoryPools.Resetter<T>) - Static method in class com.bumptech.glide.util.pool.FactoryPools
-
Returns a new thread safe
Pools.Poolthat never returnsnullfromPools.Pool.acquire()and that contains objects of the type created by the givenFactoryPools.Factorywith the given maximum size. - threadSafeList() - Static method in class com.bumptech.glide.util.pool.FactoryPools
-
Returns a new
Pools.Poolthat never returnsnulland that containsListsof a specific generic type with a standard maximum size of 20. - threadSafeList(int) - Static method in class com.bumptech.glide.util.pool.FactoryPools
-
Returns a new thread safe
Pools.Poolthat never returnsnulland that containsListsof a specific generic type with the given maximum size. - THROW - Static variable in interface com.bumptech.glide.load.engine.executor.GlideExecutor.UncaughtThrowableStrategy
-
Rethrows the uncaught
Throwables to crash the app. - throwIfRecycled() - Method in class com.bumptech.glide.util.pool.StateVerifier
-
Throws an exception if we believe our object is recycled and inactive (i.e.
- ThumbFetcher - Class in com.bumptech.glide.load.data.mediastore
-
A
DataFetcherimplementation forInputStreams that loads data from thumbnail files obtained from theMediaStore. - thumbnail(float) - Method in class com.bumptech.glide.RequestBuilder
-
Deprecated.The behavior differences between this method and
RequestBuilder.thumbnail(RequestBuilder)are subtle, hard to understand for users and hard to maintain for developers. See the javadoc onRequestBuilder.listener(RequestListener)for one concrete example of the behavior differences and complexity introduced by this method. Better consistency and readability can be obtained by callingRequestBuilder.thumbnail(RequestBuilder)with a duplicateRequestBuilderon which you have calledBaseRequestOptions.sizeMultiplier(float). In practice this method also isn't especially useful. It's much more common to want to specify a number of different attributes for thumbnails than just a simple percentage modifier on the target size, so there's little justification for keeping this method. This method will be removed in a future version of Glide. - thumbnail(RequestBuilder<TranscodeType>) - Method in class com.bumptech.glide.RequestBuilder
-
Loads and displays the resource retrieved by the given thumbnail request if it finishes before this request.
- thumbnail(RequestBuilder<TranscodeType>...) - Method in class com.bumptech.glide.RequestBuilder
-
Recursively applies
RequestBuilder.thumbnail(RequestBuilder)so that theRequestBuilders are loaded as thumbnails in the given priority order. - thumbnail(List<RequestBuilder<TranscodeType>>) - Method in class com.bumptech.glide.RequestBuilder
-
Recursively applies
RequestBuilder.thumbnail(RequestBuilder)so that theRequestBuilders are loaded as thumbnails in the given priority order. - ThumbnailImageViewTarget<T> - Class in com.bumptech.glide.request.target
-
Avoids extra calls to
View.requestLayout()when loading more than once image into anImageViewwith fixed dimensions. - ThumbnailImageViewTarget(ImageView) - Constructor for class com.bumptech.glide.request.target.ThumbnailImageViewTarget
- ThumbnailImageViewTarget(ImageView, boolean) - Constructor for class com.bumptech.glide.request.target.ThumbnailImageViewTarget
-
Deprecated.Use
ViewTarget.waitForLayout()insetad. - ThumbnailRequestCoordinator - Class in com.bumptech.glide.request
-
A coordinator that coordinates two individual
Requests that load a small thumbnail version of an image and the full size version of the image at the same time. - ThumbnailRequestCoordinator(Object, RequestCoordinator) - Constructor for class com.bumptech.glide.request.ThumbnailRequestCoordinator
- timeout(int) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Sets the read and write timeout for the http requests used to load the image.
- TIMEOUT - Static variable in class com.bumptech.glide.load.model.stream.HttpGlideUrlLoader
-
An integer option that is used to determine the maximum connect and read timeout durations (in milliseconds) for network connections.
- timeoutOf(int) - Static method in class com.bumptech.glide.request.RequestOptions
-
Returns a
RequestOptionsobject withBaseRequestOptions.timeout(int)set. - toBytes(ByteBuffer) - Static method in class com.bumptech.glide.util.ByteBufferUtil
- toFile(ByteBuffer, File) - Static method in class com.bumptech.glide.util.ByteBufferUtil
- toStream(ByteBuffer) - Static method in class com.bumptech.glide.util.ByteBufferUtil
- toStream(ByteBuffer, OutputStream) - Static method in class com.bumptech.glide.util.ByteBufferUtil
- toString() - Method in class com.bumptech.glide.load.engine.bitmap_recycle.SizeConfigStrategy
- toString() - Method in class com.bumptech.glide.load.engine.DecodePath
- toString() - Method in class com.bumptech.glide.load.engine.executor.GlideExecutor
- toString() - Method in class com.bumptech.glide.load.engine.LoadPath
- toString() - Method in class com.bumptech.glide.load.engine.prefill.PreFillType
- toString() - Method in class com.bumptech.glide.load.model.GlideUrl
- toString() - Method in class com.bumptech.glide.load.model.LazyHeaders
- toString() - Method in class com.bumptech.glide.load.Option
- toString() - Method in class com.bumptech.glide.load.Options
- toString() - Method in class com.bumptech.glide.manager.RequestTracker
- toString() - Method in class com.bumptech.glide.request.RequestFutureTarget
- toString() - Method in class com.bumptech.glide.request.SingleRequest
- toString() - Method in class com.bumptech.glide.request.target.CustomViewTarget
- toString() - Method in class com.bumptech.glide.request.target.ViewTarget
-
Deprecated.
- toString() - Method in class com.bumptech.glide.RequestManager
- toString() - Method in class com.bumptech.glide.signature.EmptySignature
- toString() - Method in class com.bumptech.glide.signature.ObjectKey
- toString() - Method in class com.bumptech.glide.util.MultiClassKey
- toStringUrl() - Method in class com.bumptech.glide.load.model.GlideUrl
-
Returns a properly escaped
Stringurl that can be used to make http/https requests. - toURL() - Method in class com.bumptech.glide.load.model.GlideUrl
- track(Target<?>) - Method in class com.bumptech.glide.manager.TargetTracker
- transcode(Resource<Bitmap>, Options) - Method in class com.bumptech.glide.load.resource.transcode.BitmapBytesTranscoder
- transcode(Resource<Bitmap>, Options) - Method in class com.bumptech.glide.load.resource.transcode.BitmapDrawableTranscoder
- transcode(Resource<Drawable>, Options) - Method in class com.bumptech.glide.load.resource.transcode.DrawableBytesTranscoder
- transcode(Resource<GifDrawable>, Options) - Method in class com.bumptech.glide.load.resource.transcode.GifDrawableBytesTranscoder
- transcode(Resource<Z>, Options) - Method in interface com.bumptech.glide.load.resource.transcode.ResourceTranscoder
-
Transcodes the given resource to the new resource type and returns the new resource.
- transcode(Resource<Z>, Options) - Method in class com.bumptech.glide.load.resource.transcode.UnitTranscoder
- TranscoderRegistry - Class in com.bumptech.glide.load.resource.transcode
-
A class that allows
ResourceTranscoders to be registered and retrieved by the classes they convert between. - TranscoderRegistry() - Constructor for class com.bumptech.glide.load.resource.transcode.TranscoderRegistry
- transform(Context, Resource<Bitmap>, int, int) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapTransformation
- transform(Context, Resource<BitmapDrawable>, int, int) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapDrawableTransformation
-
Deprecated.
- transform(Context, Resource<Drawable>, int, int) - Method in class com.bumptech.glide.load.resource.bitmap.DrawableTransformation
- transform(Context, Resource<GifDrawable>, int, int) - Method in class com.bumptech.glide.load.resource.gif.GifDrawableTransformation
- transform(Context, Resource<T>, int, int) - Method in class com.bumptech.glide.load.MultiTransformation
- transform(Context, Resource<T>, int, int) - Method in class com.bumptech.glide.load.resource.UnitTransformation
- transform(Context, Resource<T>, int, int) - Method in interface com.bumptech.glide.load.Transformation
-
Transforms the given resource and returns the transformed resource.
- transform(BitmapPool, Bitmap, int, int) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapTransformation
-
Transforms the given
Bitmapbased on the given dimensions and returns the transformed result. - transform(BitmapPool, Bitmap, int, int) - Method in class com.bumptech.glide.load.resource.bitmap.CenterCrop
- transform(BitmapPool, Bitmap, int, int) - Method in class com.bumptech.glide.load.resource.bitmap.CenterInside
- transform(BitmapPool, Bitmap, int, int) - Method in class com.bumptech.glide.load.resource.bitmap.CircleCrop
- transform(BitmapPool, Bitmap, int, int) - Method in class com.bumptech.glide.load.resource.bitmap.FitCenter
- transform(BitmapPool, Bitmap, int, int) - Method in class com.bumptech.glide.load.resource.bitmap.GranularRoundedCorners
- transform(BitmapPool, Bitmap, int, int) - Method in class com.bumptech.glide.load.resource.bitmap.Rotate
- transform(BitmapPool, Bitmap, int, int) - Method in class com.bumptech.glide.load.resource.bitmap.RoundedCorners
- transform(Transformation<Bitmap>) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Applies the given
TransformationforBitmapsto the default types (Bitmap,BitmapDrawable, andGifDrawable) and throws an exception if asked to transform an unknown type. - transform(Transformation<Bitmap>...) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Applies the given
Transformations in the given order forBitmapsto the default types (Bitmap,BitmapDrawable, andGifDrawable) and throws an exception if asked to transform an unknown type. - transform(Class<Y>, Transformation<Y>) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Applies the given
Transformationfor any decoded resource of the given type and throws if asked to transform an unknown resource type. - Transformation<T> - Interface in com.bumptech.glide.load
-
A class for performing an arbitrary transformation on a resource that implements
Key.equals(Object)andKey.hashCode()} to identify the transformation in the memory cache andKey.updateDiskCacheKey(java.security.MessageDigest)} to identify the transformation in disk caches. - TransformationUtils - Class in com.bumptech.glide.load.resource.bitmap
-
A class with methods to efficiently resize Bitmaps.
- TRANSFORMED - Enum constant in enum class com.bumptech.glide.load.EncodeStrategy
-
Writes the decoded, downsampled and transformed data for the resource to disk.
- transforms(Transformation<Bitmap>...) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
Deprecated.Deprecated due to api update, use
BaseRequestOptions.transform(Transformation[])instead - transition(int) - Method in class com.bumptech.glide.TransitionOptions
-
Sets an
Animationto run on the wrapped target when an resource load finishes. - transition(Drawable, Transition.ViewAdapter) - Method in class com.bumptech.glide.request.transition.DrawableCrossFadeTransition
-
Animates from the previous drawable to the current drawable in one of two ways.
- transition(TransitionFactory<? super TranscodeType>) - Method in class com.bumptech.glide.TransitionOptions
-
Uses the given
TransitionFactoryto build aTransitionfor each request started with theseTransitionOptions. - transition(ViewPropertyTransition.Animator) - Method in class com.bumptech.glide.TransitionOptions
-
Sets an animator to run a
ViewPropertyAnimatoron a view that the target may be wrapping when a resource load finishes. - transition(TransitionOptions<?, ? super TranscodeType>) - Method in class com.bumptech.glide.RequestBuilder
-
Sets the
TransitionOptionsto use to transition from the placeholder or thumbnail when this load completes. - transition(Object, Transition.ViewAdapter) - Method in class com.bumptech.glide.request.transition.NoTransition
-
Performs no animation and always returns
false. - transition(R, Transition.ViewAdapter) - Method in interface com.bumptech.glide.request.transition.Transition
-
Animates from the previous
Drawablethat is currently being displayed in the given view, if not null, to the new resource that should be displayed in the view. - transition(R, Transition.ViewAdapter) - Method in class com.bumptech.glide.request.transition.ViewPropertyTransition
-
Always applies the
ViewPropertyTransition.Animatorgiven in the constructor to the given view and returnsfalsebecause the animator cannot put the new resource on the view. - transition(R, Transition.ViewAdapter) - Method in class com.bumptech.glide.request.transition.ViewTransition
-
Always clears the current animation on the view using
View.clearAnimation(), then starts theAnimationgiven in the constructor usingView.startAnimation(android.view.animation.Animation)and then returnsfalsebecause the animation does not actually put the current resource on the view. - Transition<R> - Interface in com.bumptech.glide.request.transition
- Transition.ViewAdapter - Interface in com.bumptech.glide.request.transition
-
An interface wrapping a view that exposes the necessary methods to run the various types of android animations as transitions: (
ViewTransition,ViewPropertyTransitionand animatedDrawables). - TransitionFactory<R> - Interface in com.bumptech.glide.request.transition
-
A factory class that can produce different
Transitions based on the state of the request. - TransitionOptions<CHILD extends TransitionOptions<CHILD,
TranscodeType>, TranscodeType> - Class in com.bumptech.glide -
A base class for setting a transition to use on a resource when a load completes.
- TransitionOptions() - Constructor for class com.bumptech.glide.TransitionOptions
- transitionUsing(TransitionFactory<Drawable>) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapTransitionOptions
-
Enables a any Drawable based animation to run on Bitmaps as well.
- trimMemory(int) - Method in class com.bumptech.glide.Glide
-
Clears some memory with the exact amount depending on the given level.
- trimMemory(int) - Method in interface com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool
-
Trims the size to the appropriate level.
- trimMemory(int) - Method in interface com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool
-
Reduces the size of the cache by evicting items based on the given level.
- trimMemory(int) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.BitmapPoolAdapter
- trimMemory(int) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruArrayPool
- trimMemory(int) - Method in class com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool
- trimMemory(int) - Method in class com.bumptech.glide.load.engine.cache.LruResourceCache
- trimMemory(int) - Method in interface com.bumptech.glide.load.engine.cache.MemoryCache
-
Trim the memory cache to the appropriate level.
- trimMemory(int) - Method in class com.bumptech.glide.load.engine.cache.MemoryCacheAdapter
- trimToSize(long) - Method in class com.bumptech.glide.util.LruCache
-
Removes the least recently used items from the cache until the current size is less than the given size.
U
- unblockHardwareBitmaps() - Method in class com.bumptech.glide.load.resource.bitmap.HardwareConfigState
- UnitBitmapDecoder - Class in com.bumptech.glide.load.resource.bitmap
- UnitBitmapDecoder() - Constructor for class com.bumptech.glide.load.resource.bitmap.UnitBitmapDecoder
- UnitDrawableDecoder - Class in com.bumptech.glide.load.resource.drawable
- UnitDrawableDecoder() - Constructor for class com.bumptech.glide.load.resource.drawable.UnitDrawableDecoder
- UnitModelLoader<Model> - Class in com.bumptech.glide.load.model
-
A put of helper classes that performs no loading and instead always returns the given model as the data to decode.
- UnitModelLoader() - Constructor for class com.bumptech.glide.load.model.UnitModelLoader
-
Deprecated.Use
UnitModelLoader.getInstance()instead. - UnitModelLoader.Factory<Model> - Class in com.bumptech.glide.load.model
-
Factory for producing
UnitModelLoaders. - UnitTranscoder<Z> - Class in com.bumptech.glide.load.resource.transcode
-
A simple
ResourceTranscoderthat simply returns the given resource. - UnitTranscoder() - Constructor for class com.bumptech.glide.load.resource.transcode.UnitTranscoder
- UnitTransformation<T> - Class in com.bumptech.glide.load.resource
-
A no-op Transformation that simply returns the given resource.
- UNKNOWN - Enum constant in enum class com.bumptech.glide.load.ImageHeaderParser.ImageType
-
Unrecognized type.
- UNKNOWN - Static variable in exception com.bumptech.glide.load.HttpException
- UNKNOWN_ORIENTATION - Static variable in interface com.bumptech.glide.load.ImageHeaderParser
-
A constant indicating we were unable to parse the orientation from the image either because no exif segment containing orientation data existed, or because of an I/O error attempting to read the exif segment.
- unregisterAnimationCallback(Animatable2Compat.AnimationCallback) - Method in class com.bumptech.glide.load.resource.gif.GifDrawable
- unscheduleSelf(Runnable) - Method in class com.bumptech.glide.request.target.FixedSizeDrawable
- untrack(Target<?>) - Method in class com.bumptech.glide.manager.TargetTracker
- update(byte[], T, MessageDigest) - Method in interface com.bumptech.glide.load.Option.CacheKeyUpdater
-
Updates the given
MessageDigestwith the bytes of the given key (to avoid incidental value collisions when values are not particularly unique) and value. - update(T, MessageDigest) - Method in class com.bumptech.glide.load.Option
-
Updates the given
MessageDigestused to construct a cache key with the given value using theOption.CacheKeyUpdateroptionally provided in the constructor. - updateDiskCacheKey(MessageDigest) - Method in interface com.bumptech.glide.load.Key
-
Adds all uniquely identifying information to the given digest.
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.load.model.GlideUrl
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.load.MultiTransformation
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.load.Options
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.load.resource.bitmap.BitmapDrawableTransformation
-
Deprecated.
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.load.resource.bitmap.CenterCrop
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.load.resource.bitmap.CenterInside
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.load.resource.bitmap.CircleCrop
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.load.resource.bitmap.DrawableTransformation
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.load.resource.bitmap.FitCenter
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.load.resource.bitmap.GranularRoundedCorners
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.load.resource.bitmap.Rotate
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.load.resource.bitmap.RoundedCorners
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.load.resource.gif.GifDrawableTransformation
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.load.resource.UnitTransformation
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.signature.AndroidResourceSignature
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.signature.EmptySignature
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.signature.MediaStoreSignature
- updateDiskCacheKey(MessageDigest) - Method in class com.bumptech.glide.signature.ObjectKey
- UriFactory(Resources) - Constructor for class com.bumptech.glide.load.model.ResourceLoader.UriFactory
- UriLoader<Data> - Class in com.bumptech.glide.load.model
-
A ModelLoader for
Uris that handles localUris directly and routes remoteUris to a wrappedModelLoaderthat handlesGlideUrls. - UriLoader(UriLoader.LocalUriFetcherFactory<Data>) - Constructor for class com.bumptech.glide.load.model.UriLoader
- UriLoader.AssetFileDescriptorFactory - Class in com.bumptech.glide.load.model
-
Loads
AssetFileDescriptors fromUris. - UriLoader.FileDescriptorFactory - Class in com.bumptech.glide.load.model
-
Loads
ParcelFileDescriptors fromUris. - UriLoader.LocalUriFetcherFactory<Data> - Interface in com.bumptech.glide.load.model
-
Factory for obtaining a
DataFetcherfor a data type for a particularUri. - UriLoader.StreamFactory - Class in com.bumptech.glide.load.model
-
Loads
InputStreams fromUris. - UrlLoader - Class in com.bumptech.glide.load.model.stream
-
A wrapper class that translates
URLobjects intoGlideUrlobjects and then uses the wrappedModelLoaderforGlideUrls to load the data. - UrlLoader(ModelLoader<GlideUrl, InputStream>) - Constructor for class com.bumptech.glide.load.model.stream.UrlLoader
- UrlLoader.StreamFactory - Class in com.bumptech.glide.load.model.stream
-
Factory for loading
InputStreams fromURLs. - UrlUriLoader<Data> - Class in com.bumptech.glide.load.model
-
Handles http/https Uris by delegating to the
ModelLoaderforGlideUrls. - UrlUriLoader(ModelLoader<GlideUrl, Data>) - Constructor for class com.bumptech.glide.load.model.UrlUriLoader
- UrlUriLoader.StreamFactory - Class in com.bumptech.glide.load.model
-
Loads
InputStreamsfromUriswith http or https schemes. - useAnimationPool(boolean) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
If set to
true, uses a specialExecutorthat is used exclusively for decoding frames of animated resources, like GIFs. - useTagId(int) - Method in class com.bumptech.glide.request.target.CustomViewTarget
-
Deprecated.Using this method prevents clearing the target from working properly. Glide uses its own internal tag id so this method should not be necessary. This method is currently a no-op.
- useUnlimitedSourceGeneratorsPool(boolean) - Method in class com.bumptech.glide.request.BaseRequestOptions
-
If set to
true, uses a cached unlimitedExecutorto run the request. - Util - Class in com.bumptech.glide.util
-
A collection of assorted utility classes.
V
- valueOf(String) - Static method in enum class com.bumptech.glide.load.DataSource
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.bumptech.glide.load.DecodeFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.bumptech.glide.load.EncodeStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.bumptech.glide.load.ImageHeaderParser.ImageType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.bumptech.glide.load.PreferredColorSpace
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.bumptech.glide.load.resource.bitmap.DownsampleStrategy.SampleSizeRounding
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.bumptech.glide.MemoryCategory
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.bumptech.glide.Priority
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.bumptech.glide.request.RequestCoordinator.RequestState
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.bumptech.glide.load.DataSource
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.bumptech.glide.load.DecodeFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.bumptech.glide.load.EncodeStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.bumptech.glide.load.ImageHeaderParser.ImageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.bumptech.glide.load.PreferredColorSpace
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.bumptech.glide.load.resource.bitmap.DownsampleStrategy.SampleSizeRounding
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.bumptech.glide.MemoryCategory
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.bumptech.glide.Priority
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.bumptech.glide.request.RequestCoordinator.RequestState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VideoBitmapDecoder - Class in com.bumptech.glide.load.resource.bitmap
-
Deprecated.Use
VideoDecoder.parcel(BitmapPool)instead. This class may be removed andVideoDecodermay become final in a future version of Glide. - VideoBitmapDecoder(Context) - Constructor for class com.bumptech.glide.load.resource.bitmap.VideoBitmapDecoder
-
Deprecated.
- VideoBitmapDecoder(BitmapPool) - Constructor for class com.bumptech.glide.load.resource.bitmap.VideoBitmapDecoder
-
Deprecated.
- VideoDecoder<T> - Class in com.bumptech.glide.load.resource.bitmap
-
Decodes video data to Bitmaps from
ParcelFileDescriptors andAssetFileDescriptors. - view - Variable in class com.bumptech.glide.request.target.CustomViewTarget
- view - Variable in class com.bumptech.glide.request.target.ViewTarget
-
Deprecated.
- ViewAnimationFactory<R> - Class in com.bumptech.glide.request.transition
-
A
TransitionFactorythat producesViewTransitions. - ViewAnimationFactory(int) - Constructor for class com.bumptech.glide.request.transition.ViewAnimationFactory
- ViewAnimationFactory(Animation) - Constructor for class com.bumptech.glide.request.transition.ViewAnimationFactory
- ViewPreloadSizeProvider<T> - Class in com.bumptech.glide.util
-
A
ListPreloader.PreloadSizeProviderthat will extract the preload size from a givenView. - ViewPreloadSizeProvider() - Constructor for class com.bumptech.glide.util.ViewPreloadSizeProvider
-
Constructor that does nothing by default and requires users to call
ViewPreloadSizeProvider.setView(android.view.View)when a View is available to registerComponents the dimensions returned by this class. - ViewPreloadSizeProvider(View) - Constructor for class com.bumptech.glide.util.ViewPreloadSizeProvider
-
Constructor that will extract the preload size from a given
View. - ViewPropertyAnimationFactory<R> - Class in com.bumptech.glide.request.transition
-
A
TransitionFactorythat produces ViewPropertyAnimations. - ViewPropertyAnimationFactory(ViewPropertyTransition.Animator) - Constructor for class com.bumptech.glide.request.transition.ViewPropertyAnimationFactory
- ViewPropertyTransition<R> - Class in com.bumptech.glide.request.transition
-
A
Transitionthat accepts an interface that can apply an animation like aViewPropertyAnimatoror aObjectAnimatorthat can be used to transition a resource into aView. - ViewPropertyTransition(ViewPropertyTransition.Animator) - Constructor for class com.bumptech.glide.request.transition.ViewPropertyTransition
-
Constructor for a view property animation that takes an
ViewPropertyTransition.Animatorinterface that can apply a transition to a view. - ViewPropertyTransition.Animator - Interface in com.bumptech.glide.request.transition
-
An interface that allows an animation to be applied on or started from an
View. - ViewTarget<T extends View,
Z> - Class in com.bumptech.glide.request.target -
Deprecated.Use
CustomViewTarget. Using this class is unsafe without implementingViewTarget.onLoadCleared(android.graphics.drawable.Drawable)and results in recycled bitmaps being referenced from the UI and hard to root-cause crashes. - ViewTarget(T) - Constructor for class com.bumptech.glide.request.target.ViewTarget
-
Deprecated.Constructor that defaults
waitForLayouttofalse. - ViewTarget(T, boolean) - Constructor for class com.bumptech.glide.request.target.ViewTarget
-
Deprecated.Use
ViewTarget.waitForLayout()instead. - ViewTransition<R> - Class in com.bumptech.glide.request.transition
-
A
Transitionthat can apply aAnimationto aViewusingView.startAnimation(android.view.animation.Animation).
W
- waitForLayout() - Method in class com.bumptech.glide.request.target.CustomViewTarget
-
Indicates that Glide should always wait for any pending layout pass before checking for the size an
View. - waitForLayout() - Method in class com.bumptech.glide.request.target.ViewTarget
-
Deprecated.Indicates that Glide should always wait for any pending layout pass before checking for the size an
View. - WEBP - Enum constant in enum class com.bumptech.glide.load.ImageHeaderParser.ImageType
-
WebP type without alpha.
- WEBP_A - Enum constant in enum class com.bumptech.glide.load.ImageHeaderParser.ImageType
-
WebP type with alpha.
- with(int) - Static method in class com.bumptech.glide.GenericTransitionOptions
-
Returns a typed
GenericTransitionOptionsobject that uses the given view animation. - with(Activity) - Static method in class com.bumptech.glide.Glide
-
Deprecated.This is equivalent to calling
Glide.with(Context)using the application context. Use the androidx Activity class instead (ieFragmentActivity, orAppCompatActivity). - with(Fragment) - Static method in class com.bumptech.glide.Glide
-
Deprecated.This method is identical to calling
Glide.with(Context)using the application context. Prefer support Fragments andGlide.with(Fragment)instead. See https://github.com/android/android-ktx/pull/161#issuecomment-363270555. - with(Context) - Static method in class com.bumptech.glide.Glide
-
Begin a load with Glide by passing in a context.
- with(View) - Static method in class com.bumptech.glide.Glide
- with(Fragment) - Static method in class com.bumptech.glide.Glide
-
Begin a load with Glide that will be tied to the given
Fragment's lifecycle and that uses the givenFragment's default options. - with(FragmentActivity) - Static method in class com.bumptech.glide.Glide
-
Begin a load with Glide that will tied to the give
FragmentActivity's lifecycle and that uses the givenFragmentActivity's default options. - with(TransitionFactory<? super TranscodeType>) - Static method in class com.bumptech.glide.GenericTransitionOptions
-
Returns a typed
GenericTransitionOptionsobject that uses the given transition factory. - with(TransitionFactory<Bitmap>) - Static method in class com.bumptech.glide.load.resource.bitmap.BitmapTransitionOptions
-
Returns a
BitmapTransitionOptionsobject that uses the given transition factory. - with(TransitionFactory<Drawable>) - Static method in class com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
-
Returns a
DrawableTransitionOptionsobject that uses the given transition factory. - with(ViewPropertyTransition.Animator) - Static method in class com.bumptech.glide.GenericTransitionOptions
-
Returns a typed
GenericTransitionOptionsobject that uses the given animator. - withCrossFade() - Static method in class com.bumptech.glide.load.resource.bitmap.BitmapTransitionOptions
-
Returns a
BitmapTransitionOptionsobject that enables a cross fade animation. - withCrossFade() - Static method in class com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
-
Returns a
DrawableTransitionOptionsobject that enables a cross fade animation. - withCrossFade(int) - Static method in class com.bumptech.glide.load.resource.bitmap.BitmapTransitionOptions
-
Returns a
BitmapTransitionOptionsobject that enables a cross fade animation. - withCrossFade(int) - Static method in class com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
-
Returns a
DrawableTransitionOptionsobject that enables a cross fade animation. - withCrossFade(DrawableCrossFadeFactory) - Static method in class com.bumptech.glide.load.resource.bitmap.BitmapTransitionOptions
-
Returns a
BitmapTransitionOptionsobject that enables a cross fade animation. - withCrossFade(DrawableCrossFadeFactory) - Static method in class com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
-
Returns a
DrawableTransitionOptionsobject that enables a cross fade animation. - withCrossFade(DrawableCrossFadeFactory.Builder) - Static method in class com.bumptech.glide.load.resource.bitmap.BitmapTransitionOptions
-
Returns a
BitmapTransitionOptionsobject that enables a cross fade animation. - withCrossFade(DrawableCrossFadeFactory.Builder) - Static method in class com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
-
Returns a
DrawableTransitionOptionsobject that enables a cross fade animation. - withNoTransition() - Static method in class com.bumptech.glide.GenericTransitionOptions
-
Removes any existing animation put on the builder.
- withWrapped(TransitionFactory<Drawable>) - Static method in class com.bumptech.glide.load.resource.bitmap.BitmapTransitionOptions
-
Returns a
BitmapTransitionOptionsobject that enables a any animation that is possible on drawables. - write(byte[]) - Method in class com.bumptech.glide.load.data.BufferedOutputStream
- write(byte[], int, int) - Method in class com.bumptech.glide.load.data.BufferedOutputStream
- write(int) - Method in class com.bumptech.glide.load.data.BufferedOutputStream
- write(File) - Method in interface com.bumptech.glide.load.engine.cache.DiskCache.Writer
-
Writes data to the file and returns true if the write was successful and should be committed, and false if the write should be aborted.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
CustomViewTargetif loading the content into a view, the download API if in the background (http://bumptech.github.io/glide/doc/getting-started.html#background-threads), or a a fully implementedTargetfor any specialized use-cases. Using BaseView is unsafe if the user does not implementBaseTarget.onLoadCleared(android.graphics.drawable.Drawable), resulting in recycled bitmaps being referenced from the UI and hard to root-cause crashes.