Home
last modified time | relevance | path

Searched refs:mBackgroundDrawable (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DDrawableBgMinSize.java41 private Drawable mBackgroundDrawable; field in DrawableBgMinSize
57 mBackgroundDrawable = getResources().getDrawable(R.drawable.drawable_background); in onCreate()
69 changeBackgrounds(mBackgroundDrawable); in onCreate()
82 changeBackgrounds(mBackgroundDrawable); in onClick()
DDrawableBgMinSizeTest.java41 private Drawable mBackgroundDrawable; field in DrawableBgMinSizeTest
61 mBackgroundDrawable = a.getResources().getDrawable(R.drawable.drawable_background); in setUp()
73 assertNotNull(mBackgroundDrawable); in testSetUpConditions()
84 view.getWidth() >= mBackgroundDrawable.getMinimumWidth()); in doMinimumSizeTest()
86 view.getHeight() >= mBackgroundDrawable.getMinimumHeight()); in doMinimumSizeTest()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DAdaptiveIconDrawableTest.java49 private Drawable mBackgroundDrawable; field in AdaptiveIconDrawableTest
60 mBackgroundDrawable = new ColorDrawable(Color.BLUE); in testDraw_withoutBounds()
62 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testDraw_withoutBounds()
132 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetIconMask_withoutBounds()
161 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetIconMaskAfterSetBounds()
184 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetOutline_withBounds()
193 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testSetAlpha()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivity.java112 private Drawable mBackgroundDrawable; field in PipMenuActivity
127 mBackgroundDrawable.setAlpha((int) (MENU_BACKGROUND_ALPHA*alpha*255));
195 mBackgroundDrawable = new ColorDrawable(Color.BLACK); in onCreate()
196 mBackgroundDrawable.setAlpha(0); in onCreate()
198 mViewRoot.setBackground(mBackgroundDrawable); in onCreate()
515 mBackgroundDrawable.setAlpha(alpha); in updateDismissFraction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java1502 private Drawable mBackgroundDrawable;
1592 mBackgroundDrawable = mPanelController.getBackgroundDrawable();
1618 if (mBackgroundDrawable == null) {
1619 mBackgroundDrawable = new ScrimDrawable();
1622 getWindow().setBackgroundDrawable(mBackgroundDrawable);
1659 if (mBackgroundDrawable instanceof ScrimDrawable) {
1672 if (!(mBackgroundDrawable instanceof ScrimDrawable)) {
1675 ((ScrimDrawable) mBackgroundDrawable).setColor(colors.getMainColor(), animate);
1697 mBackgroundDrawable.setAlpha(0);
1710 mBackgroundDrawable.setAlpha(alpha);
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java235 Drawable mBackgroundDrawable = null; field in PhoneWindow
1493 if (drawable != mBackgroundDrawable) { in setBackgroundDrawable()
1494 mBackgroundDrawable = drawable; in setBackgroundDrawable()
2542 if (mBackgroundDrawable == null) { in generateLayout()
2549 mBackgroundDrawable = a.getDrawable(R.styleable.Window_windowBackground); in generateLayout()
2648 mDecor.setWindowBackground(mBackgroundDrawable); in generateLayout()
DDecorView.java974 mWindow.mBackgroundDrawable, mWindow.mBackgroundFallbackDrawable, in setWindowBackground()
2105 mResizingBackgroundDrawable = getResizingBackgroundDrawable(mWindow.mBackgroundDrawable, in loadBackgroundDrawablesIfNeeded()