Home
last modified time | relevance | path

Searched refs:MediaAction (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowPresenter.java33 import com.android.mms.model.MediaModel.MediaAction;
160 MediaAction action = audio.getCurrentAction(); in presentAudio()
161 if (action == MediaAction.START) { in presentAudio()
163 } else if (action == MediaAction.PAUSE) { in presentAudio()
165 } else if (action == MediaAction.STOP) { in presentAudio()
167 } else if (action == MediaAction.SEEK) { in presentAudio()
240 MediaAction action = video.getCurrentAction(); in presentVideo()
241 if (action == MediaAction.START) { in presentVideo()
243 } else if (action == MediaAction.PAUSE) { in presentVideo()
245 } else if (action == MediaAction.STOP) { in presentVideo()
[all …]
/packages/apps/Mms/src/com/android/mms/model/
DAudioModel.java118 appendAction(MediaAction.STOP); in stop()
128 MediaAction action = MediaAction.NO_ACTIVE_ACTION; in handleEvent()
130 action = MediaAction.START; in handleEvent()
135 action = MediaAction.STOP; in handleEvent()
137 action = MediaAction.PAUSE; in handleEvent()
139 action = MediaAction.SEEK; in handleEvent()
DMediaModel.java57 private final ArrayList<MediaAction> mMediaActions;
58 public static enum MediaAction { enum in MediaModel
74 mMediaActions = new ArrayList<MediaAction>(); in MediaModel()
89 mMediaActions = new ArrayList<MediaAction>(); in MediaModel()
274 public void appendAction(MediaAction action) { in appendAction()
278 public MediaAction getCurrentAction() { in getCurrentAction()
280 return MediaAction.NO_ACTIVE_ACTION; in getCurrentAction()
DVideoModel.java163 MediaAction action = MediaAction.NO_ACTIVE_ACTION; in handleEvent()
165 action = MediaAction.START; in handleEvent()
173 action = MediaAction.STOP; in handleEvent()
178 action = MediaAction.PAUSE; in handleEvent()
181 action = MediaAction.SEEK; in handleEvent()