/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...] |
/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...] |
HTMLVideoElement.h | 80 virtual bool hasVideo() const { return player() && player()->hasVideo(); }
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaPlayerMethodUnderTest.java | 26 public void invokeMethodUnderTest(MediaPlayer player);
|
MediaRecorderMethodUnderTest.java | 26 public void invokeMethodUnderTest(MediaRecorder player);
|
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();
|
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
HelloLoop.java | 43 * In this example, you use the loop to make the player character 52 protected Geometry player; field in class:HelloLoop 56 /** this blue box is our player character */ 58 player = new Geometry("blue cube", b); 62 player.setMaterial(mat); 63 rootNode.attachChild(player); 69 // make the player rotate: 70 player.rotate(0, 2*tpf, 0);
|
HelloInput.java | 55 protected Geometry player;
field in class:HelloInput 61 player = new Geometry("Player", b);
64 player.setMaterial(mat);
65 rootNode.attachChild(player);
96 player.rotate(0, value, 0);
99 player.move((new Vector3f(value, 0,0)) );
102 player.move(new Vector3f(-value, 0,0));
|
HelloCollision.java | 64 private CharacterControl player; field in class:HelloCollision 97 // We set up collision detection for the player by creating 101 // We also put the player in its starting position. 103 player = new CharacterControl(capsuleShape, 0.05f); 104 player.setJumpSpeed(20); 105 player.setFallSpeed(30); 106 player.setGravity(30); 107 player.setPhysicsLocation(new Vector3f(0, 10, 0)); 109 // We attach the scene and the player to the rootnode and the physics space, 113 bulletAppState.getPhysicsSpace().add(player); [all...] |
HelloAnimation.java | 53 Node player; field in class:HelloAnimation 73 player = (Node) assetManager.loadModel("Models/Oto/Oto.mesh.xml"); 74 player.setLocalScale(0.5f); 75 rootNode.attachChild(player); 78 control = player.getControl(AnimControl.class);
|
/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...] |
/external/jmonkeyengine/engine/src/test/jme3test/tools/ |
TestSaveGame.java | 54 //node that is used to store player data 70 Node player = (Node) SaveGame.loadGame("mycompany/mygame", "savegame_001"); local 71 player.attachChild(model); 72 rootNode.attachChild(player); 75 System.out.println("Name: " + player.getUserData("name")); 76 System.out.println("Health: " + player.getUserData("health")); 77 System.out.println("Points: " + player.getUserData("points"));
|
/external/chromium/chrome/browser/ui/webui/ |
mediaplayer_browsertest.cc | 68 MediaPlayer* player = MediaPlayer::GetInstance(); local 72 player->EnqueueMediaFileUrl(GetMusicTestURL(), NULL); 84 MediaPlayer* player = MediaPlayer::GetInstance(); local 86 player->EnqueueMediaFileUrl(GetMusicTestURL(), NULL); 90 player->TogglePlaylistWindowVisible();
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestFancyCar.java | 58 private VehicleControl player; field in class:TestFancyCar 170 player = new VehicleControl(carHull, mass); 171 carNode.addControl(player); 174 player.setSuspensionCompression(compValue * 2.0f * FastMath.sqrt(stiffness)); 175 player.setSuspensionDamping(dampValue * 2.0f * FastMath.sqrt(stiffness)); 176 player.setSuspensionStiffness(stiffness); 177 player.setMaxSuspensionForce(10000); 190 player.addWheel(wheel_fr.getParent(), box.getCenter().add(0, -front_wheel_h, 0), 196 player.addWheel(wheel_fl.getParent(), box.getCenter().add(0, -front_wheel_h, 0), 202 player.addWheel(wheel_br.getParent(), box.getCenter().add(0, -back_wheel_h, 0) [all...] |
TestQ3.java | 59 private PhysicsCharacter player; field in class:TestQ3 106 player = new PhysicsCharacter(new SphereCollisionShape(5), .01f); 107 player.setJumpSpeed(20); 108 player.setFallSpeed(30); 109 player.setGravity(30); 111 player.setPhysicsLocation(new Vector3f(60, 10, -60)); 116 getPhysicsSpace().add(player); 136 player.setWalkDirection(walkDirection); 137 cam.setLocation(player.getPhysicsLocation()); 176 player.jump() [all...] |
/external/webkit/Source/WebKit/chromium/public/ |
WebMediaElement.h | 46 WEBKIT_API WebMediaPlayer* player() const;
|
/external/webkit/Source/WebKit/chromium/src/ |
WebMediaElement.cpp | 44 WebMediaPlayer* WebMediaElement::player() const function in class:WebKit::WebMediaElement
|
/frameworks/wilhelm/tests/mimeUri/ |
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...] |
/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...] |
/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;
|