Searched refs:expectedHeight (Results 1 – 6 of 6) sorted by relevance
/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/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | ItemBridgeAdapterTest.java | 107 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()
|
D | BaseCardViewTest.java | 69 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/ |
D | BaseWrapContentTest.java | 107 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/ |
D | ShortcutManagerTestUtils.java | 592 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/ |
D | ShortcutManagerTest1.java | 917 … protected void checkShrinkBitmap(int expectedWidth, int expectedHeight, int resId, int maxSize) { in checkShrinkBitmap() argument 918 assertBitmapSize(expectedWidth, expectedHeight, in checkShrinkBitmap()
|