Home
last modified time | relevance | path

Searched refs:expectedHeight (Results 1 – 5 of 5) 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/v17/leanback/tests/java/android/support/v17/leanback/widget/
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/tests/src/android/support/v7/widget/
DBaseWrapContentTest.java106 int expectedHeight = rv.getPaddingTop() + rv.getPaddingBottom() + itemHeight; in unspecifiedWithHintTest() local
107 while (expectedHeight < 25) { in unspecifiedWithHintTest()
108 expectedHeight += itemHeight; in unspecifiedWithHintTest()
110 assertThat(rv.getHeight(), CoreMatchers.is(expectedHeight)); in unspecifiedWithHintTest()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java586 public static void assertBitmapSize(int expectedWidth, int expectedHeight, Bitmap bitmap) { in assertBitmapSize() argument
588 assertEquals("height", expectedHeight, bitmap.getHeight()); in assertBitmapSize()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java877 … protected void checkShrinkBitmap(int expectedWidth, int expectedHeight, int resId, int maxSize) { in checkShrinkBitmap() argument
878 assertBitmapSize(expectedWidth, expectedHeight, in checkShrinkBitmap()