Searched refs:mBackground (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationBackgroundView.java33 private Drawable mBackground; field in class:NotificationBackgroundView
43 draw(canvas, mBackground);
55 return super.verifyDrawable(who) || who == mBackground;
60 drawableStateChanged(mBackground);
71 if (mBackground != null) {
72 mBackground.setHotspot(x, y);
81 if (mBackground != null) {
82 mBackground.setCallback(null);
83 unscheduleDrawable(mBackground);
85 mBackground
[all...]
H A DNotificationGuts.java61 private Drawable mBackground; field in class:NotificationGuts
133 draw(canvas, mBackground);
146 mBackground = mContext.getDrawable(R.drawable.notification_guts_bg);
147 if (mBackground != null) {
148 mBackground.setCallback(this);
154 return super.verifyDrawable(who) || who == mBackground;
159 drawableStateChanged(mBackground);
170 if (mBackground != null) {
171 mBackground.setHotspot(x, y);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionBarBackgroundDrawableV21.java36 if (mContainer.mBackground != null) {
37 mContainer.mBackground.getOutline(outline);
H A DActionBarContainer.java42 Drawable mBackground; field in class:ActionBarContainer
64 mBackground = a.getDrawable(R.styleable.ActionBar_background);
76 mBackground == null && mStackedBackground == null);
87 if (mBackground != null) {
88 mBackground.setCallback(null);
89 unscheduleDrawable(mBackground);
91 mBackground = bg;
95 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(),
100 mBackground == null && mStackedBackground == null);
118 mBackground
[all...]
H A DActionBarBackgroundDrawable.java38 if (mContainer.mBackground != null) {
39 mContainer.mBackground.draw(canvas);
/frameworks/base/tests/Assist/src/com/android/test/assist/
H A DAssistInteractionSession.java40 private View mBackground; field in class:AssistInteractionSession
86 mBackground = v.findViewById(R.id.background);
98 mBackground.getViewTreeObserver().addOnPreDrawListener(
102 mBackground.getViewTreeObserver().removeOnPreDrawListener(this);
117 Interpolator linearOutSlowIn = AnimationUtils.loadInterpolator(mBackground.getContext(),
119 Interpolator fastOutSlowIn = AnimationUtils.loadInterpolator(mBackground.getContext(),
126 mBackground.setTranslationY(50 * mDensity);
127 mBackground.animate()
131 int centerX = mBackground.getWidth()/2;
132 int centerY = (int) (mBackground
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DRecentApplicationsBackground.java38 private Drawable mBackground; field in class:RecentApplicationsBackground
53 mBackground = getBackground();
70 return who == mBackground || super.verifyDrawable(who);
76 if (mBackground != null) mBackground.jumpToCurrentState();
81 Drawable d = mBackground;
90 final Drawable background = mBackground;
96 mBackground.getPadding(bkg);
118 mBackground.draw(canvas);
133 mBackground
[all...]
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/
H A DDemoModeController.java45 private Handler mBackground; field in class:DemoModeController
69 mBackground = new Handler(background.getLooper());
141 mBackground.removeCallbacks(mUpdateClock);
142 mBackground.post(mUpdateClock);
148 mBackground.removeCallbacks(mUpdateClock);
149 mBackground.post(mUpdateClock);
155 mBackground.removeCallbacks(mUpdateBattery);
156 mBackground.post(mUpdateBattery);
162 mBackground.removeCallbacks(mUpdateBattery);
163 mBackground
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarContainer.java45 private Drawable mBackground; field in class:ActionBarContainer
64 mBackground = a.getDrawable(com.android.internal.R.styleable.ActionBar_background);
77 mBackground == null && mStackedBackground == null);
88 if (mBackground != null) {
89 mBackground.setCallback(null);
90 unscheduleDrawable(mBackground);
92 mBackground = bg;
96 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(),
101 mBackground == null && mStackedBackground == null);
119 mBackground
[all...]
H A DRotarySelector.java68 private Bitmap mBackground; field in class:RotarySelector
190 mBackground = getBitmapFor(R.drawable.jog_dial_bg);
204 mBackgroundWidth = mBackground.getWidth();
205 mBackgroundHeight = mBackground.getHeight();
318 canvas.drawBitmap(mBackground, mBgMatrix, mPaint);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSDetailClipper.java30 private final TransitionDrawable mBackground; field in class:QSDetailClipper
36 mBackground = (TransitionDrawable) detail.getBackground();
66 mBackground.startTransition((int)(mAnimator.getDuration() * 0.6));
79 mBackground.reverseTransition((int)(mAnimator.getDuration() * 0.35));
99 mBackground.resetTransition();
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
H A DIllustration.java48 private Drawable mBackground; field in class:Illustration
94 if (background == mBackground) {
97 mBackground = background;
168 if (mBackground != null) {
171 mBackground.setBounds(0, 0, (int) Math.ceil(layoutWidth / mScale),
179 if (mBackground != null) {
186 shouldMirrorDrawable(mBackground, getLayoutDirection())) {
189 canvas.translate(-mBackground.getBounds().width(), 0);
191 mBackground.draw(canvas);
/frameworks/support/v7/cardview/api21/android/support/v7/widget/
H A DRoundRectDrawable.java50 private ColorStateList mBackground; field in class:RoundRectDrawable
65 mBackground = (color == null) ? ColorStateList.valueOf(Color.TRANSPARENT) : color;
66 mPaint.setColor(mBackground.getColorForState(getState(), mBackground.getDefaultColor()));
164 return mBackground;
183 final int newColor = mBackground.getColorForState(stateSet, mBackground.getDefaultColor());
198 || (mBackground != null && mBackground.isStateful()) || super.isStateful();
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleDrawable.java129 private RippleBackground mBackground; field in class:RippleDrawable
219 if (mBackground != null) {
220 mBackground.end();
306 if (mBackground != null) {
307 mBackground.onBoundsChange();
531 if (mRipple == null || mBackground == null) {
546 if (mBackground == null) {
548 mBackground = new RippleBackground(this, mHotspotBounds, isBounded, mForceSoftware);
551 mBackground.setup(mState.mMaxRadius, mDensity);
552 mBackground
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java110 Bitmap mBackground; field in class:ImageWallpaper.DrawableEngine
172 && mBackground != null) {
176 mBackground.recycle();
177 mBackground = null;
201 mBackground = null;
361 if (mBackground == null) {
363 Log.d(TAG, "Reloading bitmap: mBackground, bgw, bgh, dw, dh = " +
364 mBackground + ", " +
365 ((mBackground == null) ? 0 : mBackground
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DDividerView.java110 private View mBackground; field in class:DividerView
250 mBackground = findViewById(R.id.docked_divider_background);
323 minimizeTop = mBackground.getTop();
325 minimizeLeft = mBackground.getLeft();
327 minimizeLeft = mBackground.getRight() - mMinimizedShadow.getWidth();
601 mBackground.animate().scaleY(1.4f);
603 mBackground.animate().scaleX(1.4f);
605 mBackground.animate()
625 mBackground.animate()
647 mBackground
[all...]
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
H A DRoundRectDrawableWithShadow.java78 private ColorStateList mBackground; field in class:RoundRectDrawableWithShadow
110 mBackground = (color == null) ? ColorStateList.valueOf(Color.TRANSPARENT) : color;
111 mPaint.setColor(mBackground.getColorForState(getState(), mBackground.getDefaultColor()));
201 final int newColor = mBackground.getColorForState(stateSet, mBackground.getDefaultColor());
213 return (mBackground != null && mBackground.isStateful()) || super.isStateful();
386 return mBackground;
/frameworks/base/core/java/android/view/
H A DNotificationHeaderView.java55 private Drawable mBackground; field in class:NotificationHeaderView
61 if (mBackground != null) {
223 mBackground = drawable;
224 mBackground.setCallback(this);
228 mBackground = null;
236 if (mBackground != null) {
237 mBackground.setBounds(0, 0, getWidth(), mHeaderBackgroundHeight);
238 mBackground.draw(canvas);
244 return super.verifyDrawable(who) || who == mBackground;
249 if (mBackground !
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcher.java51 private final KeyguardUserSwitcherScrim mBackground; field in class:KeyguardUserSwitcher
65 mBackground = new KeyguardUserSwitcherScrim(context);
81 mBackground = null;
88 mUserSwitcher.removeOnLayoutChangeListener(mBackground);
97 mUserSwitcher.addOnLayoutChangeListener(mBackground);
98 mUserSwitcher.setBackground(mBackground);
171 mBgAnimator = ObjectAnimator.ofInt(mBackground, "alpha", 0, 255);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockscreenWallpaper.java222 super(new BitmapDrawable(r, state.mBackground));
240 int dwidth = mState.mBackground.getWidth();
241 int dheight = mState.mBackground.getHeight();
272 private final Bitmap mBackground; field in class:LockscreenWallpaper.WallpaperDrawable.ConstantState
275 mBackground = background;
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DListMenuItemView.java50 private Drawable mBackground; field in class:ListMenuItemView
72 mBackground = a.getDrawable(R.styleable.MenuView_android_itemBackground);
87 setBackgroundDrawable(mBackground);
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java150 protected View mBackground; field in class:PhotoViewController
317 mBackground = getBackground();
333 mBackground.setVisibility(View.VISIBLE);
438 return mBackground != null;
1014 mBackground.setAlpha(0f);
1015 mBackground.animate().alpha(1f).setDuration(ENTER_ANIMATION_DURATION_MS).start();
1016 mBackground.setVisibility(View.VISIBLE);
1044 mBackground.startAnimation(alphaAnimation);
1045 mBackground.setVisibility(View.VISIBLE);
1103 mBackground
[all...]
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java180 private Drawable mBackground; field in class:PopupWindow
476 return mBackground;
488 mBackground = background;
499 if (mBackground instanceof StateListDrawable) {
500 StateListDrawable stateList = (StateListDrawable) mBackground;
1243 if (mBackground != null && mBackgroundView != null) {
1296 if (mBackground != null) {
1298 mBackgroundView.setBackground(mBackground);
1425 if (mBackground != null) {
1426 p.format = mBackground
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DListMenuItemView.java48 private Drawable mBackground; field in class:ListMenuItemView
67 mBackground = a.getDrawable(com.android.internal.R.styleable.MenuView_itemBackground);
90 setBackgroundDrawable(mBackground);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewHeader.java175 private HighlightColorDrawable mBackground; field in class:TaskViewHeader
218 mBackground = new HighlightColorDrawable();
219 mBackground.setColorAndDim(Color.argb(255, 0, 0, 0), 0f);
220 setBackground(mBackground);
422 updateBackgroundColor(mBackground.getColor(), dimAlpha);
431 mBackground.setColorAndDim(color, dimAlpha);
450 if (mBackground.getColor() != primaryColor) {

Completed in 1845 milliseconds

12