Searched refs:mBackgroundDrawable (Results 1 – 9 of 9) 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()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()
44 var mBackgroundDrawable = PaintDrawable(Color.WHITE) regex90 mBackgroundDrawable.setCornerRadius(30f)91 window.setBackgroundDrawable(mBackgroundDrawable)186 mBackgroundDrawable.setAlpha((alpha * 255f).toInt())
70 private Drawable mBackgroundDrawable; field in MenuViewAppearance117 mBackgroundDrawable = new InstantInsetLayerDrawable(new Drawable[]{drawable}); in update()197 return mBackgroundDrawable; in getMenuBackground()
123 private Drawable mBackgroundDrawable; field in PipMenuView138 mBackgroundDrawable.setAlpha((int) (MENU_BACKGROUND_ALPHA * alpha * 255));180 mBackgroundDrawable = mContext.getDrawable(R.drawable.pip_menu_background); in PipMenuView()181 mBackgroundDrawable.setAlpha(0); in PipMenuView()183 mViewRoot.setBackground(mBackgroundDrawable); in PipMenuView()
2206 protected Drawable mBackgroundDrawable;2440 if (mBackgroundDrawable == null) {2441 mBackgroundDrawable = new ScrimDrawable();2500 if (mBackgroundDrawable instanceof ScrimDrawable) {2514 if (!(mBackgroundDrawable instanceof ScrimDrawable)) {2517 ((ScrimDrawable) mBackgroundDrawable).setColor(Color.BLACK, animate);
263 Drawable mBackgroundDrawable = null; field in PhoneWindow1529 if (drawable != mBackgroundDrawable) { in setBackgroundDrawable()1530 mBackgroundDrawable = drawable; in setBackgroundDrawable()2627 if (mBackgroundDrawable == null) { in generateLayout()2634 mBackgroundDrawable = a.getDrawable(R.styleable.Window_windowBackground); in generateLayout()2726 mDecor.setWindowBackground(mBackgroundDrawable); in generateLayout()
979 mWindow.mBackgroundDrawable, mWindow.mBackgroundFallbackDrawable,2230 mResizingBackgroundDrawable = getResizingBackgroundDrawable(mWindow.mBackgroundDrawable, in loadBackgroundDrawablesIfNeeded()