Skip navigation links
A B C D F G I L M O P R S T U V W 

A

addAnimationListener(AnimationListener) - Method in class pl.droidsonroids.gif.GifDrawable
Adds a new animation listener
addView(Drawable.Callback) - Method in class pl.droidsonroids.gif.MultiCallback
Associates given Drawable.Callback.
AnimationListener - Interface in pl.droidsonroids.gif
Interface which can be used to run some code when particular animation event occurs.
AssetFileDescriptorSource(AssetFileDescriptor) - Constructor for class pl.droidsonroids.gif.InputSource.AssetFileDescriptorSource
Constructs new source.
AssetSource(AssetManager, String) - Constructor for class pl.droidsonroids.gif.InputSource.AssetSource
Constructs new source.

B

Beta - Annotation Type in pl.droidsonroids.gif.annotations
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.
build() - Method in class pl.droidsonroids.gif.GifDrawableInit
Appropriate constructor wrapper.
ByteArraySource(byte[]) - Constructor for class pl.droidsonroids.gif.InputSource.ByteArraySource
Constructs new source.

C

canPause() - Method in class pl.droidsonroids.gif.GifDrawable
Checks whether pause is supported.
canSeekBackward() - Method in class pl.droidsonroids.gif.GifDrawable
Checks whether seeking backward can be performed.
canSeekForward() - Method in class pl.droidsonroids.gif.GifDrawable
Checks whether seeking forward can be performed.
CornerRadiusTransform - Class in pl.droidsonroids.gif.transforms
Transform which adds rounded corners.
CornerRadiusTransform(float) - Constructor for class pl.droidsonroids.gif.transforms.CornerRadiusTransform
 
createFromResource(Resources, int) - Static method in class pl.droidsonroids.gif.GifDrawable
An GifDrawable.GifDrawable(Resources, int) wrapper but returns null instead of throwing exception if creation fails.
CREATOR - Static variable in class pl.droidsonroids.gif.GifAnimationMetaData
 

D

describeContents() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
 
description - Variable in enum pl.droidsonroids.gif.GifError
Human readable description of the error.
DirectByteBufferSource(ByteBuffer) - Constructor for class pl.droidsonroids.gif.InputSource.DirectByteBufferSource
Constructs new source.
draw(Canvas) - Method in class pl.droidsonroids.gif.GifDrawable
Reads and renders new frame if needed then draws last rendered frame.

F

FileDescriptorSource(FileDescriptor) - Constructor for class pl.droidsonroids.gif.InputSource.FileDescriptorSource
Constructs new source.
FileSource(File) - Constructor for class pl.droidsonroids.gif.InputSource.FileSource
Constructs new source.
FileSource(String) - Constructor for class pl.droidsonroids.gif.InputSource.FileSource
Constructs new source.
finalize() - Method in class pl.droidsonroids.gif.GifTexImage2D
 
from(InputStream) - Method in class pl.droidsonroids.gif.GifDrawableInit
from(AssetFileDescriptor) - Method in class pl.droidsonroids.gif.GifDrawableInit
from(FileDescriptor) - Method in class pl.droidsonroids.gif.GifDrawableInit
from(AssetManager, String) - Method in class pl.droidsonroids.gif.GifDrawableInit
from(ContentResolver, Uri) - Method in class pl.droidsonroids.gif.GifDrawableInit
from(File) - Method in class pl.droidsonroids.gif.GifDrawableInit
from(String) - Method in class pl.droidsonroids.gif.GifDrawableInit
from(byte[]) - Method in class pl.droidsonroids.gif.GifDrawableInit
from(ByteBuffer) - Method in class pl.droidsonroids.gif.GifDrawableInit
from(Resources, int) - Method in class pl.droidsonroids.gif.GifDrawableInit

G

getAllocationByteCount() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
Like GifDrawable.getAllocationByteCount() but does not include memory needed for backing Bitmap.
getAllocationByteCount() - Method in class pl.droidsonroids.gif.GifDecoder
getAllocationByteCount() - Method in class pl.droidsonroids.gif.GifDrawable
Returns size of the memory needed to store pixels of this object.
getAlpha() - Method in class pl.droidsonroids.gif.GifDrawable
 
