Home
last modified time | relevance | path

Searched refs:expectedWidth (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DItemBridgeAdapterTest.java107 static void measureAndLayout(View view, int expectedWidth, int expectedHeight) { in measureAndLayout() argument
108 view.measure(View.MeasureSpec.makeMeasureSpec(expectedWidth, 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
71 assertEquals(expectedWidth, view.getMeasuredWidth()); in measureAndLayout()
73 view.layout(0, 0, expectedWidth, expectedHeight); in measureAndLayout()
/frameworks/support/compat/src/androidTest/java/androidx/core/content/
DContextCompatTest.java186 final int expectedWidth = scaleFromDensity(7, DisplayMetrics.DENSITY_LOW, in testDrawableConfigurationWorkaround() local
195 expectedWidth, referencedDrawable.getIntrinsicWidth()); in testDrawableConfigurationWorkaround()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DBaseWrapContentTest.java101 int expectedWidth = rv.getPaddingLeft() + rv.getPaddingRight() + itemWidth; in unspecifiedWithHintTest() local
102 while (expectedWidth < 25) { in unspecifiedWithHintTest()
103 expectedWidth += itemWidth; in unspecifiedWithHintTest()
105 assertThat(rv.getWidth(), CoreMatchers.is(expectedWidth)); 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
593 assertEquals("width", expectedWidth, bitmap.getWidth()); 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()