Searched refs:mBackgroundDrawable (Results 1 – 9 of 9) sorted by relevance
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()
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()
67 private FilmstripBackground mBackgroundDrawable; field in FilmstripLayout110 mBackgroundDrawable.invalidateSelf();144 mBackgroundDrawable = new FilmstripBackground(); in init()145 mBackgroundDrawable.setCallback(new Drawable.Callback() { in init()161 setBackground(mBackgroundDrawable); in init()346 mBackgroundDrawable.setOffset(0); in onScroll()359 mBackgroundDrawable.setOffset(currentItemLeft); in onScroll()377 mBackgroundDrawable.invalidateSelf(); in onScroll()
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()
116 private Drawable mBackgroundDrawable; field in PipMenuView130 mBackgroundDrawable.setAlpha((int) (MENU_BACKGROUND_ALPHA * alpha * 255));164 mBackgroundDrawable = mContext.getDrawable(R.drawable.pip_menu_background); in PipMenuView()165 mBackgroundDrawable.setAlpha(0); in PipMenuView()167 mViewRoot.setBackground(mBackgroundDrawable); in PipMenuView()
217 private ColorDrawable mBackgroundDrawable; field in EmergencyDialer296 mBackgroundDrawable = new ColorDrawable(); in onCreate()300 mBackgroundDrawable.setAlpha(mShortcutViewConfig.isEnabled() in onCreate()302 getWindow().setBackgroundDrawable(mBackgroundDrawable); in onCreate()615 mBackgroundDrawable.setColor(Color.BLACK); in onStart()625 mBackgroundDrawable.setColor(getPrimaryColor(wallpaperColors)); in onStart()687 if (mBackgroundDrawable != null) { in updateTheme()902 mBackgroundDrawable.setColor(getPrimaryColor(colors)); in onColorsChanged()
2159 protected Drawable mBackgroundDrawable;2357 if (mBackgroundDrawable == null) {2358 mBackgroundDrawable = new ScrimDrawable();2417 if (mBackgroundDrawable instanceof ScrimDrawable) {2431 if (!(mBackgroundDrawable instanceof ScrimDrawable)) {2434 ((ScrimDrawable) mBackgroundDrawable).setColor(Color.BLACK, animate);
261 Drawable mBackgroundDrawable = null; field in PhoneWindow1516 if (drawable != mBackgroundDrawable) { in setBackgroundDrawable()1517 mBackgroundDrawable = drawable; in setBackgroundDrawable()2582 if (mBackgroundDrawable == null) { in generateLayout()2589 mBackgroundDrawable = a.getDrawable(R.styleable.Window_windowBackground); in generateLayout()2681 mDecor.setWindowBackground(mBackgroundDrawable); in generateLayout()
989 mWindow.mBackgroundDrawable, mWindow.mBackgroundFallbackDrawable,2219 mResizingBackgroundDrawable = getResizingBackgroundDrawable(mWindow.mBackgroundDrawable, in loadBackgroundDrawablesIfNeeded()