/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/ |
RectRegionTest.java | 66 assertTrue(region1.intersects(region2));
67 assertTrue(region2.intersects(region1));
70 assertFalse(region1.intersects(region3));
71 assertFalse(region3.intersects(region1));
74 assertTrue(region1.intersects(region4));
75 assertTrue(region4.intersects(region1));
79 assertTrue(region1.intersects(region5));
80 assertTrue(region5.intersects(region1));
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ |
RegionTest.java | 46 assertFalse(line1.intersects(line2));
49 assertTrue(line1.intersects(line2));
53 assertTrue(line1.intersects(line2));
57 assertFalse(line1.intersects(line2));
|
LineRegionTest.java | 62 assertFalse(line1.intersects(line2));
65 assertTrue(line1.intersects(line2));
69 assertTrue(line1.intersects(line2));
73 assertFalse(line1.intersects(line2));
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterRedEyeRepresentation.java | 51 Vector<RedEyeCandidate> intersects = new Vector<RedEyeCandidate>(); local 55 intersects.add(r); 58 for (int i = 0; i < intersects.size(); i++) { 59 RedEyeCandidate r = intersects.elementAt(i);
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
RectRegion.java | 73 public boolean intersects(RectRegion region) {
method in class:RectRegion 74 return intersects(region.getMinX(), region.getMaxX(), region.getMinY(), region.getMaxY());
79 * Tests whether this region intersects the region defined by params. Use
89 public boolean intersects(Number minX, Number maxX, Number minY, Number maxY) {
method in class:RectRegion 90 return xLineRegion.intersects(minX, maxX) && yLineRegion.intersects(minY, maxY);
93 public boolean intersects(RectF region, Number visMinX, Number visMaxX, Number visMinY, Number visMaxY) {
method in class:RectRegion 97 return RectF.intersects(thisRegion, region);
134 if(r.intersects(minX, maxX, minY, maxY)) {
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ |
LineRegion.java | 54 public boolean intersects(LineRegion lineRegion) {
method in class:LineRegion 55 return intersects(lineRegion.getMinVal(), lineRegion.getMaxVal());
59 * Tests whether this segment intersects another
64 public boolean intersects(Number line2Min, Number line2Max) {
method in class:LineRegion
|
/external/opencv3/3rdparty/openexr/Imath/ |
ImathInterval.h | 97 bool intersects(const T &point) const; 98 bool intersects(const Interval<T> &interval) const; 183 Interval<T>::intersects(const T& point) const function in class:Imath::Interval 190 Interval<T>::intersects(const Interval<T>& interval) const function in class:Imath::Interval
|
ImathBox.h | 112 bool intersects (const T &point) const; 113 bool intersects (const Box<T> &box) const; 231 Box<T>::intersects(const T &point) const function in class:Imath::Box 245 Box<T>::intersects(const Box<T> &box) const function in class:Imath::Box 383 bool intersects (const Vec2<T> &point) const; 384 bool intersects (const Box<Vec2<T> > &box) const; 493 Box<Vec2<T> >::intersects (const Vec2<T> &point) const function in class:Imath::Box 505 Box<Vec2<T> >::intersects (const Box<Vec2<T> > &box) const function in class:Imath::Box 625 bool intersects (const Vec3<T> &point) const; 626 bool intersects (const Box<Vec3<T> > &box) const 748 Box<Vec3<T> >::intersects (const Vec3<T> &point) const function in class:Imath::Box 761 Box<Vec3<T> >::intersects (const Box<Vec3<T> > &box) const function in class:Imath::Box [all...] |
/frameworks/base/libs/hwui/ |
Snapshot.h | 53 return rect.intersects(dangerRects[0]) 54 || rect.intersects(dangerRects[1]) 55 || rect.intersects(dangerRects[2]) 56 || rect.intersects(dangerRects[3]);
|
ShadowTessellator.cpp | 49 if (!localClip.intersects(ambientShadowBounds)) { 100 if (!lightRect.intersects(casterBounds)) {
|
/external/skia/tests/ |
PathOpsDRectTest.cpp | 52 REPORTER_ASSERT(reporter, rect.intersects(rect2)); 64 REPORTER_ASSERT(reporter, rect.intersects(rect2));
|
RegionTest.cpp | 17 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect)) 18 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect)) 87 // test intersects 88 REPORTER_ASSERT(reporter, !empty.intersects(empty2)); 89 REPORTER_ASSERT(reporter, !valid.intersects(empty)); 174 REPORTER_ASSERT(reporter, rgn.intersects(r)); 176 REPORTER_ASSERT(reporter, rgn.intersects(r)); 183 bool c0 = a.intersects(b);
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Polygon.java | 201 int intersects = 0;
208 if (((y1 <= y && y < y2) || (y2 <= y && y < y1)) && x < ((x2 - x1) / (y2 - y1) * (y - y1) + x1)) intersects++;
210 return (intersects & 1) == 1;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/api/ |
RectTest.java | 176 assertTrue(r1.intersects(r2)); 177 assertTrue(r2.intersects(r1)); 178 assertTrue(r1.intersects(r4)); 179 assertFalse(r1.intersects(r3)); 180 assertFalse(r1.intersects(r5)); 181 assertFalse(r1.intersects(r6));
|
/external/icu/icu4c/source/i18n/ |
scriptset.h | 49 UBool intersects(const ScriptSet &other) const; // Sets contain at least one script in commmon.
|
identifier_info.cpp | 155 if (!fRequiredScripts->intersects(scriptsForCP) 177 if (fRequiredScripts->intersects(*next)) { 251 !fRequiredScripts->intersects(*CONFUSABLE_WITH_LATIN)) { 278 if (!container.intersects(*alternatives)) {
|
/external/replicaisland/src/com/replica/replicaisland/ |
CollisionVolume.java | 55 public abstract boolean intersects(Vector2 position, FlipInfo flip, CollisionVolume other, method in class:CollisionVolume
|
SphereCollisionVolume.java | 85 public boolean intersects(Vector2 position, FlipInfo flip, CollisionVolume other, method in class:SphereCollisionVolume 91 result = other.intersects(otherPosition, otherFlip, this, position, flip);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
RectTest.java | 132 assertThat(Rect.intersects(a, b), is(false)); 136 public void intersects() { method in class:RectTest 139 assertThat(Rect.intersects(a, b), is(true)); 146 assertThat(Rect.intersects(a, b), is(false));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
BitSetTest.java | [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowRect.java | 93 public static boolean intersects(Rect a, Rect b) { method in class:ShadowRect 100 return intersects(realRect, r);
|
/external/skia/bench/ |
RegionBench.cpp | 49 return a.intersects(b); 55 return a.intersects(r);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
IdentifierInfo.java | 135 if (!requiredScripts.intersects(scriptsForCP) 151 if (requiredScripts.intersects(next)) { 275 if (cardinalityPlus == 2 && requiredScripts.get(UScript.LATIN) && !requiredScripts.intersects(CONFUSABLE_WITH_LATIN)) { 322 if (!container.intersects(alternatives)) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
IdentifierInfo.java | 133 if (!requiredScripts.intersects(scriptsForCP) 149 if (requiredScripts.intersects(next)) { 273 if (cardinalityPlus == 2 && requiredScripts.get(UScript.LATIN) && !requiredScripts.intersects(CONFUSABLE_WITH_LATIN)) { 320 if (!container.intersects(alternatives)) {
|
/external/skia/src/pathops/ |
SkPathOpsRect.h | 29 bool intersects(const SkDRect& r) const { function in struct:SkDRect
|