HomeSort by relevance Sort by last modified time
    Searched refs:BodyType (Results 1 - 25 of 37) sorted by null

1 2

  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/
BodyType.java 39 public enum BodyType {
BodyDef.java 40 public BodyType type;
129 type = BodyType.STATIC;
138 public BodyType getType() {
146 public void setType(BodyType type) {
Body.java 52 public BodyType m_type;
158 if (m_type == BodyType.DYNAMIC) {
386 if (m_type == BodyType.STATIC) {
413 if (m_type == BodyType.STATIC) {
459 if (m_type != BodyType.DYNAMIC) {
484 if (m_type != BodyType.DYNAMIC) {
503 if (m_type != BodyType.DYNAMIC) {
525 if (m_type != BodyType.DYNAMIC) {
550 if (m_type != BodyType.DYNAMIC) {
615 if (m_type != BodyType.DYNAMIC)
    [all...]
  /external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/
BodyDef.java 28 public enum BodyType {
33 private BodyType (int value) {
43 public BodyType type = BodyType.StaticBody;
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/
BodyDef.java 28 public enum BodyType {
33 private BodyType (int value) {
43 public BodyType type = BodyType.StaticBody;
Body.java 22 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
338 public void setType (BodyType type) {
339 org.jbox2d.dynamics.BodyType t = org.jbox2d.dynamics.BodyType.DYNAMIC;
340 if (type == BodyType.DynamicBody) t = org.jbox2d.dynamics.BodyType.DYNAMIC;
341 if (type == BodyType.KinematicBody) t = org.jbox2d.dynamics.BodyType.KINEMATIC;
342 if (type == BodyType.StaticBody) t = org.jbox2d.dynamics.BodyType.STATIC
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/box2d/
SimpleTest.java 33 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
53 groundBodyDef.type = BodyType.StaticBody;
76 boxBodyDef.type = BodyType.DynamicBody;
94 circleBodyDef.type = BodyType.DynamicBody;
DebugRendererTest.java 34 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
65 def.type = BodyType.DynamicBody;
74 def.type = BodyType.DynamicBody;
BodyTypes.java 35 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
67 bd.type = BodyType.DynamicBody;
79 bd.type = BodyType.DynamicBody;
116 bd.type = BodyType.DynamicBody;
137 if (keyCode == Keys.D) m_platform.setType(BodyType.DynamicBody);
138 if (keyCode == Keys.S) m_platform.setType(BodyType.StaticBody);
140 m_platform.setType(BodyType.KinematicBody);
150 if (m_platform.getType() == BodyType.KinematicBody) {
SphereStack.java 34 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
60 bd.type = BodyType.DynamicBody;
Cantilever.java 34 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
72 bd.type = BodyType.DynamicBody;
99 bd.type = BodyType.DynamicBody;
128 bd.type = BodyType.DynamicBody;
158 bd.type = BodyType.DynamicBody;
190 bd.type = BodyType.DynamicBody;
207 bd.type = BodyType.DynamicBody;
Bridge.java 34 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
73 bd.type = BodyType.DynamicBody;
104 bd.type = BodyType.DynamicBody;
121 bd.type = BodyType.DynamicBody;
Chain.java 34 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
75 bd.type = BodyType.DynamicBody;
ContinuousTest.java 34 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
64 bd.type = BodyType.DynamicBody;
Pyramid.java 34 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
67 bd.type = BodyType.DynamicBody;
VaryingRestitution.java 34 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
65 bd.type = BodyType.DynamicBody;
CollisionFiltering.java 34 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
87 triangleBodyDef.type = BodyType.DynamicBody;
107 bd.type = BodyType.DynamicBody;
141 boxBodyDef.type = BodyType.DynamicBody;
166 circleBodyDef.type = BodyType.DynamicBody;
VerticalStack.java 35 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
78 bd.type = BodyType.DynamicBody;
116 bd.type = BodyType.DynamicBody;
ConveyorBelt.java 22 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
68 bd.type = BodyType.DynamicBody;
OneSidedPlatform.java 34 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
80 bd.type = BodyType.DynamicBody;
Prismatic.java 35 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
63 bd.type = BodyType.DynamicBody;
CharacterCollision.java 34 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
105 bd.type = BodyType.DynamicBody;
124 bd.type = BodyType.DynamicBody;
151 bd.type = BodyType.DynamicBody;
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
StorageTest.java 113 private enum BodyType { COMPLETE, CHUNKED }
117 CacheStatus.DIRTY, BodyType.COMPLETE,
123 CacheStatus.DIRTY, BodyType.CHUNKED,
129 CacheStatus.CLEAN, BodyType.COMPLETE,
135 CacheStatus.CLEAN, BodyType.CHUNKED,
141 CacheStatus.DIRTY, BodyType.COMPLETE,
147 CacheStatus.DIRTY, BodyType.CHUNKED,
153 CacheStatus.CLEAN, BodyType.COMPLETE,
159 CacheStatus.CLEAN, BodyType.CHUNKED,
164 int dest, CacheStatus cache, BodyType body, int expectedStatus, int expectedReason
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
KinematicBodyTest.java 25 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
51 body.setType(BodyType.KinematicBody);
Box2DCharacterControllerTest.java 31 import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
86 Body ground = createEdge(BodyType.StaticBody, -50 + i * 2, y1, -50 + i * 2 + 2, y2, 0);
91 Body box = createBox(BodyType.StaticBody, 1, 1, 0);
93 box = createBox(BodyType.StaticBody, 1.2f, 1.2f, 0);
100 box = createBox(BodyType.DynamicBody, (float)Math.random(), (float)Math.random(), 3);
106 Body circle = createCircle(BodyType.DynamicBody, (float)Math.random() * 0.5f, 3);
118 Body createBox (BodyType type, float width, float height, float density) {
131 private Body createEdge (BodyType type, float x1, float y1, float x2, float y2, float density) {
145 Body createCircle (BodyType type, float radius, float density) {
160 def.type = BodyType.DynamicBody;
    [all...]

Completed in 273 milliseconds

1 2