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

123

/frameworks/base/media/java/android/media/
H A DIRingtonePlayer.aidl27 void play(IBinder token, in Uri uri, int streamType);
H A DMediaActionSound.java27 * <p>Use this class to play an appropriate camera operation sound when
35 * <p>There is no need to play sounds when using
38 * as the Android framework will play the appropriate sounds when needed for
61 * @see #play
69 * @see #play
77 * @see #play
85 * @see #play
109 * played later by {@link #play}.
113 * @see #play
132 * <p>Use this method to play
158 public synchronized void play(int soundName) { method in class:MediaActionSound
[all...]
H A DRingtone.java220 public void play() { method in class:Ringtone
222 // do not play ringtones if stream volume is 0
230 mRemotePlayer.play(mRemoteToken, canonicalUri, mStreamType);
H A DAsyncPlayer.java159 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
165 public void play(Context context, Uri uri, boolean looping, int stream) { method in class:AsyncPlayer
207 * We want to hold a wake lock while we do the prepare and play. The stop probably is
210 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The
215 * This must be called before the first time play is called.
H A DSoundPool.java57 * a value of 3 causes the sound to play a total of 4 times.</p>
60 * the sound to play at its original frequency (resampled, if necessary,
62 * sound to play at twice its original frequency, and a playback rate of
63 * 0.5 causes it to play at half its original frequency. The playback
67 * Priority is used when a call to play() would cause the number of active
73 * streams, the new sound will not play and the play() function will return
77 * play. For each level, there is a set of unique sounds that are used only
86 * <p>Once the sounds are loaded and play has started, the application can
87 * trigger sounds by calling SoundPool.play()
282 public native final int play(int soundID, float leftVolume, float rightVolume, method in class:SoundPool
[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,
200 // play a normal priority looping sound
201 int normalId = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME,
210 // play a low priority sound
211 int id = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME,
222 // play a high priority sound
223 id = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME,
245 // 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, int streamType) throws RemoteException {
97 Slog.d(TAG, "play(token=" + token + ", uri=" + uri + ", uid="
110 client.mRingtone.play();
147 mAsyncPlayer.play(getContextForUser(user), uri, looping, streamType);
/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/av/include/media/
H A DJetPlayer.h52 int play();
91 AudioTrack* mAudioTrack; // and we play it in this audio track
H A DSoundPool.h123 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume,
170 int play(int sampleID, float leftVolume, float rightVolume, int priority,
/frameworks/av/media/libstagefright/wifi-display/source/
H A DPlaybackSession.h55 status_t 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
125 * Sets up this AnimatorSet to play all of the supplied animations at the same time.
132 Builder builder = play(items[0]);
140 * Sets up this AnimatorSet to play all of the supplied animations at the same time.
150 builder = play(anim);
159 * Sets up this AnimatorSet to play each of the supplied animations when the
168 play(items[0]);
171 play(items[i]).before(items[i+1]);
178 * Sets up this AnimatorSet to play eac
272 public Builder play(Animator anim) { method in class:AnimatorSet
[all...]
/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/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.h62 virtual void play();
H A Dandroid_GenericPlayer.h55 kEventPlay = 'play', // SL_PLAYEVENT_*
70 virtual void play();
105 kWhatPlay = 'play', // start player
193 // Call any time any of the IPlay copies, current position, or play state changes, and
223 // if the play position has never been observed.
H A Dandroid_AudioSfDecoder.cpp41 // play event logic depends on the initial time being zero not ANDROID_UNKNOWN_TIME
73 void AudioSfDecoder::play() { function in class:android::AudioSfDecoder
74 SL_LOGD("AudioSfDecoder::play");
76 GenericPlayer::play();
451 // application set play state to paused which failed, then set play state to playing
/frameworks/base/core/java/android/webkit/
H A DHTML5Audio.java175 play();
274 private void play() { method in class:HTML5Audio
H A DHTML5VideoViewProxy.java189 // When native tell Java to play, we need to check whether or not it is
191 public static void play(String url, int time, HTML5VideoViewProxy proxy, method in class:HTML5VideoViewProxy.VideoPlayer
200 // javascript will switch the src and call play.
202 // and play the video after prepared.
377 VideoPlayer.play(url, mSeekPosition, this, client, videoLayerID);
678 public void play(String url, int position, int videoLayerID) { method in class:HTML5VideoViewProxy
/frameworks/base/core/java/com/android/internal/widget/
H A DAbsActionBarView.java141 set.play(anim).with(splitAnim);
156 set.play(anim).with(splitAnim);
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightPlayer.cpp90 return mPlayer->play();
/frameworks/base/services/java/com/android/server/
H A DDockObserver.java179 sfx.play();
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.h42 status_t play();

Completed in 2114 milliseconds

123