|
static final int | THUMBNAIL_IMAGE_FILLMODE_STRETCH = 0 |
| Image zoom to fill the full window without maintaining the original scale (default mode) More...
|
|
static final int | THUMBNAIL_IMAGE_FILLMODE_ASPECTCROP = 1 |
| The image fills the full window evenly and scales if necessary. More...
|
|
| NvsMultiThumbnailSequenceView (Context context) |
|
| NvsMultiThumbnailSequenceView (Context context, AttributeSet attrs) |
|
| NvsMultiThumbnailSequenceView (Context context, AttributeSet attrs, int defStyleAttr) |
|
| NvsMultiThumbnailSequenceView (Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) |
|
void | setThumbnailSequenceDescArray (ArrayList< ThumbnailSequenceDesc > descArray) |
| Sets the thumbnail sequence description array. More...
|
|
ArrayList< ThumbnailSequenceDesc > | getThumbnailSequenceDescArray () |
| Gets the thumbnail sequence description array. More...
|
|
void | setThumbnailImageFillMode (int fillMode) |
| Sets the image fill mode of the thumbnail,default:THUMBNAIL_IMAGE_FILLMODE_STRETCH. More...
|
|
int | getThumbnailImageFillMode () |
| Gets the image fill mode of the thumbnail. More...
|
|
void | setThumbnailAspectRatio (float thumbnailAspectRatio) |
| Sets thumbnail aspect ratio,default:9.0f / 16. More...
|
|
float | getThumbnailAspectRatio () |
| Gets thumbnail aspect ratio. More...
|
|
void | setPixelPerMicrosecond (double pixelPerMicrosecond) |
| Sets the scale,default:1080.0 / 15000000. More...
|
|
double | getPixelPerMicrosecond () |
| Gets the current scale. More...
|
|
void | setStartPadding (int startPadding) |
| Sets the starting padding. More...
|
|
int | getStartPadding () |
| Gets the current starting padding. More...
|
|
void | setEndPadding (int endPadding) |
| Sets end padding. More...
|
|
int | getEndPadding () |
| Gets the current ending padding. More...
|
|
void | setMaxTimelinePosToScroll (int maxTimelinePosToScroll) |
| Sets the maximum timeline position that allows scrolling. More...
|
|
long | getMaxTimelinePosToScroll () |
| Gets the maximum timeline position that allows scrolling. More...
|
|
long | mapTimelinePosFromX (int x) |
| Maps the X coordinate of the control to the timeline position. More...
|
|
int | mapXFromTimelinePos (long timelinePos) |
| Maps the timeline position to the X coordinate of the control. More...
|
|
void | scaleWithAnchor (double scaleFactor, int anchorX) |
| Zooms the current scale. More...
|
|
void | setOnScrollChangeListenser (OnScrollChangeListener listener) |
| Sets the scroll listener interface. More...
|
|
OnScrollChangeListener | getOnScrollChangeListenser () |
| Gets the current scrolling listener interface. More...
|
|
void | setScrollEnabled (boolean enable) |
| Sets whether to start scroll preview. More...
|
|
boolean | getScrollEnabled () |
| Gets whether scroll preview has started. More...
|
|
void | updateThumbnails () |
|
void | onIconReady (Bitmap icon, long timestamp, long taskId) |
| Picture get callback. More...
|
|
void | onSizeChanged (int w, int h, int oldw, int oldh) |
|
void | onLayout (boolean changed, int left, int top, int right, int bottom) |
|
void | onAttachedToWindow () |
|
void | onDetachedFromWindow () |
|
void | onScrollChanged (int l, int t, int oldl, int oldt) |
|
Multiple thumbnail sequence.
A multi-thumbnail sequence displays a sequence of thumbnails of multiple segments within a timeline. It supports the adjustment of the thumbnail time scale, and supports scrolling when the effective content is too long.
- Warning
- In the NvsMultiThumbnailSequenceView class, all public APIs are used in the UI thread! ! !
- Since
- 1.10.0