Home
last modified time | relevance | path

Searched refs:backgroundDrawable (Results 1 – 7 of 7) 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/instrumentation/src/com/android/setupwizardlib/test/
DIllustrationTest.java54 final Drawable backgroundDrawable = new ColorDrawable(Color.RED); in testAspectRatio() local
56 illustration.setBackgroundDrawable(backgroundDrawable); in testAspectRatio()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DDetailsBackgroundVideoHelper.java75 Drawable backgroundDrawable) { in DetailsBackgroundVideoHelper() argument
78 this.mBackgroundDrawable = backgroundDrawable; in DetailsBackgroundVideoHelper()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
DTestUtils.java74 final Drawable backgroundDrawable = view.getBackground(); in getCombinedBackgroundBitmap() local
75 if ((backgroundDrawable != null) && backgroundDrawable.isVisible()) { in getCombinedBackgroundBitmap()
/frameworks/support/design/src/android/support/design/internal/
DBottomNavigationItemView.java255 Drawable backgroundDrawable = background == 0 in setItemBackground() local
257 ViewCompat.setBackground(this, backgroundDrawable); in setItemBackground()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DViewBindingAdapterTest.java183 View view = mBinder.backgroundDrawable; in testBackgroundDrawableDrawable()
/frameworks/base/graphics/java/android/graphics/drawable/
DAdaptiveIconDrawable.java184 public AdaptiveIconDrawable(Drawable backgroundDrawable, in AdaptiveIconDrawable() argument
187 if (backgroundDrawable != null) { in AdaptiveIconDrawable()
188 addLayer(BACKGROUND_ID, createChildDrawable(backgroundDrawable)); in AdaptiveIconDrawable()