Searched refs:IMAGE_WIDTH (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableTest.java | 62 private static final int IMAGE_WIDTH = 64; field in AnimatedVectorDrawableTest 104 Bitmap bitmap = Bitmap.createBitmap(IMAGE_WIDTH, IMAGE_HEIGHT, Bitmap.Config.ARGB_8888); in testInflate() 108 drawable.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT); in testInflate() 111 int sunColor = bitmap.getPixel(IMAGE_WIDTH / 2, IMAGE_HEIGHT / 2); in testInflate() 112 int earthColor = bitmap.getPixel(IMAGE_WIDTH * 3 / 4 + 2, IMAGE_HEIGHT / 2); in testInflate()
|
D | AnimatedVectorDrawableParameterizedTest.java | 73 private static final int IMAGE_WIDTH = 64; field in AnimatedVectorDrawableParameterizedTest 220 Bitmap.createBitmap(IMAGE_WIDTH, IMAGE_HEIGHT, Bitmap.Config.ARGB_8888); in testSingleFrameAnimation() 229 d1.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT); in testSingleFrameAnimation() 232 int endColor = bitmap.getPixel(IMAGE_WIDTH / 2, IMAGE_HEIGHT / 2); in testSingleFrameAnimation()
|
D | VectorDrawableTest.java | 186 private static final int IMAGE_WIDTH = 64; field in VectorDrawableTest 198 final int width = IMAGE_WIDTH; in setup() 251 vectorDrawable.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT); in verifyVectorDrawables()
|