Searched refs:mBackgroundDrawable (Results 1 - 12 of 12) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/app/
H A DDetailsBackgroundVideoHelper.java58 private Drawable mBackgroundDrawable; field in class:DetailsBackgroundVideoHelper
79 this.mBackgroundDrawable = backgroundDrawable;
81 mBackgroundDrawable.setAlpha(255);
180 if (mBackgroundDrawable != null) {
181 mBackgroundDrawable.setAlpha(crossFadeToVideo ? 0 : 255);
196 if (mBackgroundDrawable == null) {
200 mBackgroundDrawable.setAlpha(crossFadeToVideo ? 0 : 255);
208 mBackgroundDrawable.setAlpha(
H A DErrorFragment.java49 private Drawable mBackgroundDrawable; field in class:ErrorFragment
58 mBackgroundDrawable = null;
77 mBackgroundDrawable = drawable;
91 return mBackgroundDrawable;
195 if (mBackgroundDrawable != null) {
196 mErrorFrame.setBackground(mBackgroundDrawable);
H A DErrorSupportFragment.java44 private Drawable mBackgroundDrawable; field in class:ErrorSupportFragment
53 mBackgroundDrawable = null;
72 mBackgroundDrawable = drawable;
86 return mBackgroundDrawable;
190 if (mBackgroundDrawable != null) {
191 mErrorFrame.setBackground(mBackgroundDrawable);
H A DBackgroundManager.java105 Drawable mBackgroundDrawable; field in class:BackgroundManager
645 mBackgroundDrawable = drawable == null ? null :
734 mBackgroundDrawable = null;
807 if (mBackgroundDrawable == null) {
811 if (DEBUG) Log.v(TAG, "Background drawable is available " + mBackgroundDrawable);
812 mLayerDrawable.updateDrawable(R.id.background_imagein, mBackgroundDrawable);
826 mBackgroundDrawable = null;
843 mBackgroundDrawable = drawable;
969 return mBackgroundDrawable;
H A DDetailsFragment.java333 Drawable mBackgroundDrawable; field in class:DetailsFragment
449 mBackgroundView.setBackground(mBackgroundDrawable);
835 mBackgroundDrawable = drawable;
H A DDetailsSupportFragment.java328 Drawable mBackgroundDrawable; field in class:DetailsSupportFragment
444 mBackgroundView.setBackground(mBackgroundDrawable);
830 mBackgroundDrawable = drawable;
/frameworks/base/core/tests/coretests/src/android/view/
H A DDrawableBgMinSize.java42 private Drawable mBackgroundDrawable; field in class:DrawableBgMinSize
58 mBackgroundDrawable = getResources().getDrawable(R.drawable.drawable_background);
70 changeBackgrounds(mBackgroundDrawable);
83 changeBackgrounds(mBackgroundDrawable);
H A DDrawableBgMinSizeTest.java42 private Drawable mBackgroundDrawable; field in class:DrawableBgMinSizeTest
62 mBackgroundDrawable = a.getResources().getDrawable(R.drawable.drawable_background);
74 assertNotNull(mBackgroundDrawable);
85 view.getWidth() >= mBackgroundDrawable.getMinimumWidth());
87 view.getHeight() >= mBackgroundDrawable.getMinimumHeight());
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
H A DAdaptiveIconDrawableTest.java32 private Drawable mBackgroundDrawable; field in class:AdaptiveIconDrawableTest
43 mBackgroundDrawable = new ColorDrawable(Color.BLUE);
45 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable);
115 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable);
144 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable);
167 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable);
176 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable);
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DPipMenuActivity.java112 private Drawable mBackgroundDrawable; field in class:PipMenuActivity
127 mBackgroundDrawable.setAlpha((int) (MENU_BACKGROUND_ALPHA*alpha*255));
200 mBackgroundDrawable = new ColorDrawable(Color.BLACK);
201 mBackgroundDrawable.setAlpha(0);
203 mViewRoot.setBackground(mBackgroundDrawable);
564 mBackgroundDrawable.setAlpha(alpha);
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
H A DBackgroundManagerTest.java185 assertNull(manager.mBackgroundDrawable);
195 assertSame(((BackgroundManager.BitmapDrawable) manager.mBackgroundDrawable)
205 assertSame(manager.mBackgroundDrawable, drawable);
548 assertNull(manager1.mBackgroundDrawable);
601 assertNull(manager1.mBackgroundDrawable);
/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneWindow.java223 private Drawable mBackgroundDrawable; field in class:PhoneWindow
1474 if (drawable != mBackgroundDrawable || mBackgroundResource != 0) {
1476 mBackgroundDrawable = drawable;
2512 if (mBackgroundDrawable == null) {
2624 background = mBackgroundDrawable;

Completed in 651 milliseconds