Home
last modified time | relevance | path

Searched refs:expectedHeight (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DNotificationShadeActivity.java106 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/
DBatterySpecsTest.kt80 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/
DWalletScreenController.java308 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/
DDepthProcessorTest.cpp249 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/
DMtpDatabaseTest.java168 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/
DQSFragmentTest.java358 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/
DLetterboxEduWindowManagerTest.java375 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/
DNotificationStackScrollLayoutTest.java375 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/
DShortcutManagerTestUtils.java661 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/
DSizeCompatTests.java3413 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/
DShortcutManagerTest1.java1146 … protected void checkShrinkBitmap(int expectedWidth, int expectedHeight, int resId, int maxSize) { in checkShrinkBitmap() argument
1147 assertBitmapSize(expectedWidth, expectedHeight, in checkShrinkBitmap()