Home
last modified time | relevance | path

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

/aosp12/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A 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()
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DPhotoStoreTest.java128 int expectedHeight) throws IOException { in runStorageTestForResource() argument
148 assertEquals(expectedWidth + "/" + expectedHeight, c.getInt(0) + "/" + c.getInt(1)); in runStorageTestForResource()
158 int expectedHeight) throws IOException { in runStorageTestForResourceWithCrop() argument
169 assertEquals(expectedWidth + "/" + expectedHeight, c.getInt(0) + "/" + c.getInt(1)); in runStorageTestForResourceWithCrop()
/aosp12/packages/apps/TV/tests/unit/src/com/android/tv/util/images/
H A DScaledBitmapInfoTest.java69 int expectedHeight, in assertScaledBitmapSize() argument
77 .isEqualTo(expectedHeight); in assertScaledBitmapSize()
/aosp12/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
H A DWalletPanelViewController.java332 int expectedHeight = mPrefs.getInt(PREFS_WALLET_VIEW_HEIGHT, -1); in getExpectedMinHeight() local
333 if (expectedHeight == -1) { in getExpectedMinHeight()
335 expectedHeight = res.getDimensionPixelSize(R.dimen.min_wallet_empty_height); in getExpectedMinHeight()
337 return expectedHeight; in getExpectedMinHeight()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
H A DWalletScreenController.java288 int expectedHeight = mPrefs.getInt(PREFS_WALLET_VIEW_HEIGHT, -1); in getExpectedMinHeight() local
289 if (expectedHeight == -1) { in getExpectedMinHeight()
291 expectedHeight = res.getDimensionPixelSize(R.dimen.min_wallet_empty_height); in getExpectedMinHeight()
293 return expectedHeight; in getExpectedMinHeight()
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/util/
H A DBitmapUtilTests.java98 private void assertBitmapSize(int expectedWidth, int expectedHeight, Bitmap bitmap) { in assertBitmapSize() argument
100 assertEquals(expectedHeight, bitmap.getHeight()); in assertBitmapSize()
/aosp12/frameworks/av/services/camera/libcameraservice/tests/
H A 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()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
H A DTaskView.java1287 int expectedHeight; in getExpectedViewHeight() local
1290 expectedHeight = h; in getExpectedViewHeight()
1294 expectedHeight = view.getMeasuredHeight(); in getExpectedViewHeight()
1296 return expectedHeight; in getExpectedViewHeight()
1420 int expectedHeight;
1445 expectedHeight = boxHeight + thumbnailPadding;
1451 boxTranslationY = (expectedHeight - thumbnailPadding - taskHeight) / 2.0f;
1456 expectedHeight = ViewGroup.LayoutParams.MATCH_PARENT;
1461 if (params.width != expectedWidth || params.height != expectedHeight) {
1463 params.height = expectedHeight;
/aosp12/frameworks/base/media/tests/MtpTests/src/android/mtp/
H A DMtpDatabaseTest.java168 private void assertBitmapSize(int expectedWidth, int expectedHeight, Bitmap bitmap) { in assertBitmapSize() argument
173 bitmap.getHeight() >= expectedHeight); in assertBitmapSize()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationStackScrollLayoutTest.java209 final float expectedHeight = 0f; in testSetExpandedHeight_listenerReceivedCallbacks() local
212 Assert.assertEquals(expectedHeight, height, 0); in testSetExpandedHeight_listenerReceivedCallbacks()
214 mStackScroller.setExpandedHeight(expectedHeight); in testSetExpandedHeight_listenerReceivedCallbacks()
/aosp12/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
663 assertEquals("height", expectedHeight, bitmap.getHeight()); in assertBitmapSize()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest1.java1143 … protected void checkShrinkBitmap(int expectedWidth, int expectedHeight, int resId, int maxSize) { in checkShrinkBitmap() argument
1144 assertBitmapSize(expectedWidth, expectedHeight, in checkShrinkBitmap()