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

12

/frameworks/base/core/java/android/hardware/
H A DCameraSound.java27 * <p>Use this class to play an appropriate sound when implementing a custom
30 * <p>There is no need to play sounds when using {@link #android.hardware.Camera#takePicture}
32 * respectively, as these play their own sounds when needed.</p>
72 * <p>Use this method to play a platform-specific sound for various camera
81 * @param soundId The type of sound to play, selected from SHUTTER_CLICK,
97 mCameraSoundPlayers[soundId].play();
183 public void play() { method in class:CameraSound.CameraSoundPlayer
/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/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/include/media/
H A DJetPlayer.h53 int play();
93 AudioTrack* mAudioTrack; // and we play it in this audio track
/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/base/core/tests/utillib/src/coretestutils/http/
H A DMockWebServer.java72 throw new IllegalStateException("Cannot retrieve port before calling play()");
120 public void play() throws IOException { method in class:MockWebServer
121 play(0);
131 public void play(int portNumber) throws IOException { method in class:MockWebServer
/frameworks/base/core/java/android/webkit/
H A DHTML5Audio.java168 play();
267 private void play() { method in class:HTML5Audio
H A DHTML5VideoViewProxy.java168 // When native tell Java to play, we need to check whether or not it is
170 public static void play(String url, int time, HTML5VideoViewProxy proxy, method in class:HTML5VideoViewProxy.VideoPlayer
322 VideoPlayer.play(url, mSeekPosition, this, client, videoLayerID);
603 public void play(String url, int position, int videoLayerID) { method in class:HTML5VideoViewProxy
/frameworks/base/core/java/com/android/internal/widget/
H A DAbsActionBarView.java138 set.play(anim).with(splitAnim);
153 set.play(anim).with(splitAnim);
/frameworks/base/media/jni/soundpool/
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,
H A DSoundPool.cpp241 int SoundPool::play(int sampleID, float leftVolume, float rightVolume, function in class:android::SoundPool
244 LOGV("play sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f",
275 LOGV("play channel %p state = %d", channel, channel->state());
276 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate);
417 // if "stolen", play next event
547 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume, function in class:android::SoundChannel
557 LOGV("SoundChannel::play %p: sampleID=%d, channelID=%d, leftVolume=%f, rightVolume=%f,"
681 play(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate);
H A Dandroid_media_SoundPool.cpp83 return ap->play(sampleID, leftVolume, rightVolume, priority, loop, rate);
232 { "play",
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerStressTest.java49 mServer.play();
/frameworks/base/media/java/android/media/
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()
284 public native final int play(int soundID, float leftVolume, float rightVolume, method in class:SoundPool
[all...]
H A DJetPlayer.java45 * 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>
246 public boolean play() { method in class:JetPlayer
267 * only play once. -1 means the segment will repeat indefinitely.
295 * only play once. -1 means the segment will repeat indefinitely.
H A DRingtone.java213 public void play() { method in class:Ringtone
218 Log.e(TAG, "play() caught ", ex);
/frameworks/base/media/libmediaplayerservice/
H A DStagefrightPlayer.cpp90 return mPlayer->play();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DChoreographer.java99 final Builder builder = mContentAnim.play(glowAnim).with(posAnim);
/frameworks/media/libvideoeditor/lvpp/
H A DPreviewPlayer.h48 status_t play();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DNotificationPanel.java239 set.play(ObjectAnimator.ofFloat(
402 .play(fadeAnim)
/frameworks/base/core/java/com/android/internal/app/
H A DRingtonePickerActivity.java82 /** The Uri to play when the 'Default' item is clicked. */
117 * Get whether to show the 'Default' item, and the URI to play when the
323 ringtone.play();

Completed in 1112 milliseconds

12