Home
last modified time | relevance | path

Searched refs:intersects (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/tests/net/java/android/net/
DNetworkStatsHistoryTest.java500 assertFalse(stats.intersects(10, 20)); in testIntersects()
501 assertFalse(stats.intersects(TEST_START + YEAR_IN_MILLIS, TEST_START + YEAR_IN_MILLIS + 1)); in testIntersects()
502 assertFalse(stats.intersects(Long.MAX_VALUE, Long.MIN_VALUE)); in testIntersects()
504 assertTrue(stats.intersects(Long.MIN_VALUE, Long.MAX_VALUE)); in testIntersects()
505 assertTrue(stats.intersects(10, TEST_START + YEAR_IN_MILLIS)); in testIntersects()
506 assertTrue(stats.intersects(TEST_START, TEST_START)); in testIntersects()
507 assertTrue(stats.intersects(TEST_START + DAY_IN_MILLIS, TEST_START + DAY_IN_MILLIS + 1)); in testIntersects()
508 assertTrue(stats.intersects(TEST_START + DAY_IN_MILLIS, Long.MAX_VALUE)); in testIntersects()
509 assertTrue(stats.intersects(TEST_START + 1, Long.MAX_VALUE)); in testIntersects()
511 assertFalse(stats.intersects(Long.MIN_VALUE, TEST_START - 1)); in testIntersects()
[all …]
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.cpp55 static bool intersects(const SkISize screenSize, const Matrix4& mat, const SkRect& bounds) { in intersects() function
75 return SkRect::Make(screenSize).intersects(SkRect::MakeLTRB(minX, minY, maxX, maxY)); in intersects()
143 if (intersects(info.screenSize, totalMatrix, bounds)) { in prepareListAndChildren()
/frameworks/base/libs/hwui/
DRect.h103 bool intersects(float l, float t, float r, float b) const { in intersects() function
112 bool intersects(const Rect& r) const { return intersects(r.left, r.top, r.right, r.bottom); } in intersects() function
/frameworks/minikin/libs/minikin/
DCmapCoverage.cpp116 } else if (!Range::intersects(left, right)) { in mergeRanges()
133 while (Range::intersects(merged, left) || Range::intersects(merged, right)) { in mergeRanges()
134 if (Range::intersects(merged, left)) { in mergeRanges()
DMeasuredText.cpp282 if (!Range::intersects(range, runRange)) { in buildLayout()
302 if (!Range::intersects(range, runRange)) { in getBounds()
318 if (!Range::intersects(range, runRange)) { in getExtent()
/frameworks/base/graphics/java/android/graphics/
DRectF.java423 public boolean intersects(float left, float top, float right, in intersects() method in RectF
439 public static boolean intersects(@NonNull RectF a, @NonNull RectF b) { in intersects() method in RectF
DRect.java609 public boolean intersects(int left, int top, int right, int bottom) { in intersects() method in Rect
623 public static boolean intersects(@NonNull Rect a, @NonNull Rect b) { in intersects() method in Rect
/frameworks/minikin/include/minikin/
DRange.h72 inline static bool intersects(const Range& left, const Range& right) { in intersects() function
/frameworks/layoutlib/bridge/src/android/graphics/
DRegion_Delegate.java201 regionDelegate.mArea.intersects(left, top, right - left, bottom - top) == false; in quickReject()
217 regionDelegate.mArea.getBounds().intersects( in quickReject()
DRoundRectangle.java209 public boolean intersects(double x, double y, double w, double h) { in intersects() method in RoundRectangle
/frameworks/base/services/core/java/com/android/server/wm/
DLetterbox.java289 return Rect.intersects(rect, mLayoutFrameGlobal); in isOverlappingWith()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java697 if (ob.intersects(p) && !DEBUG_IDDQD) {
1207 public boolean intersects(Player p) {
1263 public boolean intersects(Player p) {
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java349 if (!magnifiedFrame.intersects(left, top, right, bottom)) { in requestRectangleOnScreen()
/frameworks/base/core/java/android/net/
DNetworkStatsHistory.java651 public boolean intersects(long start, long end) { in intersects() method in NetworkStatsHistory
/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java429 && (RectF.intersects(candidate, existingRectangle) in mergeRectangleIntoList()
DEditor.java4970 return Rect.intersects(handleRect, magnifierRect); in handleOverlapsMagnifier()
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java933 if (!visibleWinFrame.intersects(boundsInScreen.left, boundsInScreen.top, in applyAppScaleAndMagnificationSpecIfNeeded()
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java1233 if (Rect.intersects(visibleRectArray[i], visibleRectArray[j])) { in onMeasure()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt11368 method public boolean intersects(int, int, int, int);
11369 method public static boolean intersects(android.graphics.Rect, android.graphics.Rect);
11408 method public boolean intersects(float, float, float, float);
11409 method public static boolean intersects(android.graphics.RectF, android.graphics.RectF);
47791 method public boolean intersects(java.util.BitSet);
/frameworks/base/non-updatable-api/
Dcurrent.txt14905 method public boolean intersects(int, int, int, int);
14906 …method public static boolean intersects(@NonNull android.graphics.Rect, @NonNull android.graphics.…
14945 method public boolean intersects(float, float, float, float);
14946 …method public static boolean intersects(@NonNull android.graphics.RectF, @NonNull android.graphics…
70669 method public boolean intersects(java.util.BitSet);
/frameworks/base/api/
Dcurrent.txt14905 method public boolean intersects(int, int, int, int);
14906 …method public static boolean intersects(@NonNull android.graphics.Rect, @NonNull android.graphics.…
14945 method public boolean intersects(float, float, float, float);
14946 …method public static boolean intersects(@NonNull android.graphics.RectF, @NonNull android.graphics…
70813 method public boolean intersects(java.util.BitSet);
/frameworks/base/config/
Dboot-image-profile.txt5966 HSPLandroid/graphics/Rect;->intersects(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z
28515 HSPLjava/util/BitSet;->intersects(Ljava/util/BitSet;)Z
Dhiddenapi-greylist-max-o.txt44772 Landroid/net/NetworkStatsHistory;->intersects(JJ)Z