Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DDrawableBgMinSizeTest.java42 private Drawable mBackgroundDrawable; field in DrawableBgMinSizeTest
62 mBackgroundDrawable = a.getResources().getDrawable(R.drawable.drawable_background); in setUp()
74 assertNotNull(mBackgroundDrawable); in testSetUpConditions()
85 view.getWidth() >= mBackgroundDrawable.getMinimumWidth()); in doMinimumSizeTest()
87 view.getHeight() >= mBackgroundDrawable.getMinimumHeight()); in doMinimumSizeTest()
DDrawableBgMinSize.java42 private Drawable mBackgroundDrawable; field in DrawableBgMinSize
58 mBackgroundDrawable = getResources().getDrawable(R.drawable.drawable_background); in onCreate()
70 changeBackgrounds(mBackgroundDrawable); in onCreate()
83 changeBackgrounds(mBackgroundDrawable); in onClick()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBackgroundManager.java108 private Drawable mBackgroundDrawable; field in BackgroundManager
439 + mBackgroundColor + " drawable " + mBackgroundDrawable); in onActivityResume()
441 mService.setDrawable(mBackgroundDrawable); in onActivityResume()
453 mBackgroundDrawable = drawable == null ? null : in syncWithService()
572 mBackgroundDrawable = null; in releaseBackgroundBitmap()
587 if (mBackgroundDrawable == null) { in updateImmediate()
591 mImageInWrapper = new DrawableWrapper(mBackgroundDrawable); in updateImmediate()
592 mLayerDrawable.setDrawableByLayerId(R.id.background_imagein, mBackgroundDrawable); in updateImmediate()
704 if (DEBUG) Log.v(TAG, "applyBackgroundChanges drawable " + mBackgroundDrawable); in applyBackgroundChanges()
715 if (mImageInWrapper == null && mBackgroundDrawable != null) { in applyBackgroundChanges()
[all …]
DErrorSupportFragment.java52 private Drawable mBackgroundDrawable; field in ErrorSupportFragment
95 mBackgroundDrawable = null; in setDefaultBackground()
114 mBackgroundDrawable = drawable; in setBackgroundDrawable()
128 return mBackgroundDrawable; in getBackgroundDrawable()
233 if (mBackgroundDrawable != null) { in updateBackground()
234 mErrorFrame.setBackground(mBackgroundDrawable); in updateBackground()
DErrorFragment.java50 private Drawable mBackgroundDrawable; field in ErrorFragment
93 mBackgroundDrawable = null; in setDefaultBackground()
112 mBackgroundDrawable = drawable; in setBackgroundDrawable()
126 return mBackgroundDrawable; in getBackgroundDrawable()
231 if (mBackgroundDrawable != null) { in updateBackground()
232 mErrorFrame.setBackground(mBackgroundDrawable); in updateBackground()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardWidgetFrame.java68 private Drawable mBackgroundDrawable; field in KeyguardWidgetFrame
116 mBackgroundDrawable = res.getDrawable(R.drawable.kg_widget_bg_padded); in KeyguardWidgetFrame()
228 Drawable bg = mBackgroundDrawable; in drawBg()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java220 private Drawable mBackgroundDrawable; field in PhoneWindow
1363 if (drawable != mBackgroundDrawable || mBackgroundResource != 0) { in setBackgroundDrawable()
1365 mBackgroundDrawable = drawable; in setBackgroundDrawable()
3520 if (mBackgroundDrawable == null) {
3632 background = mBackgroundDrawable;