Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLayerDrawableTest.java84 private ColorDrawable mColorDrawable; field in LayerDrawableTest
91 mColorDrawable = new ColorDrawable(Color.BLUE); in setup()
98 Drawable[] array = new Drawable[]{mBitmapDrawable, mColorDrawable}; in testConstructor()
102 assertSame(mColorDrawable, layerDrawable.getDrawable(1)); in testConstructor()
171 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; in testFindDrawableByLayerId()
177 assertSame(mColorDrawable, layerDrawable.findDrawableByLayerId(20)); in testFindDrawableByLayerId()
183 assertSame(mColorDrawable, layerDrawable.findDrawableByLayerId(Integer.MAX_VALUE)); in testFindDrawableByLayerId()
187 assertSame(mColorDrawable, layerDrawable.findDrawableByLayerId(10)); in testFindDrawableByLayerId()
193 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; in testAccessId()
209 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; in testSetIdIndexTooLow()
[all …]