Searched refs:drawableHeight (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | CompoundButtonTest.java | 280 int drawableHeight; in testOnDraw() local 297 drawableHeight = drawable.getIntrinsicHeight(); in testOnDraw() 304 assertEquals(drawableHeight, bounds.bottom); in testOnDraw() 312 assertEquals(viewHeight - drawableHeight, bounds.top); in testOnDraw() 321 assertEquals( (viewHeight - drawableHeight) / 2, bounds.top); in testOnDraw() 322 assertEquals( (viewHeight - drawableHeight) / 2 + drawableHeight, bounds.bottom); in testOnDraw()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | TestUtils.java | 175 int drawableWidth, int drawableHeight, boolean callSetBounds, @ColorInt int color, in assertAllPixelsOfColor() argument 178 Bitmap bitmap = Bitmap.createBitmap(drawableWidth, drawableHeight, in assertAllPixelsOfColor() 184 drawable.setBounds(0, 0, drawableWidth, drawableHeight); in assertAllPixelsOfColor() 195 new Rect(0, 0, drawableWidth, drawableHeight), color, in assertAllPixelsOfColor()
|