/frameworks/av/cmds/stagefright/ |
audioloop.cpp | 71 AudioPlayer *player = new AudioPlayer(NULL); 72 player->setSource(decoder); 74 player->start(); 78 player->stop(); 80 delete player; 81 player = NULL;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaPlayerGetCurrentPositionStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { 56 player.getCurrentPosition();
|
MediaPlayerGetDurationStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { 56 player.getDuration();
|
MediaPlayerGetVideoHeightStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { 56 player.getVideoHeight();
|
MediaPlayerGetVideoWidthStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { 56 player.getVideoWidth();
|
MediaPlayerIsPlayingStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { 56 player.isPlaying();
|
MediaPlayerPauseStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { 56 player.pause();
|
MediaPlayerResetStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { 56 player.reset();
|
MediaPlayerSeekToStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { 56 player.seekTo(0);
|
MediaPlayerSetAudioStreamTypeStateUnitTest.java | 56 public void invokeMethodUnderTest(MediaPlayer player) { 57 player.setAudioStreamType(AudioManager.STREAM_MUSIC);
|
MediaPlayerSetLoopingStateUnitTest.java | 56 public void invokeMethodUnderTest(MediaPlayer player) { 58 player.setLooping(looping);
|
MediaPlayerSetVolumeStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { 56 player.setVolume(0.5f, 0.5f);
|
MediaPlayerStartStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { 56 player.start();
|
MediaPlayerStopStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { 56 player.stop();
|
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
HelloAudio.java | 18 private Geometry player; field in class:HelloAudio 31 player = new Geometry("Player", box1); 35 player.setMaterial(mat1); 36 rootNode.attachChild(player);
|
/external/replicaisland/src/com/replica/replicaisland/ |
AttackAtDistanceComponent.java | 50 GameObject player = manager.getPlayer(); local 51 if (player != null) { 52 mDistance.set(player.getPosition()); 58 (Utils.sign(player.getPosition().x - parentObject.getPosition().x)
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
DocumentTimeline.cpp | 34 #include "core/animation/Player.h" 52 PassRefPtr<Player> DocumentTimeline::play(TimedItem* child) 54 RefPtr<Player> player = Player::create(this, child); local 55 m_players.append(player); 60 return player.release();
|
TimedItem.h | 40 class Player; 59 friend class Player; // Calls attach/detach, updateInheritedTime. 72 Player* player() const { return m_player; } function in class:WebCore::TimedItem 93 void attach(Player* player) { m_player = player; }; 104 Player* m_player; 108 // FIXME: Should be versioned by monotonic value on player.
|
/frameworks/wilhelm/tests/examples/ |
slesTestBassBoostPath.cpp | 55 /* Objects this application uses: one player and an ouput mix */ 56 SLObjectItf player, outputMix; local 67 /* Data sinks for the audio player */ 71 /* Interfaces for the audio player */ 92 /* Create Output Mix object to be used by the player */ 107 /* Configuration of the player */ 144 /* Create the audio player */ 145 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 149 /* Realize the player in synchronous mode. */ 150 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result) [all...] |
slesTestVirtualizerPath.cpp | 56 /* Objects this application uses: one player and an ouput mix */ 57 SLObjectItf player, outputMix; local 68 /* Data sinks for the audio player */ 72 /* Play and PrefetchStatus interfaces for the audio player */ 93 /* Create Output Mix object to be used by the player */ 108 /* Configuration of the player */ 145 /* Create the audio player */ 146 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 150 /* Realize the player in synchronous mode. */ 151 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result) [all...] |
/frameworks/wilhelm/tests/mimeUri/ |
slesTestLoopUri.cpp | 62 /* PrefetchStatusItf callback for an audio player */ 138 SLObjectItf player; local 160 // Create Output Mix object to be used by player 184 /* Create the audio player */ 189 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 192 /* Realizing the player in synchronous mode. */ 193 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 197 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf) [all...] |
slesTestPlayStreamType.cpp | 53 /* Objects this application uses: one player and an ouput mix */ 54 SLObjectItf player, outputMix; local 61 /* Data sinks for the audio player */ 65 /* Play, Volume and AndroidStreamType interfaces for the audio player */ 88 /* Create Output Mix object to be used by the player */ 103 /* Configuration of the player */ 127 /* Create the audio player */ 128 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 132 /* Retrieve the configuration interface before the player is realized so its resources 136 result = (*player)->GetInterface(player, SL_IID_ANDROIDCONFIGURATION, (void*)&configItf) [all...] |
slesTestPlayUri.cpp | 71 /* PrefetchStatusItf callback for an audio player */ 141 SLObjectItf player; local 166 // Create Output Mix object to be used by player 190 /* Create the audio player */ 191 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 194 /* Realizing the player in synchronous mode. */ 195 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 199 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf) [all...] |
slesTest_playStates.cpp | 53 /* Objects this application uses: one player and an ouput mix */ 54 SLObjectItf player, outputMix; local 61 /* Data sinks for the audio player */ 65 /* Play, Volume and PrefetchStatus interfaces for the audio player */ 86 /* Create Output Mix object to be used by the player */ 101 /* Configuration of the player */ 122 /* Create the audio player */ 123 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 127 /* Realize the player in synchronous mode. */ 128 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result) [all...] |
/frameworks/wilhelm/tests/ |
mimeUri_test.cpp | 73 /* PrefetchStatusItf callback for an audio player */ 115 SLObjectItf player; local 140 // Create Output Mix object to be used by player 164 /* Create the audio player */ 165 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, 168 /* Realizing the player in synchronous mode. */ 169 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 172 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf) [all...] |