Searched refs:mBackgroundDrawable (Results 1 – 7 of 7) sorted by relevance
41 private Drawable mBackgroundDrawable; field in DrawableBgMinSize57 mBackgroundDrawable = getResources().getDrawable(R.drawable.drawable_background); in onCreate()69 changeBackgrounds(mBackgroundDrawable); in onCreate()82 changeBackgrounds(mBackgroundDrawable); in onClick()
41 private Drawable mBackgroundDrawable; field in DrawableBgMinSizeTest61 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()
49 private Drawable mBackgroundDrawable; field in AdaptiveIconDrawableTest60 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()
112 private Drawable mBackgroundDrawable; field in PipMenuActivity127 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()
1502 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 …]
235 Drawable mBackgroundDrawable = null; field in PhoneWindow1493 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()
974 mWindow.mBackgroundDrawable, mWindow.mBackgroundFallbackDrawable, in setWindowBackground()2105 mResizingBackgroundDrawable = getResizingBackgroundDrawable(mWindow.mBackgroundDrawable, in loadBackgroundDrawablesIfNeeded()