- getAllocationByteCount() - Method in class pl.droidsonroids.gif.GifAnimationMetaData
-
- 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.
- getBounds() - Method in class pl.droidsonroids.gif.transforms.CornerRadiusTransform
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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.
Only metadata is read, no graphic data is decoded here.
- 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.
It can be larger than size of the GIF data.
- GifAnimationMetaData(ByteBuffer) - Constructor for class pl.droidsonroids.gif.GifAnimationMetaData
-
- 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.
Only metadata is read, no graphic data is decoded here.
- 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.
It can be larger than size of the GIF data.
- GifDrawable(ByteBuffer) - Constructor for class pl.droidsonroids.gif.GifDrawable
-
- 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
-
- 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
-
- 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
-
- 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
-
- GifOptions - Class in pl.droidsonroids.gif
-
- 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
-
- 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
-
- glTexSubImage2D(int, int) - Method in class pl.droidsonroids.gif.GifTexImage2D
-
- sampleSize(int) - Method in class pl.droidsonroids.gif.GifDrawableInit
-
- 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.
If position is greater than duration of the loop of animation (or whole animation if there is no loop)
then animation will be sought to the end, no exception will be thrown.
NOTE: all frames from current (or first one if seeking backward) to desired one must be rendered sequentially to perform seeking.
- seekToFrame(int, Bitmap) - Method in class pl.droidsonroids.gif.GifDecoder
-
- seekToFrame(int) - Method in class pl.droidsonroids.gif.GifDrawable
-
- seekToFrame(int) - Method in class pl.droidsonroids.gif.GifTexImage2D
-
Seeks to given frame
- seekToFrameAndGet(int) - Method in class pl.droidsonroids.gif.GifDrawable
-
- seekToPositionAndGet(int) - Method in class pl.droidsonroids.gif.GifDrawable
-
- 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
-
- setFreezesAnimation(boolean) - Method in class pl.droidsonroids.gif.GifImageView
-
- setFreezesAnimation(boolean) - Method in class pl.droidsonroids.gif.GifTextureView
-
- setFreezesAnimation(boolean) - Method in class pl.droidsonroids.gif.GifTextView
-
- 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.
Note: If animation is in progress (
GifDrawable.draw(Canvas)) was already called)
then effects will be visible starting from the next frame.
- 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
-
- 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.