Searched refs:audioTrack (Results 1 - 8 of 8) sorted by relevance

/packages/apps/VideoEditor/src/com/android/videoeditor/service/
H A DMovieAudioTrack.java72 * @param audioTrack The audio track
74 MovieAudioTrack(AudioTrack audioTrack) { argument
75 mUniqueId = audioTrack.getId();
76 mFilename = audioTrack.getFilename();
78 mAppStartTimeMs = mStartTimeMs = audioTrack.getStartTime();
79 mDurationMs = audioTrack.getDuration();
80 mBeginBoundaryTimeMs = audioTrack.getBoundaryBeginTime();
81 mEndBoundaryTimeMs = audioTrack.getBoundaryEndTime();
83 mAudioChannels = audioTrack.getAudioChannels();
84 mAudioType = audioTrack
[all...]
H A DApiService.java2714 final AudioTrack audioTrack = new AudioTrack(videoEditor,
2716 audioTrack.enableDucking(DUCK_THRESHOLD, DUCK_TRACK_VOLUME);
2717 audioTrack.setVolume(DEFAULT_AUDIO_TRACK_VOLUME);
2719 audioTrack.enableLoop();
2721 audioTrack.disableLoop();
2724 videoEditor.addAudioTrack(audioTrack);
2726 completeRequest(intent, videoEditor, null, new MovieAudioTrack(audioTrack),
2750 final AudioTrack audioTrack = videoEditor.getAudioTrack(audioTrackId);
2751 if (audioTrack == null) {
2756 audioTrack
4241 extractAudioTrackAudioWaveform(final Intent intent, final VideoEditor videoEditor, final AudioTrack audioTrack) argument
[all...]
H A DMovieTheme.java128 * @param audioTrack The audio track
132 MovieTransition endTransition, MovieOverlay overlay, MovieAudioTrack audioTrack) {
145 mAudioTrack = audioTrack;
130 MovieTheme(String id, int nameResId, int previewImageResId, int previewMovieResId, MovieTransition beginTransition, MovieTransition midTransition, MovieTransition endTransition, MovieOverlay overlay, MovieAudioTrack audioTrack) argument
H A DVideoEditorProject.java918 * @param audioTrack The audio track
920 void addAudioTrack(MovieAudioTrack audioTrack) { argument
921 mAudioTracks.add(audioTrack);
933 final MovieAudioTrack audioTrack = mAudioTracks.get(i);
934 if (audioTrack.getId().equals(audioTrackId)) {
954 for (MovieAudioTrack audioTrack : mAudioTracks) {
955 if (audioTrack.getId().equals(audioTrackId)) {
956 return audioTrack;
H A DApiServiceListener.java408 * @param audioTrack The newly added audioTrack
411 public void onAudioTrackAdded(String projectPath, MovieAudioTrack audioTrack, argument
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DAudioTrackLinearLayout.java91 * @param audioTrack The audio track
93 public AudioTrackActionModeCallback(MovieAudioTrack audioTrack) { argument
94 mAudioTrack = audioTrack;
275 final MovieAudioTrack audioTrack = (MovieAudioTrack)tag;
276 if (audioTrack.getWaveformData() != null) {
277 audioTrackView.setWaveformData(audioTrack.getWaveformData());
340 for (MovieAudioTrack audioTrack : audioTracks) {
341 addAudioTrack(audioTrack);
348 * @param audioTrack The audio track
352 public View addAudioTrack(MovieAudioTrack audioTrack) { argument
[all...]
H A DAudioTrackView.java242 final MovieAudioTrack audioTrack = (MovieAudioTrack)getTag();
244 final int numFramesComp = (int)audioTrack.getDuration() / mWaveformData.getFrameDuration();
299 final MovieAudioTrack audioTrack = (MovieAudioTrack)getTag();
300 final int startFrame = (int)(audioTrack.getBoundaryBeginTime() /
303 (int)(audioTrack.getTimelineDuration() / mWaveformData.getFrameDuration());
310 if (audioTrack.isAppLooping()) {
329 final float framesPerPixel = audioTrack.getTimelineDuration() /
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DVideoEditorBaseActivity.java703 public void onAudioTrackAdded(String projectPath, MovieAudioTrack audioTrack, argument
718 getAudioTrackLayout().addAudioTrack(audioTrack);

Completed in 119 milliseconds