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

123

/frameworks/base/media/java/android/media/
H A DIRingtonePlayer.aidl29 void play(IBinder token, in Uri uri, in AudioAttributes aa, float volume, boolean looping);
H A DAsyncPlayer.java158 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
163 * @deprecated use {@link #play(Context, Uri, boolean, AudioAttributes)} instead
165 public void play(Context context, Uri uri, boolean looping, int stream) { method in class:AsyncPlayer
170 play(context, uri, looping,
173 Log.e(mTag, "Call to deprecated AsyncPlayer.play() method caused:", e);
184 * @param uri the non-null URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
191 public void play(@NonNull Context context, @NonNull Uri uri, boolean looping, method in class:AsyncPlayer
194 throw new IllegalArgumentException("Illegal null AsyncPlayer.play() argument");
237 * We want to hold a wake lock while we do the prepare and play. The stop probably is
240 * sound to play, bu
[all...]
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
62 * @see #play
70 * @see #play
78 * @see #play
86 * @see #play
145 * played later by {@link #play}.
149 * @see #play
205 public void play(int soundName) { method in class:MediaActionSound
[all...]
/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/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();
/frameworks/base/media/java/android/media/session/
H A DISessionController.aidl57 void play();
/frameworks/av/include/media/
H A DJetPlayer.h53 int play();
92 sp<AudioTrack> mAudioTrack; // and we play it in this audio track
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DViewPropertyAnimatorCompatSet.java47 public ViewPropertyAnimatorCompatSet play(ViewPropertyAnimatorCompat animator) { method in class:ViewPropertyAnimatorCompatSet
/frameworks/base/core/tests/coretests/src/android/animation/
H A DAnimatorSetActivityTest.java94 s3.play(a1).before(a2).after(s1).with(s2).after(a3);
150 s3.play(a1).before(a2).after(a3);
151 s3.play(a1).after(a2).with(a4);
156 s4.play(a1).after(a2);
157 s4.play(a2).after(a1);
162 s5.play(a1).after(a2).before(a3);
163 s5.play(a2).with(a4).with(a5);
182 s.play(a1).before(a2).before(a3).after(a4).after(a5);
215 s.play(a1).before(a2).before(a3).after(a4).after(a5);
283 s.play(a
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java48 * Service that offers to play ringtones by {@link Uri}, since our process has
102 public void play(IBinder token, Uri uri, AudioAttributes aa, float volume, boolean looping)
105 Log.d(TAG, "play(token=" + token + ", uri=" + uri + ", uid="
120 client.mRingtone.play();
160 // else no client for token when setting playback properties but will be set at play()
172 mAsyncPlayer.play(getContextForUser(user), uri, looping, aa);
H A DNotificationPlayer.java237 // if there are no more sounds to play, end the Looper to listen for media completion
290 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
295 * @deprecated use {@link #play(Context, Uri, boolean, AudioAttributes)} instead.
298 public void play(Context context, Uri uri, boolean looping, int stream) { method in class:NotificationPlayer
319 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
325 public void play(Context context, Uri uri, boolean looping, AudioAttributes attributes) { method in class:NotificationPlayer
367 * We want to hold a wake lock while we do the prepare and play. The stop probably is
370 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The
375 * This must be called before the first time play is called.
/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.java785 private void play(final int resId) { method in class:SearchBar
790 mSoundPool.play(sound, FULL_LEFT_VOLUME, FULL_RIGHT_VOLUME, DEFAULT_PRIORITY,
797 play(R.raw.lb_voice_open);
801 play(R.raw.lb_voice_failure);
805 play(R.raw.lb_voice_no_input);
809 play(R.raw.lb_voice_success);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DPlaybackSession.h69 status_t play();
/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.h60 virtual void play();
H A Dandroid_GenericPlayer.h70 virtual void play();
194 // Call any time any of the IPlay copies, current position, or play state changes, and
224 // if the play position has never been observed.
/frameworks/base/media/jni/soundpool/
H A DSoundPool.h120 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume,
168 int play(int sampleID, float leftVolume, float rightVolume, int priority,
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
H A DAssistDisclosure.java130 mAnimator.play(mAlphaInAnimator).with(mTracingAnimator);
131 mAnimator.play(mAlphaInAnimator).before(mAlphaOutAnimator);
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerController.java104 public void play() { method in class:PlayerController
106 mTransportControls.play();
/frameworks/support/v4/java/android/support/v4/media/session/
H A DIMediaSession.aidl50 void play();
/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java31 * can be set up to play together, in sequence, or after a specified delay.
36 * a set of animations all at once, or the {@link AnimatorSet#play(Animator)} can be
120 // relationship captures the order of animation (i.e. parent and child will play sequentially),
161 * Sets up this AnimatorSet to play all of the supplied animations at the same time.
162 * This is equivalent to calling {@link #play(Animator)} with the first animator in the
173 Builder builder = play(items[0]);
181 * Sets up this AnimatorSet to play all of the supplied animations at the same time.
190 builder = play(anim);
199 * Sets up this AnimatorSet to play each of the supplied animations when the
207 play(item
337 public Builder play(Animator anim) { method in class:AnimatorSet
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleBackground.java112 final AnimatorSet.Builder builder = set.play(exit);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DMediaControllerGlue.java209 mMediaController.getTransportControls().play();

Completed in 2576 milliseconds

123