Home
last modified time | relevance | path

Searched refs:player (Results 1 – 25 of 138) sorted by relevance

123456

/external/webkit/Source/WebCore/html/
DHTMLVideoElement.cpp128 if (!player() || !player()->supportsFullscreen() || !player()->hasVideo()) in supportsFullscreen()
142 if (!player()) in videoWidth()
144 return player()->naturalSize().width(); in videoWidth()
149 if (!player()) in videoHeight()
151 return player()->naturalSize().height(); in videoHeight()
188 if (oldMode != Video && player()) in setDisplayMode()
189 player()->prepareForRendering(); in setDisplayMode()
193 } else if (oldMode != Video && player()) in setDisplayMode()
194 player()->prepareForRendering(); in setDisplayMode()
198 if (player() && player()->canLoadPoster()) in setDisplayMode()
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DTestFancyCar.java58 private VehicleControl player; field in TestFancyCar
170 player = new VehicleControl(carHull, mass); in buildPlayer()
171 carNode.addControl(player); in buildPlayer()
174 player.setSuspensionCompression(compValue * 2.0f * FastMath.sqrt(stiffness)); in buildPlayer()
175 player.setSuspensionDamping(dampValue * 2.0f * FastMath.sqrt(stiffness)); in buildPlayer()
176 player.setSuspensionStiffness(stiffness); in buildPlayer()
177 player.setMaxSuspensionForce(10000); in buildPlayer()
190 player.addWheel(wheel_fr.getParent(), box.getCenter().add(0, -front_wheel_h, 0), in buildPlayer()
196 player.addWheel(wheel_fl.getParent(), box.getCenter().add(0, -front_wheel_h, 0), in buildPlayer()
202 player.addWheel(wheel_br.getParent(), box.getCenter().add(0, -back_wheel_h, 0), in buildPlayer()
[all …]
DTestQ3.java59 private PhysicsCharacter player; field in TestQ3
106 player = new PhysicsCharacter(new SphereCollisionShape(5), .01f); in simpleInitApp()
107 player.setJumpSpeed(20); in simpleInitApp()
108 player.setFallSpeed(30); in simpleInitApp()
109 player.setGravity(30); in simpleInitApp()
111 player.setPhysicsLocation(new Vector3f(60, 10, -60)); in simpleInitApp()
116 getPhysicsSpace().add(player); in simpleInitApp()
136 player.setWalkDirection(walkDirection); in simpleUpdate()
137 cam.setLocation(player.getPhysicsLocation()); in simpleUpdate()
176 player.jump(); in onAction()
/external/quake/quake/src/QW/progs/
Dworld.qc187 // 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
202 precache_sound ("player/gasp2.wav"); // taking breath
203 precache_sound ("player/h2odeath.wav"); // drowning death
206 precache_sound ("player/teledth1.wav"); // telefrag
[all …]
Dfiles.dat39 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 …]
Dplayer.qc256 sound (self, CHAN_VOICE, "player/teledth1.wav", 1, ATTN_NONE);
265 sound (self, CHAN_VOICE, "player/drown1.wav", 1, ATTN_NORM);
267 sound (self, CHAN_VOICE, "player/drown2.wav", 1, ATTN_NORM);
276 sound (self, CHAN_VOICE, "player/lburn1.wav", 1, ATTN_NORM);
278 sound (self, CHAN_VOICE, "player/lburn2.wav", 1, ATTN_NORM);
285 sound (self, CHAN_VOICE, "player/lburn1.wav", 1, ATTN_NORM);
287 sound (self, CHAN_VOICE, "player/lburn2.wav", 1, ATTN_NORM);
304 sound (self, CHAN_VOICE, "player/axhit1.wav", 1, ATTN_NORM);
313 self.noise = "player/pain1.wav";
315 self.noise = "player/pain2.wav";
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DHitPlayerComponent.java50 GameObject player = manager.getPlayer(); in update() local
51 if (player != null && player.life > 0) { in update()
52 mPlayerPosition.set(player.getCenteredPositionX(), player.getCenteredPositionY()); in update()
56 HitReactionComponent playerHitReact = player.findByClass(HitReactionComponent.class); in update()
60 boolean accepted = mHitReact.receivedHit(parentObject, player, mHitType); in update()
61 playerHitReact.hitVictim(player, parentObject, mHitType, accepted); in update()
64 boolean accepted = playerHitReact.receivedHit(player, parentObject, mHitType); in update()
65 mHitReact.hitVictim(parentObject, player, mHitType, accepted); in update()
DPatrolComponent.java79 GameObject player = null; in update() local
81 player = manager.getPlayer(); in update()
85 updateAttack(player, parentObject); in update()
109 if (mTurnToFacePlayer && player != null && player.life > 0) { in update()
110 final float horizontalDelta = player.getCenteredPositionX() in update()
113 final float closestDistance = player.width / 2.0f; in update()
201 private void updateAttack(GameObject player, GameObject parentObject) { in updateAttack() argument
218 if (mAttackAtDistance > 0 && player != null && player.life > 0 in updateAttack()
221 if (Utils.sign(player.getPosition().x - parentObject.getPosition().x) in updateAttack()
225 mWorkingVector2.set(player.getPosition()); in updateAttack()
[all …]
DAttackAtDistanceComponent.java50 GameObject player = manager.getPlayer(); in update() local
51 if (player != null) { in update()
52 mDistance.set(player.getPosition()); in update()
58 (Utils.sign(player.getPosition().x - parentObject.getPosition().x) in update()
DGhostComponent.java156 GameObject player = null; in releaseControl() local
158 player = manager.getPlayer(); in releaseControl()
166 if (player != null) { in releaseControl()
178 PlayerComponent control = player.findByClass(PlayerComponent.class); in releaseControl()
179 if (camera.pointVisible(player.getPosition(), player.width)) { in releaseControl()
/external/quake/quake/src/QW/client/
Dcl_cam.c151 static float Cam_TryFlyby(player_state_t *self, player_state_t *player, vec3_t vec, qboolean checkv… in Cam_TryFlyby() argument
161 VectorMA(player->origin, 800, vec, v); in Cam_TryFlyby()
164 trace = Cam_DoTrace(player->origin, v); in Cam_TryFlyby()
168 VectorSubtract(trace.endpos, player->origin, v); in Cam_TryFlyby()
184 static qboolean Cam_IsVisible(player_state_t *player, vec3_t vec) in Cam_IsVisible() argument
190 trace = Cam_DoTrace(player->origin, vec); in Cam_IsVisible()
194 VectorSubtract(player->origin, vec, v); in Cam_IsVisible()
201 static qboolean InitFlyby(player_state_t *self, player_state_t *player, int checkvis) in InitFlyby() argument
207 VectorCopy(player->viewangles, vec); in InitFlyby()
216 if ((f = Cam_TryFlyby(self, player, vec2, checkvis)) < max) { in InitFlyby()
[all …]
Dcl_parse.c883 player_info_t *player; in CL_NewTranslation()
889 player = &cl.players[slot]; in CL_NewTranslation()
891 strcpy(s, Info_ValueForKey(player->userinfo, "skin")); in CL_NewTranslation()
893 if (player->skin && !stricmp(s, player->skin->name)) in CL_NewTranslation()
894 player->skin = NULL; in CL_NewTranslation()
896 if (player->_topcolor != player->topcolor || in CL_NewTranslation()
897 player->_bottomcolor != player->bottomcolor || !player->skin) { in CL_NewTranslation()
898 player->_topcolor = player->topcolor; in CL_NewTranslation()
899 player->_bottomcolor = player->bottomcolor; in CL_NewTranslation()
901 dest = player->translations; in CL_NewTranslation()
[all …]
Dgl_rmisc.c247 player_info_t *player; in R_TranslatePlayerSkin() local
253 player = &cl.players[playernum]; in R_TranslatePlayerSkin()
254 if (!player->name[0]) in R_TranslatePlayerSkin()
257 strcpy(s, Info_ValueForKey(player->userinfo, "skin")); in R_TranslatePlayerSkin()
259 if (player->skin && !stricmp(s, player->skin->name)) in R_TranslatePlayerSkin()
260 player->skin = NULL; in R_TranslatePlayerSkin()
262 if (player->_topcolor != player->topcolor || in R_TranslatePlayerSkin()
263 player->_bottomcolor != player->bottomcolor || !player->skin) { in R_TranslatePlayerSkin()
264 player->_topcolor = player->topcolor; in R_TranslatePlayerSkin()
265 player->_bottomcolor = player->bottomcolor; in R_TranslatePlayerSkin()
[all …]
/external/webkit/Source/WebKit/android/WebCoreSupport/
DMediaPlayerPrivateAndroid.cpp144 MediaPlayerPrivate::MediaPlayerPrivate(MediaPlayer* player) in MediaPlayerPrivate() argument
145 : m_player(player), in MediaPlayerPrivate()
340 MediaPlayerVideoPrivate(MediaPlayer* player) : MediaPlayerPrivate(player) in MediaPlayerVideoPrivate() argument
473 MediaPlayerAudioPrivate(MediaPlayer* player) : MediaPlayerPrivate(player) in MediaPlayerAudioPrivate() argument
551 MediaPlayerPrivateInterface* MediaPlayerPrivate::create(MediaPlayer* player) in create() argument
553 if (player->mediaElementType() == MediaPlayer::Video) in create()
554 return new MediaPlayerVideoPrivate(player); in create()
555 return new MediaPlayerAudioPrivate(player); in create()
565 … WebCore::MediaPlayerPrivate* player = reinterpret_cast<WebCore::MediaPlayerPrivate*>(pointer); in OnPrepared() local
566 player->onPrepared(duration, width, height); in OnPrepared()
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/
DHelloCollision.java64 private CharacterControl player; field in HelloCollision
103 player = new CharacterControl(capsuleShape, 0.05f); in simpleInitApp()
104 player.setJumpSpeed(20); in simpleInitApp()
105 player.setFallSpeed(30); in simpleInitApp()
106 player.setGravity(30); in simpleInitApp()
107 player.setPhysicsLocation(new Vector3f(0, 10, 0)); in simpleInitApp()
113 bulletAppState.getPhysicsSpace().add(player); in simpleInitApp()
155 player.jump(); in onAction()
175 player.setWalkDirection(walkDirection); in simpleUpdate()
176 cam.setLocation(player.getPhysicsLocation()); in simpleUpdate()
DHelloInput.java55 protected Geometry player; field in HelloInput
61 player = new Geometry("Player", b); in simpleInitApp()
64 player.setMaterial(mat); in simpleInitApp()
65 rootNode.attachChild(player); in simpleInitApp()
96 player.rotate(0, value, 0);
99 player.move((new Vector3f(value, 0,0)) );
102 player.move(new Vector3f(-value, 0,0));
DHelloTerrainCollision.java68 private CharacterControl player; field in HelloTerrainCollision
161 player = new CharacterControl(capsuleShape, 0.05f); in simpleInitApp()
162 player.setJumpSpeed(20); in simpleInitApp()
163 player.setFallSpeed(30); in simpleInitApp()
164 player.setGravity(30); in simpleInitApp()
165 player.setPhysicsLocation(new Vector3f(0, 10, 0)); in simpleInitApp()
170 bulletAppState.getPhysicsSpace().add(player); in simpleInitApp()
200 player.jump(); in onAction()
220 player.setWalkDirection(walkDirection); in simpleUpdate()
221 cam.setLocation(player.getPhysicsLocation()); in simpleUpdate()
DHelloLoop.java52 protected Geometry player; field in HelloLoop
58 player = new Geometry("blue cube", b); in simpleInitApp()
62 player.setMaterial(mat); in simpleInitApp()
63 rootNode.attachChild(player); in simpleInitApp()
70 player.rotate(0, 2*tpf, 0); in simpleUpdate()
DHelloAnimation.java53 Node player; field in HelloAnimation
73 player = (Node) assetManager.loadModel("Models/Oto/Oto.mesh.xml"); in simpleInitApp()
74 player.setLocalScale(0.5f); in simpleInitApp()
75 rootNode.attachChild(player); in simpleInitApp()
78 control = player.getControl(AnimControl.class); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/tools/
DTestSaveGame.java70 Node player = (Node) SaveGame.loadGame("mycompany/mygame", "savegame_001"); in simpleInitApp() local
71 player.attachChild(model); in simpleInitApp()
72 rootNode.attachChild(player); in simpleInitApp()
75 System.out.println("Name: " + player.getUserData("name")); in simpleInitApp()
76 System.out.println("Health: " + player.getUserData("health")); in simpleInitApp()
77 System.out.println("Points: " + player.getUserData("points")); in simpleInitApp()
/external/webkit/Source/WebCore/rendering/
DRenderVideo.cpp59 if (MediaPlayer* p = mediaElement()->player()) { in ~RenderVideo()
111 MediaPlayer* player = mediaElement()->player(); in calculateIntrinsicSize() local
112 if (player && video->readyState() >= HTMLVideoElement::HAVE_METADATA) in calculateIntrinsicSize()
113 return player->naturalSize(); in calculateIntrinsicSize()
189 MediaPlayer* mediaPlayer = mediaElement()->player(); in paintReplaced()
233 MediaPlayer* mediaPlayer = mediaElement()->player(); in updatePlayer()
270 MediaPlayer* p = mediaElement()->player(); in supportsAcceleratedRendering()
279 MediaPlayer* p = mediaElement()->player(); in acceleratedRenderingStateChanged()
/external/chromium/chrome/browser/ui/webui/
Dmediaplayer_browsertest.cc68 MediaPlayer* player = MediaPlayer::GetInstance(); in IN_PROC_BROWSER_TEST_F() local
72 player->EnqueueMediaFileUrl(GetMusicTestURL(), NULL); in IN_PROC_BROWSER_TEST_F()
84 MediaPlayer* player = MediaPlayer::GetInstance(); in IN_PROC_BROWSER_TEST_F() local
86 player->EnqueueMediaFileUrl(GetMusicTestURL(), NULL); in IN_PROC_BROWSER_TEST_F()
90 player->TogglePlaylistWindowVisible(); in IN_PROC_BROWSER_TEST_F()
/external/jmonkeyengine/engine/src/test/jme3test/games/
DCubeField.java70 private Node player; field in CubeField
103 player = createPlayer(); in simpleInitApp()
104 rootNode.attachChild(player); in simpleInitApp()
139 player.setLocalTranslation(0,0,0); in gameReset()
155 cam.setLocation(player.getLocalTranslation().add(-8, 2, 0)); in camTakeOver()
156 cam.lookAt(player.getLocalTranslation(), Vector3f.UNIT_Y); in camTakeOver()
178 int playerX = (int) player.getLocalTranslation().getX(); in randomizeCube()
179 int playerZ = (int) player.getLocalTranslation().getZ(); in randomizeCube()
199 Vector3f loc = player.getLocalTranslation(); in createFirstCube()
265 player.move(speed * tpf * fpsRate, 0, 0); in gameLogic()
[all …]
/external/quake/quake/src/WinQuake/
Dsnd_android.cpp114 static SLObjectItf player; variable
187 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, in TestPlaySawtoothBufferQueue()
192 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); in TestPlaySawtoothBufferQueue()
196 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestPlaySawtoothBufferQueue()
200 res = (*player)->GetInterface(player, SL_IID_BUFFERQUEUE, in TestPlaySawtoothBufferQueue()
286 if (player != NULL) { in finishAndroidSound()
288 (*player)->Destroy(player); in finishAndroidSound()
289 player = NULL; in finishAndroidSound()
/external/webkit/Source/WebCore/platform/graphics/gstreamer/
DMediaPlayerPrivateGStreamer.cpp84 …ediaPlayerPrivateMessageCallback(GstBus*, GstMessage* message, MediaPlayerPrivateGStreamer* player) in mediaPlayerPrivateMessageCallback() argument
86 return player->handleMessage(message); in mediaPlayerPrivateMessageCallback()
89 …mediaPlayerPrivateSourceChangedCallback(GObject*, GParamSpec*, MediaPlayerPrivateGStreamer* player) in mediaPlayerPrivateSourceChangedCallback() argument
91 player->sourceChanged(); in mediaPlayerPrivateSourceChangedCallback()
94 …mediaPlayerPrivateVolumeChangedCallback(GObject*, GParamSpec*, MediaPlayerPrivateGStreamer* player) in mediaPlayerPrivateVolumeChangedCallback() argument
97 player->volumeChanged(); in mediaPlayerPrivateVolumeChangedCallback()
100 static gboolean mediaPlayerPrivateVolumeChangeTimeoutCallback(MediaPlayerPrivateGStreamer* player) in mediaPlayerPrivateVolumeChangeTimeoutCallback() argument
103 player->notifyPlayerOfVolumeChange(); in mediaPlayerPrivateVolumeChangeTimeoutCallback()
107 …d mediaPlayerPrivateMuteChangedCallback(GObject*, GParamSpec*, MediaPlayerPrivateGStreamer* player) in mediaPlayerPrivateMuteChangedCallback() argument
110 player->muteChanged(); in mediaPlayerPrivateMuteChangedCallback()
[all …]

123456