Searched refs:layerDrawable (Results 1 – 6 of 6) sorted by relevance
49 val layerDrawable = in getSelectableDrawable() constant59 (layerDrawable.findDrawableByLayerId(R.id.ring) as GradientDrawable).apply { in getSelectableDrawable()74 layerDrawable.setDrawableByLayerId(R.id.user_avatar, viewModel.image) in getSelectableDrawable()75 return layerDrawable in getSelectableDrawable()
296 if (mBackground instanceof LayerDrawable layerDrawable) { in updateBackgroundRadii()297 int numberOfLayers = layerDrawable.getNumberOfLayers(); in updateBackgroundRadii()299 GradientDrawable gradientDrawable = (GradientDrawable) layerDrawable.getDrawable(i); in updateBackgroundRadii()302 updateFocusOverlayRadii(layerDrawable); in updateBackgroundRadii()
166 LayerDrawable layerDrawable = (LayerDrawable) backgroundDrawable; in updateReferenceToIndicatorDrawable() local168 layerDrawable.findDrawableByLayerId(com.android.internal.R.id.toggle); in updateReferenceToIndicatorDrawable()
153 PatchedLayerDrawable layerDrawable = (PatchedLayerDrawable) background; in testCreateViewHolderWithExistingBackground() local154 assertTrue(layerDrawable.getDrawable(0) instanceof GradientDrawable); in testCreateViewHolderWithExistingBackground()
813 LayerDrawable layerDrawable = (LayerDrawable) drawable; in DrawableColorTester() local814 if (layerDrawable.getNumberOfLayers() > 0) { in DrawableColorTester()817 drawable = layerDrawable.getDrawable(0); in DrawableColorTester()
1030 LayerDrawable layerDrawable = in includeCloudOverlay() local1034 Bitmap appIconWithCloudOverlay = drawableToBitmap(layerDrawable, iconSize); in includeCloudOverlay()