/external/replicaisland/src/com/replica/replicaisland/ |
HitPlayerComponent.java | 50 GameObject player = manager.getPlayer(); local 51 if (player != null && player.life > 0) { 52 mPlayerPosition.set(player.getCenteredPositionX(), player.getCenteredPositionY()); 56 HitReactionComponent playerHitReact = player.findByClass(HitReactionComponent.class); 60 boolean accepted = mHitReact.receivedHit(parentObject, player, mHitType); 61 playerHitReact.hitVictim(player, parentObject, mHitType, accepted); 63 // hit the player 64 boolean accepted = playerHitReact.receivedHit(player, parentObject, mHitType) [all...] |
PatrolComponent.java | 25 * may change direction. Patrollers can also be configured via this component to attack the player 79 GameObject player = null; local 81 player = manager.getPlayer(); 85 updateAttack(player, parentObject); 109 if (mTurnToFacePlayer && player != null && player.life > 0) { 110 final float horizontalDelta = player.getCenteredPositionX() 113 final float closestDistance = player.width / 2.0f; 201 private void updateAttack(GameObject player, GameObject parentObject) { 218 if (mAttackAtDistance > 0 && player != null && player.life > 0 [all...] |
/external/webkit/Source/WebCore/html/ |
HTMLVideoElement.cpp | 128 if (!player() || !player()->supportsFullscreen() || !player()->hasVideo()) 142 if (!player()) 144 return player()->naturalSize().width(); 149 if (!player()) 151 return player()->naturalSize().height(); 188 if (oldMode != Video && player()) 189 player()->prepareForRendering(); 193 } else if (oldMode != Video && player()) 217 MediaPlayer* player = HTMLMediaElement::player(); local [all...] |
/external/quake/quake/src/QW/progs/ |
world.qc | 187 // player precaches
196 precache_sound ("player/plyrjmp8.wav"); // player jump
197 precache_sound ("player/land.wav"); // player landing
198 precache_sound ("player/land2.wav"); // player hurt landing
199 precache_sound ("player/drown1.wav"); // drowning pain
200 precache_sound ("player/drown2.wav"); // drowning pain
201 precache_sound ("player/gasp1.wav"); // gasping for air [all...] |
files.dat | 39 1 player/plyrjmp8.wav
40 1 player/land.wav
41 1 player/land2.wav
42 1 player/drown1.wav
43 1 player/drown2.wav
44 1 player/gasp1.wav
45 1 player/gasp2.wav
46 1 player/h2odeath.wav
48 1 player/teledth1.wav
60 1 player/gib.wav [all...] |
progs.src | 11 player.qc
|
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
GameActivity.java | 37 /** Start player. Must be 1 or 2. Default is 1. */
88 State player = mGameView.getCurrentPlayer();
local 89 if (player == State.UNKNOWN) {
90 player = State.fromInt(getIntent().getIntExtra(EXTRA_START_PLAYER, 1));
91 if (!checkGameFinished(player)) {
92 selectTurn(player);
95 if (player == State.PLAYER2) {
98 if (player == State.WIN) {
104 private State selectTurn(State player) {
105 mGameView.setCurrentPlayer(player);
132 State player = mGameView.getCurrentPlayer(); local 178 State player = mGameView.getCurrentPlayer(); local [all...] |
/frameworks/base/media/tests/players/ |
invoke_mock_media_player.cpp | 42 // This file contains a test player that is loaded via the 43 // TestPlayerStub class. The player contains various implementation 49 class Player: public MediaPlayerBase 53 Player() {} 54 virtual ~Player() {} 98 status_t Player::invoke(const Parcel& request, Parcel *reply) 109 void Player::ping(const Parcel& request, Parcel *reply) 121 LOGD("New invoke test player"); 122 return new Player(); 125 extern "C" android::status_t deletePlayer(android::MediaPlayerBase *player) [all...] |
README | 3 For functional/system/performance tests, a native test player can be used.
|
/frameworks/base/cmds/stagefright/ |
audioloop.cpp | 73 AudioPlayer *player = new AudioPlayer(NULL); 74 player->setSource(decoder); 76 player->start(); 80 player->stop(); 82 delete player; 83 player = NULL;
|
/external/quake/quake/src/QW/client/ |
cl_cam.c | 22 * Player camera tracking in Spectator mode 24 * This takes over player controls for spectator automatic camera. 25 * Player moves as a spectator, but the camera tracks and enemy player 54 int spec_track = 0; // player# of who we are tracking 103 // returns true if we should draw this player, we don't if we are chase camming 151 static float Cam_TryFlyby(player_state_t *self, player_state_t *player, vec3_t vec, qboolean checkvis) 161 VectorMA(player->origin, 800, vec, v); 163 // fake a player move 164 trace = Cam_DoTrace(player->origin, v) 317 player_state_t *player, *self; local [all...] |
/system/media/wilhelm/tests/examples/ |
slesTestPlayFdPath.cpp | 55 /* Objects this application uses: one player and an ouput mix */ 56 SLObjectItf player, outputMix; local 63 /* Data sinks for the audio player */ 67 /* Play and PrefetchStatus interfaces for the audio player */ 87 /* Create Output Mix object to be used by the player */ 102 /* Configuration of the player */ 129 /* Create the audio player */ 130 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 1, 134 /* Realize the player in synchronous mode. */ 135 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result) [all...] |
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...] |
slesTestEqFdPath.cpp | 60 /* Objects this application uses: one player and an ouput mix */ 61 SLObjectItf player, outputMix; local 72 /* Data sinks for the audio player */ 76 /* Play and PrefetchStatus interfaces for the audio player */ 97 /* Create Output Mix object to be used by the player */ 112 /* Configuration of the player */ 149 /* Create the audio player */ 150 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 154 /* Realize the player in synchronous mode. */ 155 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...] |
slesTestEqOutputPath.cpp | 60 /* Objects this application uses: one player and an ouput mix */ 61 SLObjectItf player, outputMix; local 72 /* Data sinks for the audio player */ 76 /* Play and PrefetchStatus interfaces for the audio player */ 103 /* Create Output Mix object to be used by the player */ 121 /* Configuration of the player */ 156 /* Create the audio player */ 157 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 1, 161 /* Realize the player in synchronous mode. */ 162 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result) [all...] |
/system/media/wilhelm/tests/mimeUri/ |
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...] |
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...] |
slesTestPlayUri2.cpp | 38 /* PlayItf callback for an audio player */ 69 SLObjectItf player, player2, outputMix; local 107 /* Create Output Mix object to be used each player */ 136 /* Create the first audio player */ 137 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 141 /* Create the second audio player with a different path for its data source */ 149 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result); 150 result = (*player)->Realize(player2, SL_BOOLEAN_FALSE); ExitOnError(result); 153 /* Get the SLPlayItf, SLVolumeItf and SLPrefetchStatusItf interfaces for each player */ [all...] |
/development/samples/TicTacToeLib/res/values/ |
strings.xml | 19 <string name="player2_win">Player 2 (computer) wins!</string> 20 <string name="player1_win">Player 1 (you) wins!</string> 22 <string name="player2_turn">Player 2\'s turn (that\'s the computer)</string> 23 <string name="player1_turn">Player 1\'s turn -- that\'s you!</string>
|
/external/srec/doc/logs/srec/ |
recog4_SHIP_liveaudio.res | 5 R: cd player
|
/system/media/wilhelm/src/objects/ |
CAudioPlayer.c | 22 /** \brief Hook called by Object::Realize when an audio player is realized */ 45 /** \brief Hook called by Object::Resume when an audio player is resumed */ 53 /** \brief Hook called by Object::Destroy when an audio player is destroyed */ 69 /** \brief Hook called by Object::Destroy before an audio player is about to be destroyed */ 89 // Request the mixer thread to unlink this audio player's track 100 /** \brief Given an audio player, return its data sink, which is guaranteed to be a non-NULL output
|
/frameworks/base/core/java/android/speech/tts/ |
AudioMessageParams.java | 24 String callingApp, BlockingMediaPlayer player) { 26 mPlayer = player;
|
/hardware/ti/omap3/omx/core_plugin/omx_core_plugin/ |
Android.mk | 17 $(PV_TOP)/engines/player/config/android \ 18 $(PV_TOP)/engines/player/include \
|
/external/webkit/Source/WebCore/manual-tests/ |
divx-plugin-fails-to-draw.html | 7 The plug-in below should not appear as a white box but as a video player with
|