Searched defs:expectedHeight (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DNotificationShadeActivity.java106 private void updateState(int expectedHeight) { argument
107 if (expectedHeight == 0 && mChildrenCount == 0) {
114 if (mChildrenCount != 0 && expectedHeight < mFullHeight - lastChildHeight()) {
116 if (expectedHeight > mFullHeight - lastChildHeight()) {
123 } else if (expectedHeight > mFullHeight) {
124 while (expectedHeight > mFullHeight) {
144 int translationY = expectedHeight - mFullHeight;
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DBaseCardViewTest.java69 void measureAndLayout(View view, int expectedWidth, int expectedHeight) { argument
72 assertEquals(expectedHeight, view.getMeasuredHeight());
73 view.layout(0, 0, expectedWidth, expectedHeight);
H A DItemBridgeAdapterTest.java107 static void measureAndLayout(View view, int expectedWidth, int expectedHeight) { argument
109 View.MeasureSpec.makeMeasureSpec(expectedHeight, View.MeasureSpec.EXACTLY));
110 view.layout(0, 0, expectedWidth, expectedHeight);
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest1.java917 protected void checkShrinkBitmap(int expectedWidth, int expectedHeight, int resId, int maxSize) { argument
918 assertBitmapSize(expectedWidth, expectedHeight,
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
H A DShortcutManagerTestUtils.java592 public static void assertBitmapSize(int expectedWidth, int expectedHeight, Bitmap bitmap) { argument
594 assertEquals("height", expectedHeight, bitmap.getHeight());

Completed in 999 milliseconds