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()
158 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetIconMaskAfterSetBounds()
179 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetOutline_withBounds()
187 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testSetAlpha()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivity.java126 private Drawable mBackgroundDrawable; field in PipMenuActivity
141 mBackgroundDrawable.setAlpha((int) (MENU_BACKGROUND_ALPHA*alpha*255));
213 mBackgroundDrawable = new ColorDrawable(Color.BLACK); in onCreate()
214 mBackgroundDrawable.setAlpha(0); in onCreate()
216 mViewRoot.setBackground(mBackgroundDrawable); in onCreate()
618 mBackgroundDrawable.setAlpha(alpha); in updateDismissFraction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java2125 private Drawable mBackgroundDrawable;
2341 if (mBackgroundDrawable == null) {
2342 mBackgroundDrawable = new ScrimDrawable();
2345 getWindow().setBackgroundDrawable(mBackgroundDrawable);
2363 if (mBackgroundDrawable instanceof ScrimDrawable) {
2377 if (!(mBackgroundDrawable instanceof ScrimDrawable)) {
2380 ((ScrimDrawable) mBackgroundDrawable).setColor(Color.BLACK, animate);
2417 mBackgroundDrawable.setAlpha(0);
2426 mBackgroundDrawable.setAlpha(alpha);
2452 mBackgroundDrawable.setAlpha(alpha);
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java257 Drawable mBackgroundDrawable = null; field in PhoneWindow
1510 if (drawable != mBackgroundDrawable) { in setBackgroundDrawable()
1511 mBackgroundDrawable = drawable; in setBackgroundDrawable()
2548 if (mBackgroundDrawable == null) { in generateLayout()
2555 mBackgroundDrawable = a.getDrawable(R.styleable.Window_windowBackground); in generateLayout()
2647 mDecor.setWindowBackground(mBackgroundDrawable); in generateLayout()
DDecorView.java976 mWindow.mBackgroundDrawable, mWindow.mBackgroundFallbackDrawable,
2122 mResizingBackgroundDrawable = getResizingBackgroundDrawable(mWindow.mBackgroundDrawable, in loadBackgroundDrawablesIfNeeded()