Home
last modified time | relevance | path

Searched refs:mBackground (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DActionBarContainer.java41 private Drawable mBackground; field in ActionBarContainer
58 mBackground = a.getDrawable(com.android.internal.R.styleable.ActionBar_background); in ActionBarContainer()
70 mBackground == null && mStackedBackground == null); in ActionBarContainer()
80 if (mBackground != null) { in setPrimaryBackground()
81 mBackground.setCallback(null); in setPrimaryBackground()
82 unscheduleDrawable(mBackground); in setPrimaryBackground()
84 mBackground = bg; in setPrimaryBackground()
88 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in setPrimaryBackground()
93 mBackground == null && mStackedBackground == null); in setPrimaryBackground()
111 mBackground == null && mStackedBackground == null); in setStackedBackground()
[all …]
DRotarySelector.java61 private Bitmap mBackground; field in RotarySelector
183 mBackground = getBitmapFor(R.drawable.jog_dial_bg); in RotarySelector()
197 mBackgroundWidth = mBackground.getWidth(); in RotarySelector()
198 mBackgroundHeight = mBackground.getHeight(); in RotarySelector()
311 canvas.drawBitmap(mBackground, mBgMatrix, mPaint); in onDraw()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarContainer.java44 private Drawable mBackground; field in ActionBarContainer
61 mBackground = a.getDrawable(R.styleable.ActionBar_background); in ActionBarContainer()
73 mBackground == null && mStackedBackground == null); in ActionBarContainer()
83 if (mBackground != null) { in setPrimaryBackground()
84 mBackground.setCallback(null); in setPrimaryBackground()
85 unscheduleDrawable(mBackground); in setPrimaryBackground()
87 mBackground = bg; in setPrimaryBackground()
92 mBackground == null && mStackedBackground == null); in setPrimaryBackground()
106 mBackground == null && mStackedBackground == null); in setStackedBackground()
120 mBackground == null && mStackedBackground == null); in setSplitBackground()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java112 Bitmap mBackground; field in ImageWallpaper.DrawableEngine
162 mBackground = null; in onReceive()
177 mBackground != null && mIsHwAccelerated) { in trimMemory()
181 mBackground.recycle(); in trimMemory()
182 mBackground = null; in trimMemory()
366 if (mBackground == null || surfaceDimensionsChanged) { in drawFrame()
369 mBackground + ", " + in drawFrame()
370 ((mBackground == null) ? 0 : mBackground.getWidth()) + ", " + in drawFrame()
371 ((mBackground == null) ? 0 : mBackground.getHeight()) + ", " + in drawFrame()
376 if (mBackground == null) { in drawFrame()
[all …]
/frameworks/base/policy/src/com/android/internal/policy/impl/
DRecentApplicationsBackground.java39 private Drawable mBackground; field in RecentApplicationsBackground
54 mBackground = getBackground(); in init()
71 return who == mBackground || super.verifyDrawable(who); in verifyDrawable()
77 if (mBackground != null) mBackground.jumpToCurrentState(); in jumpDrawablesToCurrentState()
82 Drawable d = mBackground; in drawableStateChanged()
91 final Drawable background = mBackground; in draw()
97 mBackground.getPadding(bkg); in draw()
119 mBackground.draw(canvas); in draw()
134 mBackground.setCallback(this); in onAttachedToWindow()
141 mBackground.setCallback(null); in onDetachedFromWindow()
/frameworks/base/core/java/android/widget/
DPopupWindow.java115 private Drawable mBackground; field in PopupWindow
190 mBackground = a.getDrawable(R.styleable.PopupWindow_popupBackground); in PopupWindow()
205 if (mBackground instanceof StateListDrawable) { in PopupWindow()
206 StateListDrawable background = (StateListDrawable) mBackground; in PopupWindow()
318 return mBackground; in getBackground()
328 mBackground = background; in setBackgroundDrawable()
932 if (mBackground != null) { in updateAboveAnchor()
978 if (mBackground != null) { in preparePopup()
992 popupViewContainer.setBackgroundDrawable(mBackground); in preparePopup()
1049 if (mBackground != null) { in createPopupLayout()
[all …]
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
DPhotoViewActivity.java121 protected View mBackground; field in PhotoViewActivity
246 mBackground = findViewById(R.id.photo_activity_background); in onCreate()
261 mBackground.setVisibility(View.VISIBLE); in onCreate()
822 mBackground.setAlpha(0f); in runEnterAnimation()
823 mBackground.animate().alpha(1f).setDuration(ENTER_ANIMATION_DURATION_MS).start(); in runEnterAnimation()
824 mBackground.setVisibility(View.VISIBLE); in runEnterAnimation()
848 mBackground.startAnimation(alphaAnimation); in runEnterAnimation()
849 mBackground.setVisibility(View.VISIBLE); in runEnterAnimation()
903 mBackground.animate().alpha(0f).setDuration(EXIT_ANIMATION_DURATION_MS).start(); in runExitAnimation()
904 mBackground.setVisibility(View.VISIBLE); in runExitAnimation()
[all …]
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
DPhotoViewActivity.java120 protected View mBackground; field in PhotoViewActivity
245 mBackground = findViewById(R.id.photo_activity_background); in onCreate()
260 mBackground.setVisibility(View.VISIBLE); in onCreate()
821 mBackground.setAlpha(0f); in runEnterAnimation()
822 mBackground.animate().alpha(1f).setDuration(ENTER_ANIMATION_DURATION_MS).start(); in runEnterAnimation()
823 mBackground.setVisibility(View.VISIBLE); in runEnterAnimation()
847 mBackground.startAnimation(alphaAnimation); in runEnterAnimation()
848 mBackground.setVisibility(View.VISIBLE); in runEnterAnimation()
902 mBackground.animate().alpha(0f).setDuration(EXIT_ANIMATION_DURATION_MS).start(); in runExitAnimation()
903 mBackground.setVisibility(View.VISIBLE); in runExitAnimation()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DListMenuItemView.java50 private Drawable mBackground; field in ListMenuItemView
70 mBackground = a.getDrawable(R.styleable.MenuView_android_itemBackground); in ListMenuItemView()
88 setBackgroundDrawable(mBackground); in onFinishInflate()
/frameworks/base/core/java/com/android/internal/view/menu/
DListMenuItemView.java47 private Drawable mBackground; field in ListMenuItemView
65 mBackground = a.getDrawable(com.android.internal.R.styleable.MenuView_itemBackground); in ListMenuItemView()
83 setBackgroundDrawable(mBackground); in onFinishInflate()
/frameworks/base/core/java/android/view/
DView.java3126 private Drawable mBackground; field in View
6037 if (mBackground != null) mBackground.setVisible(visibility == VISIBLE, false); in setVisibility()
8981 if (mBackground != null) {
11051 if (mBackground != null && mBackground.getOpacity() == PixelFormat.OPAQUE) {
12362 if (mBackground != null && (!mLeftPaddingDefined || !mRightPaddingDefined)) {
12368 mBackground.getPadding(padding);
14439 final Drawable background = mBackground;
15052 if (mBackground != null) {
15053 mBackground.setLayoutDirection(layoutDirection);
15105 return who == mBackground;
[all …]