Home
last modified time | relevance | path

Searched refs:expectedWidth (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/compose/core/tests/src/com/android/compose/test/
H A DSizeAssertions.kt24 fun SemanticsNodeInteraction.assertSizeIsEqualTo(expectedWidth: Dp, expectedHeight: Dp) {
25 assertWidthIsEqualTo(expectedWidth)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/
H A DBatterySpecsTest.kt98 val expectedWidth = BATTERY_WIDTH * 0.6f regex
99 assertThat(mainWidth).isWithin(.0001f).of(expectedWidth)
/aosp14/frameworks/base/media/tests/MtpTests/src/android/mtp/
H A DMtpDatabaseTest.java168 private void assertBitmapSize(int expectedWidth, int expectedHeight, Bitmap bitmap) { in assertBitmapSize() argument
170 "Abnormal bitmap.width: " + bitmap.getWidth(), bitmap.getWidth() >= expectedWidth); in assertBitmapSize()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
H A DLetterboxEduWindowManagerTest.java396 int expectedWidth, int expectedHeight, int expectedExtraTopMargin, in verifyLayout() argument
398 assertThat(params.width).isEqualTo(expectedWidth); in verifyLayout()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWallpaperControllerTests.java157 int expectedWidth = (int) (wallpaperWidth * layoutScale + .5f); in testWallpaperSizeWithFixedTransform() local
160 assertEquals(expectedWidth, wallpaperWindow.getFrame().width()); in testWallpaperSizeWithFixedTransform()
/aosp14/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
H A DShortcutManagerTestUtils.java661 public static void assertBitmapSize(int expectedWidth, int expectedHeight, Bitmap bitmap) { in assertBitmapSize() argument
662 assertEquals("width", expectedWidth, bitmap.getWidth()); in assertBitmapSize()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest1.java1148 … protected void checkShrinkBitmap(int expectedWidth, int expectedHeight, int resId, int maxSize) { in checkShrinkBitmap() argument
1149 assertBitmapSize(expectedWidth, expectedHeight, in checkShrinkBitmap()