Home
last modified time | relevance | path

Searched refs:layerDrawable (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/widget/
DToggleButton.java166 LayerDrawable layerDrawable = (LayerDrawable) backgroundDrawable; in updateReferenceToIndicatorDrawable() local
168 layerDrawable.findDrawableByLayerId(com.android.internal.R.id.toggle); in updateReferenceToIndicatorDrawable()
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/items/
DRecyclerItemAdapterTest.java153 PatchedLayerDrawable layerDrawable = (PatchedLayerDrawable) background; in testCreateViewHolderWithExistingBackground() local
154 assertTrue(layerDrawable.getDrawable(0) instanceof GradientDrawable); in testCreateViewHolderWithExistingBackground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuView.java595 final InstantInsetLayerDrawable layerDrawable = in initListView() local
597 mListView.setBackground(layerDrawable); in initListView()
796 final LayerDrawable layerDrawable = getMenuLayerDrawable(); in setInset() local
797 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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuViewTest.java195 final LayerDrawable layerDrawable = (LayerDrawable) view.getBackground(); in onTargetsChanged_singleTarget_expectedRadii() local
197 (GradientDrawable) layerDrawable.getDrawable(0); in onTargetsChanged_singleTarget_expectedRadii()
217 final LayerDrawable layerDrawable = in setSizeType_alignRightAndLargeSize_expectedRadii() local
220 (GradientDrawable) layerDrawable.getDrawable(0); in setSizeType_alignRightAndLargeSize_expectedRadii()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashscreenContentDrawer.java581 LayerDrawable layerDrawable = (LayerDrawable) drawable; in DrawableColorTester() local
582 if (layerDrawable.getNumberOfLayers() > 0) { in DrawableColorTester()
586 drawable = layerDrawable.getDrawable(0); in DrawableColorTester()