Searched refs:play (Results 1 - 25 of 70) sorted by relevance

123

/frameworks/base/media/java/android/media/
H A DIRingtonePlayer.aidl28 void play(IBinder token, in Uri uri, in AudioAttributes aa);
H A DMediaActionSound.java28 * 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 DSoundPool.java66 * 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 DRingtone.java244 public void play() { method in class:Ringtone
246 // do not play ringtones if stream volume is 0
255 mRemotePlayer.play(mRemoteToken, canonicalUri, mAudioAttributes);
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
H A DSoundPoolTest.java134 int id = mSoundPool.play(mSounds[index], DEFAULT_VOLUME, DEFAULT_VOLUME,
156 int id = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME,
177 int id = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME,
201 // play a normal priority looping sound
202 int normalId = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME,
211 // play a low priority sound
212 int id = mSoundPool.play(mSounds[1], DEFAULT_VOLUME, DEFAULT_VOLUME,
223 // play a high priority sound
224 id = mSoundPool.play(mSounds[2], DEFAULT_VOLUME, DEFAULT_VOLUME,
250 // play
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java41 * Service that offers to play ringtones by {@link Uri}, since our process has
95 public void play(IBinder token, Uri uri, AudioAttributes aa) throws RemoteException {
97 Log.d(TAG, "play(token=" + token + ", uri=" + uri + ", uid="
110 client.mRingtone.play();
147 mAsyncPlayer.play(getContextForUser(user), uri, looping, aa);
H A DNotificationPlayer.java235 // 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/core/tests/coretests/src/android/net/http/
H A DAbstractProxyTest.java66 server.play();
117 server.play();
158 server.play();
192 server.play();
208 server.play();
226 server.play();
H A DCookiesTest.java54 server.play();
89 server.play();
H A DDefaultHttpClientTest.java73 server.play();
H A DHttpResponseCacheTest.java118 server.play();
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DAbsActionBarView.java152 set.play(anim).play(splitAnim);
167 set.play(anim).play(splitAnim);
/frameworks/base/media/java/android/media/session/
H A DISessionController.aidl53 void play();
/frameworks/support/v4/java/android/support/v4/media/session/
H A DIMediaSession.aidl50 void play();
/frameworks/av/include/media/
H A DJetPlayer.h52 int play();
91 sp<AudioTrack> mAudioTrack; // and we play it in this audio track
H A DSoundPool.h128 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume,
175 int play(int sampleID, float leftVolume, float rightVolume, int priority,
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
H A DViewPropertyAnimatorCompatSet.java47 public ViewPropertyAnimatorCompatSet play(ViewPropertyAnimatorCompat animator) { method in class:ViewPropertyAnimatorCompatSet
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaAudioTrackTest.java321 //Test case 2: getPlaybackHeadPosition() increases after play()
341 track.play();
369 track.play();
399 track.play();
410 //Test case 4: getPlaybackHeadPosition() is > 0 after play(); pause();
430 track.play();
464 track.play();
490 track.play();
516 track.play();
543 track.play();
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSearchBar.java735 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/av/media/libstagefright/wifi-display/source/
H A DPlaybackSession.h66 status_t play();
/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.h62 virtual void play();
/frameworks/base/core/java/com/android/internal/widget/
H A DAbsActionBarView.java158 set.play(anim).with(splitAnim);
173 set.play(anim).with(splitAnim);
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerController.java104 public void play() { method in class:PlayerController
106 mTransportControls.play();
/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java26 * 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/av/media/libmediaplayerservice/
H A DStagefrightPlayer.cpp92 return mPlayer->play();

Completed in 9349 milliseconds

123