Home
last modified time | relevance | path

Searched refs:expectedBounds (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
H A DTvPipKeepClearAlgorithmTest.kt286 expectedBounds.offsetTo(expectedBounds.left, SCREEN_SIZE.height - STASH_OFFSET)
328 expectedBounds.offsetTo(SCREEN_SIZE.width - STASH_OFFSET, expectedBounds.top)
350 val expectedBounds = anchorBoundsOffsetBy( regex
377 expectedBounds.offsetTo(SCREEN_SIZE.width - STASH_OFFSET, expectedBounds.top)
408 expectedBounds.offsetTo(SCREEN_SIZE.width - STASH_OFFSET, expectedBounds.top)
440 expectedBounds.offsetTo(SCREEN_SIZE.width - STASH_OFFSET, expectedBounds.top)
549 expectedBounds.offsetTo(SCREEN_SIZE.width - STASH_OFFSET, expectedBounds.top)
560 var expectedBounds = Rect() regex
563 expectedBounds.inset(reverseInsets)
582 val expectedBounds = Rect() regex
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DStatusBarContentInsetsProviderTest.kt161 var expectedBounds = Rect(dcBounds.right, regex
180 expectedBounds = Rect(dcBounds.height(),
201 expectedBounds = Rect(minLeftPadding,
221 expectedBounds = Rect(minLeftPadding,
262 var expectedBounds = Rect(minLeftPadding, regex
281 expectedBounds = Rect(dcBounds.height(),
300 expectedBounds = Rect(minLeftPadding,
319 expectedBounds = Rect(minLeftPadding,
370 expectedBounds = Rect(minLeftPadding,
388 expectedBounds = Rect(minLeftPadding,
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/scrim/
H A DScrimViewTest.java96 Rect expectedBounds = new Rect(100, 100, 100, 100); in setDrawableBounds_propagatesToDrawable() local
100 assertEquals(expectedBounds, drawable.getBounds()); in setDrawableBounds_propagatesToDrawable()
103 assertEquals(expectedBounds, drawable.getBounds()); in setDrawableBounds_propagatesToDrawable()
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraErrorCollector.java567 public void expectRectCentered(String msg, Size expectedBounds, Rect actual, in expectRectCentered() argument
571 msg, expectedBounds, actual, errorPercent); in expectRectCentered()
573 int centerBoundX = expectedBounds.getWidth() / 2; in expectRectCentered()
574 int centerBoundY = expectedBounds.getHeight() / 2; in expectRectCentered()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityThreadTest.java262 final Rect expectedBounds = expectedConfig.windowConfiguration.getBounds(); in assertScreenScale() local
273 assertEquals(expectedBounds, currentConfig.windowConfiguration.getBounds()); in assertScreenScale()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTaskLaunchParamsModifierTests.java651 final Rect expectedBounds = new Rect(0, 0, 100, 100); in testBoundsInOptionsInfersFullscreenWithBoundsOnFreeformSupportFullscreenDisplay() local
652 options.setLaunchBounds(expectedBounds); in testBoundsInOptionsInfersFullscreenWithBoundsOnFreeformSupportFullscreenDisplay()
664 assertEquals(expectedBounds, mResult.mBounds); in testBoundsInOptionsInfersFullscreenWithBoundsOnFreeformSupportFullscreenDisplay()