Home
last modified time | relevance | path

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

12345678910>>...13

/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/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java94 protected ViewFlipper flip = null; field in ConsoleActivity
150 flip.removeAllViews();
209 synchronized (flip) { in closeBridge()
213 if (flip.getDisplayedChild() == flipIndex) { in closeBridge()
216 flip.removeViewAt(flipIndex); in closeBridge()
222 final int numChildren = flip.getChildCount(); in closeBridge()
223 if (flip.getDisplayedChild() >= numChildren && numChildren > 0) { in closeBridge()
224 flip.setDisplayedChild(numChildren - 1); in closeBridge()
229 if (flip.getChildCount() == 0) { in closeBridge()
236 View view = flip.getCurrentView(); in findCurrentView()
[all …]
/external/guava/guava/src/com/google/common/primitives/
DUnsignedInts.java54 static int flip(int value) { in flip() method in UnsignedInts
68 return Ints.compare(flip(a), flip(b)); in compare()
88 int min = flip(array[0]); in min()
90 int next = flip(array[i]); in min()
95 return flip(min); in min()
108 int max = flip(array[0]); in max()
110 int next = flip(array[i]); in max()
115 return flip(max); in max()
DUnsignedLongs.java62 private static long flip(long a) { in flip() method in UnsignedLongs
76 return Longs.compare(flip(a), flip(b)); in compare()
89 long min = flip(array[0]); in min()
91 long next = flip(array[i]); in min()
96 return flip(min); in min()
109 long max = flip(array[0]); in max()
111 long next = flip(array[i]); in max()
116 return flip(max); in max()
/external/minijail/
Dbpf.c237 int flip = 0; in bpf_arg_comp() local
246 flip = 0; in bpf_arg_comp()
250 flip = 1; in bpf_arg_comp()
254 flip = 1; in bpf_arg_comp()
258 flip = 1; in bpf_arg_comp()
262 flip = 0; in bpf_arg_comp()
266 flip = 0; in bpf_arg_comp()
270 flip = 0; in bpf_arg_comp()
274 flip = 0; in bpf_arg_comp()
285 unsigned char jt = flip ? NEXT : SKIP; in bpf_arg_comp()
[all …]
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DFakeTsiTest.java93 transportBuffer.flip(); in handshakeStateOrderTest()
104 transportBuffer.flip(); in handshakeStateOrderTest()
109 transportBuffer.flip(); in handshakeStateOrderTest()
120 transportBuffer.flip(); in handshakeStateOrderTest()
125 transportBuffer.flip(); in handshakeStateOrderTest()
136 transportBuffer.flip(); in handshakeStateOrderTest()
141 transportBuffer.flip(); in handshakeStateOrderTest()
152 transportBuffer.flip(); in handshakeStateOrderTest()
DAltsFramingTest.java41 buffer.flip(); in parserFrameLengthNegativeFails()
59 buffer.flip(); in parserFrameLengthSmallerMessageTypeFails()
77 buffer.flip(); in parserFrameLengthTooLargeFails()
100 buffer.flip(); in parserFrameLengthMaxOk()
119 buffer.flip(); in parserFrameLengthZeroOk()
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DValidationTestUtilTest.java77 expected.flip(); in testCorrectMessageParsing()
89 expected.flip(); in testCorrectMessageParsing()
100 expected.flip(); in testCorrectMessageParsing()
110 expected.flip(); in testCorrectMessageParsing()
122 expected.flip(); in testCorrectMessageParsing()
131 expected.flip(); in testCorrectMessageParsing()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DValPixConverter.java29 … public static float valToPix(double val, double min, double max, float lengthPix, boolean flip) { in valToPix() argument
38 if(flip) { in valToPix()
64 … public static double pixToVal(float pix, double min, double max, float lengthPix, boolean flip) { in pixToVal() argument
73 if(flip) { in pixToVal()
/external/guava/guava/src/com/google/common/collect/
DBoundType.java33 BoundType flip() { in flip() method
42 BoundType flip() { in flip() method
54 abstract BoundType flip(); in flip() method in BoundType
/external/libcxx/test/std/utilities/template.bitset/bitset.members/
Dflip_one.pass.cpp43 v.flip(50); in test_flip_one()
48 v.flip(50); in test_flip_one()
50 v.flip(50); in test_flip_one()
/external/u-boot/drivers/input/
Dinput.c264 int flip = -1; in process_modifier() local
268 flip = FLAG_SCROLL_LOCK; in process_modifier()
271 flip = FLAG_NUM_LOCK; in process_modifier()
274 flip = FLAG_CAPS_LOCK; in process_modifier()
278 if (flip != -1) { in process_modifier()
281 config->flags ^= flip; in process_modifier()
289 config->leds_changed = flip; in process_modifier()
/external/llvm/unittests/ADT/
DBitVectorTest.cpp55 Inv.flip(); in TYPED_TEST()
65 Vec.flip(); in TYPED_TEST()
119 Vec.flip(60); in TYPED_TEST()
122 Vec.flip(60); in TYPED_TEST()
133 Vec.flip(); in TYPED_TEST()
144 Vec.flip(); in TYPED_TEST()
160 Vec.flip(); in TYPED_TEST()
168 Inv = TypeParam().flip(); in TYPED_TEST()
/external/skia/samplecode/
DSampleDegenerateQuads.cpp114 bool flip = false; in get_edge_dist_coverage() local
122 flip = true; in get_edge_dist_coverage()
126 if (flip) { in get_edge_dist_coverage()
131 const SkPoint* lines = flip ? insetLines : outsetLines; in get_edge_dist_coverage()
136 SkScalar d = (flip ? 1 : -1) * signed_distance(point, lines[i * 2], lines[i * 2 + 1]); in get_edge_dist_coverage()
155 bool flip = signed_distance(t0, t1, t2) < 0.f; in inside_triangle() local
157 SkScalar d0 = (flip ? -1 : 1) * signed_distance(point, t0, t1); in inside_triangle()
158 SkScalar d1 = (flip ? -1 : 1) * signed_distance(point, t1, t2); in inside_triangle()
159 SkScalar d2 = (flip ? -1 : 1) * signed_distance(point, t2, t0); in inside_triangle()
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/
DEngineWrapBenchmark.java91 messageBuffer.flip(); in EngineWrapBenchmark()
142 dst.flip(); in doWrap()
147 dst.flip(); in doUnwrap()
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
DEngineWrapBenchmark.java89 messageBuffer.flip(); in EngineWrapBenchmark()
140 dst.flip(); in doWrap()
145 dst.flip(); in doUnwrap()
/external/wycheproof/java/com/google/security/wycheproof/testcases/
DAesGcmTest.java235 ctBuffer.flip(); in testByteBuffer()
255 ptBuffer.flip(); in testByteBufferAlias()
263 ctBuffer.flip(); in testByteBufferAlias()
284 ctBuffer.flip(); in testReadOnlyByteBuffer()
308 ptBuffer.flip(); in testByteBufferWithOffset()
317 ctBuffer.flip(); in testByteBufferWithOffset()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/util/
DUriEncoderTest.java35 buff.flip(); in testDecode()
43 buff.flip(); in testFailDecode()
/external/swiftshader/third_party/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSharedMemoryTest.java33 fooBuf.flip(); in mapReadWrite_shouldReflectWrites()
87 fooBuf.flip(); in create_shouldIgnoreDebugNameForIdentity()
89 barBuf.flip(); in create_shouldIgnoreDebugNameForIdentity()
/external/swiftshader/src/WSI/
DFrameBufferGDI.hpp29 void flip(sw::Surface *source) override;
32 void flip(HWND windowOverride, sw::Surface *source) override;
/external/swiftshader/src/Main/
DFrameBufferWin.hpp36 void flip(sw::Surface *source) override = 0;
39 virtual void flip(HWND windowOverride, sw::Surface *source) = 0;

12345678910>>...13