Searched refs:layerDrawable (Results 1 – 1 of 1) sorted by relevance
53 LayerDrawable layerDrawable = new LayerDrawable(array); in testConstructor() local54 assertEquals(array.length, layerDrawable.getNumberOfLayers()); in testConstructor()55 assertSame(bitmapDrawable, layerDrawable.getDrawable(0)); in testConstructor()56 assertSame(colorDrawable, layerDrawable.getDrawable(1)); in testConstructor()59 layerDrawable = new LayerDrawable(array); in testConstructor()60 assertEquals(0, layerDrawable.getNumberOfLayers()); in testConstructor()71 LayerDrawable layerDrawable = new LayerDrawable(array); in testInflate() local76 layerDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate()78 assertEquals(4, layerDrawable.getNumberOfLayers()); in testInflate()79 assertEquals(ColorDrawable.class, layerDrawable.getDrawable(0).getClass()); in testInflate()[all …]