use of com.android.mms.model.VideoModel in project android-aosp-mms by slvn.
the class SlideshowEditor method changeVideo.
public void changeVideo(int position, Uri newVideo) throws MmsException {
VideoModel video = new VideoModel(mContext, newVideo, mModel.getLayout().getImageRegion());
SlideModel slide = mModel.get(position);
slide.add(video);
slide.updateDuration(video.getDuration());
}
Aggregations