getAudioSessionId() - Method in class pl.droidsonroids.gif.GifDrawable
Used by MediaPlayer.
getBufferPercentage() - Method in class pl.droidsonroids.gif.GifDrawable
Used by MediaPlayer for secondary progress bars.
getColorFilter() - Method in class pl.droidsonroids.gif.GifDrawable
 
getComment() - Method in class pl.droidsonroids.gif.GifDecoder
getComment() - Method in class pl.droidsonroids.gif.GifDrawable
Returns GIF comment
getCornerRadius() - Method in class pl.droidsonroids.gif.GifDrawable
 
getCornerRadius() - Method in class pl.droidsonroids.gif.transforms.CornerRadiusTransform
 
getCurrentFrame() - Method in class pl.droidsonroids.gif.GifDrawable
Retrieves a copy of currently buffered frame.
getCurrentFrameIndex() - Method in class pl.droidsonroids.gif.GifDrawable
Returns zero-based index of recently rendered frame in given loop or -1 when drawable is recycled.
getCurrentLoop() - Method in class pl.droidsonroids.gif.GifDrawable
Returns zero-based index of currently played animation loop.
getCurrentPosition() - Method in class pl.droidsonroids.gif.GifDrawable
Retrieves elapsed time from the beginning of a current loop of animation.
getDrawableAllocationByteCount(GifDrawable, int) - Method in class pl.droidsonroids.gif.GifAnimationMetaData
Like GifAnimationMetaData.getAllocationByteCount() but includes also backing Bitmap and takes sample size into account.
getDuration() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
getDuration() - Method in class pl.droidsonroids.gif.GifDecoder
getDuration() - Method in class pl.droidsonroids.gif.GifDrawable
Retrieves duration of one loop of the animation.
getDuration() - Method in class pl.droidsonroids.gif.GifTexImage2D
getError() - Method in class pl.droidsonroids.gif.GifDrawable
Retrieves last error which is also the indicator of current GIF status.
getErrorCode() - Method in enum pl.droidsonroids.gif.GifError
 
getExecutor() - Method in class pl.droidsonroids.gif.GifDrawableInit
Getter for the executor.
getFrameByteCount() - Method in class pl.droidsonroids.gif.GifDrawable
Returns the minimum number of bytes that can be used to store pixels of the single frame.
getFrameDuration(int) - Method in class pl.droidsonroids.gif.GifDecoder
getFrameDuration(int) - Method in class pl.droidsonroids.gif.GifDrawable
Returns duration of the given frame (in milliseconds).
getFrameDuration(int) - Method in class pl.droidsonroids.gif.GifTexImage2D
getHeight() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
 
getHeight() - Method in class pl.droidsonroids.gif.GifDecoder
 
getHeight() - Method in class pl.droidsonroids.gif.GifTexImage2D
 
getInputSource() - Method in class pl.droidsonroids.gif.GifDrawableInit
Getter for the input source.
getInputSourceByteCount() - Method in class pl.droidsonroids.gif.GifDrawable
Returns length of the input source obtained at the opening time or -1 if length cannot be determined.
getIntrinsicHeight() - Method in class pl.droidsonroids.gif.GifDrawable
 
getIntrinsicWidth() - Method in class pl.droidsonroids.gif.GifDrawable
 
