Searched refs:mProject (Results 1 – 6 of 6) sorted by relevance
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
D | VideoEditorActivity.java | 146 movePlayhead(mProject.getPlayheadPos(), false); 274 if (mProject != null && isPreviewPlaying()) { in onCreate() 280 mPreviewThread.previewFrame(mProject, in onCreate() 281 mProject.getMediaItemBeginTime(mediaItem.getId()) + timeMs, in onCreate() 282 mProject.getMediaItemCount() == 0); in onCreate() 313 if (!appScroll && mProject != null) { in onCreate() 315 mDurationMs = mProject.computeDuration(); in onCreate() 329 if (!appScroll && mActiveWidth > 0 && mProject != null) { in onCreate() 353 if (mProject == null) { in onCreate() 362 zoomTimeline(mProject.getZoomLevel() - ZOOM_STEP, true); in onCreate() [all …]
|
D | VideoEditorBaseActivity.java | 66 protected VideoEditorProject mProject; field in VideoEditorBaseActivity 108 mProject = project; in onVideoEditorCreated() 132 if (mProject == null) { in onVideoEditorLoaded() 133 mProject = project; in onVideoEditorLoaded() 147 if (mProject == null) { in onVideoEditorAspectRatioSet() 168 if (mProject == null) { in onVideoEditorThemeApplied() 176 getMediaLayout().addMediaItems(mProject.getMediaItems()); in onVideoEditorThemeApplied() 177 getOverlayLayout().addMediaItems(mProject.getMediaItems()); in onVideoEditorThemeApplied() 178 getAudioTrackLayout().addAudioTracks(mProject.getAudioTracks()); in onVideoEditorThemeApplied() 192 if (mProject == null) { in onVideoEditorGeneratePreviewProgress() [all …]
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
D | MediaLinearLayout.java | 97 private VideoEditorProject mProject; field in MediaLinearLayout 134 final boolean enable = !ApiService.isProjectBeingEdited(mProject.getPath()) && in onPrepareActionMode() 192 rmmi.setVisible(mProject.hasMultipleAspectRatios()); in onPrepareActionMode() 193 rmmi.setEnabled(enable && mProject.hasMultipleAspectRatios()); in onPrepareActionMode() 212 final MovieMediaItem prevMediaItem = mProject.getPreviousMediaItem( in onActionItemClicked() 342 final boolean enable = !ApiService.isProjectBeingEdited(mProject.getPath()) && in onPrepareActionMode() 401 final MovieMediaItem prevMediaItem = mProject.getPreviousMediaItem( in MediaLinearLayout() 431 if (mProject.getMediaItemCount() > 1) { in MediaLinearLayout() 484 if (mProject != null && mProject.getMediaItemCount() > 0) { in MediaLinearLayout() 507 if (mProject != null) { in MediaLinearLayout() [all …]
|
D | AudioTrackLinearLayout.java | 65 private VideoEditorProject mProject; field in AudioTrackLinearLayout 130 ApiService.setAudioTrackDuck(getContext(), mProject.getPath(), in onActionItemClicked() 151 ApiService.setAudioTrackVolume(getContext(), mProject.getPath(), in onProgressChanged() 299 mProject = project; in setProject() 335 mTimelineDurationMs = mProject.computeDuration(); in addAudioTracks() 364 ApiService.extractAudioTrackAudioWaveform(getContext(), mProject.getPath(), in addAudioTrack() 486 mTimelineDurationMs = mProject.computeDuration(); in updateTimelineDuration() 579 if (mProject == null) { in onCreateDialog() 585 final MovieAudioTrack audioTrack = mProject.getAudioTrack( in onCreateDialog() 605 ApiService.removeAudioTrack(activity, mProject.getPath(), in onCreateDialog() [all …]
|
D | OverlayLinearLayout.java | 70 private VideoEditorProject mProject; field in OverlayLinearLayout 107 final boolean enable = !ApiService.isProjectBeingEdited(mProject.getPath()) && in onPrepareActionMode() 249 … mScrollMediaItemStartTime = mProject.getMediaItemBeginTime(mScrollMediaItem.getId()); in OverlayLinearLayout() 252 mScrollTotalDurationMs = mProject.computeDuration(); in OverlayLinearLayout() 290 ApiService.setOverlayStartTime(getContext(), mProject.getPath(), in OverlayLinearLayout() 359 mProject = project; in setProject() 564 final MovieMediaItem mediaItem = mProject.getMediaItem(mediaItemId); in updateOverlayAttributes() 598 final long totalDurationMs = mProject.computeDuration(); in onLayout() 690 if (mProject == null) { in onCreateDialog() 696 final MovieMediaItem mediaItem = mProject.getMediaItem( in onCreateDialog() [all …]
|
D | PlayheadView.java | 46 private VideoEditorProject mProject; field in PlayheadView 124 mProject = project; in setProject() 131 if (mProject == null) { in onDraw() 135 final long durationMs = mProject.computeDuration(); in onDraw()
|