docs/javadoc/reference/com/facebook/imagepipeline/animated/util/AnimatedDrawableUtil.html
|
|
Summary: Ctors | Methods | Inherited Methods | [Expand All]
public class
extends Object
| java.lang.Object | | ↳ | com.facebook.imagepipeline.animated.util.AnimatedDrawableUtil |
Utility methods for AnimatedDrawable.
| Public Constructors |
|---|
| Public Methods |
|---|
| void |
| Adjusts the frame duration array to respect logic for minimum frame duration time. |
| int |
| Gets the frame index for specified timestamp. |
| int[] |
| Given an array of frame durations, generate an array of timestamps corresponding to when each frame beings. |
| int |
| int |
| Gets the total duration of an image by summing up the duration of the frames. |
| static boolean |
| Checks whether the specified frame number is outside the range inclusive of both start and end. |
| [Expand] Inherited Methods | | --- | | From class java.lang.Object
| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
|
Adjusts the frame duration array to respect logic for minimum frame duration time.
| frameDurationMs | the frame duration array |
Gets the frame index for specified timestamp.
| frameTimestampsMs | an array of timestamps generated by `` | | timestampMs | the timestamp |
Given an array of frame durations, generate an array of timestamps corresponding to when each frame beings.
| frameDurationsMs | an array of frame durations |
Gets the total duration of an image by summing up the duration of the frames.
| frameDurationMs | the frame duration array |
Checks whether the specified frame number is outside the range inclusive of both start and end. If start <= end, start is within, end is within, and everything in between is within. If start > end, start is within, end is within, everything less than start is within and everything greater than end is within. This behavior is useful for handling the wrapping case.
| startFrame | the start frame | | endFrame | the end frame | | frameNumber | the frame number |
+Generated by Doclava. +