Searched refs:calculateBoundingRects (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsSourceTest.java | 287 final Rect[] rects = mSource.calculateBoundingRects(new Rect(0, 0, 1000, 1000), false); in testCalculateBoundingRects_noBoundingRects_createsSingleRect() 298 final Rect[] rects = mSource.calculateBoundingRects(new Rect(100, 100, 1100, 1100), false); in testCalculateBoundingRects_noBoundingRectsAndFrameNotAtOrigin_createsSingleRect() 309 final Rect[] rects = mSource.calculateBoundingRects(new Rect(0, 0, 500, 1000), false); in testCalculateBoundingRects_noBoundingRectsAndLargerFrame_singleRectFitsRelFrame() 323 final Rect[] rects = mSource.calculateBoundingRects(new Rect(0, 0, 1000, 1000), false); in testCalculateBoundingRects_frameAtOrigin_resultRelativeToRelFrame() 338 final Rect[] rects = mSource.calculateBoundingRects(new Rect(100, 100, 1100, 1100), false); in testCalculateBoundingRects_notAtOrigin_resultRelativeToRelFrame() 352 final Rect[] rects = mSource.calculateBoundingRects(new Rect(0, 0, 500, 100), false); in testCalculateBoundingRects_boundingRectFullyInsideFrameInWindow() 365 final Rect[] rects = mSource.calculateBoundingRects(new Rect(0, 0, 500, 100), false); in testCalculateBoundingRects_boundingRectOutsideFrameInWindow_dropped() 377 final Rect[] rects = mSource.calculateBoundingRects(new Rect(0, 0, 500, 100), false); in testCalculateBoundingRects_boundingRectPartlyOutsideFrameInWindow_cropped() 391 final Rect[] rects = mSource.calculateBoundingRects(new Rect(100, 100, 1100, 1100), false); in testCalculateBoundingRects_framesNotAtOrigin_resultRelativeToWindowFrame() 406 final Rect[] rects = mCaptionSource.calculateBoundingRects( in testCalculateBoundingRects_captionBar() [all …]
|
/frameworks/base/core/java/android/view/ |
D | InsetsSource.java | 356 public @NonNull Rect[] calculateBoundingRects(Rect relativeFrame, boolean ignoreVisibility) { in calculateBoundingRects() method in InsetsSource
|
D | InsetsState.java | 336 final Rect[] boundingRects = source.calculateBoundingRects(relativeFrame, ignoreVisibility); in processSource()
|