/cts/tests/tests/media/src/android/media/cts/ |
JetPlayerTest.java | 99 assertTrue(mJetPlayer.play()); 112 assertFalse(mJetPlayer.play()); 140 assertTrue(mJetPlayer.play()); 153 assertTrue(mJetPlayer.play());
|
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
RemotePlayer.java | 128 public void play(final PlaylistItem item) { method in class:RemotePlayer 130 Log.d(TAG, "play: item=" + item); 132 mClient.play(item.getUri(), "video/mp4", null, 0, null, new ItemActionCallback() { 136 logStatus("play: succeeded", sessionId, sessionStatus, itemId, itemStatus); 151 logError("play: failed", error, code);
|
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
RemotePlayer.java | 128 public void play(final PlaylistItem item) { method in class:RemotePlayer 130 Log.d(TAG, "play: item=" + item); 132 mClient.play(item.getUri(), "video/mp4", null, 0, null, new ItemActionCallback() { 136 logStatus("play: succeeded", sessionId, sessionStatus, itemId, itemStatus); 151 logError("play: failed", error, code);
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
MediaNotificationManager.java | 50 public static final String ACTION_PLAY = "com.example.android.mediabrowserservice.play"; 152 mTransportControls.play(); 240 // If there is a "skip to previous" button, the play/pause button will 276 new int[]{playPauseButtonPosition}) // show only play/pause in compact view
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
RemotePlayer.java | 128 public void play(final PlaylistItem item) { method in class:RemotePlayer 130 Log.d(TAG, "play: item=" + item); 132 mClient.play(item.getUri(), "video/mp4", null, 0, null, new ItemActionCallback() { 136 logStatus("play: succeeded", sessionId, sessionStatus, itemId, itemStatus); 151 logError("play: failed", error, code);
|
/external/python/cpython2/Modules/ |
cdmodule.c | 147 int start, play; local 150 if (!PyArg_ParseTuple(args, "ii:play", &start, &play)) 153 if (!CDplay(self->ob_cdplayer, start, play)) { 158 PyErr_SetString(CdError, "play failed"); 169 int min, sec, frame, play; local 172 if (!PyArg_ParseTuple(args, "iiii:playabs", &min, &sec, &frame, &play)) 175 if (!CDplayabs(self->ob_cdplayer, min, sec, frame, play)) { 191 int start, play; local 194 if (!PyArg_ParseTuple(args, "ii:playtrack", &start, &play)) 213 int track, min, sec, frame, play; local [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
HitReactionComponent.java | 122 sound.play(mDealHitSound, false, SoundSystem.PRIORITY_NORMAL); 233 sound.play(mTakeHitSound, false, SoundSystem.PRIORITY_NORMAL);
|
LaunchProjectileComponent.java | 182 sound.play(mShootSound, false, SoundSystem.PRIORITY_NORMAL);
|
/external/skia/debugger/QT/ |
SkDebuggerGUI.cpp | 446 QIcon play; local 447 play.addFile(QString::fromUtf8(":/play.png"), QSize(), 450 fActionPlay.setIcon(play); 451 fActionPlay.setText("Play");
|
/external/skqp/debugger/QT/ |
SkDebuggerGUI.cpp | 446 QIcon play; local 447 play.addFile(QString::fromUtf8(":/play.png"), QSize(), 450 fActionPlay.setIcon(play); 451 fActionPlay.setText("Play");
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/media/ |
BluetoothMediaPlayback.java | 81 play(); 127 * and sets up and prepares the MediaPlayer to play the file. 191 * Gets the item to play from the MusicProvider's PlayQueue 192 * Also dispatches a "I received a Play Command" acknowledgement through the Facade. 194 public void play() { method in class:BluetoothMediaPlayback 195 Log.d(TAG + " play queIndex: " + queueIndex); 218 // Cache the current position to use when play resumes 370 Log.e(TAG + " No Media to play"); 379 * Number of items we have in the Play Queue
|
/frameworks/base/core/java/android/speech/tts/ |
BlockingAudioTrack.java | 194 audioTrack.play();
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
AbstractProxyTest.java | 66 server.play(); 117 server.play(); 158 server.play(); 192 server.play(); 208 server.play(); 226 server.play();
|
/frameworks/base/media/java/android/media/ |
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(). Playing streams can b 311 public final int play(int soundID, float leftVolume, float rightVolume, method in class:SoundPool [all...] |
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
PlaybackTransportRowPresenterTest.java | 172 mGlue.play(); 173 Mockito.verify(mImpl, times(1)).play(); 362 // start play 363 mGlue.play(); 364 verify(mImpl).play(); 374 // press DPAD_CENTER to seek to new position and continue play 377 verify(mImpl).play(); 383 // press DPAD_CENTER to continue play from 0 386 verify(mImpl).play(); 404 // start play [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/media/ |
MediaPlayerAdapter.java | 297 public void play() { method in class:MediaPlayerAdapter
|
PlaybackTransportControlGlue.java | 41 * {@link PlaybackGlueHost}, it supports standard playback control actions play/pause, and 246 // PLAY_PAUSE PLAY PAUSE 255 play(); method 379 play(); method
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/ |
MediaNotificationManager.java | 54 public static final String ACTION_PLAY = "com.example.android.supportv4.media.play"; 155 mTransportControls.play();
|
QueueFragment.java | 263 Log.d(TAG, "Play button pressed, in state " + state); 285 mTransportControls.play();
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/ |
RemotePlayer.java | 126 public void play(final PlaylistItem item) { method in class:RemotePlayer 128 Log.d(TAG, "play: item=" + item); 130 mClient.play(item.getUri(), "video/mp4", null, 0, null, new ItemActionCallback() { 134 logStatus("play: succeeded", sessionId, sessionStatus, itemId, itemStatus); 151 logError("play: failed", error, code);
|
/frameworks/wilhelm/src/android/ |
android_AudioSfDecoder.cpp | 48 // play event logic depends on the initial time being zero not ANDROID_UNKNOWN_TIME 80 void AudioSfDecoder::play() { function in class:android::AudioSfDecoder 81 SL_LOGD("AudioSfDecoder::play"); 83 GenericPlayer::play(); 454 // application set play state to paused which failed, then set play state to playing
|
/libcore/support/src/test/java/tests/http/ |
MockWebServer.java | 84 throw new IllegalStateException("Cannot retrieve port before calling play()"); 162 * Equivalent to {@code play(0)}. 164 public void play() throws IOException { method in class:MockWebServer 165 play(0); 176 public void play(int port) throws IOException { method in class:MockWebServer
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
ResourceCaptureToolsImpl.java | 209 mSoundPlayer.play(R.raw.timer_final_second, 0.6f); 211 mSoundPlayer.play(R.raw.timer_increment, 0.6f);
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
FolderAnimationManager.java | 184 play(a, anim); method 187 play(a, getAnimator(mFolder, View.TRANSLATION_X, xDistance, 0f)); method 188 play(a, getAnimator(mFolder, View.TRANSLATION_Y, yDistance, 0f)); method 189 play(a, getAnimator(mFolder, SCALE_PROPERTY, initialScale, finalScale)); method 190 play(a, getAnimator(mFolderBackground, "color", initialColor, finalColor)); method 191 play(a, mFolderIcon.mFolderName.createTextAlphaAnimator(!mIsOpening)); method 199 play(a, outlineProvider.createRevealAnimator(mFolder, !mIsOpening)); method 204 play(a, z, mIsOpening ? midDuration : 0, midDuration); method 283 play(animatorSet, translationX); method 287 play(animatorSet, translationY) method 291 play(animatorSet, scaleAnimator); method 332 private void play(AnimatorSet as, Animator a) { method in class:FolderAnimationManager 333 play(as, a, a.getStartDelay(), mDuration); method 336 private void play(AnimatorSet as, Animator a, long startDelay, int duration) { method in class:FolderAnimationManager [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
NotificationPlayer.java | 43 private static final int PLAY = 1; 191 case PLAY: 193 LogUtil.d(mTag, "PLAY"); 225 // if there are no more sounds to play, end the Looper to listen for media completion 269 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)}) 274 * @param volume The volume at which to play this sound, as a fraction of the system volume for 275 * the relevant stream type. A value of 1 is the maximum and means play at the system 278 public void play(final Uri uri, final boolean looping, final int stream, final float volume) { method in class:NotificationPlayer 281 cmd.code = PLAY; 288 mState = PLAY; [all...] |