Searched refs:layerDrawable (Results 1 – 5 of 5) sorted by relevance
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()
595 final InstantInsetLayerDrawable layerDrawable = in initListView() local597 mListView.setBackground(layerDrawable); in initListView()796 final LayerDrawable layerDrawable = getMenuLayerDrawable(); in setInset() local797 if (layerDrawable.getLayerInsetLeft(INDEX_MENU_ITEM) == left in setInset()798 && layerDrawable.getLayerInsetRight(INDEX_MENU_ITEM) == right) { in setInset()802 layerDrawable.setLayerInset(INDEX_MENU_ITEM, left, 0, right, 0); in setInset()
195 final LayerDrawable layerDrawable = (LayerDrawable) view.getBackground(); in onTargetsChanged_singleTarget_expectedRadii() local197 (GradientDrawable) layerDrawable.getDrawable(0); in onTargetsChanged_singleTarget_expectedRadii()217 final LayerDrawable layerDrawable = in setSizeType_alignRightAndLargeSize_expectedRadii() local220 (GradientDrawable) layerDrawable.getDrawable(0); in setSizeType_alignRightAndLargeSize_expectedRadii()
581 LayerDrawable layerDrawable = (LayerDrawable) drawable; in DrawableColorTester() local582 if (layerDrawable.getNumberOfLayers() > 0) { in DrawableColorTester()586 drawable = layerDrawable.getDrawable(0); in DrawableColorTester()