Home
last modified time | relevance | path

Searched refs:expectedHeight (Results 1 – 6 of 6) 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/support/leanback/src/androidTest/java/androidx/leanback/widget/
DItemBridgeAdapterTest.java107 static void measureAndLayout(View view, int expectedWidth, int expectedHeight) { in measureAndLayout() argument
109 View.MeasureSpec.makeMeasureSpec(expectedHeight, View.MeasureSpec.EXACTLY)); in measureAndLayout()
110 view.layout(0, 0, expectedWidth, expectedHeight); in measureAndLayout()
DBaseCardViewTest.java69 void measureAndLayout(View view, int expectedWidth, int expectedHeight) { in measureAndLayout() argument
72 assertEquals(expectedHeight, view.getMeasuredHeight()); in measureAndLayout()
73 view.layout(0, 0, expectedWidth, expectedHeight); in measureAndLayout()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DBaseWrapContentTest.java107 int expectedHeight = rv.getPaddingTop() + rv.getPaddingBottom() + itemHeight; in unspecifiedWithHintTest() local
108 while (expectedHeight < 25) { in unspecifiedWithHintTest()
109 expectedHeight += itemHeight; in unspecifiedWithHintTest()
111 assertThat(rv.getHeight(), CoreMatchers.is(expectedHeight)); in unspecifiedWithHintTest()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java592 public static void assertBitmapSize(int expectedWidth, int expectedHeight, Bitmap bitmap) { in assertBitmapSize() argument
594 assertEquals("height", expectedHeight, bitmap.getHeight()); in assertBitmapSize()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java917 … protected void checkShrinkBitmap(int expectedWidth, int expectedHeight, int resId, int maxSize) { in checkShrinkBitmap() argument
918 assertBitmapSize(expectedWidth, expectedHeight, in checkShrinkBitmap()