Home
last modified time | relevance | path

Searched refs:media (Results 1 – 25 of 237) 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 …]
DSlideshowModel.java163 MediaModel media = MediaModelFactory.getMediaModel( in createFromPduBody() local
171 int mediadur = media.getDuration(); in createFromPduBody()
175 media.setDuration(mediadur); in createFromPduBody()
181 if (ContentType.isVideoType(media.mContentType) in createFromPduBody()
183 || ContentType.isAudioType(media.mContentType) in createFromPduBody()
199 media.setDuration((int)dur * 1000); in createFromPduBody()
202 media.setDuration((int)dur * 1000); in createFromPduBody()
211 (EventTarget) sme, media); in createFromPduBody() local
212 mediaSet.add(media); in createFromPduBody()
213 totalMessageSize += media.getMediaSize(); in createFromPduBody()
[all …]
DMediaModelFactory.java134 MediaModel media = null; in getGenericMediaModel() local
136 media = new TextModel(context, contentType, src, in getGenericMediaModel()
139 media = new ImageModel(context, contentType, src, in getGenericMediaModel()
142 media = new VideoModel(context, contentType, src, in getGenericMediaModel()
145 media = new AudioModel(context, contentType, src, in getGenericMediaModel()
149 media = new TextModel(context, contentType, src, in getGenericMediaModel()
152 media = new ImageModel(context, contentType, src, in getGenericMediaModel()
155 media = new VideoModel(context, contentType, src, in getGenericMediaModel()
158 media = new AudioModel(context, contentType, src, in getGenericMediaModel()
163 media = createEmptyTextModel(context, regionModel); in getGenericMediaModel()
[all …]
DSmilHelper.java312 for (MediaModel media : slide) { in createSmilDocument()
314 String src = media.getSrc(); in createSmilDocument()
315 if (media instanceof TextModel) { in createSmilDocument()
316 TextModel text = (TextModel) media; in createSmilDocument()
329 } else if (media instanceof ImageModel) { in createSmilDocument()
336 } else if (media instanceof VideoModel) { in createSmilDocument()
343 } else if (media instanceof AudioModel) { in createSmilDocument()
346 Log.w(TAG, "Unsupport media: " + media); in createSmilDocument()
351 int begin = media.getBegin(); in createSmilDocument()
355 int duration = media.getDuration(); in createSmilDocument()
[all …]
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
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;
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;
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;
DApiService.java41 import android.media.videoeditor.AudioTrack;
42 import android.media.videoeditor.Effect;
43 import android.media.videoeditor.EffectColor;
44 import android.media.videoeditor.EffectKenBurns;
45 import android.media.videoeditor.ExtractAudioWaveformProgressListener;
46 import android.media.videoeditor.MediaImageItem;
47 import android.media.videoeditor.MediaItem;
48 import android.media.videoeditor.MediaProperties;
49 import android.media.videoeditor.MediaVideoItem;
50 import android.media.videoeditor.Overlay;
[all …]
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;
DMovieEffect.java22 import android.media.videoeditor.Effect;
23 import android.media.videoeditor.EffectColor;
24 import android.media.videoeditor.EffectKenBurns;
/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/apps/Music/src/com/android/music/
DAudioPreview.java25 import android.media.AudioManager;
26 import android.media.MediaPlayer;
27 import android.media.AudioManager.OnAudioFocusChangeListener;
28 import android.media.MediaPlayer.OnCompletionListener;
29 import android.media.MediaPlayer.OnErrorListener;
30 import android.media.MediaPlayer.OnPreparedListener;
DMediaPlaybackService.java36 import android.media.audiofx.AudioEffect;
37 import android.media.AudioManager;
38 import android.media.AudioManager.OnAudioFocusChangeListener;
39 import android.media.MediaMetadataRetriever;
40 import android.media.MediaPlayer;
41 import android.media.MediaPlayer.OnCompletionListener;
42 import android.media.RemoteControlClient;
43 import android.media.RemoteControlClient.MetadataEditor;
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DTestActivity.java228 Integer media = null;
230 media = Integer.parseInt(mMediaView.getText().toString().trim());
231 Log.v(Constants.TAG, "Send media no. " + media);
233 if (media == null) {
234 media = 1;
237 values.put(BluetoothShare.URI, "content://media/external/images/media/" + media);
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowPresenter.java126 for (MediaModel media : model) { in presentSlide()
127 if (media instanceof RegionMediaModel) { in presentSlide()
128 presentRegionMedia(view, (RegionMediaModel) media, true); in presentSlide()
129 } else if (media.isAudio()) { in presentSlide()
130 presentAudio(view, (AudioModel) media, true); in presentSlide()
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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java25 import android.media.AudioManager;
26 import android.media.MediaPlayer;
27 import android.media.MediaPlayer.OnErrorListener;
28 import android.media.Ringtone;
29 import android.media.RingtoneManager;
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DVideoUtils.java22 import android.media.MediaCodec.BufferInfo;
23 import android.media.MediaExtractor;
24 import android.media.MediaFormat;
25 import android.media.MediaMetadataRetriever;
26 import android.media.MediaMuxer;
DMoviePlayer.java28 import android.media.AudioManager;
29 import android.media.MediaPlayer;
30 import android.media.audiofx.AudioEffect;
31 import android.media.audiofx.Virtualizer;
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmKlaxon.java21 import android.media.AudioManager;
22 import android.media.MediaPlayer;
23 import android.media.MediaPlayer.OnErrorListener;
24 import android.media.RingtoneManager;
/packages/apps/DeskClock/src/com/android/deskclock/
DTimerRingService.java24 import android.media.AudioManager;
25 import android.media.MediaPlayer;
26 import android.media.MediaPlayer.OnErrorListener;
27 import android.media.RingtoneManager;
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaScannerService.java18 package com.android.providers.media;
26 import android.media.IMediaScannerListener;
27 import android.media.IMediaScannerService;
28 import android.media.MediaScanner;
/packages/apps/VideoEditor/src/com/android/videoeditor/
DVideoEditorBaseActivity.java25 import android.media.AudioManager;
26 import android.media.videoeditor.AudioTrack;
27 import android.media.videoeditor.MediaItem;
28 import android.media.videoeditor.MediaVideoItem;
29 import android.media.videoeditor.Transition;
/packages/apps/Camera/src/com/android/camera/
DSoundClips.java21 import android.media.AudioManager;
22 import android.media.MediaActionSound;
23 import android.media.SoundPool;
/packages/apps/Camera2/src/com/android/camera/
DSoundClips.java21 import android.media.AudioManager;
22 import android.media.MediaActionSound;
23 import android.media.SoundPool;

12345678910