Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java463 final ChildDrawable childDrawable = createLayer(dr); in addLayer() local
464 childDrawable.mId = id; in addLayer()
465 childDrawable.mThemeAttrs = themeAttrs; in addLayer()
466 childDrawable.mDrawable.setAutoMirrored(isAutoMirrored()); in addLayer()
467 childDrawable.mInsetL = left; in addLayer()
468 childDrawable.mInsetT = top; in addLayer()
469 childDrawable.mInsetR = right; in addLayer()
470 childDrawable.mInsetB = bottom; in addLayer()
472 addLayer(childDrawable); in addLayer()
477 return childDrawable; in addLayer()
[all …]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/graphics/
DCompositeDrawableTest.java168 BitmapDrawable childDrawable = new BitmapDrawable(context.getResources(), mBitmap); in constantState() local
169 parentDrawable.addChildDrawable(childDrawable); in constantState()
184 assertEquals(64, childDrawable.getAlpha()); in constantState()
187 childDrawable.setAlpha(100); in constantState()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
DCompositeDrawable.java234 ChildDrawable childDrawable = children.get(i); in updateBounds() local
235 childDrawable.updateBounds(bounds); in updateBounds()