All Classes and Interfaces

Class
Description
Includes information about the package as well as whether or not the device is in night mode.
Allows decoding animated images using ImageDecoder.
Deprecated.
Defines a set of dependencies and options to use when initializing Glide within an application.
A utility class for obtaining a Key signature containing the application version name using PackageInfo.versionCode.
This class is used in order to display downloaded Bitmap inside an ImageView of an AppWidget through RemoteViews.
Interface for an array pool that pools arrays of different types.
Fetches an AssetFileDescriptor for a local Uri.
An abstract class for obtaining data for an asset path using an AssetManager.
Loads a specific data type from an Asset Manager Uri.
A factory to build a DataFetcher for a specific asset path.
Factory for loading AssetFileDescriptors from asset manager Uris.
Factory for loading InputStreams from asset manager Uris.
A base class for loading data over http/https.
A base object to allow method sharing between RequestOptions and RequestBuilder.
Deprecated.
Use CustomViewTarget if 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 implemented Target for any specialized use-cases.
A TransitionFactory for complex types that have a Bitmap inside.
Decodes an BitmapDrawable for a data type.
Encodes BitmapDrawables.
A Resource that wraps an BitmapDrawable
An ResourceTranscoder that converts Bitmaps into BitmapDrawables.
Deprecated.
An ResourceEncoder that writes Bitmaps to OutputStreams.
Bitmap specific implementation of DefaultOnHeaderDecodedListener.
A Target that can display an Bitmap in an ImageView.
An interface for a pool that allows users to reuse Bitmap objects.
An BitmapPool implementation that rejects all Bitmaps added to it and always returns null from get.
A class for pre-filling Bitmaps in a BitmapPool.
A resource wrapping a Bitmap object.
Efficiently displays multiple Bitmaps loaded serially into a single View.
A simple Transformation for transforming Bitmaps that abstracts away dealing with Resource objects for subclasses.
A TransitionFactory for Bitmaps that uses a Drawable transition factory to transition from an existing drawable already visible on the target to the new bitmap.
Contains Bitmap specific animation options.
An OutputStream implementation that recycles and re-uses byte[]s using the provided ArrayPool.
Adapter for handling primitive byte arrays.
A base class to convert byte arrays to input streams so they can be decoded.
Factory for ByteArrayLoader and ByteBuffer.
Converts between a byte array a desired model class.
Factory for ByteArrayLoader and InputStream.
Decodes Bitmaps from ByteBuffers.
Writes ByteBuffers to Files.
Loads ByteBuffers using NIO for File.
An ResourceDecoder that decodes GifDrawable from InputStream data.
Rewinds ByteBuffers.
Factory for ByteBufferRewinder.
Utilities for interacting with ByteBuffers.
An Resource wrapping a byte array.
An ArrayMap that caches its hashCode to support efficient lookup.
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.
Returns the image with its original size if its dimensions match or are smaller than the target's, couple with ImageView.ScaleType.CENTER_INSIDE in order to center it in Target.
A Glide BitmapTransformation to circle crop an image.
An interface for monitoring network connectivity events.
An interface for listening to network connectivity events picked up by the monitor.
A factory class that produces a functional ConnectivityMonitor.
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.
A base Target for loading resources (Bitmap, Drawable etc) that are used outside of Views.
A base Target for loading resources (Bitmap, Drawable etc) into Views that provides default implementations for most methods and can determine the size of views using a ViewTreeObserver.OnDrawListener.
Lazily retrieves data that can be used to load a resource.
Callback that must be called when data has been loaded and is available, or when the load fails.
Responsible for rewinding a stream like data types.
A factory interface for producing individual DataRewinders.
Stores a mapping of data class to DataRewinder.Factory and allows registration of new types and factories.
Indicates the origin of some retrieved data.
A simple model loader for loading data from a Data URL String.
Allows decoding a specific type of data from a Data URL String.
Factory for loading InputStreams from data uris.
Options for setting the value of Bitmap.getConfig() for Bitmaps returned by ResourceDecoders.
Attempts to decode and transcode resource type from a given data type.
A factory class that produces a functional ConnectivityMonitor if the application has the android.permission.ACCESS_NETWORK_STATE permission and a no-op non functional ConnectivityMonitor if the app does not have the required permission.
A class for parsing the exif orientation and other data from an image header.
Downsamples, decodes, and rotates images according to their exif orientation using ImageDecoder.
Loads themed resource ids using Resources.openRawResource(int) or Resources.openRawResourceFd(int) using the theme from ResourceDrawableDecoder.THEME when it's available.
An interface for writing to and reading from a disk cache.
An interface for lazily creating a disk cache.
An interface to actually write data to a key in the disk cache.
A simple class that returns null for all gets and ignores all writes.
Default factory for DiskCacheAdapter.
Set of available caching strategies for media.
Creates an DiskLruCache based disk cache in the specified disk cache directory.
Interface called out of UI thread to get the cache folder.
The default DiskCache implementation.
Downsamples, decodes, and rotates images according to their exif orientation using BitmapFactory.
Callbacks for key points during decodes.
Indicates the algorithm to use when downsampling images.
Indicates whether to prefer to prefer downsampling or scaling to prefer lower memory usage or higher quality.
Obtains byte[] from BitmapDrawables by delegating to a ResourceTranscoder for Bitmaps to byte[]s.
A factory class that produces a new Transition that 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.
A cross fade Transition for Drawables that uses an TransitionDrawable to transition from an existing drawable already visible on the target to a new drawable.
Handles decoding Drawables with the v7 support library if present and falling back to the v4 support library otherwise.
A target for display Drawable objects in ImageViews.
Simple wrapper for an Android Drawable which returns a new drawable based on it's state.
Efficiently displays multiple Drawables loaded serially into a single View.
Applies a Bitmap Transformation to Drawables by first attempting to convert the Drawable to a Bitmap and then running the Transformation on the converted Bitmap.
Contains Drawable specific animation options.
An empty key that is always equal to all other empty keys.
An interface for writing data to some persistent data store (i.e.
Contains an ordered list of Encoders capable of encoding arbitrary data types.
Details how an ResourceEncoder will encode a resource to cache.
Responsible for starting loads and managing active and cached resources.
Runs a single primary Request until it completes and then a fallback error request only if the single primary request fails.
Deprecated.
In some cases, callers may not handle getting 0 or -1 return values from methods, which can lead to infinite loops (see #4438).
An InputStream that catches, stores and rethrows IOExceptions during read and skip calls.
Generic Executor implementations.
Uses ExifInterface to parse orientation data.
Adds an exif segment with an orientation attribute to a wrapped InputStream containing image data.
Deprecated.
Not ready for public consumption, avoid using this class.
Deprecated.
Creates an DiskLruCache based disk cache in the external disk cache directory, which falls back to the internal disk cache if no external storage is available.
Provides implementations of Pools.Pool never return null, log when new instances are created, and that can use the FactoryPools.Poolable interface to ensure objects aren't used while inside the pool.
Creates new instances of the given type.
Allows additional verification to catch errors caused by using objects while they are in an object pool.
Resets state when objects are returned to the pool.
A simple ResourceDecoder that creates resource for a given File.
Fetches an AssetFileDescriptor for an asset path.
Fetches an ParcelFileDescriptor for a local Uri.
A simple model loader for loading data from Files.
Base factory for loading data from files.
Factory for loading ParcelFileDescriptors from Files.
Allows opening a specific type of data from a File.
Factory for loading InputStreams from Files.
A simple Resource that wraps a File.
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.
A ListPreloader.PreloadSizeProvider with a fixed width and height.
A wrapper drawable to square the wrapped drawable so that it expands to fill a square with exactly the given side length.
An interface for an object that is both a Target and a Future.
Implementation of TransitionOptions that exposes only generic methods that can be applied to any resource type.
Implements GifDecoder.BitmapProvider by wrapping Glide's BitmapPool.
An animated Drawable that plays the frames of an animated GIF.
An ResourceTranscoder that converts GifDrawable into bytes by obtaining the original bytes of the GIF from the GifDrawable.
Writes the original bytes of a GifDrawable to an OutputStream.
A resource wrapping an GifDrawable.
An Transformation that wraps a transformation for a Bitmap and can apply it to every frame of any GifDrawable.
Decodes Bitmaps from GifDecoders representing a particular frame of a particular GIF image.
Options related to decoding GIFs.
A singleton to present a simple static interface for building requests with RequestBuilder and maintaining an Engine, BitmapPool, DiskCache and MemoryCache.
Creates a new instance of RequestOptions.
A builder class for setting default structural classes for Glide to use.
Global context for all loads in Glide containing and exposing the various registries and classes required to load resources.
An exception with zero or more causes indicating why a load in Glide failed.
A prioritized ThreadPoolExecutor for running jobs in Glide.
A builder for GlideExecutors.
A strategy for handling unexpected and uncaught Throwables thrown by futures run on the pool.
Keeps track of a set of Experimental features that may be enabled in Glide, simplifying the process of adding and removing them.
Deprecated.
Libraries should use LibraryGlideModule and Applications should use AppGlideModule.
Similar to com.google.common.base.Suppliers, but named to reduce import confusion.
Produces a non-null instance of T.
Systracing utilities for Glide.
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.
A BitmapTransformation which has a different radius for each corner of a bitmap.
State and constants for interacting with Bitmap.Config.HARDWARE on Android O+.
An interface for a wrapper for a set of headers to be included in a Glide request.
Thrown when an http request fails.
An ModelLoader for translating GlideUrl (http/https URLS) into InputStream data.
The default factory for HttpGlideUrlLoaders.
Deprecated.
Use UrlUriLoader instead
Deprecated.
A DataFetcher that retrieves an InputStream for a Url.
Interface for the ImageHeaderParser.
The format of the image data including whether or not the image may include transparent pixels.
Contains an unordered list of ImageHeaderParsers capable of parsing image headers.
Utilities for the ImageHeaderParser.
A base Target for displaying resources in ImageViews.
A factory responsible for producing the correct type of Target for a given View subclass.
A callback allowing a resource to do some optimization on a background thread before being returned to the ui.
Implementation for InputStreams that rewinds streams by wrapping them in a buffered stream.
Factory for producing InputStreamRewinders from InputStreams.
Adapter for handling primitive int arrays.
Creates an DiskLruCache based disk cache in the internal disk cache directory.
An interface that uniquely identifies some put of data.
Lazily allocates a BitmapDrawable from a given Bitmap on the first call to LazyBitmapDrawableResource.get().
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.
A wrapper class for a set of headers to be included in a Glide request, allowing headers to be constructed lazily.
Adds an LazyHeaderFactory that will be used to construct a value for the given key* lazily on a background thread.
Registers a set of components to use when initializing Glide within an app when Glide's annotation processor is used.
An interface for listening to Activity/Fragment lifecycle events.
An interface for listener to Fragment and Activity lifecycle events.
Loads a few resources ahead in the direction of scrolling in any AbsListView so that images are in the memory cache just before the corresponding view in created in the list.
An implementation of PreloadModelProvider should provide all the models that should be preloaded.
An implementation of PreloadSizeProvider should provide the size of the view in the list where the resources will be displayed.
For a given DataFetcher for a given data class, attempts to fetch the data and then run it through one or more DecodePaths.
Maintains a cache of data, resource, and transcode classes to available LoadPaths capable of decoding with the requested types.
A DataFetcher that uses an ContentResolver to load data from a Uri pointing to a local resource.
A class for logging elapsed real time in millis.
A fixed size Array Pool that evicts arrays using an LRU strategy to keep the pool under the maximum byte size.
An BitmapPool implementation that uses an LruPoolStrategy to bucket Bitmaps and then uses an LRU eviction policy to evict Bitmaps from the least recently used bucket in order to keep the pool below a given maximum size limit.
A general purpose size limited cache that evicts items using an LRU algorithm.
An LRU in memory cache for Resources.
Deprecated.
Prevents InputStreams from overflowing their buffer by reading data past their read limit.
Loads the file path for MediaStore owned uris.
Loads InputStreams from media store image Uris that point to pre-generated thumbnails for those Uris in the media store.
Factory that loads InputStreams from media store image Uris.
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.
Utility classes for interacting with the media store.
Loads InputStreams from media store video Uris that point to pre-generated thumbnails for those Uris in the media store.
Loads InputStreams from media store image Uris that point to pre-generated thumbnails for those Uris in the media store.
An interface for adding and removing resources from an in memory cache.
An interface that will be called whenever a bitmap is removed from the cache.
A simple class that ignores all puts and returns null for all gets.
An enum for dynamically modifying the amount of memory Glide is able to use.
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.
Constructs an MemorySizeCalculator with reasonable defaults that can be optionally overridden.
An optional interface that models can implement to enhance control over Glide behaviors.
A simple cache that can be used by ModelLoader and ModelLoaderFactory to cache some data for a given model, width and height.
A factory interface for translating an arbitrarily complex data model into a concrete data type that can be used by an DataFetcher to obtain the data for a resource represented by the model.
Contains a set of Keys identifying the source of the load, alternate cache keys pointing to equivalent data, and a DataFetcher that can be used to fetch data not found in cache.
An interface for creating a ModelLoader for a given model type.
Maintains an ordered put of ModelLoaders and the model and data types they handle in order from highest priority to lowest.
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.
A key of two Classes to be used in hashed collections.
Capable of building an ModelLoader that wraps one or more other ModelLoaders for a given model and data class.
A transformation that applies one or more transformations in iteration order to a resource.
This class is used to display downloaded Bitmap inside an ImageView of a Notification through RemoteViews.
A simple Transition that performs no actions.
A factory that always returns the same NoTransition.
Wraps an Object, delegating ObjectKey.equals(Object) and ObjectKey.hashCode() to the wrapped Object and providing the bytes of the result of the Object's ObjectKey.toString() method to the MessageDigest in ObjectKey.updateDiskCacheKey(java.security.MessageDigest).
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.
An interface that updates a MessageDigest with the given value as part of a process to generate a disk cache key.
A set of Options to apply to in memory and disk cache keys.
Implementation for ParcelFileDescriptors that rewinds file descriptors by seeking to 0.
Contains common assertions.
Glide's supported handling of color spaces on Android O+, defaults to null.
A container for a put of options used to pre-fill a BitmapPool with Bitmaps of a single size and configuration.
Builder for PreFillType.
A one time use Target class that loads a resource into memory and then clears itself.
Priorities for completing loads.
Best effort attempt to work around various Q storage states and bugs.
Factory for InputStream.
Wraps an existing InputStream and buffers the input.
Manages component registration to extend or replace Glide's default loading, decoding, and encoding logic.
Thrown when some necessary component is missing for a load.
Thrown when no ImageHeaderParser is registered.
Thrown when no ModelLoader is registered for a given model class.
Thrown when no ResourceEncoder is registered for a given resource class.
Thrown when no Encoder is registered for a given data class.
A request that loads a resource for an Target.
A generic class that can handle setting options and staring loads for generic resource types.
An interface for coordinating multiple requests with the same Target.
A simple state enum to keep track of the states of individual subrequests.
A Future implementation for Glide that can be used to load resources in a blocking manner on background threads.
A class for monitoring the status of a request while images load.
A class for managing and starting requests for Glide.
Deprecated.
This class is unused by Glide and contains only no-op methods.
A collection of static methods for creating new RequestManagers or retrieving existing ones from activities and fragment.
Used internally to create RequestManagers.
Provides access to the relatives of a RequestManager based on the current context.
Provides type independent options to customize loads with Glide.
A class for tracking, canceling, and restarting in progress, completed, and failed requests.
A resource interface that wraps a particular type so that it can be pooled and reused.
Decodes Bitmaps from resource ids.
A callback that listens for when a resource load completes successfully or fails due to an exception.
An interface for decoding resources.
Contains an ordered list of ResourceDecoders capable of decoding arbitrary data types into arbitrary resource types from highest priority decoders to lowest priority decoders.
Decodes Drawables given resource Uris.
An interface for writing data from a resource to some persistent data store (i.e.
Contains an ordered list of ResourceEncoders capable of encoding arbitrary resource types.
A model loader for handling Android resource files.
Loads AssetFileDescriptors from resource ids.
Deprecated.
This class is unused by Glide.
Factory for loading InputStreams from Android resource ids.
Factory for loading resource Uris from Android resource ids.
Transcodes a resource of one type to a resource of another type.
Converts Resource Uris to resource ids if the resource Uri points to a resource in this package.
A BitmapTransformation which rotates the bitmap.
A BitmapTransformation which rounds the corners of a bitmap.
A class that generates and caches safe and unique string file names from Keys.
Simple wrapper for an arbitrary object which helps to satisfy some of the glide engine's contracts.
Deprecated.
Use CustomViewTarget if 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 CustomTarget for any specialized use-cases.
A Request that loads a Resource into a given Target.
A callback that must be called when the target has determined its size.
Verifies that the job is not in the recycled state.
Fetches an InputStream for an asset path.
Decodes Bitmaps from InputStreams.
An Encoder that can write an InputStream to disk.
A relatively inefficient decoder for GifDrawable that converts InputStreams to ByteBuffers and then passes the buffer to a wrapped decoder.
Fetches an InputStream for a local Uri.
A model loader for handling certain string models.
Loads AssetFileDescriptors from Strings.
Factory for loading ParcelFileDescriptors from Strings.
Factory for loading InputStreams from Strings.
Deprecated.
This class is unused by Glide.
Indicates that target's visibility can be relaxed to avoid synthetic methods.
An interface that Glide can load a resource into and notify of relevant lifecycle events during a load.
Holds the set of Targets currently active for a RequestManager and forwards on lifecycle events.
A DataFetcher implementation for InputStreams that loads data from thumbnail files obtained from the MediaStore.
Avoids extra calls to View.requestLayout() when loading more than once image into an ImageView with fixed dimensions.
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.
A class that allows ResourceTranscoders to be registered and retrieved by the classes they convert between.
A class for performing an arbitrary transformation on a resource that implements Key.equals(Object) and Key.hashCode()} to identify the transformation in the memory cache and Key.updateDiskCacheKey(java.security.MessageDigest)} to identify the transformation in disk caches.
A class with methods to efficiently resize Bitmaps.
An interface that allows a transition to be applied to Views in Targets in across resource types.
An interface wrapping a view that exposes the necessary methods to run the various types of android animations as transitions: (ViewTransition, ViewPropertyTransition and animated Drawables).
A factory class that can produce different Transitions based on the state of the request.
A base class for setting a transition to use on a resource when a load completes.
Passes through a (hopefully) non-owned Bitmap as a Bitmap based Resource so that the given Bitmap is not recycled.
Passes through a Drawable as a Drawable based Resource.
A put of helper classes that performs no loading and instead always returns the given model as the data to decode.
Factory for producing UnitModelLoaders.
A simple ResourceTranscoder that simply returns the given resource.
A no-op Transformation that simply returns the given resource.
A ModelLoader for Uris that handles local Uris directly and routes remote Uris to a wrapped ModelLoader that handles GlideUrls.
Loads AssetFileDescriptors from Uris.
Factory for obtaining a DataFetcher for a data type for a particular Uri.
Loads InputStreams from Uris.
A wrapper class that translates URL objects into GlideUrl objects and then uses the wrapped ModelLoader for GlideUrls to load the data.
Factory for loading InputStreams from URLs.
Handles http/https Uris by delegating to the ModelLoader for GlideUrls.
Loads InputStreams from Uris with http or https schemes.
A collection of assorted utility classes.
Deprecated.
Decodes video data to Bitmaps from ParcelFileDescriptors and AssetFileDescriptors.
A ListPreloader.PreloadSizeProvider that will extract the preload size from a given View.
A TransitionFactory that produces ViewPropertyAnimations.
A Transition that accepts an interface that can apply an animation like a ViewPropertyAnimator or a ObjectAnimator that can be used to transition a resource into a View.
An interface that allows an animation to be applied on or started from an View.
ViewTarget<T extends View,Z>
Deprecated.