getIOException() - Method in class pl.droidsonroids.gif.GifTextureView
Returns last IOException occurred during loading or playing GIF (in such case only GifIOException can be returned.
getLoopCount() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
getLoopCount() - Method in class pl.droidsonroids.gif.GifDecoder
getLoopCount() - Method in class pl.droidsonroids.gif.GifDrawable
Returns loop count previously read from GIF's application extension block.
getMessage() - Method in exception pl.droidsonroids.gif.GifIOException
 
getMetadataAllocationByteCount() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
getMetadataAllocationByteCount() - Method in class pl.droidsonroids.gif.GifDrawable
Returns the maximum possible size of the allocated memory used to store pixels and metadata of this object.
getNumberOfFrames() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
 
getNumberOfFrames() - Method in class pl.droidsonroids.gif.GifDecoder
 
getNumberOfFrames() - Method in class pl.droidsonroids.gif.GifDrawable
 
getNumberOfFrames() - Method in class pl.droidsonroids.gif.GifTexImage2D
 
getOldDrawable() - Method in class pl.droidsonroids.gif.GifDrawableInit
Getter for the old drawable.
getOpacity() - Method in class pl.droidsonroids.gif.GifDrawable
See Drawable.getOpacity()
getOptions() - Method in class pl.droidsonroids.gif.GifDrawableInit
Getter for the GIF options.
getPaint() - Method in class pl.droidsonroids.gif.GifDrawable
 
getPixel(int, int) - Method in class pl.droidsonroids.gif.GifDrawable
Returns the Color at the specified location.
getPixels(int[]) - Method in class pl.droidsonroids.gif.GifDrawable
Returns in pixels[] a copy of the data in the current frame.
getScaleType() - Method in class pl.droidsonroids.gif.GifTextureView
 
getSourceLength() - Method in class pl.droidsonroids.gif.GifDecoder
getSurfaceTextureListener() - Method in class pl.droidsonroids.gif.GifTextureView
Always returns null since changing SurfaceTextureListener is not supported.
getTransform() - Method in class pl.droidsonroids.gif.GifDrawable
 
getTransform(Matrix) - Method in class pl.droidsonroids.gif.GifTextureView
Returns the transform associated with this texture view, either set explicitly by GifTextureView.setTransform(Matrix) or computed according to the current scale type.
getWidth() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
 
getWidth() - Method in class pl.droidsonroids.gif.GifDecoder
 
getWidth() - Method in class pl.droidsonroids.gif.GifTexImage2D
 
GifAnimationMetaData - Class in pl.droidsonroids.gif
Lightweight version of GifDrawable used to retrieve metadata of GIF only, without having to allocate the memory for its pixels.
GifAnimationMetaData(Resources, int) - Constructor for class pl.droidsonroids.gif.GifAnimationMetaData
Retrieves from resource.
GifAnimationMetaData(AssetManager, String) - Constructor for class pl.droidsonroids.gif.GifAnimationMetaData
Retrieves metadata from asset.
GifAnimationMetaData(String) - Constructor for class pl.droidsonroids.gif.GifAnimationMetaData
Constructs metadata from given file path.
GifAnimationMetaData(File) - Constructor for class pl.droidsonroids.gif.GifAnimationMetaData
Equivalent to GifMetadata(file.getPath())}
GifAnimationMetaData(InputStream) - Constructor for class pl.droidsonroids.gif.GifAnimationMetaData
Retrieves metadata from InputStream.
GifAnimationMetaData(AssetFileDescriptor) - Constructor for class pl.droidsonroids.gif.GifAnimationMetaData
Retrieves metadata from AssetFileDescriptor.
GifAnimationMetaData(FileDescriptor) - Constructor for class pl.droidsonroids.gif.GifAnimationMetaData
Retrieves metadata from FileDescriptor
GifAnimationMetaData(byte[]) - Constructor for class pl.droidsonroids.gif.GifAnimationMetaData
Retrieves metadata from byte array.
GifAnimationMetaData(ByteBuffer) - Constructor for class pl.droidsonroids.gif.GifAnimationMetaData
Retrieves metadata from ByteBuffer.
GifAnimationMetaData(ContentResolver, Uri) - Constructor for class pl.droidsonroids.gif.GifAnimationMetaData
Retrieves metadata from Uri which is resolved using resolver.
GifDecoder - Class in pl.droidsonroids.gif
GifDecoder allows lightweight access to GIF frames, without wrappers like Drawable or View.
GifDecoder(InputSource) - Constructor for class pl.droidsonroids.gif.GifDecoder
Constructs new GifDecoder.
GifDecoder(InputSource, GifOptions) - Constructor for class pl.droidsonroids.gif.GifDecoder
Constructs new GifDecoder
GifDrawable - Class in pl.droidsonroids.gif
A Drawable which can be used to hold GIF images, especially animations.
GifDrawable(Resources, int) - Constructor for class pl.droidsonroids.gif.GifDrawable
Creates drawable from resource.
GifDrawable(AssetManager, String) - Constructor for class pl.droidsonroids.gif.GifDrawable
Creates drawable from asset.
GifDrawable(String) - Constructor for class pl.droidsonroids.gif.GifDrawable
Constructs drawable from given file path.
GifDrawable(File) - Constructor for class pl.droidsonroids.gif.GifDrawable
Equivalent to GifDrawable(file.getPath())}
GifDrawable(InputStream) - Constructor for class pl.droidsonroids.gif.GifDrawable
Creates drawable from InputStream.
GifDrawable(AssetFileDescriptor) - Constructor for class pl.droidsonroids.gif.GifDrawable
Creates drawable from AssetFileDescriptor.
GifDrawable(FileDescriptor) - Constructor for class pl.droidsonroids.gif.GifDrawable
Creates drawable from FileDescriptor
GifDrawable(byte[]) - Constructor for class pl.droidsonroids.gif.GifDrawable
Creates drawable from byte array.
GifDrawable(ByteBuffer) - Constructor for class pl.droidsonroids.gif.GifDrawable
Creates drawable from ByteBuffer.
GifDrawable(ContentResolver, Uri) - Constructor for class pl.droidsonroids.gif.GifDrawable
Creates drawable from Uri which is resolved using resolver.
GifDrawable(InputSource, GifDrawable, ScheduledThreadPoolExecutor, boolean, GifOptions) - Constructor for class pl.droidsonroids.gif.GifDrawable
Creates drawable from InputSource.
GifDrawableBuilder - Class in pl.droidsonroids.gif
Builder for GifDrawable which can be used to construct new drawables by reusing old ones.
GifDrawableBuilder() - Constructor for class pl.droidsonroids.gif.GifDrawableBuilder
 
