Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DToggleButton.java135 private void updateReferenceToIndicatorDrawable(Drawable backgroundDrawable) { in updateReferenceToIndicatorDrawable() argument
136 if (backgroundDrawable instanceof LayerDrawable) { in updateReferenceToIndicatorDrawable()
137 LayerDrawable layerDrawable = (LayerDrawable) backgroundDrawable; in updateReferenceToIndicatorDrawable()
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DIllustrationTest.java45 final Drawable backgroundDrawable = new ColorDrawable(Color.RED); in testAspectRatio() local
47 illustration.setBackgroundDrawable(backgroundDrawable); in testAspectRatio()
/frameworks/support/v7/cardview/api21/android/support/v7/widget/
DCardViewApi21.java26 final RoundRectDrawable backgroundDrawable = new RoundRectDrawable(backgroundColor, radius); in initialize() local
27 cardView.setBackgroundDrawable(backgroundDrawable); in initialize()
/frameworks/base/docs/html/training/wearables/watch-faces/
Ddrawing.jd185 Drawable backgroundDrawable = resources.getDrawable(R.drawable.bg, null);
186 mBackgroundBitmap = ((BitmapDrawable) backgroundDrawable).getBitmap();