/frameworks/base/core/tests/coretests/src/android/net/ |
NetworkStatsHistoryTest.java | 472 assertFalse(stats.intersects(10, 20)); 473 assertFalse(stats.intersects(TEST_START + YEAR_IN_MILLIS, TEST_START + YEAR_IN_MILLIS + 1)); 474 assertFalse(stats.intersects(Long.MAX_VALUE, Long.MIN_VALUE)); 476 assertTrue(stats.intersects(Long.MIN_VALUE, Long.MAX_VALUE)); 477 assertTrue(stats.intersects(10, TEST_START + YEAR_IN_MILLIS)); 478 assertTrue(stats.intersects(TEST_START, TEST_START)); 479 assertTrue(stats.intersects(TEST_START + DAY_IN_MILLIS, TEST_START + DAY_IN_MILLIS + 1)); 480 assertTrue(stats.intersects(TEST_START + DAY_IN_MILLIS, Long.MAX_VALUE)); 481 assertTrue(stats.intersects(TEST_START + 1, Long.MAX_VALUE)); 483 assertFalse(stats.intersects(Long.MIN_VALUE, TEST_START - 1)) [all...] |
/frameworks/base/libs/hwui/ |
LayerBuilder.cpp | 38 bool intersects(const Rect& rect) const { function in class:android::uirenderer::BatchBase 39 if (!rect.intersects(mBounds)) return false; 42 if (rect.intersects(op->computedState.clippedBounds)) { 132 if (intersects(op->computedState.clippedBounds)) return false; 225 if (overBatch->intersects(clippedBounds)) {
|
Rect.h | 135 bool intersects(float l, float t, float r, float b) const { function in class:android::uirenderer::Rect 144 bool intersects(const Rect& r) const { function in class:android::uirenderer::Rect 145 return intersects(r.left, r.top, r.right, r.bottom);
|
CanvasState.cpp | 256 * @param clipRequired if not null, will be set to true if element intersects clip 277 if (!clipRect.intersects(r)) return true; 279 // clip is required if geometry intersects clip rect 284 // round rect clip is required if RR clip exists, and geometry intersects its corners 305 if (!clipRect.intersects(r)) return true;
|
DeferredDisplayList.cpp | 79 bool intersects(const Rect& rect) { function in class:android::uirenderer::DrawBatch 80 if (!rect.intersects(mBounds)) return false; 83 if (rect.intersects(mOps[i].state->mBounds)) { 85 DEFER_LOGD("op intersects with op %p with bounds %f %f %f %f:", mOps[i].op, 189 if (intersects(state->mBounds)) return false; 571 if (overBatch->intersects(state->mBounds)) {
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
RectTest.java | 74 assertTrue(mRect.intersects(5, 5, 15, 15)); 81 assertFalse(mRect.intersects(15, 15, 25, 25)); 96 assertTrue(Rect.intersects(rect1, rect2)); 100 assertFalse(Rect.intersects(rect1, rect2));
|
RectFTest.java | 111 assertTrue(mRectF.intersects(5, 5, 15, 15)); 118 assertFalse(mRectF.intersects(15, 15, 25, 25)); 133 assertTrue(RectF.intersects(rectF1, rectF2)); 137 assertFalse(RectF.intersects(rectF1, rectF2));
|
/cts/tools/dasm/src/java_cup/ |
terminal_set.java | 183 /** Determine if this set intersects another. 186 public boolean intersects(terminal_set other) method in class:terminal_set
|
/external/replicaisland/src/com/replica/replicaisland/ |
AABoxCollisionVolume.java | 73 public boolean intersects(Vector2 position, FlipInfo flip, CollisionVolume other, method in class:AABoxCollisionVolume
|
GameObjectCollisionSystem.java | 134 if (testRequired && record.boundingVolume.intersects(position, sFlip, 195 * @return The hit type of the first attacking volume that intersects a vulnerability volume, 217 if (attackVolume.intersects(attackPosition, attackFlip,
|
/external/skia/include/core/ |
SkRegion.h | 148 bool intersects(const SkIRect&) const; 154 bool intersects(const SkRegion&) const; 212 !SkIRect::Intersects(fBounds, rect); 222 !SkIRect::Intersects(fBounds, rgn.fBounds);
|
/external/skia/samplecode/ |
SampleXfer.cpp | 92 if (r.intersects(target)) { 119 return this->getBounds().intersects(target);
|
OverView.cpp | 80 if (this->bounds(loc).intersects(crect)) {
|
/frameworks/support/compat/api21/android/support/v4/view/ |
ViewCompatLollipop.java | 202 needInvalidateWorkaround = !parentRect.intersects(view.getLeft(), view.getTop(), 227 needInvalidateWorkaround = !parentRect.intersects(view.getLeft(), view.getTop(),
|
/external/llvm/include/llvm/ADT/ |
SparseBitVector.h | 177 bool intersects(const SparseBitVectorElement &RHS) const { 230 // Three argument version of intersectWithComplement that intersects 760 bool intersects(const SparseBitVector<ElementSize> *RHS) const { 761 return intersects(*RHS); 765 bool intersects(const SparseBitVector<ElementSize> &RHS) const { 781 if (Iter1->intersects(*Iter2))
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
IncludeOverlay.java | 110 if (hole.intersects(r)) {
|
/frameworks/base/graphics/java/android/graphics/ |
RectF.java | 327 * If the rectangle specified by left,top,right,bottom intersects this 331 * intersection, use intersects() 365 * If the specified rectangle intersects this rectangle, return true and set 368 * is empty. To just test for intersection, use intersects() 383 * To just test for intersection, use intersects() 404 * Returns true if this rectangle intersects the specified rectangle. 414 * @return true iff the specified rectangle intersects this rectangle. In 417 public boolean intersects(float left, float top, float right, method in class:RectF 433 public static boolean intersects(RectF a, RectF b) { method in class:RectF
|
Rect.java | 409 * If the rectangle specified by left,top,right,bottom intersects this 413 * intersection, use {@link #intersects(Rect, Rect)}. 439 * If the specified rectangle intersects this rectangle, return true and set 442 * is empty. To just test for intersection, use intersects() 458 * To just test for intersection, use intersects() 479 * Returns true if this rectangle intersects the specified rectangle. 489 * @return true iff the specified rectangle intersects this rectangle. In 492 public boolean intersects(int left, int top, int right, int bottom) { method in class:Rect 506 public static boolean intersects(Rect a, Rect b) { method in class:Rect
|
/libcore/luni/src/test/java/libcore/java/util/ |
BitSetTest.java | 218 assertFalse(big().intersects(small())); 219 assertFalse(small().intersects(big()));
|
/external/harfbuzz_ng/src/ |
hb-ot-layout-common-private.hh | 157 inline bool intersects (const hb_set_t *glyphs) const { function in struct:OT::RangeRecord 158 return glyphs->intersects (start, end); 811 range.intersects (glyphs)) 905 inline bool intersects (const hb_set_t *glyphs) const { function in struct:OT::Coverage [all...] |
/external/skia/tests/ |
WritePixelsTest.cpp | 387 bool intersects = SkIRect::Intersects(canvasRect, writeRect) ; local 388 REPORTER_ASSERT(reporter, intersects == (idBefore != idAfter));
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Region_Delegate.java | 201 regionDelegate.mArea.intersects(left, top, right - left, bottom - top) == false; 217 regionDelegate.mArea.getBounds().intersects(
|
/external/deqp/framework/common/ |
tcuInterval.hpp | 119 bool intersects (const Interval& other) const function in class:tcu::Interval
|
/external/icu/icu4c/source/i18n/ |
scriptset.cpp | 127 UBool ScriptSet::intersects(const ScriptSet &other) const { function in class:ScriptSet
|
/external/icu/icu4c/source/test/intltest/ |
itspoof.cpp | 618 TEST_ASSERT(s2.intersects(s1)); 619 TEST_ASSERT(s1.intersects(s2)); 623 TEST_ASSERT(s1.intersects(s2)); 624 TEST_ASSERT(s2.intersects(s1));
|