/frameworks/support/leanback/src/main/java/androidx/leanback/app/ |
D | DetailsBackgroundVideoHelper.java | 58 private Drawable mBackgroundDrawable; field in DetailsBackgroundVideoHelper 79 this.mBackgroundDrawable = backgroundDrawable; in DetailsBackgroundVideoHelper() 81 mBackgroundDrawable.setAlpha(255); in DetailsBackgroundVideoHelper() 180 if (mBackgroundDrawable != null) { in crossFadeBackgroundToVideo() 181 mBackgroundDrawable.setAlpha(crossFadeToVideo ? 0 : 255); in crossFadeBackgroundToVideo() 196 if (mBackgroundDrawable == null) { in crossFadeBackgroundToVideo() 200 mBackgroundDrawable.setAlpha(crossFadeToVideo ? 0 : 255); in crossFadeBackgroundToVideo() 208 mBackgroundDrawable.setAlpha( in crossFadeBackgroundToVideo()
|
D | ErrorSupportFragment.java | 44 private Drawable mBackgroundDrawable; field in ErrorSupportFragment 53 mBackgroundDrawable = null; in setDefaultBackground() 72 mBackgroundDrawable = drawable; in setBackgroundDrawable() 86 return mBackgroundDrawable; in getBackgroundDrawable() 190 if (mBackgroundDrawable != null) { in updateBackground() 191 mErrorFrame.setBackground(mBackgroundDrawable); in updateBackground()
|
D | ErrorFragment.java | 49 private Drawable mBackgroundDrawable; field in ErrorFragment 58 mBackgroundDrawable = null; in setDefaultBackground() 77 mBackgroundDrawable = drawable; in setBackgroundDrawable() 91 return mBackgroundDrawable; in getBackgroundDrawable() 195 if (mBackgroundDrawable != null) { in updateBackground() 196 mErrorFrame.setBackground(mBackgroundDrawable); in updateBackground()
|
D | BackgroundManager.java | 105 Drawable mBackgroundDrawable; field in BackgroundManager 645 mBackgroundDrawable = drawable == null ? null : in syncWithService() 734 mBackgroundDrawable = null; in release() 807 if (mBackgroundDrawable == null) { in updateImmediate() 811 if (DEBUG) Log.v(TAG, "Background drawable is available " + mBackgroundDrawable); in updateImmediate() 812 mLayerDrawable.updateDrawable(R.id.background_imagein, mBackgroundDrawable); in updateImmediate() 826 mBackgroundDrawable = null; in setColor() 843 mBackgroundDrawable = drawable; in setDrawable() 969 return mBackgroundDrawable; in getDrawable()
|
D | DetailsFragment.java | 333 Drawable mBackgroundDrawable; field in DetailsFragment 449 mBackgroundView.setBackground(mBackgroundDrawable); in onCreateView() 835 mBackgroundDrawable = drawable; in setBackgroundDrawable()
|
D | DetailsSupportFragment.java | 328 Drawable mBackgroundDrawable; field in DetailsSupportFragment 444 mBackgroundView.setBackground(mBackgroundDrawable); in onCreateView() 830 mBackgroundDrawable = drawable; in setBackgroundDrawable()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | DrawableBgMinSize.java | 42 private Drawable mBackgroundDrawable; field in DrawableBgMinSize 58 mBackgroundDrawable = getResources().getDrawable(R.drawable.drawable_background); in onCreate() 70 changeBackgrounds(mBackgroundDrawable); in onCreate() 83 changeBackgrounds(mBackgroundDrawable); in onClick()
|
D | DrawableBgMinSizeTest.java | 42 private Drawable mBackgroundDrawable; field in DrawableBgMinSizeTest 62 mBackgroundDrawable = a.getResources().getDrawable(R.drawable.drawable_background); in setUp() 74 assertNotNull(mBackgroundDrawable); in testSetUpConditions() 85 view.getWidth() >= mBackgroundDrawable.getMinimumWidth()); in doMinimumSizeTest() 87 view.getHeight() >= mBackgroundDrawable.getMinimumHeight()); in doMinimumSizeTest()
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | AdaptiveIconDrawableTest.java | 32 private Drawable mBackgroundDrawable; field in AdaptiveIconDrawableTest 43 mBackgroundDrawable = new ColorDrawable(Color.BLUE); in testDraw_withoutBounds() 45 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testDraw_withoutBounds() 115 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetIconMask_withoutBounds() 144 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetIconMaskAfterSetBounds() 167 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetOutline_withBounds() 176 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testSetAlpha()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipMenuActivity.java | 112 private Drawable mBackgroundDrawable; field in PipMenuActivity 127 mBackgroundDrawable.setAlpha((int) (MENU_BACKGROUND_ALPHA*alpha*255)); 200 mBackgroundDrawable = new ColorDrawable(Color.BLACK); in onCreate() 201 mBackgroundDrawable.setAlpha(0); in onCreate() 203 mViewRoot.setBackground(mBackgroundDrawable); in onCreate() 564 mBackgroundDrawable.setAlpha(alpha); in updateDismissFraction()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
D | BackgroundManagerTest.java | 185 assertNull(manager.mBackgroundDrawable); in assertIsColorDrawable() 195 assertSame(((BackgroundManager.BitmapDrawable) manager.mBackgroundDrawable) in assertIsBitmapDrawable() 205 assertSame(manager.mBackgroundDrawable, drawable); in assertIsDrawable() 548 assertNull(manager1.mBackgroundDrawable); in returnFromNewActivity() 601 assertNull(manager1.mBackgroundDrawable); in manuallyReleaseInOnStop()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneWindow.java | 223 private Drawable mBackgroundDrawable; field in PhoneWindow 1474 if (drawable != mBackgroundDrawable || mBackgroundResource != 0) { in setBackgroundDrawable() 1476 mBackgroundDrawable = drawable; in setBackgroundDrawable() 2512 if (mBackgroundDrawable == null) { in generateLayout() 2624 background = mBackgroundDrawable; in generateLayout()
|