GifDrawableInit<T extends GifDrawableInit<T>> - Class in pl.droidsonroids.gif
The base class for using the builder pattern with subclasses.
GifDrawableInit() - Constructor for class pl.droidsonroids.gif.GifDrawableInit
 
GifError - Enum in pl.droidsonroids.gif
Encapsulation of decoding errors occurring in native code.
GifImageButton - Class in pl.droidsonroids.gif
An ImageButton which tries treating background and src as GifDrawable
GifImageButton(Context) - Constructor for class pl.droidsonroids.gif.GifImageButton
A corresponding superclass constructor wrapper.
GifImageButton(Context, AttributeSet) - Constructor for class pl.droidsonroids.gif.GifImageButton
Like equivalent from superclass but also try to interpret src and background attributes as GifDrawable.
GifImageButton(Context, AttributeSet, int) - Constructor for class pl.droidsonroids.gif.GifImageButton
Like equivalent from superclass but also try to interpret src and background attributes as GIFs.
GifImageButton(Context, AttributeSet, int, int) - Constructor for class pl.droidsonroids.gif.GifImageButton
Like equivalent from superclass but also try to interpret src and background attributes as GIFs.
GifImageView - Class in pl.droidsonroids.gif
An ImageView which tries treating background and src as GifDrawable
GifImageView(Context) - Constructor for class pl.droidsonroids.gif.GifImageView
A corresponding superclass constructor wrapper.
GifImageView(Context, AttributeSet) - Constructor for class pl.droidsonroids.gif.GifImageView
Like equivalent from superclass but also try to interpret src and background attributes as GifDrawable.
GifImageView(Context, AttributeSet, int) - Constructor for class pl.droidsonroids.gif.GifImageView
Like equivalent from superclass but also try to interpret src and background attributes as GIFs.
GifImageView(Context, AttributeSet, int, int) - Constructor for class pl.droidsonroids.gif.GifImageView
Like equivalent from superclass but also try to interpret src and background attributes as GIFs.
GifIOException - Exception in pl.droidsonroids.gif
Exception encapsulating GifErrors.
GifOptions - Class in pl.droidsonroids.gif
Options controlling various GIF parameters similar to BitmapFactory.Options
GifOptions() - Constructor for class pl.droidsonroids.gif.GifOptions
 
GifTexImage2D - Class in pl.droidsonroids.gif
Provides support for animated GIFs in OpenGL.
GifTexImage2D(InputSource, GifOptions) - Constructor for class pl.droidsonroids.gif.GifTexImage2D
Constructs new GifTexImage2D.
GifTextureView - Class in pl.droidsonroids.gif
TextureView which can display animated GIFs.
GifTextureView(Context) - Constructor for class pl.droidsonroids.gif.GifTextureView
 
