Searched refs:layerDrawable (Results 1 – 1 of 1) sorted by relevance
100 LayerDrawable layerDrawable = new LayerDrawable(array); in testConstructor() local101 assertEquals(array.length, layerDrawable.getNumberOfLayers()); in testConstructor()102 assertSame(mBitmapDrawable, layerDrawable.getDrawable(0)); in testConstructor()103 assertSame(mColorDrawable, layerDrawable.getDrawable(1)); in testConstructor()106 layerDrawable = new LayerDrawable(array); in testConstructor()107 assertEquals(0, layerDrawable.getNumberOfLayers()); in testConstructor()118 LayerDrawable layerDrawable = new LayerDrawable(array); in testInflate() local123 layerDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate()125 assertEquals(4, layerDrawable.getNumberOfLayers()); in testInflate()126 assertEquals(ColorDrawable.class, layerDrawable.getDrawable(0).getClass()); in testInflate()[all …]