/frameworks/base/media/java/android/media/ |
H A D | MediaActionSound.java | 28 * camera2 API does not play any sounds on its own for any capture or video recording actions.</p> 30 * <p>With the older {@link android.hardware.Camera} API, use this class to play an appropriate 37 * <p>There is no need to play sounds when using 40 * as the Android framework will play the appropriate sounds when needed for 63 * @see #play 71 * @see #play 79 * @see #play 87 * @see #play 111 * played later by {@link #play}. 115 * @see #play 162 public synchronized void play(int soundName) { method in class:MediaActionSound [all...] |
H A D | AsyncPlayer.java | 157 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)}) 163 public void play(Context context, Uri uri, boolean looping, int stream) { method in class:AsyncPlayer 205 * We want to hold a wake lock while we do the prepare and play. The stop probably is 208 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The 213 * This must be called before the first time play is called.
|
H A D | Ringtone.java | 244 public void play() { method in class:Ringtone 246 // do not play ringtones if stream volume is 0 255 mRemotePlayer.play(mRemoteToken, canonicalUri, mAudioAttributes);
|
H A D | SoundPool.java | 66 * a value of 3 causes the sound to play a total of 4 times.</p> 69 * the sound to play at its original frequency (resampled, if necessary, 71 * sound to play at twice its original frequency, and a playback rate of 72 * 0.5 causes it to play at half its original frequency. The playback 76 * Priority is used when a call to play() would cause the number of active 82 * streams, the new sound will not play and the play() function will return 86 * play. For each level, there is a set of unique sounds that are used only 95 * <p>Once the sounds are loaded and play has started, the application can 96 * trigger sounds by calling SoundPool.play() 300 public final int play(int soundID, float leftVolume, float rightVolume, method in class:SoundPool 488 public int play( method in interface:SoundPool.SoundPoolDelegate 601 public final int play(int soundID, float leftVolume, float rightVolume, method in class:SoundPool.SoundPoolImpl 748 public final int play(int soundID, float leftVolume, float rightVolume, method in class:SoundPool.SoundPoolStub [all...] |
H A D | JetPlayer.java | 45 * the notion of "clips", which can be triggered at any time, but that will play only at the 52 * <li>the number of segments left to play in the queue,</li> 248 public boolean play() { method in class:JetPlayer 269 * only play once. -1 means the segment will repeat indefinitely. 297 * only play once. -1 means the segment will repeat indefinitely.
|
H A D | AudioTrack.java | 57 * <li>too big to fit in memory because of the duration of the sound to play,</li> 70 * can play before running out of data.<br> 200 * Indicates the play state of the AudioTrack instance. 234 * The type of the audio stream to play. See 795 * the expected frequency at which the buffer will be refilled with additional data to play. 1138 public void play() method in class:AudioTrack 1141 throw new IllegalStateException("play() called on uninitialized AudioTrack."); 1186 * back will not be discarded. Subsequent calls to {@link #play} will play 1232 * @param audioData the array that holds the data to play [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
H A D | ViewPropertyAnimatorCompatSet.java | 47 public ViewPropertyAnimatorCompatSet play(ViewPropertyAnimatorCompat animator) { method in class:ViewPropertyAnimatorCompatSet
|
/frameworks/av/media/libmedia/ |
H A D | JetPlayer.cpp | 379 int JetPlayer::play() function in class:android::JetPlayer 381 ALOGV("JetPlayer::play(): entering"); 395 ALOGV("JetPlayer::play(): wakeup render thread");
|
H A D | SoundPool.cpp | 241 int SoundPool::play(int sampleID, float leftVolume, float rightVolume, function in class:android::SoundPool 244 ALOGV("play sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f", 275 ALOGV("play channel %p state = %d", channel, channel->state()); 276 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); 417 // if "stolen", play next event 557 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume, function in class:android::SoundChannel 567 ALOGV("SoundChannel::play %p: sampleID=%d, channelID=%d, leftVolume=%f, rightVolume=%f," 689 play(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | NotificationPlayer.java | 235 // if there are no more sounds to play, end the Looper to listen for media completion 281 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)}) 286 * @deprecated use {@link #play(Context, Uri, boolean, AudioAttributes)} instead. 289 public void play(Context context, Uri uri, boolean looping, int stream) { method in class:NotificationPlayer 310 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)}) 316 public void play(Context context, Uri uri, boolean looping, AudioAttributes attributes) { method in class:NotificationPlayer 358 * We want to hold a wake lock while we do the prepare and play. The stop probably is 361 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The 366 * This must be called before the first time play is called.
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
H A D | PlayerController.java | 104 public void play() { method in class:PlayerController 106 mTransportControls.play();
|
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorSet.java | 26 * can be set up to play together, in sequence, or after a specified delay. 31 * a set of animations all at once, or the {@link AnimatorSet#play(Animator)} can be 129 * Sets up this AnimatorSet to play all of the supplied animations at the same time. 130 * This is equivalent to calling {@link #play(Animator)} with the first animator in the 142 Builder builder = play(items[0]); 150 * Sets up this AnimatorSet to play all of the supplied animations at the same time. 160 builder = play(anim); 169 * Sets up this AnimatorSet to play each of the supplied animations when the 178 play(items[0]); 182 play(item 303 public Builder play(Animator anim) { method in class:AnimatorSet [all...] |
/frameworks/wilhelm/src/android/ |
H A D | android_AudioSfDecoder.cpp | 42 // play event logic depends on the initial time being zero not ANDROID_UNKNOWN_TIME 74 void AudioSfDecoder::play() { function in class:android::AudioSfDecoder 75 SL_LOGD("AudioSfDecoder::play"); 77 GenericPlayer::play(); 453 // application set play state to paused which failed, then set play state to playing
|
H A D | android_GenericPlayer.cpp | 145 void GenericPlayer::play() { function in class:android::GenericPlayer 146 SL_LOGD("GenericPlayer::play()");
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SearchBar.java | 735 private void play(final int resId) { method in class:SearchBar 740 mSoundPool.play(sound, FULL_LEFT_VOLUME, FULL_RIGHT_VOLUME, DEFAULT_PRIORITY, 747 play(R.raw.lb_voice_open); 751 play(R.raw.lb_voice_failure); 755 play(R.raw.lb_voice_no_input); 759 play(R.raw.lb_voice_success);
|
/frameworks/support/v4/api21/android/support/v4/media/session/ |
H A D | MediaControllerCompatApi21.java | 122 public static void play(Object controlsObj) { method in class:MediaControllerCompatApi21.TransportControls 123 ((MediaController.TransportControls)controlsObj).play();
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | RemotePlaybackClient.java | 101 * actions: {@link MediaControlIntent#ACTION_PLAY play}, 172 * {@link #play}, {@link #enqueue}, and {@link #startSession}. 207 * The callback should be set before the session is created or any play 218 * Sends a request to play a media item. 230 * @param contentUri The content Uri to play. 245 public void play(Uri contentUri, String mimeType, Bundle metadata, method in class:RemotePlaybackClient 254 * Enqueues a new item to play. If the queue was previously paused, then will
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | PlaybackSession.cpp | 440 status_t WifiDisplaySource::PlaybackSession::play() { function in class:android::WifiDisplaySource::PlaybackSession
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeechService.java | 526 speechItem.play(); 722 public void play() { method in class:TextToSpeechService.SpeechItem 725 throw new IllegalStateException("play() called twice");
|
/frameworks/base/media/java/android/media/session/ |
H A D | MediaController.java | 47 * receive updates from the session, such as metadata and play state changes. 172 * Get the current play queue for this session if one is set. If you only 175 * @return The current play queue or null. 549 * @param queue A list of items in the current play queue. It should 560 * @param title The title that should be displayed along with the play queue such as 597 public void play() { method in class:MediaController.TransportControls 599 mSessionBinder.play(); 601 Log.wtf(TAG, "Error calling play.", e); 620 Log.wtf(TAG, "Error calling play(" + mediaId + ").", e); 626 * An empty or null query should be treated as a request to play an [all...] |
/frameworks/support/v4/java/android/support/v4/media/session/ |
H A D | MediaControllerCompat.java | 45 * receive updates from the session, such as metadata and play state changes. 142 * Get the current play queue for this session if one is set. If you only 145 * @return The current play queue or null. 390 * @param queue A list of items in the current play queue. It should 400 * @param title The title that should be displayed along with the play 572 public abstract void play(); method in class:MediaControllerCompat.TransportControls 585 * An empty or null query should be treated as a request to play any 595 * Play an item with a specific id in the play queue. If you specify an 596 * id that is not in the play queue, the behavior is undefined. 995 public void play() { method in class:MediaControllerCompat.TransportControlsBase 1249 public void play() { method in class:MediaControllerCompat.TransportControlsApi21 [all...] |
H A D | MediaSessionCompat.java | 327 * Update the list of items in the play queue. It is an ordered list and 329 * exist. Specify null if there is no current play queue. 331 * The queue should be of reasonable size. If the play queue is unbounded 335 * @param queue A list of items in the play queue. 342 * Set the title of the play queue. The UI should display this title along 343 * with the play queue itself. e.g. "Play Queue", "Now Playing", or an album 346 * @param title The title of the play queue. 491 * Override to handle requests to play a specific mediaId that was 499 * empty query indicates that the app may play any music. The 501 * play 1567 public void play() throws RemoteException { method in class:MediaSessionCompat.MediaSessionImplBase.MediaSessionStub [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AwesomePlayer.cpp | 919 status_t AwesomePlayer::play() { function in class:android::AwesomePlayer 1032 // is started again, we play from the start... 2255 ALOGE("Attempt to play media from http URI without HTTP service.");
|
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionRecord.java | 910 public void play() { method in class:MediaSessionRecord.SessionCb 914 Slog.e(TAG, "Remote failure in play.", e); 1135 public void play() throws RemoteException { method in class:MediaSessionRecord.ControllerStub 1136 mSessionCb.play();
|