Home | History | Annotate | Download | only in util

Lines Matching defs:PLAY

43     private static final int PLAY = 1;
191 case PLAY:
193 LogUtil.d(mTag, "PLAY");
225 // if there are no more sounds to play, end the Looper to listen for media completion
269 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
274 * @param volume The volume at which to play this sound, as a fraction of the system volume for
275 * the relevant stream type. A value of 1 is the maximum and means play at the system
278 public void play(final Uri uri, final boolean looping, final int stream, final float volume) {
281 cmd.code = PLAY;
288 mState = PLAY;
327 * We want to hold a wake lock while we do the prepare and play. The stop probably is
330 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The
335 * This must be called before the first time play is called.