Searched defs:play (Results 1 - 10 of 10) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/ui/focus/
H A DFocusSound.java42 public void play() { method in class:FocusSound
44 mPlayer.play(mSoundId, DEFAULT_VOLUME);
/packages/apps/Stk/src/com/android/stk/
H A DTonePlayer.java53 public void play(Tone tone) { method in class:TonePlayer
/packages/apps/Camera2/src/com/android/camera/
H A DSoundPlayer.java58 public void play(int resourceId, float volume) { method in class:SoundPlayer
63 mSoundPool.play(soundId, volume, volume, 0 /* priority */, 0 /* loop */, 1 /* rate */);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DTimerRingService.java87 play();
97 private void play() { method in class:TimerRingService
103 LogUtils.v("TimerRingService.play()");
145 // At this point we just don't play anything.
146 LogUtils.e("Failed to play fallback ringtone", ex2);
158 // do not play alarms if stream volume is 0
H A DAsyncRingtonePlayer.java30 * {@link MediaPlayer}. android.permission.READ_EXTERNAL_STORAGE is required to play custom
36 * to play custom ringtones located on the SD card using this mechanism. {@link Ringtone} allows
68 public void play(Uri ringtoneUri) { method in class:AsyncRingtonePlayer
69 LogUtils.d(TAG, "Posting play.");
113 getPlaybackDelegate().play(mContext, ringtoneUri);
133 * @return Uri of the ringtone to play when the user is in a telephone call
141 * @return Uri of the ringtone to play when the chosen ringtone fails to play
149 * @return the platform-specific playback delegate to use to play the ringtone
172 void play(Contex method in interface:AsyncRingtonePlayer.PlaybackDelegate
191 public void play(final Context context, Uri ringtoneUri) { method in class:AsyncRingtonePlayer.MediaPlayerPlaybackDelegate
328 public void play(Context context, Uri ringtoneUri) { method in class:AsyncRingtonePlayer.RingtonePlaybackDelegate
[all...]
/packages/services/Telecomm/src/com/android/server/telecom/
H A DAsyncRingtonePlayer.java60 void play(Uri ringtone) { method in class:AsyncRingtonePlayer
61 Log.d(this, "Posting play.");
152 mRingtone.play();
183 Log.v(this, "Keeping alive ringtone thread for subsequent play request.");
/packages/apps/Camera/src/com/android/camera/
H A DSoundClips.java39 public void play(int action); method in interface:SoundClips.Player
75 public synchronized void play(int action) { method in class:SoundClips.MediaActionSoundPlayer
78 mSound.play(MediaActionSound.FOCUS_COMPLETE);
81 mSound.play(MediaActionSound.START_VIDEO_RECORDING);
84 mSound.play(MediaActionSound.STOP_VIDEO_RECORDING);
148 public synchronized void play(int action) { method in class:SoundClips.SoundPoolPlayer
150 Log.e(TAG, "Resource ID not found for action:" + action + " in play().");
156 // Not loaded yet, load first and then play when the loading is complete.
163 mSoundPool.play(mSoundIDs[index], 1f, 1f, 0, 0, 1f);
189 mSoundPool.play(soundI
[all...]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertAudio.java47 * it can continue to play if another activity overrides the CellBroadcastListActivity.
316 play(duration); // in milliseconds
336 private void play(int duration) { method in class:CellBroadcastAlertAudio
340 if (DBG) log("play()");
361 // Check if we are in a call. If we are, play the alert
376 loge("Failed to play alert sound: " + ex);
414 r.play();
/packages/apps/Messaging/src/com/android/messaging/util/
H A DNotificationPlayer.java225 // 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) { method in class:NotificationPlayer
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.
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackService.java94 public static final String CMDPLAY = "play";
216 play();
253 play(); // also queues a fade-in
285 play();
291 play();
657 play();
664 play();
670 play();
723 // party-shuffle or because the play-position changed)
791 * or that the play
1156 public void play() { method in class:MediaPlaybackService
2111 public void play() { method in class:MediaPlaybackService.ServiceStub
[all...]

Completed in 698 milliseconds