Skip navigation links
A C G I N O P R S T 

A

advance() - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
Move the animation frame counter forward.
advance() - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 

C

clear() - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
 
clear() - Method in class com.bumptech.glide.gifdecoder.GifHeaderParser
 
clear() - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
com.bumptech.glide.gifdecoder - package com.bumptech.glide.gifdecoder
 

G

getByteSize() - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
Returns an estimated byte size for this decoder based on the data provided to GifDecoder.setData(GifHeader, byte[]), as well as internal buffers.
getByteSize() - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
getCurrentFrameIndex() - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
Gets the current index of the animation frame, or -1 if animation hasn't not yet started.
getCurrentFrameIndex() - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
getData() - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
 
getData() - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
getDelay(int) - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
Gets display duration for specified frame.
getDelay(int) - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
getFrameCount() - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
Gets the number of frames read from file.
getFrameCount() - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
getHeight() - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
 
getHeight() - Method in class com.bumptech.glide.gifdecoder.GifHeader
 
getHeight() - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
getLoopCount() - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
Deprecated.
Use GifDecoder.getNetscapeLoopCount() instead. This method cannot distinguish whether the loop count is 1 or doesn't exist.
getLoopCount() - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
Deprecated.
getNetscapeLoopCount() - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
Gets the "Netscape" loop count, if any.
getNetscapeLoopCount() - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
getNextDelay() - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
Gets display duration for the upcoming frame in ms.
getNextDelay() - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
getNextFrame() - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
Get the next frame in the animation sequence.
getNextFrame() - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
getNumFrames() - Method in class com.bumptech.glide.gifdecoder.GifHeader
 
getStatus() - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
Returns the current status of the decoder.
getStatus() - Method in class com.bumptech.glide.gifdecoder.GifHeader
Global status code of GIF data parsing.
getStatus() - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
getTotalIterationCount() - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
Gets the total count which represents how many times the animation sequence should be displayed.
getTotalIterationCount() - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
getWidth() - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
 
getWidth() - Method in class com.bumptech.glide.gifdecoder.GifHeader
 
getWidth() - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
GifDecoder - Interface in com.bumptech.glide.gifdecoder
Shared interface for GIF decoders.
GifDecoder.BitmapProvider - Interface in com.bumptech.glide.gifdecoder
An interface that can be used to provide reused Bitmaps to avoid GCs from constantly allocating Bitmaps for every frame.
GifDecoder.GifDecodeStatus - Annotation Type in com.bumptech.glide.gifdecoder
Android Lint annotation for status codes that can be used with a GIF decoder.
GifHeader - Class in com.bumptech.glide.gifdecoder
A header object containing the number of frames in an animated GIF image as well as basic metadata like width and height that can be used to decode each individual frame of the GIF.
GifHeader() - Constructor for class com.bumptech.glide.gifdecoder.GifHeader
 
GifHeaderParser - Class in com.bumptech.glide.gifdecoder
A class responsible for creating GifHeaders from data representing animated GIFs.
GifHeaderParser() - Constructor for class com.bumptech.glide.gifdecoder.GifHeaderParser
 

I

isAnimated() - Method in class com.bumptech.glide.gifdecoder.GifHeaderParser
Determines if the GIF is animated by trying to read in the first 2 frames This method re-parses the data even if the header has already been read.

N

NETSCAPE_LOOP_COUNT_DOES_NOT_EXIST - Static variable in class com.bumptech.glide.gifdecoder.GifHeader
Indicates that this header has no "Netscape" loop count.
NETSCAPE_LOOP_COUNT_FOREVER - Static variable in class com.bumptech.glide.gifdecoder.GifHeader
The "Netscape" loop count which means loop forever.

O

obtain(int, int, Bitmap.Config) - Method in interface com.bumptech.glide.gifdecoder.GifDecoder.BitmapProvider
Returns an Bitmap with exactly the given dimensions and config.
obtainByteArray(int) - Method in interface com.bumptech.glide.gifdecoder.GifDecoder.BitmapProvider
Returns a byte array used for decoding and generating the frame bitmap.
obtainIntArray(int) - Method in interface com.bumptech.glide.gifdecoder.GifDecoder.BitmapProvider
Returns an int array used for decoding/generating the frame bitmaps.

P

parseHeader() - Method in class com.bumptech.glide.gifdecoder.GifHeaderParser
 

R

read(InputStream, int) - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
Reads GIF image from stream.
read(byte[]) - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
Reads GIF image from byte array.
read(InputStream, int) - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
read(byte[]) - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
release(Bitmap) - Method in interface com.bumptech.glide.gifdecoder.GifDecoder.BitmapProvider
Releases the given Bitmap back to the pool.
release(byte[]) - Method in interface com.bumptech.glide.gifdecoder.GifDecoder.BitmapProvider
Releases the given byte array back to the pool.
release(int[]) - Method in interface com.bumptech.glide.gifdecoder.GifDecoder.BitmapProvider
Release the given array back to the pool.
resetFrameIndex() - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
Resets the frame pointer to before the 0th frame, as if we'd never used this decoder to decode any frames.
resetFrameIndex() - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 

S

setData(GifHeader, byte[]) - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
 
setData(GifHeader, ByteBuffer) - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
 
setData(GifHeader, ByteBuffer, int) - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
 
setData(ByteBuffer) - Method in class com.bumptech.glide.gifdecoder.GifHeaderParser
 
setData(byte[]) - Method in class com.bumptech.glide.gifdecoder.GifHeaderParser
 
setData(GifHeader, byte[]) - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
setData(GifHeader, ByteBuffer) - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
setData(GifHeader, ByteBuffer, int) - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
setDefaultBitmapConfig(Bitmap.Config) - Method in interface com.bumptech.glide.gifdecoder.GifDecoder
Sets the default Bitmap.Config to use when decoding frames of a GIF.
setDefaultBitmapConfig(Bitmap.Config) - Method in class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
StandardGifDecoder - Class in com.bumptech.glide.gifdecoder
Reads frame data from a GIF image source and decodes it into individual frames for animation purposes.
StandardGifDecoder(GifDecoder.BitmapProvider, GifHeader, ByteBuffer) - Constructor for class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
StandardGifDecoder(GifDecoder.BitmapProvider, GifHeader, ByteBuffer, int) - Constructor for class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
StandardGifDecoder(GifDecoder.BitmapProvider) - Constructor for class com.bumptech.glide.gifdecoder.StandardGifDecoder
 
STATUS_FORMAT_ERROR - Static variable in interface com.bumptech.glide.gifdecoder.GifDecoder
File read status: Error decoding file (may be partially decoded).
STATUS_OK - Static variable in interface com.bumptech.glide.gifdecoder.GifDecoder
File read status: No errors.
STATUS_OPEN_ERROR - Static variable in interface com.bumptech.glide.gifdecoder.GifDecoder
File read status: Unable to open source.
STATUS_PARTIAL_DECODE - Static variable in interface com.bumptech.glide.gifdecoder.GifDecoder
Unable to fully decode the current frame.

T

TOTAL_ITERATION_COUNT_FOREVER - Static variable in interface com.bumptech.glide.gifdecoder.GifDecoder
The total iteration count which means repeat forever.
A C G I N O P R S T 
Skip navigation links