Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLayerDrawableTest.java51 LayerDrawable layerDrawable = new LayerDrawable(drawables); in testGetNumberOfLayers() local
52 assertEquals("count", 3, layerDrawable.getNumberOfLayers()); in testGetNumberOfLayers()
57 LayerDrawable layerDrawable = new LayerDrawable(drawables); in testSetDrawableByLayerId1() local
60 layerDrawable.setId(index, layerId); in testSetDrawableByLayerId1()
62 layerDrawable.setDrawableByLayerId(layerId, drawable4000); in testSetDrawableByLayerId1()
65 shadowOf(layerDrawable.getDrawable(index)).getCreatedFromResId()); in testSetDrawableByLayerId1()
70 LayerDrawable layerDrawable = new LayerDrawable(drawables); in testSetDrawableByLayerId2() local
73 layerDrawable.setId(index, layerId); in testSetDrawableByLayerId2()
75 layerDrawable.setDrawableByLayerId(layerId, drawable4000); in testSetDrawableByLayerId2()
78 shadowOf(layerDrawable.getDrawable(index)).getCreatedFromResId()); in testSetDrawableByLayerId2()
[all …]
/external/setupcompat/main/java/com/google/android/setupcompat/template/
DFooterButtonStyleUtils.java378 LayerDrawable layerDrawable = (LayerDrawable) ((InsetDrawable) drawable).getDrawable(); in getGradientDrawable() local
379 return (GradientDrawable) layerDrawable.getDrawable(0); in getGradientDrawable()