Home
last modified time | relevance | path

Searched refs:timeMs (Results 1 – 5 of 5) sorted by relevance

/packages/apps/VideoEditor/src/com/android/videoeditor/
DVideoEditorActivity.java272 public void onTrimMediaItem(MovieMediaItem mediaItem, long timeMs) { in onCreate()
276 if (timeMs >= 0) { in onCreate()
277 mPreviewThread.renderMediaItemFrame(mediaItem, timeMs); in onCreate()
281 mProject.getMediaItemBeginTime(mediaItem.getId()) + timeMs, in onCreate()
288 public void onTrimMediaItemEnd(MovieMediaItem mediaItem, long timeMs) { in onCreate()
330 final long timeMs = (scrollX * mDurationMs) / mActiveWidth; in onCreate()
331 if (setPlayhead(timeMs < 0 ? 0 : timeMs)) { in onCreate()
1343 protected void movePlayhead(long timeMs) {
1344 movePlayhead(timeMs, true);
1347 private void movePlayhead(long timeMs, boolean smooth) {
[all …]
DVideoEditorBaseActivity.java927 protected abstract void movePlayhead(long timeMs); in movePlayhead() argument
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DMediaLinearLayoutListener.java61 void onTrimMediaItem(MovieMediaItem mediaItem, long timeMs); in onTrimMediaItem() argument
69 void onTrimMediaItemEnd(MovieMediaItem mediaItem, long timeMs); in onTrimMediaItemEnd() argument
DMediaLinearLayout.java1804 long timeMs = mProject.getPlayheadPos();
1818 if (timeMs > beginMs && timeMs <= endMs) {
1851 return timeMs;
1861 long timeMs = mProject.getPlayheadPos();
1875 if (timeMs >= beginMs && timeMs < endMs) {
1904 return timeMs;
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
DVideoEditorProject.java664 public MovieMediaItem getInsertAfterMediaItem(long timeMs) { in getInsertAfterMediaItem() argument
680 if (timeMs >= beginMs && timeMs <= endMs) { in getInsertAfterMediaItem()
681 if (timeMs - beginMs < endMs - timeMs) { // Closer to the beginning in getInsertAfterMediaItem()
1025 public long renderPreviewFrame(SurfaceHolder surfaceHolder, long timeMs, in renderPreviewFrame() argument
1028 return mVideoEditor.renderPreviewFrame(surfaceHolder, timeMs, overlayData); in renderPreviewFrame()
1048 long timeMs) { in renderMediaItemFrame() argument
1053 return mediaItem.renderFrame(surfaceHolder, timeMs); in renderMediaItemFrame()