Home
last modified time | relevance | path

Searched refs:media (Results 1 – 25 of 232) sorted by relevance

12345678910

/packages/apps/Mms/src/com/android/mms/model/
DSlideModel.java84 for (MediaModel media : mediaList) { in SlideModel()
85 internalAdd(media); in SlideModel()
87 int mediaDur = media.getDuration(); in SlideModel()
96 private void internalAdd(MediaModel media) throws IllegalStateException { in internalAdd() argument
97 if (media == null) { in internalAdd()
102 if (media.isText()) { in internalAdd()
103 String contentType = media.getContentType(); in internalAdd()
106 internalAddOrReplace(mText, media); in internalAdd()
107 mText = media; in internalAdd()
109 Log.w(TAG, "[SlideModel] content type " + media.getContentType() + in internalAdd()
[all …]
DMediaModelFactory.java136 MediaModel media = null; in getGenericMediaModel() local
138 media = new TextModel(context, contentType, src, in getGenericMediaModel()
141 media = new ImageModel(context, contentType, src, in getGenericMediaModel()
144 media = new VideoModel(context, contentType, src, in getGenericMediaModel()
147 media = new AudioModel(context, contentType, src, in getGenericMediaModel()
151 media = new TextModel(context, contentType, src, in getGenericMediaModel()
154 media = new ImageModel(context, contentType, src, in getGenericMediaModel()
157 media = new VideoModel(context, contentType, src, in getGenericMediaModel()
160 media = new AudioModel(context, contentType, src, in getGenericMediaModel()
165 media = createEmptyTextModel(context, regionModel); in getGenericMediaModel()
[all …]
DSlideshowModel.java160 MediaModel media = MediaModelFactory.getMediaModel( in createFromPduBody() local
168 int mediadur = media.getDuration(); in createFromPduBody()
172 media.setDuration(mediadur); in createFromPduBody()
178 if (ContentType.isVideoType(media.mContentType) in createFromPduBody()
180 || ContentType.isAudioType(media.mContentType) in createFromPduBody()
196 media.setDuration((int)dur * 1000); in createFromPduBody()
199 media.setDuration((int)dur * 1000); in createFromPduBody()
208 (EventTarget) sme, media); in createFromPduBody() local
209 mediaSet.add(media); in createFromPduBody()
210 totalMessageSize += media.getMediaSize(); in createFromPduBody()
[all …]
DSmilHelper.java319 for (MediaModel media : slide) { in createSmilDocument()
321 String src = media.getSrc(); in createSmilDocument()
322 if (media instanceof TextModel) { in createSmilDocument()
323 TextModel text = (TextModel) media; in createSmilDocument()
336 } else if (media instanceof ImageModel) { in createSmilDocument()
343 } else if (media instanceof VideoModel) { in createSmilDocument()
350 } else if (media instanceof AudioModel) { in createSmilDocument()
353 Log.w(TAG, "Unsupport media: " + media); in createSmilDocument()
358 int begin = media.getBegin(); in createSmilDocument()
362 int duration = media.getDuration(); in createSmilDocument()
[all …]
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
DMovieMediaItem.java21 import android.media.videoeditor.Effect;
22 import android.media.videoeditor.MediaImageItem;
23 import android.media.videoeditor.MediaItem;
24 import android.media.videoeditor.MediaVideoItem;
25 import android.media.videoeditor.Overlay;
26 import android.media.videoeditor.WaveformData;
DMovieTransition.java22 import android.media.videoeditor.MediaItem;
23 import android.media.videoeditor.Transition;
24 import android.media.videoeditor.TransitionAlpha;
25 import android.media.videoeditor.TransitionCrossfade;
26 import android.media.videoeditor.TransitionFadeBlack;
27 import android.media.videoeditor.TransitionSliding;
DMovieTheme.java22 import android.media.videoeditor.Transition;
23 import android.media.videoeditor.TransitionAlpha;
24 import android.media.videoeditor.TransitionCrossfade;
25 import android.media.videoeditor.TransitionFadeBlack;
26 import android.media.videoeditor.TransitionSliding;
DMovieEffect.java22 import android.media.videoeditor.Effect;
23 import android.media.videoeditor.EffectColor;
24 import android.media.videoeditor.EffectKenBurns;
DMovieAudioTrack.java21 import android.media.videoeditor.AudioTrack;
22 import android.media.videoeditor.MediaProperties;
23 import android.media.videoeditor.VideoEditor;
24 import android.media.videoeditor.WaveformData;
/packages/apps/Mms/src/com/android/mms/ui/
DAudioAttachmentView.java25 import android.media.AudioManager;
26 import android.media.MediaPlayer;
27 import android.media.MediaPlayer.OnCompletionListener;
28 import android.media.MediaPlayer.OnErrorListener;
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DRecorder.java23 import android.media.AudioManager;
24 import android.media.MediaPlayer;
25 import android.media.MediaRecorder;
26 import android.media.MediaPlayer.OnCompletionListener;
27 import android.media.MediaPlayer.OnErrorListener;
/packages/providers/MediaProvider/
DAndroid.mk7 src/com/android/providers/media/IMtpService.aidl
12 LOCAL_CERTIFICATE := media
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/filters/
DColorTemperatureFilter.java19 import android.media.effect.Effect;
20 import android.media.effect.EffectFactory;
DGrainFilter.java19 import android.media.effect.Effect;
20 import android.media.effect.EffectFactory;
DSaturationFilter.java19 import android.media.effect.Effect;
20 import android.media.effect.EffectFactory;
DAutoFixFilter.java19 import android.media.effect.Effect;
20 import android.media.effect.EffectFactory;
DVignetteFilter.java19 import android.media.effect.Effect;
20 import android.media.effect.EffectFactory;
DFillLightFilter.java19 import android.media.effect.Effect;
20 import android.media.effect.EffectFactory;
DFisheyeFilter.java19 import android.media.effect.Effect;
20 import android.media.effect.EffectFactory;
DSharpenFilter.java19 import android.media.effect.Effect;
20 import android.media.effect.EffectFactory;
DShadowFilter.java19 import android.media.effect.Effect;
20 import android.media.effect.EffectFactory;
DHighlightFilter.java19 import android.media.effect.Effect;
20 import android.media.effect.EffectFactory;
DTintFilter.java19 import android.media.effect.Effect;
20 import android.media.effect.EffectFactory;
DStraightenFilter.java19 import android.media.effect.Effect;
20 import android.media.effect.EffectFactory;
DFlipFilter.java19 import android.media.effect.Effect;
20 import android.media.effect.EffectFactory;

12345678910