Searched refs:backgroundDrawable (Results 1 – 4 of 4) sorted by relevance
135 private void updateReferenceToIndicatorDrawable(Drawable backgroundDrawable) { in updateReferenceToIndicatorDrawable() argument136 if (backgroundDrawable instanceof LayerDrawable) { in updateReferenceToIndicatorDrawable()137 LayerDrawable layerDrawable = (LayerDrawable) backgroundDrawable; in updateReferenceToIndicatorDrawable()
45 final Drawable backgroundDrawable = new ColorDrawable(Color.RED); in testAspectRatio() local47 illustration.setBackgroundDrawable(backgroundDrawable); in testAspectRatio()
26 final RoundRectDrawable backgroundDrawable = new RoundRectDrawable(backgroundColor, radius); in initialize() local27 cardView.setBackgroundDrawable(backgroundDrawable); in initialize()
185 Drawable backgroundDrawable = resources.getDrawable(R.drawable.bg, null);186 mBackgroundBitmap = ((BitmapDrawable) backgroundDrawable).getBitmap();