GifTextureView(Context, AttributeSet) - Constructor for class pl.droidsonroids.gif.GifTextureView
 
GifTextureView(Context, AttributeSet, int) - Constructor for class pl.droidsonroids.gif.GifTextureView
 
GifTextureView(Context, AttributeSet, int, int) - Constructor for class pl.droidsonroids.gif.GifTextureView
 
GifTextureView.PlaceholderDrawListener - Interface in pl.droidsonroids.gif
This listener can be used to be notified when the GifTextureView content placeholder can be drawn.
GifTextView - Class in pl.droidsonroids.gif
A TextView which handles GIFs as compound drawables.
GifTextView(Context) - Constructor for class pl.droidsonroids.gif.GifTextView
A corresponding superclass constructor wrapper.
GifTextView(Context, AttributeSet) - Constructor for class pl.droidsonroids.gif.GifTextView
Like equivalent from superclass but also try to interpret compound drawables defined in XML attributes as GIFs.
GifTextView(Context, AttributeSet, int) - Constructor for class pl.droidsonroids.gif.GifTextView
Like equivalent from superclass but also try to interpret compound drawables defined in XML attributes as GIFs.
GifTextView(Context, AttributeSet, int, int) - Constructor for class pl.droidsonroids.gif.GifTextView
Like equivalent from superclass but also try to interpret compound drawables defined in XML attributes as GIFs.
glTexImage2D(int, int) - Method in class pl.droidsonroids.gif.GifTexImage2D
Equivalent of GLES20.glTexImage2D(int, int, int, int, int, int, int, int, Buffer).
glTexSubImage2D(int, int) - Method in class pl.droidsonroids.gif.GifTexImage2D
Equivalent of GLES20.glTexSubImage2D(int, int, int, int, int, int, int, int, Buffer).

I

initialize(Context) - Static method in class pl.droidsonroids.gif.LibraryLoader
Initializes loader with given `Context`.
InputSource - Class in pl.droidsonroids.gif
Abstract class for all input sources, to be used with GifTextureView
InputSource.AssetFileDescriptorSource - Class in pl.droidsonroids.gif
Input using AssetFileDescriptor as a source.
InputSource.AssetSource - Class in pl.droidsonroids.gif
Input using android asset as source.
InputSource.ByteArraySource - Class in pl.droidsonroids.gif
Input using byte array as a source.
InputSource.DirectByteBufferSource - Class in pl.droidsonroids.gif
Input using ByteBuffer as a source.
InputSource.FileDescriptorSource - Class in pl.droidsonroids.gif
Input using FileDescriptor as a source.
InputSource.FileSource - Class in pl.droidsonroids.gif
Input using File or path as source.
InputSource.InputStreamSource - Class in pl.droidsonroids.gif
Input using InputStream as a source.
InputSource.ResourcesSource - Class in pl.droidsonroids.gif
Input using android resource (raw or drawable) as a source.
InputSource.UriSource - Class in pl.droidsonroids.gif
Input using Uri as source.
InputStreamSource(InputStream) - Constructor for class pl.droidsonroids.gif.InputSource.InputStreamSource
Constructs new source.
invalidateDrawable(Drawable) - Method in class pl.droidsonroids.gif.MultiCallback
 
isAnimated() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
 
isAnimated() - Method in class pl.droidsonroids.gif.GifDecoder
 
isAnimationCompleted() - Method in class pl.droidsonroids.gif.GifDrawable
Returns whether all animation loops has ended.
isPlaying() - Method in class pl.droidsonroids.gif.GifDrawable
isRecycled() - Method in class pl.droidsonroids.gif.GifDrawable
 
isRenderingTriggeredOnDraw() - Method in class pl.droidsonroids.gif.GifDrawableInit
 
isRunning() - Method in class pl.droidsonroids.gif.GifDrawable
 
isStateful() - Method in class pl.droidsonroids.gif.GifDrawable
 

L

LibraryLoader - Class in pl.droidsonroids.gif
Helper used to work around native libraries loading on some systems.

M

