Home
last modified time | relevance | path

Searched refs:drawableHeight (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DCompoundButtonTest.java315 int drawableHeight; in testOnDraw() local
332 drawableHeight = drawable.getIntrinsicHeight(); in testOnDraw()
339 assertEquals(drawableHeight, bounds.bottom); in testOnDraw()
347 assertEquals(viewHeight - drawableHeight, bounds.top); in testOnDraw()
356 assertEquals( (viewHeight - drawableHeight) / 2, bounds.top); in testOnDraw()
357 assertEquals( (viewHeight - drawableHeight) / 2 + drawableHeight, bounds.bottom); in testOnDraw()
/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtils.java175 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()