Searched refs:IMAGE_WIDTH (Results 1 - 4 of 4) sorted by relevance

/frameworks/support/graphics/drawable/animated/src/androidTest/java/androidx/vectordrawable/graphics/drawable/tests/
H A DPathInterpolatorParameterizedTest.java48 private static final int IMAGE_WIDTH = 64; field in class:PathInterpolatorParameterizedTest
76 final Bitmap bitmap = Bitmap.createBitmap(IMAGE_WIDTH, IMAGE_WIDTH,
82 avd.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT);
86 int centerColor = bitmap.getPixel(IMAGE_WIDTH / 2 , IMAGE_WIDTH / 2);
103 int centerColor = bitmap.getPixel(IMAGE_WIDTH / 2 , IMAGE_WIDTH / 2);
H A DAnimatedVectorDrawableParameterizedTest.java52 private static final int IMAGE_WIDTH = 64; field in class:AnimatedVectorDrawableParameterizedTest
86 final Bitmap bitmap = Bitmap.createBitmap(IMAGE_WIDTH, IMAGE_WIDTH,
92 avd.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT);
96 int centerColor = bitmap.getPixel(IMAGE_WIDTH / 2 , IMAGE_WIDTH / 2);
113 int centerColor = bitmap.getPixel(IMAGE_WIDTH / 2 , IMAGE_WIDTH / 2);
H A DAnimatedVectorDrawableTest.java76 private static final int IMAGE_WIDTH = 64; field in class:AnimatedVectorDrawableTest
115 mBitmap = Bitmap.createBitmap(IMAGE_WIDTH, IMAGE_HEIGHT, Bitmap.Config.ARGB_8888);
141 mAnimatedVectorDrawable.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT);
144 int sunColor = mBitmap.getPixel(IMAGE_WIDTH / 2, IMAGE_HEIGHT / 2);
145 int earthColor = mBitmap.getPixel(IMAGE_WIDTH * 3 / 4 + 2, IMAGE_HEIGHT / 2);
163 final Bitmap bitmap = Bitmap.createBitmap(IMAGE_WIDTH, IMAGE_WIDTH,
169 avd.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT);
187 int centerColor = bitmap.getPixel(IMAGE_WIDTH / 2 , IMAGE_WIDTH /
[all...]
/frameworks/support/graphics/drawable/static/src/androidTest/java/androidx/vectordrawable/graphics/drawable/tests/
H A DVectorDrawableTest.java119 private static final int IMAGE_WIDTH = 64; field in class:VectorDrawableTest
140 final int width = IMAGE_WIDTH;
161 mVectorDrawable.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT);

Completed in 106 milliseconds