mPaint - Variable in class pl.droidsonroids.gif.GifDrawable
Paint used to draw on a Canvas
MultiCallback - Class in pl.droidsonroids.gif
Drawable.Callback which allows single Drawable to be associated with multiple callbacks, eg. with multiple Views.
MultiCallback() - Constructor for class pl.droidsonroids.gif.MultiCallback
Equivalent to MultiCallback(boolean) with false value.
MultiCallback(boolean) - Constructor for class pl.droidsonroids.gif.MultiCallback
Set useViewInvalidate to true if displayed Drawable is not supported by Drawable.Callback#invalidateDrawable(Drawable) of the target.

O

onAnimationCompleted(int) - Method in interface pl.droidsonroids.gif.AnimationListener
Called when a single loop of the animation is completed.
onBoundsChange(Rect) - Method in class pl.droidsonroids.gif.GifDrawable
 
onBoundsChange(Rect) - Method in class pl.droidsonroids.gif.transforms.CornerRadiusTransform
 
onBoundsChange(Rect) - Method in interface pl.droidsonroids.gif.transforms.Transform
Called by GifDrawable when its GifDrawable.onBoundsChange(Rect) is called.
onDetachedFromWindow() - Method in class pl.droidsonroids.gif.GifTextureView
 
onDetachedFromWindow() - Method in class pl.droidsonroids.gif.GifTextView
 
onDraw(Canvas, Paint, Bitmap) - Method in class pl.droidsonroids.gif.transforms.CornerRadiusTransform
 
onDraw(Canvas, Paint, Bitmap) - Method in interface pl.droidsonroids.gif.transforms.Transform
Called by GifDrawable when its GifDrawable.draw(Canvas) is called.
onDrawPlaceholder(Canvas) - Method in interface pl.droidsonroids.gif.GifTextureView.PlaceholderDrawListener
Called when surface is ready and placeholder has to be drawn.
onRestoreInstanceState(Parcelable) - Method in class pl.droidsonroids.gif.GifImageButton
 
onRestoreInstanceState(Parcelable) - Method in class pl.droidsonroids.gif.GifImageView
 
onRestoreInstanceState(Parcelable) - Method in class pl.droidsonroids.gif.GifTextureView
 
onRestoreInstanceState(Parcelable) - Method in class pl.droidsonroids.gif.GifTextView
 
onSaveInstanceState() - Method in class pl.droidsonroids.gif.GifImageButton
 
onSaveInstanceState() - Method in class pl.droidsonroids.gif.GifImageView
 
onSaveInstanceState() - Method in class pl.droidsonroids.gif.GifTextureView
 
onSaveInstanceState() - Method in class pl.droidsonroids.gif.GifTextView
 
onStateChange(int[]) - Method in class pl.droidsonroids.gif.GifDrawable
 
options(GifOptions) - Method in class pl.droidsonroids.gif.GifDrawableInit
Indicates whether the content of this source is opaque.

P

pause() - Method in class pl.droidsonroids.gif.GifDrawable
Equivalent of GifDrawable.stop()
pl.droidsonroids.gif - package pl.droidsonroids.gif
Animated GIF library for Android.
pl.droidsonroids.gif.annotations - package pl.droidsonroids.gif.annotations
 
pl.droidsonroids.gif.transforms - package pl.droidsonroids.gif.transforms
Transformations performed before drawing GIF frames.

R

reason - Variable in exception pl.droidsonroids.gif.GifIOException
Reason which caused an exception
recycle() - Method in class pl.droidsonroids.gif.GifDecoder
recycle() - Method in class pl.droidsonroids.gif.GifDrawable
Frees any memory allocated native way.
recycle() - Method in class pl.droidsonroids.gif.GifTexImage2D
removeAnimationListener(AnimationListener) - Method in class pl.droidsonroids.gif.GifDrawable
Removes an animation listener
removeView(Drawable.Callback) - Method in class pl.droidsonroids.gif.MultiCallback
Disassociates given Drawable.Callback.
renderingTriggeredOnDraw(boolean) - Method in class pl.droidsonroids.gif.GifDrawableInit
Sets whether rendering of the next frame is scheduled after drawing current one (so animation will be paused if drawing does not happen) or just after rendering frame (no matter if it is drawn or not).
reset() - Method in class pl.droidsonroids.gif.GifDrawable
Causes the animation to start over.
ResourcesSource(Resources, int) - Constructor for class pl.droidsonroids.gif.InputSource.ResourcesSource
Constructs new source.

S

