Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationBackgroundView.java33 private Drawable mBackground; field in NotificationBackgroundView
43 draw(canvas, mBackground); in onDraw()
55 return super.verifyDrawable(who) || who == mBackground; in verifyDrawable()
60 drawableStateChanged(mBackground); in drawableStateChanged()
71 if (mBackground != null) { in drawableHotspotChanged()
72 mBackground.setHotspot(x, y); in drawableHotspotChanged()
81 if (mBackground != null) { in setCustomBackground()
82 mBackground.setCallback(null); in setCustomBackground()
83 unscheduleDrawable(mBackground); in setCustomBackground()
85 mBackground = background; in setCustomBackground()
[all …]
DNotificationGuts.java31 private Drawable mBackground; field in NotificationGuts
42 draw(canvas, mBackground); in onDraw()
55 mBackground = mContext.getDrawable(R.drawable.notification_guts_bg); in onFinishInflate()
56 if (mBackground != null) { in onFinishInflate()
57 mBackground.setCallback(this); in onFinishInflate()
63 return super.verifyDrawable(who) || who == mBackground; in verifyDrawable()
68 drawableStateChanged(mBackground); in drawableStateChanged()
79 if (mBackground != null) { in drawableHotspotChanged()
80 mBackground.setHotspot(x, y); in drawableHotspotChanged()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContainer.java48 private Drawable mBackground; field in ActionBarContainer
67 mBackground = a.getDrawable(com.android.internal.R.styleable.ActionBar_background); in ActionBarContainer()
80 mBackground == null && mStackedBackground == null); in ActionBarContainer()
91 if (mBackground != null) { in setPrimaryBackground()
92 mBackground.setCallback(null); in setPrimaryBackground()
93 unscheduleDrawable(mBackground); in setPrimaryBackground()
95 mBackground = bg; in setPrimaryBackground()
99 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in setPrimaryBackground()
104 mBackground == null && mStackedBackground == null); in setPrimaryBackground()
122 mBackground == null && mStackedBackground == null); in setStackedBackground()
[all …]
DRotarySelector.java68 private Bitmap mBackground; field in RotarySelector
190 mBackground = getBitmapFor(R.drawable.jog_dial_bg); in RotarySelector()
204 mBackgroundWidth = mBackground.getWidth(); in RotarySelector()
205 mBackgroundHeight = mBackground.getHeight(); in RotarySelector()
318 canvas.drawBitmap(mBackground, mBgMatrix, mPaint); in onDraw()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarContainer.java43 Drawable mBackground; field in ActionBarContainer
65 mBackground = a.getDrawable(R.styleable.ActionBar_background); in ActionBarContainer()
77 mBackground == null && mStackedBackground == null); in ActionBarContainer()
88 if (mBackground != null) { in setPrimaryBackground()
89 mBackground.setCallback(null); in setPrimaryBackground()
90 unscheduleDrawable(mBackground); in setPrimaryBackground()
92 mBackground = bg; in setPrimaryBackground()
96 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in setPrimaryBackground()
101 mBackground == null && mStackedBackground == null); in setPrimaryBackground()
119 mBackground == null && mStackedBackground == null); in setStackedBackground()
[all …]
DActionBarBackgroundDrawableV21.java21 if (mContainer.mBackground != null) { in getOutline()
22 mContainer.mBackground.getOutline(outline); in getOutline()
DActionBarBackgroundDrawable.java22 if (mContainer.mBackground != null) { in draw()
23 mContainer.mBackground.draw(canvas); in draw()
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/
DDemoModeController.java45 private Handler mBackground; field in DemoModeController
69 mBackground = new Handler(background.getLooper()); in onCreate()
141 mBackground.removeCallbacks(mUpdateClock); in onTouch()
142 mBackground.post(mUpdateClock); in onTouch()
148 mBackground.removeCallbacks(mUpdateClock); in onTouch()
149 mBackground.post(mUpdateClock); in onTouch()
155 mBackground.removeCallbacks(mUpdateBattery); in onTouch()
156 mBackground.post(mUpdateBattery); in onTouch()
162 mBackground.removeCallbacks(mUpdateBattery); in onTouch()
163 mBackground.post(mUpdateBattery); in onTouch()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java108 Bitmap mBackground; field in ImageWallpaper.DrawableEngine
157 mBackground != null) { in trimMemory()
161 mBackground.recycle(); in trimMemory()
162 mBackground = null; in trimMemory()
185 mBackground = null; in onDestroy()
341 if (mBackground == null || surfaceDimensionsChanged) { in drawFrame()
344 mBackground + ", " + in drawFrame()
345 ((mBackground == null) ? 0 : mBackground.getWidth()) + ", " + in drawFrame()
346 ((mBackground == null) ? 0 : mBackground.getHeight()) + ", " + in drawFrame()
351 if (mBackground == null) { in drawFrame()
[all …]
/frameworks/base/policy/src/com/android/internal/policy/impl/
DRecentApplicationsBackground.java38 private Drawable mBackground; field in RecentApplicationsBackground
53 mBackground = getBackground(); in init()
70 return who == mBackground || super.verifyDrawable(who); in verifyDrawable()
76 if (mBackground != null) mBackground.jumpToCurrentState(); in jumpDrawablesToCurrentState()
81 Drawable d = mBackground; in drawableStateChanged()
90 final Drawable background = mBackground; in draw()
96 mBackground.getPadding(bkg); in draw()
118 mBackground.draw(canvas); in draw()
133 mBackground.setCallback(this); in onAttachedToWindow()
140 mBackground.setCallback(null); in onDetachedFromWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewHeader.java69 RippleDrawable mBackground; field in TaskViewHeader
148 mBackground = (RippleDrawable) in onFinishInflate()
150 mBackground = (RippleDrawable) mBackground.mutate().getConstantState().newDrawable(); in onFinishInflate()
151 mBackground.setColor(ColorStateList.valueOf(0)); in onFinishInflate()
152 mBackground.setDrawableByLayerId(mBackground.getId(0), mBackgroundColorDrawable); in onFinishInflate()
153 setBackground(mBackground); in onFinishInflate()
300 mBackground.setColor(new ColorStateList(states, colors)); in onTaskViewFocusChanged()
301 mBackground.setState(newStates); in onTaskViewFocusChanged()
310 mBackground.setState(new int[]{}); in onTaskViewFocusChanged()
355 mBackground.setState(new int[] {}); in onTaskViewFocusChanged()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleDrawable.java129 private RippleBackground mBackground; field in RippleDrawable
212 if (mBackground != null) { in jumpToCurrentState()
213 mBackground.jump(); in jumpToCurrentState()
477 if (mRipple == null || mBackground == null) { in setHotspot()
492 if (mBackground == null) { in tryBackgroundEnter()
493 mBackground = new RippleBackground(this, mHotspotBounds); in tryBackgroundEnter()
496 mBackground.setup(mState.mMaxRadius, mDensity); in tryBackgroundEnter()
497 mBackground.enter(focused); in tryBackgroundEnter()
501 if (mBackground != null) { in tryBackgroundExit()
503 mBackground.exit(); in tryBackgroundExit()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetailClipper.java30 private final TransitionDrawable mBackground; field in QSDetailClipper
36 mBackground = (TransitionDrawable) detail.getBackground(); in QSDetailClipper()
59 mBackground.startTransition((int)(mAnimator.getDuration() * 0.6)); in animateCircularClip()
72 mBackground.reverseTransition((int)(mAnimator.getDuration() * 0.35));
92 mBackground.resetTransition();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcher.java53 private final KeyguardUserSwitcherScrim mBackground; field in KeyguardUserSwitcher
67 mBackground = new KeyguardUserSwitcherScrim(mUserSwitcher); in KeyguardUserSwitcher()
68 mUserSwitcher.setBackground(mBackground); in KeyguardUserSwitcher()
85 mBackground = null; in KeyguardUserSwitcher()
159 mBgAnimator = ObjectAnimator.ofInt(mBackground, "alpha", 0, 255); in startAppearAnimation()
/frameworks/base/core/java/android/widget/
DPopupWindow.java121 private Drawable mBackground; field in PopupWindow
299 return mBackground; in getBackground()
311 mBackground = background; in setBackgroundDrawable()
322 if (mBackground instanceof StateListDrawable) { in setBackgroundDrawable()
323 StateListDrawable stateList = (StateListDrawable) mBackground; in setBackgroundDrawable()
1015 if (mBackground != null) { in updateAboveAnchor()
1061 if (mBackground != null) { in preparePopup()
1075 popupViewContainer.setBackground(mBackground); in preparePopup()
1134 if (mBackground != null) { in createPopupLayout()
1135 p.format = mBackground.getOpacity(); in createPopupLayout()
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java147 protected View mBackground; field in PhotoViewController
305 mBackground = findViewById(R.id.photo_activity_background); in onCreate()
320 mBackground.setVisibility(View.VISIBLE); in onCreate()
934 mBackground.setAlpha(0f); in runEnterAnimation()
935 mBackground.animate().alpha(1f).setDuration(ENTER_ANIMATION_DURATION_MS).start(); in runEnterAnimation()
936 mBackground.setVisibility(View.VISIBLE); in runEnterAnimation()
960 mBackground.startAnimation(alphaAnimation); in runEnterAnimation()
961 mBackground.setVisibility(View.VISIBLE); in runEnterAnimation()
1015 mBackground.animate().alpha(0f).setDuration(EXIT_ANIMATION_DURATION_MS).start(); in runExitAnimation()
1016 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
69 mBackground = a.getDrawable(R.styleable.MenuView_android_itemBackground); in ListMenuItemView()
87 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()
87 setBackgroundDrawable(mBackground); in onFinishInflate()
/frameworks/base/core/java/android/view/
DView.java3200 private Drawable mBackground; field in View
6694 if (mBackground != null) mBackground.setVisible(visibility == VISIBLE, false); in setVisibility()
9796 if (mBackground != null) {
11805 if (mBackground != null && mBackground.isProjected()) {
11839 return mBackground != null;
11994 if (mBackground != null && mBackground.getOpacity() == PixelFormat.OPAQUE) {
13311 if (mBackground != null && (!mLeftPaddingDefined || !mRightPaddingDefined)) {
13317 mBackground.getPadding(padding);
15398 final Drawable background = mBackground;
15910 if (mBackground != null) {
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DNotificationCompat.java2306 private Bitmap mBackground; field in NotificationCompat.WearableExtender
2342 mBackground = wearableBundle.getParcelable(KEY_BACKGROUND); in WearableExtender()
2380 if (mBackground != null) { in extend()
2381 wearableBundle.putParcelable(KEY_BACKGROUND, mBackground); in extend()
2417 that.mBackground = this.mBackground; in clone()
2583 mBackground = background; in setBackground()
2596 return mBackground; in getBackground()
/frameworks/base/core/java/android/app/
DNotification.java4502 private Bitmap mBackground; field in Notification.WearableExtender
4535 mBackground = wearableBundle.getParcelable(KEY_BACKGROUND); in WearableExtender()
4571 if (mBackground != null) { in extend()
4572 wearableBundle.putParcelable(KEY_BACKGROUND, mBackground); in extend()
4608 that.mBackground = this.mBackground; in clone()
4774 mBackground = background; in setBackground()
4787 return mBackground; in getBackground()