Home
last modified time | relevance | path

Searched refs:flip (Results 1 – 25 of 136) sorted by relevance

123456

/external/replicaisland/src/com/replica/replicaisland/
DCollisionVolume.java55 public abstract boolean intersects(Vector2 position, FlipInfo flip, CollisionVolume other, in intersects() argument
58 public float getMinXPosition(FlipInfo flip) { in getMinXPosition() argument
60 if (flip != null && flip.flipX) { in getMinXPosition()
62 value = flip.parentWidth - maxX; in getMinXPosition()
69 public float getMaxXPosition(FlipInfo flip) { in getMaxXPosition() argument
71 if (flip != null && flip.flipX) { in getMaxXPosition()
73 value = flip.parentWidth - minX; in getMaxXPosition()
80 public float getMinYPosition(FlipInfo flip) { in getMinYPosition() argument
82 if (flip != null && flip.flipY) { in getMinYPosition()
84 value = flip.parentHeight - maxY; in getMinYPosition()
[all …]
DSphereCollisionVolume.java85 public boolean intersects(Vector2 position, FlipInfo flip, CollisionVolume other, in intersects() argument
91 result = other.intersects(otherPosition, otherFlip, this, position, flip); in intersects()
94 offsetByCenter(mWorkspaceVector, mCenter, flip); in intersects()
159 private static void offsetByCenter(Vector2 position, Vector2 center, FlipInfo flip) { in offsetByCenter() argument
160 if (flip != null && (flip.flipX || flip.flipY)) { in offsetByCenter()
161 if (flip.flipX) { in offsetByCenter()
162 position.x += flip.parentWidth - center.x; in offsetByCenter()
167 if (flip.flipY) { in offsetByCenter()
168 position.y += flip.parentHeight - center.y; in offsetByCenter()
DAABoxCollisionVolume.java73 public boolean intersects(Vector2 position, FlipInfo flip, CollisionVolume other, in intersects() argument
75 final float left = getMinXPosition(flip) + position.x; in intersects()
76 final float right = getMaxXPosition(flip) + position.x; in intersects()
77 final float bottom = getMinYPosition(flip) + position.y; in intersects()
78 final float top = getMaxYPosition(flip) + position.y; in intersects()
DLaunchProjectileComponent.java136 boolean flip = false; in launch()
139 flip = true; in launch()
148 GameObject object = factory.spawn(mObjectTypeToSpawn, x, y, flip); in launch()
159 mWorkingVector.x *= flip ? -mVelocityX : mVelocityX; in launch()
/external/guava/guava/src/com/google/common/primitives/
DUnsignedInts.java50 static int flip(int value) { in flip() method in UnsignedInts
64 return Ints.compare(flip(a), flip(b)); in compare()
84 int min = flip(array[0]); in min()
86 int next = flip(array[i]); in min()
91 return flip(min); in min()
104 int max = flip(array[0]); in max()
106 int next = flip(array[i]); in max()
111 return flip(max); in max()
DUnsignedLongs.java58 private static long flip(long a) { in flip() method in UnsignedLongs
72 return Longs.compare(flip(a), flip(b)); in compare()
85 long min = flip(array[0]); in min()
87 long next = flip(array[i]); in min()
92 return flip(min); in min()
105 long max = flip(array[0]); in max()
107 long next = flip(array[i]); in max()
112 return flip(max); in max()
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
DDDSLoader.java437 public ByteBuffer readGrayscale2D(boolean flip, int totalSize) throws IOException { in readGrayscale2D() argument
452 if (flip) { in readGrayscale2D()
472 public ByteBuffer readRGB2D(boolean flip, int totalSize) throws IOException { in readRGB2D() argument
508 if (flip) { in readRGB2D()
538 public ByteBuffer readDXT2D(boolean flip, int totalSize) throws IOException { in readDXT2D() argument
547 if (flip) { in readDXT2D()
575 public ByteBuffer readGrayscale3D(boolean flip, int totalSize) throws IOException { in readGrayscale3D() argument
592 if (flip) { in readGrayscale3D()
613 public ByteBuffer readRGB3D(boolean flip, int totalSize) throws IOException { in readRGB3D() argument
650 if (flip) { in readRGB3D()
[all …]
DTGALoader.java85 boolean flip = ((TextureKey)info.getKey()).isFlipY(); in load()
89 Image img = load(in, flip); in load()
112 public static Image load(InputStream in, boolean flip) throws IOException { in load() argument
154 flip = !flip; in load()
222 if (!flip) in load()
242 if (!flip) in load()
261 if (!flip) in load()
288 if( !flip ){ in load()
328 if( !flip ){ in load()
365 if( !flip ){ in load()
[all …]
DHDRLoader.java116 private short flip(int in){ in flip() method in HDRLoader
319 boolean flip = ((TextureKey) info.getKey()).isFlipY(); in load()
323 Image img = load(in, flip); in load()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DBitSetTest.java540 bs2.flip(0, 128); in test_getII()
591 bs.flip(9); in test_flipI()
599 bs.flip(9); in test_flipI()
605 bs.flip(-1); in test_flipI()
612 bs.flip(128); in test_flipI()
618 bs.flip(i); in test_flipI()
627 bs.flip(i); in test_flipI()
634 bs0.flip(0); in test_flipI()
638 bs0.flip(63); in test_flipI()
642 eightbs.flip(7); in test_flipI()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/effect/
DParticlePointMesh.java155 positions.flip(); in updateParticleData()
156 colors.flip(); in updateParticleData()
157 sizes.flip(); in updateParticleData()
158 texcoords.flip(); in updateParticleData()
/external/jmonkeyengine/engine/src/core/com/jme3/util/
DPlaceholderAssets.java44 tempData.put(imageData).flip(); in getPlaceholderImage()
67 bb.put((byte)0).flip(); in getPlaceholderAudio()
DBufferUtils.java174 buff.flip(); in createFloatBuffer()
196 buff.flip(); in createFloatBuffer()
211 buff.flip(); in createFloatBuffer()
467 buff.flip(); in createFloatBuffer()
668 buff.flip(); in createIntBuffer()
939 bb.flip(); in createByteBuffer()
947 bb.flip(); in createByteBuffer()
1021 buff.flip(); in createShortBuffer()
/external/llvm/include/llvm/ADT/
DSmallBitVector.h312 SmallBitVector &flip() { in flip() function
316 getPointer()->flip(); in flip()
320 SmallBitVector &flip(unsigned Idx) { in flip() function
324 getPointer()->flip(Idx); in flip()
330 return SmallBitVector(*this).flip();
/external/jmonkeyengine/engine/src/desktop/com/jme3/texture/plugins/
DAWTLoader.java161 data.flip(); in load()
181 data.flip(); in load()
197 boolean flip = ((TextureKey) info.getKey()).isFlipY(); in load()
201 Image img = load(in, flip); in load()
/external/guava/guava/src/com/google/common/hash/
DAbstractStreamingHashFunction.java131 bb.flip(); in processRemaining()
222 buffer.flip(); in hash()
240 buffer.flip(); in munch()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
DGrid.java93 fpb.flip(); in Grid()
94 sib.flip(); in Grid()
DSkeletonWire.java89 sib.flip(); in SkeletonWire()
104 posBuf.flip(); in updateGeometry()
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/
DMessageProtocol.java75 buffer.flip(); in messageToBuffer()
156 current.flip(); in addBuffer()
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DLwjglGL1Renderer.java177 fb16.put(color.r).put(color.g).put(color.b).put(color.a).flip(); in setMaterialColor()
179 … fb16.put(defaultColor.r).put(defaultColor.g).put(defaultColor.b).put(defaultColor.a).flip(); in setMaterialColor()
510 .put(1).flip(); in setLighting()
538 fb16.put(col.r).put(col.g).put(col.b).put(col.a).flip(); in setLighting()
544 fb16.put(pos.x).put(pos.y).put(pos.z).put(0.0f).flip(); in setLighting()
552 fb16.put(col.r).put(col.g).put(col.b).put(col.a).flip(); in setLighting()
558 fb16.put(pos.x).put(pos.y).put(pos.z).put(1.0f).flip(); in setLighting()
579 fb16.put(col.r).put(col.g).put(col.b).put(col.a).flip(); in setLighting()
585 fb16.put(pos.x).put(pos.y).put(pos.z).put(1.0f).flip(); in setLighting()
590 fb16.put(dir.x).put(dir.y).put(dir.z).put(1.0f).flip(); in setLighting()
/external/llvm/unittests/ADT/
DSmallBitVectorTest.cpp106 Vec.flip(60); in TEST()
109 Vec.flip(60); in TEST()
120 Vec.flip(); in TEST()
DBitVectorTest.cpp109 Vec.flip(60); in TEST()
112 Vec.flip(60); in TEST()
123 Vec.flip(); in TEST()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/
DAbstractBlenderHelper.java116 buff.flip(); in createByteBuffer()
138 buff.flip(); in createFloatBuffer()
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
DSocketChannelTest.java1865 readContent.flip(); in test_readLjava_nio_ByteBuffer_Blocking()
1911 readContent.flip(); in test_readLjava_nio_ByteBuffer_Nonblocking()
1926 writeContent.flip(); in test_writeLjava_nio_ByteBuffer_Blocking()
1961 writeContent.flip(); in test_writeLjava_nio_ByteBuffer_Blocking()
1976 writeContent.flip(); in test_writeLjava_nio_ByteBuffer_NonBlocking()
2020 writeContent.flip(); in test_writeLjava_nio_ByteBuffer_NonBlocking()
2139 buffer.flip(); in testReadByteBuffer_Direct2()
2406 writeBuf[0].flip(); in testWriteByteBufferArrayIntInt()
2407 writeBuf[1].flip(); in testWriteByteBufferArrayIntInt()
2444 writeBuf[0].flip(); in testWriteByteBufferArrayIntInt_Direct()
[all …]
DServerSocketChannelTest.java289 buf.flip(); in test_read_Blocking_RealData()
324 buf.flip(); in test_read_NonBlocking_RealData()
386 buf.flip(); in test_read_LByteBuffer_Blocking_ReadWriteRealLargeData()
431 buf.flip(); in test_read_LByteBuffer_NonBlocking_ReadWriteRealLargeData()
527 buf.flip(); in assertWriteResult()

123456