Home
last modified time | relevance | path

Searched refs:mediaItemId (Results 1 – 8 of 8) sorted by relevance

/packages/apps/VideoEditor/src/com/android/videoeditor/service/
DApiServiceListener.java167 public void onMediaItemAdded(String projectPath, String mediaItemId, in onMediaItemAdded() argument
191 public void onMediaItemMoved(String projectPath, String mediaItemId, in onMediaItemMoved() argument
203 public void onMediaItemRemoved(String projectPath, String mediaItemId, in onMediaItemRemoved() argument
214 public void onMediaItemRenderingModeSet(String projectPath, String mediaItemId, in onMediaItemRenderingModeSet() argument
225 public void onMediaItemDurationSet(String projectPath, String mediaItemId, in onMediaItemDurationSet() argument
237 public void onMediaItemBoundariesSet(String projectPath, String mediaItemId, in onMediaItemBoundariesSet() argument
252 public boolean onMediaItemThumbnail(String projectPath, String mediaItemId, in onMediaItemThumbnail() argument
265 String mediaItemId, int progress) {} in onMediaItemExtractAudioWaveformProgress() argument
275 String mediaItemId, Exception exception) {} in onMediaItemExtractAudioWaveformComplete() argument
333 String mediaItemId, Exception exception) {} in onOverlayAdded() argument
[all …]
DVideoEditorProject.java389 void removeMediaItem(String mediaItemId, MovieTransition transition) { in removeMediaItem() argument
394 if (mediaItem.getId().equals(mediaItemId)) { in removeMediaItem()
436 public MovieMediaItem getMediaItem(String mediaItemId) { in getMediaItem() argument
438 if (mediaItem.getId().equals(mediaItemId)) { in getMediaItem()
464 public boolean isFirstMediaItem(String mediaItemId) { in isFirstMediaItem() argument
469 return mediaItem.getId().equals(mediaItemId); in isFirstMediaItem()
504 public boolean isLastMediaItem(String mediaItemId) { in isLastMediaItem() argument
509 return mediaItem.getId().equals(mediaItemId); in isLastMediaItem()
519 public MovieMediaItem getPreviousMediaItem(String mediaItemId) { in getPreviousMediaItem() argument
522 if (mediaItemId.equals(mediaItem.getId())) { in getPreviousMediaItem()
[all …]
DApiService.java531 String mediaItemId, String afterMediaItemId, Uri uri, int renderingMode, in addMediaItemVideoUri() argument
536 intent.putExtra(PARAM_STORYBOARD_ITEM_ID, mediaItemId); in addMediaItemVideoUri()
558 String mediaItemId, String afterMediaItemId, Uri uri, int renderingMode, in addMediaItemImageUri() argument
563 intent.putExtra(PARAM_STORYBOARD_ITEM_ID, mediaItemId); in addMediaItemImageUri()
602 String mediaItemId, String afterMediaItemId, String themeId) { in moveMediaItem() argument
606 intent.putExtra(PARAM_STORYBOARD_ITEM_ID, mediaItemId); in moveMediaItem()
621 public static void removeMediaItem(Context context, String projectPath, String mediaItemId, in removeMediaItem() argument
626 intent.putExtra(PARAM_STORYBOARD_ITEM_ID, mediaItemId); in removeMediaItem()
640 String mediaItemId, int renderingMode) { in setMediaItemRenderingMode() argument
644 intent.putExtra(PARAM_STORYBOARD_ITEM_ID, mediaItemId); in setMediaItemRenderingMode()
[all …]
/packages/apps/VideoEditor/src/com/android/videoeditor/
DVideoEditorBaseActivity.java291 public void onMediaItemAdded(String projectPath, String mediaItemId, in onMediaItemAdded() argument
341 public void onMediaItemMoved(String projectPath, String mediaItemId, in onMediaItemMoved() argument
365 public void onMediaItemRemoved(String projectPath, String mediaItemId, in onMediaItemRemoved() argument
381 getMediaLayout().removeMediaItem(mediaItemId, transition); in onMediaItemRemoved()
382 getOverlayLayout().removeMediaItem(mediaItemId); in onMediaItemRemoved()
389 public void onMediaItemRenderingModeSet(String projectPath, String mediaItemId, in onMediaItemRenderingModeSet() argument
407 public void onMediaItemDurationSet(String projectPath, String mediaItemId, in onMediaItemDurationSet() argument
422 final MovieMediaItem mediaItem = mProject.getMediaItem(mediaItemId); in onMediaItemDurationSet()
432 public void onMediaItemBoundariesSet(String projectPath, String mediaItemId, in onMediaItemBoundariesSet() argument
447 final MovieMediaItem mediaItem = mProject.getMediaItem(mediaItemId); in onMediaItemBoundariesSet()
[all …]
DVideoEditorActivity.java1136 final String mediaItemId =
1143 final MovieMediaItem mediaItem = mProject.getMediaItem(mediaItemId);
1146 ApiService.addOverlay(this, mProject.getPath(), mediaItemId,
1152 mediaItemId, overlayId, bundle);
1158 mAddOverlayMediaItemId = mediaItemId;
1166 final String mediaItemId = extras.getStringExtra(
1173 mMediaLayout.addEffect(EffectType.EFFECT_KEN_BURNS, mediaItemId,
1178 mAddEffectMediaItemId = mediaItemId;
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DOverlayLinearLayout.java473 final String mediaItemId = mediaItem.getId(); in updateMediaItem() local
478 if (mi != null && mediaItemId.equals(mi.getId())) { in updateMediaItem()
497 public View removeMediaItem(String mediaItemId) { in removeMediaItem() argument
502 if (mediaItem != null && mediaItem.getId().equals(mediaItemId)) { in removeMediaItem()
518 public void addOverlay(String mediaItemId, MovieOverlay overlay) { in addOverlay() argument
519 final OverlayView view = (OverlayView)getOverlayView(mediaItemId); in addOverlay()
521 Log.e(TAG, "addOverlay: Media item not found: " + mediaItemId); in addOverlay()
537 public void removeOverlay(String mediaItemId, String overlayId) { in removeOverlay() argument
538 final OverlayView view = (OverlayView)getOverlayView(mediaItemId); in removeOverlay()
540 Log.e(TAG, "removeOverlay: Media item not found: " + mediaItemId); in removeOverlay()
[all …]
DMediaItemView.java288 key.mediaItemId = mMediaItem.getId(); in getOneThumbnail()
465 key.mediaItemId = mMediaItem.getId(); in drawThumbnails()
610 public String mediaItemId; field in ThumbnailKey
617 mediaItemId = id; in ThumbnailKey()
627 return index == key.index && mediaItemId.equals(key.mediaItemId); in equals()
632 return mediaItemId.hashCode() ^ index; in hashCode()
659 if (key.mediaItemId.equals(id)) { in clearForMediaItemId()
DMediaLinearLayout.java762 final String mediaItemId = mediaItem.getId(); in updateMediaItem() local
769 if (mediaItemId.equals(mi.getId())) { in updateMediaItem()
820 public View removeMediaItem(String mediaItemId, MovieTransition transition) { in removeMediaItem() argument
828 if (mediaItemId.equals(mi.getId())) { in removeMediaItem()
1106 public void onGeneratePreviewMediaItemProgress(String mediaItemId, int action, int progress) { in onGeneratePreviewMediaItemProgress() argument
1108 final MediaItemView view = (MediaItemView) getMediaItemView(mediaItemId); in onGeneratePreviewMediaItemProgress()
1158 public void addEffect(int effectType, String mediaItemId, Rect startRect, Rect endRect) { in addEffect() argument
1159 final MovieMediaItem mediaItem = mProject.getMediaItem(mediaItemId); in addEffect()
1161 Log.e(TAG, "addEffect media item not found: " + mediaItemId); in addEffect()
1168 ApiService.addEffectKenBurns(getContext(), mProject.getPath(), mediaItemId, in addEffect() local
[all …]