/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/test/ |
D | SizeAssertions.kt | 25 expectedWidth: Dp, in SemanticsNodeInteraction() 26 expectedHeight: Dp = expectedWidth, in SemanticsNodeInteraction() 28 assertWidthIsEqualTo(expectedWidth) in SemanticsNodeInteraction()
|
/frameworks/libs/systemui/weathereffects/graphics/tests/src/com/google/android/wallpaper/weathereffects/graphics/ |
D | FrameBufferTest.kt | 37 val expectedWidth = 1 in onImageReady_invokesCallback() constant 41 val buffer = FrameBuffer(expectedWidth, expectedHeight) in onImageReady_invokesCallback() 60 assertThat(resultBitmap.width).isEqualTo(expectedWidth) in onImageReady_invokesCallback()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/ |
D | BatterySpecsTest.kt | 98 val expectedWidth = BATTERY_WIDTH * 0.6f in getMainBatteryWidth_shieldTrue_returnsNotFullWidth() constant 99 assertThat(mainWidth).isWithin(.0001f).of(expectedWidth) in getMainBatteryWidth_shieldTrue_returnsNotFullWidth()
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | DepthProcessorTest.cpp | 248 size_t expectedWidth = kTestBufferWidth; in TEST() local 253 expectedWidth = kTestBufferHeight; in TEST() 304 ASSERT_EQ(depthMapWidth, expectedWidth); in TEST() 316 ASSERT_EQ(confidenceMapWidth, expectedWidth); in TEST()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | BigPictureIconManagerTest.kt | 257 assertSize(drawableCaptor.value, expectedWidth = 20, expectedHeight = 20) in onIconUpdated_supportedTypeButTooWide_resizedPlaceholderLoaded() 276 assertSize(drawableCaptor.value, expectedWidth = 20, expectedHeight = 20) in onIconUpdated_supportedTypeButTooHigh_resizedPlaceholderLoaded() 484 expectedWidth: Int = expectedDrawable.intrinsicWidth, in assertSize() 487 assertThat(drawable.intrinsicWidth).isEqualTo(expectedWidth) in assertSize()
|
/frameworks/base/libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/ |
D | BubblePositionerTest.kt | 231 val expectedWidth = resources.getDimensionPixelSize(R.dimen.bubble_bar_expanded_view_width) in testBubbleBarExpandedViewHeightAndWidth() constant 233 assertThat(positioner.getExpandedViewWidthForBubbleBar(false)).isEqualTo(expectedWidth) in testBubbleBarExpandedViewHeightAndWidth() 256 val expectedWidth = screenWidth - 15 /* horizontal insets */ - 2 * expandedViewSpacing in testBubbleBarExpandedViewHeightAndWidth_screenWidthTooSmall() constant 257 assertThat(positioner.getExpandedViewWidthForBubbleBar(false)).isEqualTo(expectedWidth) in testBubbleBarExpandedViewHeightAndWidth_screenWidthTooSmall()
|
/frameworks/base/media/tests/MtpTests/src/android/mtp/ |
D | MtpDatabaseTest.java | 168 private void assertBitmapSize(int expectedWidth, int expectedHeight, Bitmap bitmap) { in assertBitmapSize() argument 170 "Abnormal bitmap.width: " + bitmap.getWidth(), bitmap.getWidth() >= expectedWidth); in assertBitmapSize()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/ |
D | LetterboxEduWindowManagerTest.java | 396 int expectedWidth, int expectedHeight, int expectedExtraTopMargin, in verifyLayout() argument 398 assertThat(params.width).isEqualTo(expectedWidth); in verifyLayout()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WallpaperControllerTests.java | 145 int expectedWidth = (int) (wallpaperWidth * layoutScale + .5f); in testWallpaperSizeWithFixedTransform() local 148 assertEquals(expectedWidth, wallpaperWindow.getFrame().width()); in testWallpaperSizeWithFixedTransform()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/ |
D | WallpaperCropperTest.java | 235 int expectedWidth = (int) (displaySize.x * (1 + WallpaperCropper.MAX_PARALLAX)); in testGetAdjustedCrop_tooMuchParallax() local 236 Point expectedCropSize = new Point(expectedWidth, 1000); in testGetAdjustedCrop_tooMuchParallax()
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 661 public static void assertBitmapSize(int expectedWidth, int expectedHeight, Bitmap bitmap) { in assertBitmapSize() argument 662 assertEquals("width", expectedWidth, bitmap.getWidth()); in assertBitmapSize()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest1.java | 1199 … protected void checkShrinkBitmap(int expectedWidth, int expectedHeight, int resId, int maxSize) { in checkShrinkBitmap() argument 1200 assertBitmapSize(expectedWidth, expectedHeight, in checkShrinkBitmap()
|