/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | NotificationShadeActivity.java | 106 private void updateState(int expectedHeight) { in updateState() argument 107 if (expectedHeight == 0 && mChildrenCount == 0) { in updateState() 114 if (mChildrenCount != 0 && expectedHeight < mFullHeight - lastChildHeight()) { in updateState() 116 if (expectedHeight > mFullHeight - lastChildHeight()) { in updateState() 123 } else if (expectedHeight > mFullHeight) { in updateState() 124 while (expectedHeight > mFullHeight) { in updateState() 144 int translationY = expectedHeight - mFullHeight; in updateState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/ |
D | BatterySpecsTest.kt | 80 val expectedHeight = BATTERY_HEIGHT * 7.7f in getMainBatteryHeight_shieldTrue_returnsNotFullHeight() constant 81 assertThat(mainHeight).isWithin(.0001f).of(expectedHeight) in getMainBatteryHeight_shieldTrue_returnsNotFullHeight()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | WalletScreenController.java | 308 int expectedHeight = mPrefs.getInt(PREFS_WALLET_VIEW_HEIGHT, -1); in getExpectedMinHeight() local 309 if (expectedHeight == -1) { in getExpectedMinHeight() 311 expectedHeight = res.getDimensionPixelSize(R.dimen.min_wallet_empty_height); in getExpectedMinHeight() 313 return expectedHeight; in getExpectedMinHeight()
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | DepthProcessorTest.cpp | 249 size_t expectedHeight = kTestBufferHeight; in TEST() local 254 expectedHeight = kTestBufferWidth; in TEST() 305 ASSERT_EQ(depthMapHeight, expectedHeight); in TEST() 317 ASSERT_EQ(confidenceMapHeight, expectedHeight); in TEST()
|
/frameworks/base/media/tests/MtpTests/src/android/mtp/ |
D | MtpDatabaseTest.java | 168 private void assertBitmapSize(int expectedWidth, int expectedHeight, Bitmap bitmap) { in assertBitmapSize() argument 173 bitmap.getHeight() >= expectedHeight); in assertBitmapSize()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSFragmentTest.java | 358 int expectedHeight = top + height; in getQsMinExpansionHeight_inSplitShade_returnsAbsoluteBottomOfQSContainer() local 359 assertThat(fragment.getQsMinExpansionHeight()).isEqualTo(expectedHeight); in getQsMinExpansionHeight_inSplitShade_returnsAbsoluteBottomOfQSContainer() 373 int expectedHeight = top + height; in getQsMinExpansionHeight_inSplitShade_returnsAbsoluteBottomExcludingTranslation() local 374 assertThat(fragment.getQsMinExpansionHeight()).isEqualTo(expectedHeight); in getQsMinExpansionHeight_inSplitShade_returnsAbsoluteBottomExcludingTranslation()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/ |
D | LetterboxEduWindowManagerTest.java | 375 int expectedWidth, int expectedHeight, int expectedExtraTopMargin, in verifyLayout() argument 378 assertThat(params.height).isEqualTo(expectedHeight); in verifyLayout()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayoutTest.java | 375 final float expectedHeight = 0f; in testSetExpandedHeight_listenerReceivedCallbacks() local 378 Assert.assertEquals(expectedHeight, height, 0); in testSetExpandedHeight_listenerReceivedCallbacks() 380 mStackScroller.setExpandedHeight(expectedHeight); in testSetExpandedHeight_listenerReceivedCallbacks()
|
/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 663 assertEquals("height", expectedHeight, bitmap.getHeight()); in assertBitmapSize()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SizeCompatTests.java | 3413 final int expectedHeight = screenHeight / 2 - taskbarHeight; 3415 assertEquals(expectedHeight, capturedCrops.get(0).bottom); 3416 assertEquals(expectedHeight, capturedCrops.get(1).bottom);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest1.java | 1146 … protected void checkShrinkBitmap(int expectedWidth, int expectedHeight, int resId, int maxSize) { in checkShrinkBitmap() argument 1147 assertBitmapSize(expectedWidth, expectedHeight, in checkShrinkBitmap()
|