sampleSize(int) - Method in class pl.droidsonroids.gif.GifDrawableInit
Sample size controlling subsampling, see GifOptions.setInSampleSize(int) for more details.
scheduleDrawable(Drawable, Runnable, long) - Method in class pl.droidsonroids.gif.MultiCallback
 
seekTo(int) - Method in class pl.droidsonroids.gif.GifDrawable
Seeks animation to given absolute position (within given loop) and refreshes the canvas.
seekToFrame(int, Bitmap) - Method in class pl.droidsonroids.gif.GifDecoder
seekToFrame(int) - Method in class pl.droidsonroids.gif.GifDrawable
Like GifDrawable.seekTo(int) but uses index of the frame instead of time.
seekToFrame(int) - Method in class pl.droidsonroids.gif.GifTexImage2D
Seeks to given frame
seekToFrameAndGet(int) - Method in class pl.droidsonroids.gif.GifDrawable
Like GifDrawable.seekToFrame(int) but performs operation synchronously and returns that frame.
seekToPositionAndGet(int) - Method in class pl.droidsonroids.gif.GifDrawable
Like GifDrawable.seekTo(int) but performs operation synchronously and returns that frame.
seekToTime(int, Bitmap) - Method in class pl.droidsonroids.gif.GifDecoder
self() - Method in class pl.droidsonroids.gif.GifDrawableBuilder
 
self() - Method in class pl.droidsonroids.gif.GifDrawableInit
Used in accordance with `getThis()` pattern.
setAlpha(int) - Method in class pl.droidsonroids.gif.GifDrawable
 
setBackgroundResource(int) - Method in class pl.droidsonroids.gif.GifImageButton
 
setBackgroundResource(int) - Method in class pl.droidsonroids.gif.GifImageView
 
setBackgroundResource(int) - Method in class pl.droidsonroids.gif.GifTextView
 
setColorFilter(ColorFilter) - Method in class pl.droidsonroids.gif.GifDrawable
 
setCompoundDrawablesRelativeWithIntrinsicBounds(int, int, int, int) - Method in class pl.droidsonroids.gif.GifTextView
 
setCompoundDrawablesWithIntrinsicBounds(int, int, int, int) - Method in class pl.droidsonroids.gif.GifTextView
 
setCornerRadius(float) - Method in class pl.droidsonroids.gif.GifDrawable
Sets the corner radius to be applied when drawing the bitmap.
setCornerRadius(float) - Method in class pl.droidsonroids.gif.transforms.CornerRadiusTransform
Sets the corner radius to be applied when drawing the bitmap.
setDither(boolean) - Method in class pl.droidsonroids.gif.GifDrawable
Deprecated.
setFilterBitmap(boolean) - Method in class pl.droidsonroids.gif.GifDrawable
 
setFreezesAnimation(boolean) - Method in class pl.droidsonroids.gif.GifImageButton
Sets whether animation position is saved in GifImageButton.onSaveInstanceState() and restored in GifImageButton.onRestoreInstanceState(Parcelable)
setFreezesAnimation(boolean) - Method in class pl.droidsonroids.gif.GifImageView
Sets whether animation position is saved in GifImageView.onSaveInstanceState() and restored in GifImageView.onRestoreInstanceState(Parcelable)
setFreezesAnimation(boolean) - Method in class pl.droidsonroids.gif.GifTextureView
Sets whether animation position is saved in GifTextureView.onSaveInstanceState() and restored in GifTextureView.onRestoreInstanceState(Parcelable)
setFreezesAnimation(boolean) - Method in class pl.droidsonroids.gif.GifTextView
Sets whether animation position is saved in GifTextView.onSaveInstanceState() and restored in GifTextView.onRestoreInstanceState(Parcelable).
setImageMatrix(Matrix) - Method in class pl.droidsonroids.gif.GifTextureView
setImageResource(int) - Method in class pl.droidsonroids.gif.GifImageButton
 
setImageResource(int) - Method in class pl.droidsonroids.gif.GifImageView
 
