Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/android/view/
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()
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()
/aosp14/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()
/aosp14/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/materials/
H A DBackgroundBlurActivity.kt44 var mBackgroundDrawable = PaintDrawable(Color.WHITE) regex
90 mBackgroundDrawable.setCornerRadius(30f)
91 window.setBackgroundDrawable(mBackgroundDrawable)
186 mBackgroundDrawable.setAlpha((alpha * 255f).toInt())
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuViewAppearance.java70 private Drawable mBackgroundDrawable; field in MenuViewAppearance
117 mBackgroundDrawable = new InstantInsetLayerDrawable(new Drawable[]{drawable}); in update()
197 return mBackgroundDrawable; in getMenuBackground()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipMenuView.java123 private Drawable mBackgroundDrawable; field in PipMenuView
138 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A DGlobalActionsDialogLite.java2206 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);
/aosp14/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneWindow.java263 Drawable mBackgroundDrawable = null; field in PhoneWindow
1529 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()
H A DDecorView.java979 mWindow.mBackgroundDrawable, mWindow.mBackgroundFallbackDrawable,
2230 mResizingBackgroundDrawable = getResizingBackgroundDrawable(mWindow.mBackgroundDrawable, in loadBackgroundDrawablesIfNeeded()