Home
last modified time | relevance | path

Searched refs:gravity (Results 1 – 14 of 14) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowToast.java24 private int gravity; field in ShadowToast
58 public void setGravity(int gravity, int xOffset, int yOffset) { in setGravity() argument
59 this.gravity = gravity; in setGravity()
64 return gravity; in getGravity()
DShadowTextView.java43 private int gravity; field in ShadowTextView
309 return gravity; in getGravity()
313 public void setGravity(int gravity) { in setGravity() argument
314 this.gravity = gravity; in setGravity()
/external/jmonkeyengine/engine/src/core/com/jme3/effect/
DParticleEmitter.java96 private Vector3f gravity = new Vector3f(0.0f, 0.1f, 0.0f); field in ParticleEmitter
579 return gravity; in getGravity()
587 public void setGravity(Vector3f gravity) { in setGravity() argument
588 this.gravity.set(gravity); in setGravity()
599 this.gravity.x = x; in setGravity()
600 this.gravity.y = y; in setGravity()
601 this.gravity.z = z; in setGravity()
946 p.velocity.x -= gravity.x * tpf; in updateParticle()
947 p.velocity.y -= gravity.y * tpf; in updateParticle()
948 p.velocity.z -= gravity.z * tpf; in updateParticle()
[all …]
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/
DPhysicsRigidBody.java341 public Vector3f getGravity(Vector3f gravity) { in getGravity() argument
342 if (gravity == null) { in getGravity()
343 gravity = new Vector3f(); in getGravity()
345 getGravity(objectId, gravity); in getGravity()
346 return gravity; in getGravity()
349 private native void getGravity(long objectId, Vector3f gravity); in getGravity() argument
357 public void setGravity(Vector3f gravity) { in setGravity() argument
358 setGravity(objectId, gravity); in setGravity()
361 private native void setGravity(long objectId, Vector3f gravity); in setGravity() argument
DPhysicsCharacter.java168 private native void setGravity(long characterId, float gravity); in setGravity() argument
/external/replicaisland/src/com/replica/replicaisland/
DPhysicsComponent.java84 GravityComponent gravity = parentObject.findByClass(GravityComponent.class); in update() local
87 && gravity != null) { in update()
88 final Vector2 gravityVector = gravity.getGravity(); in update()
DOrbitalMagnetComponent.java85 GravityComponent gravity = target.findByClass(GravityComponent.class); in applyMagnetism() local
86 final Vector2 gravityVector = gravity.getGravity(); in applyMagnetism()
DGameObjectFactory.java706 GameComponent gravity = allocateComponent(GravityComponent.class);
848 staticData.add(gravity);
1176 GameComponent gravity = allocateComponent(GravityComponent.class);
1220 staticData.add(gravity);
1352 GameComponent gravity = allocateComponent(GravityComponent.class);
1396 staticData.add(gravity);
1715 GameComponent gravity = allocateComponent(GravityComponent.class);
1816 staticData.add(gravity);
1898 GameComponent gravity = allocateComponent(GravityComponent.class);
1965 staticData.add(gravity);
[all …]
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
DPhysicsRigidBody.java339 public Vector3f getGravity(Vector3f gravity) { in getGravity() argument
340 if (gravity == null) { in getGravity()
341 gravity = new Vector3f(); in getGravity()
344 return Converter.convert(tempVec, gravity); in getGravity()
353 public void setGravity(Vector3f gravity) { in setGravity() argument
354 rBody.setGravity(Converter.convert(gravity, tempVec)); in setGravity()
/external/jmonkeyengine/engine/src/bullet-native/
Dcom_jme3_bullet_PhysicsSpace.cpp370 btVector3 gravity = btVector3(); in Java_com_jme3_bullet_PhysicsSpace_setGravity() local
371 jmeBulletUtil::convert(env, vector, &gravity); in Java_com_jme3_bullet_PhysicsSpace_setGravity()
372 space->getDynamicsWorld()->setGravity(gravity); in Java_com_jme3_bullet_PhysicsSpace_setGravity()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/
DPhysicsSpace.java644 public void setGravity(Vector3f gravity) { in setGravity() argument
646 setGravity(physicsSpaceId, gravity); in setGravity()
649 private native void setGravity(long spaceId, Vector3f gravity); in setGravity() argument
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/
DPhysicsSpace.java590 public void setGravity(Vector3f gravity) { in setGravity() argument
591 dynamicsWorld.setGravity(Converter.convert(gravity)); in setGravity()
/external/chromium-trace/trace-viewer/tracing/third_party/d3/
Dd3.min.js4 …geDistance=function(n){return arguments.length?(p=n*n,a):Math.sqrt(p)},a.gravity=function(n){retur…
/external/icu/icu4j/main/shared/data/
DTransliterator_Han_Latin_Definition.txt16185 重力 < gravity;
23393 萬有引力 > gravity;
31920 重力 > gravity;