setImageURI(Uri) - Method in class pl.droidsonroids.gif.GifImageButton
Sets the content of this GifImageView to the specified Uri.
setImageURI(Uri) - Method in class pl.droidsonroids.gif.GifImageView
Sets the content of this GifImageView to the specified Uri.
setInIsOpaque(boolean) - Method in class pl.droidsonroids.gif.GifOptions
Indicates whether the content is opaque.
setInputSource(InputSource) - Method in class pl.droidsonroids.gif.GifTextureView
Sets the source of the animation.
setInputSource(InputSource, GifTextureView.PlaceholderDrawListener) - Method in class pl.droidsonroids.gif.GifTextureView
Sets the source of the animation and optionally placeholder drawer.
setInSampleSize(int) - Method in class pl.droidsonroids.gif.GifOptions
If set to a value > 1, requests the decoder to subsample the original frames, returning a smaller frame buffer to save memory.
setLoopCount(int) - Method in class pl.droidsonroids.gif.GifDrawable
Sets loop count of the animation.
setOpaque(boolean) - Method in class pl.droidsonroids.gif.GifTextureView
Indicates whether the content of this GifTextureView is opaque.
setRenderingTriggeredOnDraw(boolean) - Method in class pl.droidsonroids.gif.GifDrawableInit
setScaleType(ImageView.ScaleType) - Method in class pl.droidsonroids.gif.GifTextureView
Controls how the image should be resized or moved to match the size of this GifTextureView.
setSpeed(float) - Method in class pl.droidsonroids.gif.GifDrawable
Sets new animation speed factor.
setSpeed(float) - Method in class pl.droidsonroids.gif.GifTextureView
setSurfaceTexture(SurfaceTexture) - Method in class pl.droidsonroids.gif.GifTextureView
setSurfaceTextureListener(TextureView.SurfaceTextureListener) - Method in class pl.droidsonroids.gif.GifTextureView
setTintList(ColorStateList) - Method in class pl.droidsonroids.gif.GifDrawable
 
setTintMode(PorterDuff.Mode) - Method in class pl.droidsonroids.gif.GifDrawable
 
setTransform(Transform) - Method in class pl.droidsonroids.gif.GifDrawable
Specify a Transform implementation to customize how the GIF's current Bitmap is drawn.
setTransform(Matrix) - Method in class pl.droidsonroids.gif.GifTextureView
Works like TextureView.setTransform(Matrix) but transform will take effect only if scale type is set to ImageView.ScaleType.MATRIX through XML attribute or via #setScaleType(ScaleType)
setVisible(boolean, boolean) - Method in class pl.droidsonroids.gif.GifDrawable
Sets whether this drawable is visible.
start() - Method in class pl.droidsonroids.gif.GifDrawable
Starts the animation.
startDecoderThread() - Method in class pl.droidsonroids.gif.GifTexImage2D
Creates frame buffer and starts decoding thread.
stop() - Method in class pl.droidsonroids.gif.GifDrawable
Stops the animation.
stopDecoderThread() - Method in class pl.droidsonroids.gif.GifTexImage2D
Stops decoder thread and releases frame buffer.

T

taskExecutor(ScheduledThreadPoolExecutor) - Method in class pl.droidsonroids.gif.GifDrawableInit
Sets or resets executor for rendering tasks.
threadPoolSize(int) - Method in class pl.droidsonroids.gif.GifDrawableInit
Sets thread pool size for rendering tasks.
toString() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
 
toString() - Method in class pl.droidsonroids.gif.GifDrawable
 
Transform - Interface in pl.droidsonroids.gif.transforms
Interface to support clients performing custom transformations before the current GIF Bitmap is drawn.

U

unscheduleDrawable(Drawable, Runnable) - Method in class pl.droidsonroids.gif.MultiCallback
 
UriSource(ContentResolver, Uri) - Constructor for class pl.droidsonroids.gif.InputSource.UriSource
Constructs new source.

V

valueOf(String) - Static method in enum pl.droidsonroids.gif.GifError
Returns the enum constant of this type with the specified name.
values() - Static method in enum pl.droidsonroids.gif.GifError
Returns an array containing the constants of this enum type, in the order they are declared.

W

with(GifDrawable) - Method in class pl.droidsonroids.gif.GifDrawableInit
Sets drawable to be reused when creating new one.
writeToParcel(Parcel, int) - Method in class pl.droidsonroids.gif.GifAnimationMetaData
 
A B C D F G I L M O P R S T U V W 
Skip navigation links