/external/replicaisland/src/com/replica/replicaisland/ |
CollisionVolume.java | 55 public abstract boolean intersects(Vector2 position, FlipInfo flip, CollisionVolume other, 58 public float getMinXPosition(FlipInfo flip) { 60 if (flip != null && flip.flipX) { 62 value = flip.parentWidth - maxX; 69 public float getMaxXPosition(FlipInfo flip) { 71 if (flip != null && flip.flipX) { 73 value = flip.parentWidth - minX; 80 public float getMinYPosition(FlipInfo flip) { [all...] |
SphereCollisionVolume.java | 85 public boolean intersects(Vector2 position, FlipInfo flip, CollisionVolume other, 91 result = other.intersects(otherPosition, otherFlip, this, position, flip); 94 offsetByCenter(mWorkspaceVector, mCenter, flip); 159 private static void offsetByCenter(Vector2 position, Vector2 center, FlipInfo flip) { 160 if (flip != null && (flip.flipX || flip.flipY)) { 161 if (flip.flipX) { 162 position.x += flip.parentWidth - center.x; 167 if (flip.flipY) [all...] |
AABoxCollisionVolume.java | 73 public boolean intersects(Vector2 position, FlipInfo flip, CollisionVolume other, 75 final float left = getMinXPosition(flip) + position.x; 76 final float right = getMaxXPosition(flip) + position.x; 77 final float bottom = getMinYPosition(flip) + position.y; 78 final float top = getMaxYPosition(flip) + position.y;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageFlip.java | 28 import com.android.gallery3d.filtershow.imageshow.GeometryMetadata.FLIP; 35 private FLIP mNextFlip = FLIP.NONE; 61 public void flip() { method in class:ImageFlip 62 FLIP flip = getLocalFlip(); local 64 // Picks next flip in order from enum FLIP (wrapping) 65 for (FLIP f : FLIP.values()) 91 FLIP flip = getLocalFlip(); local 113 FLIP flip = getLocalFlip(); local [all...] |
/external/guava/guava/src/com/google/common/primitives/ |
UnsignedInts.java | 50 static int flip(int value) { method in class:UnsignedInts 64 return Ints.compare(flip(a), flip(b)); 84 int min = flip(array[0]); 86 int next = flip(array[i]); 91 return flip(min); 104 int max = flip(array[0]); 106 int next = flip(array[i]); 111 return flip(max);
|
UnsignedLongs.java | 58 private static long flip(long a) { method in class:UnsignedLongs 72 return Longs.compare(flip(a), flip(b)); 85 long min = flip(array[0]); 87 long next = flip(array[i]); 92 return flip(min); 105 long max = flip(array[0]); 107 long next = flip(array[i]); 112 return flip(max);
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/template.bitset/bitset.members/ |
flip_one.pass.cpp | 10 // test bitset<N>& flip(size_t pos); 34 v.flip(50); 39 v.flip(50); 41 v.flip(50);
|
flip_all.pass.cpp | 10 // test bitset<N>& flip(); 33 v2.flip();
|
op_eq_eq.pass.cpp | 39 v2[N/2].flip();
|
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/ |
ASCCharsetDecoderTest.java | 51 // buffer.flip(); 61 buffer.flip();
|
GBCharsetDecoderTest.java | 56 buffer.flip();
|
UTFCharsetDecoderTest.java | 56 buffer.flip();
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
DDSLoader.java | 432 * @param flip Flip the loaded image by Y axis 437 public ByteBuffer readGrayscale2D(boolean flip, int totalSize) throws IOException { 452 if (flip) { 467 * @param flip Flip the image on the Y axis 472 public ByteBuffer readRGB2D(boolean flip, int totalSize) throws IOException { 508 if (flip) { 538 public ByteBuffer readDXT2D(boolean flip, int totalSize) throws IOException { 547 if (flip) { [all...] |
TGALoader.java | 85 boolean flip = ((TextureKey)info.getKey()).isFlipY(); 89 Image img = load(in, flip); 104 * @param flip 105 * Flip the image vertically 112 public static Image load(InputStream in, boolean flip) throws IOException { 153 if ((imageDescriptor & 32) != 0) // bit 5 : if 1, flip top/bottom ordering 154 flip = !flip; 155 if ((imageDescriptor & 16) != 0) // bit 4 : if 1, flip left/right ordering 222 if (!flip) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/ |
Grid.java | 93 fpb.flip(); 94 sib.flip();
|
/external/llvm/lib/CodeGen/ |
RegisterCoalescer.h | 77 /// flip - Swap SrcReg and DstReg. Return false if swapping is impossible 79 bool flip();
|
/frameworks/base/core/java/android/net/dhcp/ |
DhcpDeclinePacket.java | 48 result.flip();
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
FileChannelTest.java | 77 buffers[0].flip(); method 80 buffers[1].flip(); method 90 buffers[0].put("abcd".getBytes("US-ASCII")).flip(); method 91 buffers[1].put("ABCD".getBytes("US-ASCII")).flip(); method
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
PlaceholderAssets.java | 44 tempData.put(imageData).flip(); 67 bb.put((byte)0).flip();
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/ |
MessageProtocol.java | 75 buffer.flip(); 156 current.flip();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
OrientationMenuAction.java | 70 State flip = configuration.getNextDeviceState(current); local 71 String flipName = flip != null ? flip.getName() : current.getName(); 73 String.format("Switch to %1$s", flipName), flip, false, true)); 163 State state, boolean checked, boolean flip) { 171 setImageDescriptor(configuration.getOrientationImage(orientation, flip));
|
/packages/apps/Gallery2/jni/filters/ |
geometry.c | 51 __inline__ void flip_fun(int flip, char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 52 int horiz = (flip & 1) != 0; 53 int vert = (flip & 2) != 0; 130 void JNIFUNCF(ImageFilterGeometry, nativeApplyFilterFlip, jobject src, jint srcWidth, jint srcHeight, jobject dst, jint dstWidth, jint dstHeight, jint flip) { 138 flip_fun(flip, source, srcWidth, srcHeight, destination, dstWidth, dstHeight);
|
/external/guava/guava/src/com/google/common/hash/ |
AbstractStreamingHashFunction.java | 131 bb.flip(); 222 buffer.flip(); 240 buffer.flip();
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
BitSetTest.java | 339 fail("Test1: Attempt to flip with negative index failed to generate exception"); 346 fail("Test2: Attempt to flip with negative index failed to generate exception"); 356 fail("Test4: Attempt to flip with illegal args failed to generate exception"); 540 bs2.flip(0, 128); 583 * @tests java.util.BitSet#flip(int) 586 // Test for method void java.util.BitSet.flip(int) 591 bs.flip(9); 592 assertFalse("Failed to flip bit", bs.get(8)); 593 assertTrue("Failed to flip bit", bs.get(9)); 594 assertTrue("Failed to flip bit", bs.get(10)) [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
BitSetTest.java | 447 bs2.flip(0, 128); 698 bs.flip(9); 699 assertFalse("Failed to flip bit", bs.get(8)); 700 assertTrue("Failed to flip bit", bs.get(9)); 701 assertTrue("Failed to flip bit", bs.get(10)); 706 bs.flip(9); 707 assertTrue("Failed to flip bit", bs.get(8)); 708 assertFalse("Failed to flip bit", bs.get(9)); 709 assertFalse("Failed to flip bit", bs.get(10)); 712 bs.flip(-1) [all...] |