Home
last modified time | relevance | path

Searched refs:ShapeType (Results 1 – 25 of 56) sorted by relevance

123

/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/
DFixture.java19 import org.jbox2d.collision.shapes.ShapeType;
48 ShapeType type = fixture.getType(); in getType()
49 if (type == ShapeType.CIRCLE) return Type.Circle; in getType()
50 if (type == ShapeType.EDGE) return Type.Edge; in getType()
51 if (type == ShapeType.POLYGON) return Type.Polygon; in getType()
52 if (type == ShapeType.CHAIN) return Type.Chain; in getType()
60 ShapeType type = shape2.getType(); in getShape()
61 …if (type == ShapeType.CHAIN) shape = new ChainShape((org.jbox2d.collision.shapes.ChainShape)shape2… in getShape()
62 …if (type == ShapeType.CIRCLE) shape = new CircleShape((org.jbox2d.collision.shapes.CircleShape)sha… in getShape()
63 if (type == ShapeType.EDGE) shape = new EdgeShape((org.jbox2d.collision.shapes.EdgeShape)shape2); in getShape()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
DShapeRenderer.java81 public enum ShapeType { enum in ShapeRenderer
86 ShapeType (int glType) { in ShapeType() method in ShapeRenderer.ShapeType
102 private ShapeType shapeType;
199 begin(ShapeType.Line); in begin()
205 public void begin (ShapeType type) { in begin()
216 public void set (ShapeType type) { in set()
226 if (shapeType == ShapeType.Line) { in point()
230 } else if (shapeType == ShapeType.Filled) { in point()
235 check(ShapeType.Point, null, 1); in point()
268 if (shapeType == ShapeType.Filled) { in line()
[all …]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DShapeRendererAlphaTest.java22 import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
41 renderer.begin(ShapeType.Line); in render()
46 renderer.begin(ShapeType.Filled); in render()
51 renderer.begin(ShapeType.Line); in render()
56 renderer.begin(ShapeType.Filled); in render()
DShapeRendererTest.java27 import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
62 renderer.begin(ShapeType.Point); in render()
71 renderer.begin(ShapeType.Filled); in render()
94 renderer.begin(ShapeType.Line); in render()
DBitmapFontMetricsTest.java27 import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
86 renderer.begin(ShapeType.Filled); in render()
92 renderer.begin(ShapeType.Line); in render()
107 renderer.begin(ShapeType.Line); in render()
DDelaunayTriangulatorTest.java24 import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
88 renderer.begin(ShapeType.Filled); in render()
94 renderer.begin(ShapeType.Line); in render()
DPolygonSpriteTest.java30 import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
97 renderer.begin(ShapeType.Line); in render()
106 renderer.begin(ShapeType.Filled); in render()
DSpriteBatchOriginScaleTest.java25 import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
48 renderer.begin(ShapeType.Line); in render()
DVector2dTest.java24 import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
70 renderer.begin(ShapeType.Filled); in render()
76 renderer.begin(ShapeType.Line); in render()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/contacts/
DCircleContact.java28 import org.jbox2d.collision.shapes.ShapeType;
41 assert (m_fixtureA.getType() == ShapeType.CIRCLE); in init()
42 assert (m_fixtureB.getType() == ShapeType.CIRCLE); in init()
DPolygonContact.java28 import org.jbox2d.collision.shapes.ShapeType;
41 assert (m_fixtureA.getType() == ShapeType.POLYGON); in init()
42 assert (m_fixtureB.getType() == ShapeType.POLYGON); in init()
DPolygonAndCircleContact.java29 import org.jbox2d.collision.shapes.ShapeType;
42 assert (m_fixtureA.getType() == ShapeType.POLYGON); in init()
43 assert (m_fixtureB.getType() == ShapeType.CIRCLE); in init()
DEdgeAndCircleContact.java29 import org.jbox2d.collision.shapes.ShapeType;
43 assert (m_fixtureA.getType() == ShapeType.EDGE); in init()
44 assert (m_fixtureB.getType() == ShapeType.CIRCLE); in init()
DEdgeAndPolygonContact.java29 import org.jbox2d.collision.shapes.ShapeType;
43 assert (m_fixtureA.getType() == ShapeType.EDGE); in init()
44 assert (m_fixtureB.getType() == ShapeType.POLYGON); in init()
DChainAndCircleContact.java30 import org.jbox2d.collision.shapes.ShapeType;
44 assert (m_fixtureA.getType() == ShapeType.CHAIN); in init()
45 assert (m_fixtureB.getType() == ShapeType.CIRCLE); in init()
DChainAndPolygonContact.java30 import org.jbox2d.collision.shapes.ShapeType;
44 assert (m_fixtureA.getType() == ShapeType.CHAIN); in init()
45 assert (m_fixtureB.getType() == ShapeType.POLYGON); in init()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/shapes/
DShape.java39 public final ShapeType m_type;
42 public Shape(ShapeType type) { in Shape()
51 public ShapeType getType() { in getType()
/external/icu/icu4c/source/layout/
DArabicShaping.h57 typedef le_int32 ShapeType; typedef
68 static ShapeType getShapeType(LEUnicode c);
73 static const ShapeType shapeTypes[];
DArabicShaping.cpp17 const ArabicShaping::ShapeType ArabicShaping::shapeTypes[] =
34 ArabicShaping::ShapeType ArabicShaping::getShapeType(LEUnicode c) in getShapeType()
143 ShapeType rightType = ST_NOSHAPE_NONE, leftType = ST_NOSHAPE_NONE; in shape()
177 ShapeType t = getShapeType(c); in shape()
/external/skia/gm/
Ddstreadshuffle.cpp27 enum ShapeType { enum in skiagm::DstReadShuffle
47 ShapeType type) { in drawShape()
150 ShapeType shapeType = static_cast<ShapeType>(i); in onDraw()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/
DWorld.java52 import org.jbox2d.collision.shapes.ShapeType;
137 new ContactRegister[ShapeType.values().length][ShapeType.values().length];
217 private void addType(IDynamicStack<Contact> creator, ShapeType type1, ShapeType type2) { in addType()
232 addType(pool.getCircleContactStack(), ShapeType.CIRCLE, ShapeType.CIRCLE); in initializeRegisters()
233 addType(pool.getPolyCircleContactStack(), ShapeType.POLYGON, ShapeType.CIRCLE); in initializeRegisters()
234 addType(pool.getPolyContactStack(), ShapeType.POLYGON, ShapeType.POLYGON); in initializeRegisters()
235 addType(pool.getEdgeCircleContactStack(), ShapeType.EDGE, ShapeType.CIRCLE); in initializeRegisters()
236 addType(pool.getEdgePolyContactStack(), ShapeType.EDGE, ShapeType.POLYGON); in initializeRegisters()
237 addType(pool.getChainCircleContactStack(), ShapeType.CHAIN, ShapeType.CIRCLE); in initializeRegisters()
238 addType(pool.getChainPolyContactStack(), ShapeType.CHAIN, ShapeType.POLYGON); in initializeRegisters()
[all …]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/extensions/
DFreeTypeMetricsTest.java31 import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
96 renderer.begin(ShapeType.Filled); in render()
102 renderer.begin(ShapeType.Line); in render()
117 renderer.begin(ShapeType.Line); in render()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/gwt/
DGwtInputTest.java23 import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
38 renderer.begin(ShapeType.Filled); in render()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/
DTexturePackerTest.java27 import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
85 renderer.begin(ShapeType.Filled); in render()
93 renderer.begin(ShapeType.Line); in render()
/external/libgdx/extensions/gdx-bullet/src/com/badlogic/gdx/physics/bullet/
DDebugDrawer.java24 import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
96 shapeRenderer.begin(ShapeType.Line); in draw3dText()
117 shapeRenderer.begin(ShapeType.Line); in begin()

123