Home
last modified time | relevance | path

Searched refs:FixedSizeArray (Results 1 – 17 of 17) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DObjectManager.java29 private FixedSizeArray<BaseObject> mObjects;
30 private FixedSizeArray<BaseObject> mPendingAdditions;
31 private FixedSizeArray<BaseObject> mPendingRemovals;
35 mObjects = new FixedSizeArray<BaseObject>(DEFAULT_ARRAY_SIZE); in ObjectManager()
36 mPendingAdditions = new FixedSizeArray<BaseObject>(DEFAULT_ARRAY_SIZE); in ObjectManager()
37 mPendingRemovals = new FixedSizeArray<BaseObject>(DEFAULT_ARRAY_SIZE); in ObjectManager()
42 mObjects = new FixedSizeArray<BaseObject>(arraySize); in ObjectManager()
43 mPendingAdditions = new FixedSizeArray<BaseObject>(arraySize); in ObjectManager()
44 mPendingRemovals = new FixedSizeArray<BaseObject>(arraySize); in ObjectManager()
93 public final FixedSizeArray<BaseObject> getObjects() { in getObjects()
[all …]
DSolidSurfaceComponent.java24 private FixedSizeArray<Vector2> mStartPoints;
25 private FixedSizeArray<Vector2> mEndPoints;
26 private FixedSizeArray<Vector2> mNormals;
64 mStartPoints = new FixedSizeArray<Vector2>(maxSurfaceCount); in inititalize()
65 mEndPoints = new FixedSizeArray<Vector2>(maxSurfaceCount); in inititalize()
66 mNormals = new FixedSizeArray<Vector2>(maxSurfaceCount); in inititalize()
85 final FixedSizeArray<Vector2> startPoints = mStartPoints; in update()
86 final FixedSizeArray<Vector2> endPoints = mEndPoints; in update()
87 final FixedSizeArray<Vector2> normals = mNormals; in update()
DChangeComponentsComponent.java27 private FixedSizeArray<GameComponent> mComponentsToInsert;
28 private FixedSizeArray<GameComponent> mComponentsToRemove;
38 mComponentsToInsert = new FixedSizeArray<GameComponent>(MAX_COMPONENT_SWAPS); in ChangeComponentsComponent()
39 mComponentsToRemove = new FixedSizeArray<GameComponent>(MAX_COMPONENT_SWAPS); in ChangeComponentsComponent()
51 FixedSizeArray<GameComponent> unrelasedComponents = mComponentsToInsert; in reset()
130 FixedSizeArray<GameComponent> swap = mComponentsToInsert; in activate()
DAnimationFrame.java30 FixedSizeArray<CollisionVolume> attackVolumes;
31 FixedSizeArray<CollisionVolume> vulnerabilityVolumes;
40 FixedSizeArray<CollisionVolume> attackVolumeList, in AnimationFrame()
41 FixedSizeArray<CollisionVolume> vulnerabilityVolumeList) { in AnimationFrame()
DGameObjectFactory.java37 private FixedSizeArray<FixedSizeArray<BaseObject>> mStaticData;
38 private FixedSizeArray<GameComponentPool> mComponentPools;
186 mStaticData = new FixedSizeArray<FixedSizeArray<BaseObject>>(objectTypeCount); in GameObjectFactory()
258 …mComponentPools = new FixedSizeArray<GameComponentPool>(componentTypes.length, sComponentPoolCompa… in GameObjectFactory()
612 private FixedSizeArray<BaseObject> getStaticData(GameObjectType type) {
616 private void setStaticData(GameObjectType type, FixedSizeArray<BaseObject> data) {
633 FixedSizeArray<BaseObject> staticData = getStaticData(type);
653 FixedSizeArray<BaseObject> staticData = mStaticData.get(x);
700 FixedSizeArray<BaseObject> staticData = getStaticData(GameObjectType.PLAYER);
704 staticData = new FixedSizeArray<BaseObject>(staticObjectCount);
[all …]
DDynamicCollisionComponent.java29 private FixedSizeArray<CollisionVolume> mAttackVolumes;
30 private FixedSizeArray<CollisionVolume> mVulnerabilityVolumes;
63 public void setCollisionVolumes(FixedSizeArray<CollisionVolume> attackVolumes, in setCollisionVolumes()
64 FixedSizeArray<CollisionVolume> vulnerableVolumes) { in setCollisionVolumes()
DGameObjectManager.java38 private FixedSizeArray<BaseObject> mInactiveObjects;
39 private FixedSizeArray<GameObject> mMarkedForDeathObjects;
49 mInactiveObjects = new FixedSizeArray<BaseObject>(MAX_GAME_OBJECTS); in GameObjectManager()
52 mMarkedForDeathObjects = new FixedSizeArray<GameObject>(MAX_GAME_OBJECTS); in GameObjectManager()
82 FixedSizeArray<BaseObject> objects = getObjects(); in update()
159 FixedSizeArray<BaseObject> objects = getObjects(); in destroyAll()
DObjectPool.java26 private FixedSizeArray<Object> mAvailable;
65 mAvailable = new FixedSizeArray<Object>(mSize); in setSize()
72 protected FixedSizeArray<Object> getAvailable() { in getAvailable()
DGameObjectCollisionSystem.java42 FixedSizeArray<CollisionVolumeRecord> mObjects;
50 mObjects = new FixedSizeArray<CollisionVolumeRecord>(MAX_COLLIDING_OBJECTS); in GameObjectCollisionSystem()
85 FixedSizeArray<CollisionVolume> attackVolumes, in registerForCollisions()
86 FixedSizeArray<CollisionVolume> vulnerabilityVolumes) { in registerForCollisions()
199 FixedSizeArray<CollisionVolume> attackVolumes, in testAttackAgainstVulnerability()
200 FixedSizeArray<CollisionVolume> vulnerabilityVolumes, in testAttackAgainstVulnerability()
282 public FixedSizeArray<CollisionVolume> attackVolumes;
283 public FixedSizeArray<CollisionVolume> vulnerabilityVolumes;
DSpriteAnimation.java27 private FixedSizeArray<AnimationFrame> mFrames;
34 mFrames = new FixedSizeArray<AnimationFrame>(frameCount); in SpriteAnimation()
45 final FixedSizeArray<AnimationFrame> frames = mFrames; in getFrame()
DCollisionSystem.java48 private FixedSizeArray<LineSegment> mTemporarySegments;
49 private FixedSizeArray<LineSegment> mPendingTemporarySegments;
59 mTemporarySegments = new FixedSizeArray<LineSegment>(MAX_TEMPORARY_SEGMENTS); in CollisionSystem()
60 mPendingTemporarySegments = new FixedSizeArray<LineSegment>(MAX_TEMPORARY_SEGMENTS); in CollisionSystem()
152 Vector2 movementDirection, FixedSizeArray<HitPoint> hitPoints, in testBox()
260 FixedSizeArray<LineSegment> swap = mTemporarySegments; in update()
431 protected static boolean testSegmentAgainstList(FixedSizeArray<LineSegment> segments, in testSegmentAgainstList()
475 protected static boolean testBoxAgainstList(FixedSizeArray<LineSegment> segments, in testBoxAgainstList()
478 FixedSizeArray<HitPoint> outputHitPoints) { in testBoxAgainstList()
842 public FixedSizeArray<LineSegment> segments;
[all …]
DRenderSystem.java61 private void clearQueue(FixedSizeArray<BaseObject> objects) { in clearQueue()
82 FixedSizeArray<BaseObject> objects = mRenderQueues[lastQueue].getObjects(); in swap()
93 FixedSizeArray<BaseObject> objects = mRenderQueues[x].getObjects(); in emptyQueues()
DBufferLibrary.java23 private FixedSizeArray<Grid> mGridList;
28 mGridList = new FixedSizeArray<Grid>(GRID_LIST_SIZE); in BufferLibrary()
DFixedSizeArray.java32 public class FixedSizeArray<T> extends AllocationGuard { class
40 public FixedSizeArray(int size) { in FixedSizeArray() method in FixedSizeArray
51 public FixedSizeArray(int size, Comparator<T> comparator) { in FixedSizeArray() method in FixedSizeArray
DChannelSystem.java24 private FixedSizeArray<Channel> mChannels;
30 mChannels = new FixedSizeArray<Channel>(CHANNEL_COUNT); in ChannelSystem()
DSoundSystem.java36 private FixedSizeArray<Sound> mSounds;
44 mSounds = new FixedSizeArray<Sound>(MAX_SOUNDS, sSoundComparator); in SoundSystem()
DGameRenderer.java209 FixedSizeArray<BaseObject> objects = mDrawQueue.getObjects(); in onDrawFrame()