Searched refs:expectedWidth (Results 1 – 6 of 6) sorted by relevance
/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 108 view.measure(View.MeasureSpec.makeMeasureSpec(expectedWidth, 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 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/ |
D | ContextCompatTest.java | 186 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/ |
D | BaseWrapContentTest.java | 101 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/ |
D | ShortcutManagerTestUtils.java | 592 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/ |
D | ShortcutManagerTest1.java | 917 … protected void checkShrinkBitmap(int expectedWidth, int expectedHeight, int resId, int maxSize) { in checkShrinkBitmap() argument 918 assertBitmapSize(expectedWidth, expectedHeight, in checkShrinkBitmap()
|