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

A

addAnimationListener(AnimationListener) - Method in class pl.droidsonroids.gif.GifDrawable
Adds a new animation listener
AnimationListener - Interface in pl.droidsonroids.gif
Interface which can be used to run some code when particular animation event occurs.

B

build() - Method in class pl.droidsonroids.gif.GifDrawableBuilder
Appropriate constructor wrapper.

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.
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
draw(Canvas) - Method in class pl.droidsonroids.gif.GifDrawable
Reads and renders new frame if needed then draws last rendered frame.

F

from(InputStream) - Method in class pl.droidsonroids.gif.GifDrawableBuilder
from(AssetFileDescriptor) - Method in class pl.droidsonroids.gif.GifDrawableBuilder
from(FileDescriptor) - Method in class pl.droidsonroids.gif.GifDrawableBuilder
from(AssetManager, String) - Method in class pl.droidsonroids.gif.GifDrawableBuilder
from(ContentResolver, Uri) - Method in class pl.droidsonroids.gif.GifDrawableBuilder
from(File) - Method in class pl.droidsonroids.gif.GifDrawableBuilder
from(String) - Method in class pl.droidsonroids.gif.GifDrawableBuilder
from(byte[]) - Method in class pl.droidsonroids.gif.GifDrawableBuilder
from(ByteBuffer) - Method in class pl.droidsonroids.gif.GifDrawableBuilder
from(Resources, int) - Method in class pl.droidsonroids.gif.GifDrawableBuilder

G

getAllocationByteCount() - Method in class pl.droidsonroids.gif.GifDrawable
Returns size of the allocated memory used 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.GifDrawable
Returns GIF comment
getCurrentFrame() - Method in class pl.droidsonroids.gif.GifDrawable
Retrieves a copy of currently buffered frame.
getCurrentPosition() - Method in class pl.droidsonroids.gif.GifDrawable
Retrieves elapsed time from the beginning of a current loop of animation.
getDuration() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
Retrieves duration of one loop of the animation.
getDuration() - Method in class pl.droidsonroids.gif.GifDrawable
Retrieves duration of one loop of the animation.
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
 
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.
getHeight() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
 
getInputSourceByteCount() - Method in class pl.droidsonroids.gif.GifDrawable
Returns length of the input source obtained at the opening time or -1 if length is unknown.
getIntrinsicHeight() - Method in class pl.droidsonroids.gif.GifDrawable
 
getIntrinsicWidth() - Method in class pl.droidsonroids.gif.GifDrawable
 
getLoopCount() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
Returns loop count previously read from GIF's application extension block.
getLoopCount() - Method in class pl.droidsonroids.gif.GifDrawable
Returns loop count previously read from GIF's application extension block.
getMinimumHeight() - Method in class pl.droidsonroids.gif.GifDrawable
 
getMinimumWidth() - Method in class pl.droidsonroids.gif.GifDrawable
 
getNumberOfFrames() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
 
getNumberOfFrames() - Method in class pl.droidsonroids.gif.GifDrawable
 
getOpacity() - Method in class pl.droidsonroids.gif.GifDrawable
See Drawable.getOpacity()
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.
getWidth() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
 
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.
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.
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
 
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.
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.

I

isAnimated() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
 
isPlaying() - Method in class pl.droidsonroids.gif.GifDrawable
isRecycled() - Method in class pl.droidsonroids.gif.GifDrawable
 
isRunning() - Method in class pl.droidsonroids.gif.GifDrawable
 
isStateful() - Method in class pl.droidsonroids.gif.GifDrawable
 

M

mPaint - Variable in class pl.droidsonroids.gif.GifDrawable
Paint used to draw on a Canvas

O

onAnimationCompleted() - 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
 
onDetachedFromWindow() - Method in class pl.droidsonroids.gif.GifTextView
 
onStateChange(int[]) - Method in class pl.droidsonroids.gif.GifDrawable
 

P

pause() - Method in class pl.droidsonroids.gif.GifDrawable
Equivalent of GifDrawable.stop()
pl.droidsonroids.gif - package pl.droidsonroids.gif
 

R

reason - Variable in exception pl.droidsonroids.gif.GifIOException
Reason which caused an exception
recycle() - Method in class pl.droidsonroids.gif.GifDrawable
Frees any memory allocated native way.
removeAnimationListener(AnimationListener) - Method in class pl.droidsonroids.gif.GifDrawable
Removes an animation listener
reset() - Method in class pl.droidsonroids.gif.GifDrawable
Causes the animation to start over.

S

seekTo(int) - Method in class pl.droidsonroids.gif.GifDrawable
Seeks animation to given absolute position (within given loop) and refreshes the canvas.
seekToFrame(int) - Method in class pl.droidsonroids.gif.GifDrawable
Like GifInfoHandle.seekToTime(long, int, android.graphics.Bitmap) but uses index of the frame instead of time.
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
 
setDither(boolean) - Method in class pl.droidsonroids.gif.GifDrawable
 
setFilterBitmap(boolean) - Method in class pl.droidsonroids.gif.GifDrawable
 
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.
setSpeed(float) - Method in class pl.droidsonroids.gif.GifDrawable
Sets new animation speed factor.
setTintList(ColorStateList) - Method in class pl.droidsonroids.gif.GifDrawable
 
setTintMode(PorterDuff.Mode) - Method in class pl.droidsonroids.gif.GifDrawable
 
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.
stop() - Method in class pl.droidsonroids.gif.GifDrawable
Stops the animation.

T

taskExecutor(ScheduledThreadPoolExecutor) - Method in class pl.droidsonroids.gif.GifDrawableBuilder
Sets or resets executor for rendering tasks.
threadPoolSize(int) - Method in class pl.droidsonroids.gif.GifDrawableBuilder
Sets thread pool size for rendering tasks.
toString() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
 
toString() - Method in class pl.droidsonroids.gif.GifDrawable
 

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.GifDrawableBuilder
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 M O P R S T V W 
Skip navigation links