Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DCompoundButtonTest.java314 int drawableWidth; in testOnDraw() local
331 drawableWidth = drawable.getIntrinsicWidth(); in testOnDraw()
337 assertEquals(drawableWidth, bounds.right); in testOnDraw()
346 assertEquals(drawableWidth, bounds.right); in testOnDraw()
355 assertEquals(drawableWidth, bounds.right); 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()