MeiCam SDK For Android
3.14.0
|
Thumbnail sequence. More...
Public Member Functions | |
NvsThumbnailSequenceView (Context context) | |
NvsThumbnailSequenceView (Context context, AttributeSet attrs) | |
NvsThumbnailSequenceView (Context context, AttributeSet attrs, int defStyleAttr) | |
NvsThumbnailSequenceView (Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) | |
void | setThumbnailImageFillMode (int fillMode) |
Sets the image fill mode of the thumbnail. More... | |
int | getThumbnailImageFillMode () |
Gets the image fill mode of the thumbnail. More... | |
void | setMediaFilePath (String mediaFilePath) |
Sets the media file path. More... | |
String | getMediaFilePath () |
Gets the media file path. More... | |
void | setStartTime (long startTime) |
Sets the sequence start time. More... | |
long | getStartTime () |
Gets the start time of the sequence. More... | |
void | setDuration (long duration) |
Sets the sequence duration. More... | |
long | getDuration () |
Gets sequence duration. More... | |
void | setThumbnailAspectRatio (float thumbnailAspectRatio) |
Sets the thumbnail aspect ratio. More... | |
float | getThumbnailAspectRatio () |
Gets thumbnail aspect ratio. More... | |
void | setStillImageHint (boolean stillImageHint) |
Sets whether to load a video as a still image. More... | |
boolean | getStillImageHint () |
Gets a still image when loading a video. More... | |
boolean | shouldDelayChildPressedState () |
Protected Member Functions | |
void | onMeasure (int widthMeasureSpec, int heightMeasureSpec) |
void | onLayout (boolean changed, int left, int top, int right, int bottom) |
void | onSizeChanged (int w, int h, int oldw, int oldh) |
Thumbnail sequence.
Note: Please do not use the control for new code, please use the NvsMultiThumbnailSequenceView! The sequence of thumbnails refers to that the video is scaled to some extent, to statically shorten the displayed sequence. During video edition, by previewing the video sequence, users can set the start time, duration, and aspect ratio of the sequence. Meanwhile, the subtitles and the cropped video are precisely added at the corresponding time slot position according to the thumbnail.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Gets sequence duration.
|
inline |
|
inline |
Gets the start time of the sequence.
|
inline |
Gets a still image when loading a video.
|
inline |
Gets thumbnail aspect ratio.
|
inline |
Gets the image fill mode of the thumbnail.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
Sets whether to load a video as a still image.
stillImageHint | Whether it is a still image. True means it is a still image and false means it is not. |
|
inline |
Sets the thumbnail aspect ratio.
thumbnailAspectRatio | Aspect ratio |
|
inline |
Sets the image fill mode of the thumbnail.
fillMode | Image fill mode |
|
inline |
Any layout manager that doesn't scroll will want this.