Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/coretests/src/android/view/
H A 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()
H A 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()
/aosp12/packages/apps/Camera2/src/com/android/camera/widget/
H A DFilmstripLayout.java67 private FilmstripBackground mBackgroundDrawable; field in FilmstripLayout
110 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()
/aosp12/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
H A 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()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipMenuView.java116 private Drawable mBackgroundDrawable; field in PipMenuView
130 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()
/aosp12/packages/services/Telephony/src/com/android/phone/
H A DEmergencyDialer.java217 private ColorDrawable mBackgroundDrawable; field in EmergencyDialer
296 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()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A DGlobalActionsDialogLite.java2159 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);
/aosp12/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneWindow.java261 Drawable mBackgroundDrawable = null; field in PhoneWindow
1516 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()
H A DDecorView.java989 mWindow.mBackgroundDrawable, mWindow.mBackgroundFallbackDrawable,
2219 mResizingBackgroundDrawable = getResizingBackgroundDrawable(mWindow.mBackgroundDrawable, in loadBackgroundDrawablesIfNeeded()