Searched refs:expectedWidth (Results 1 – 5 of 5) sorted by relevance
/frameworks/support/compat/tests/java/android/support/v4/content/ |
D | ContextCompatTest.java | 110 final int expectedWidth = scaleFromDensity(7, DisplayMetrics.DENSITY_LOW, in testDrawableConfigurationWorkaround() local 119 expectedWidth, referencedDrawable.getIntrinsicWidth()); in testDrawableConfigurationWorkaround()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
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/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | BaseWrapContentTest.java | 100 int expectedWidth = rv.getPaddingLeft() + rv.getPaddingRight() + itemWidth; in unspecifiedWithHintTest() local 101 while (expectedWidth < 25) { in unspecifiedWithHintTest() 102 expectedWidth += itemWidth; in unspecifiedWithHintTest() 104 assertThat(rv.getWidth(), CoreMatchers.is(expectedWidth)); in unspecifiedWithHintTest()
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 590 public static void assertBitmapSize(int expectedWidth, int expectedHeight, Bitmap bitmap) { in assertBitmapSize() argument 591 assertEquals("width", expectedWidth, bitmap.getWidth()); in assertBitmapSize()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest1.java | 877 … protected void checkShrinkBitmap(int expectedWidth, int expectedHeight, int resId, int maxSize) { in checkShrinkBitmap() argument 878 assertBitmapSize(expectedWidth, expectedHeight, in checkShrinkBitmap()
|