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

/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.java31 private Drawable mBackground; field in class:NotificationGuts
42 draw(canvas, mBackground);
55 mBackground = mContext.getDrawable(R.drawable.notification_guts_bg);
56 if (mBackground != null) {
57 mBackground.setCallback(this);
63 return super.verifyDrawable(who) || who == mBackground;
68 drawableStateChanged(mBackground);
79 if (mBackground != null) {
80 mBackground.setHotspot(x, y);
/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/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarBackgroundDrawableV21.java21 if (mContainer.mBackground != null) {
22 mContainer.mBackground.getOutline(outline);
H A DActionBarContainer.java43 Drawable mBackground; field in class:ActionBarContainer
65 mBackground = a.getDrawable(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 DActionBarBackgroundDrawable.java22 if (mContainer.mBackground != null) {
23 mContainer.mBackground.draw(canvas);
/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/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/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/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java107 Bitmap mBackground; field in class:ImageWallpaper.DrawableEngine
165 mBackground != null) {
169 mBackground.recycle();
170 mBackground = null;
195 mBackground = null;
340 if (mBackground == null || surfaceDimensionsChanged) {
342 Log.d(TAG, "Reloading bitmap: mBackground, bgw, bgh, dw, dh = " +
343 mBackground + ", " +
344 ((mBackground == null) ? 0 : mBackground
[all...]
/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;
167 if (mBackground != null) {
170 mBackground.setBounds(0, 0, (int) Math.ceil(layoutWidth / mScale),
178 if (mBackground != null) {
185 shouldMirrorDrawable(mBackground, getLayoutDirection())) {
188 canvas.translate(-mBackground.getBounds().width(), 0);
190 mBackground.draw(canvas);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleDrawable.java129 private RippleBackground mBackground; field in class:RippleDrawable
213 if (mBackground != null) {
214 mBackground.end();
297 if (mBackground != null) {
298 mBackground.onBoundsChange();
533 if (mRipple == null || mBackground == null) {
548 if (mBackground == null) {
549 mBackground = new RippleBackground(this, mHotspotBounds);
552 mBackground.setup(mState.mMaxRadius, mDensity);
553 mBackground
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewHeader.java72 RippleDrawable mBackground; field in class:TaskViewHeader
146 mBackground = (RippleDrawable)
148 mBackground = (RippleDrawable) mBackground.mutate().getConstantState().newDrawable();
149 mBackground.setColor(ColorStateList.valueOf(0));
150 mBackground.setDrawableByLayerId(mBackground.getId(0), mBackgroundColorDrawable);
151 setBackground(mBackground);
362 mBackground.setColor(new ColorStateList(states, colors));
363 mBackground
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DRemoteInputView.java140 private final Drawable mBackground; field in class:RemoteInputView.RemoteEditText
144 mBackground = getBackground();
184 setBackground(mBackground);
H A DKeyguardUserSwitcher.java53 private final KeyguardUserSwitcherScrim mBackground; field in class:KeyguardUserSwitcher
67 mBackground = new KeyguardUserSwitcherScrim(mUserSwitcher);
68 mUserSwitcher.setBackground(mBackground);
85 mBackground = null;
159 mBgAnimator = ObjectAnimator.ofInt(mBackground, "alpha", 0, 255);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DListMenuItemView.java47 private Drawable mBackground; field in class:ListMenuItemView
65 mBackground = a.getDrawable(com.android.internal.R.styleable.MenuView_itemBackground);
87 setBackgroundDrawable(mBackground);
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java147 protected View mBackground; field in class:PhotoViewController
305 mBackground = findViewById(R.id.photo_activity_background);
320 mBackground.setVisibility(View.VISIBLE);
934 mBackground.setAlpha(0f);
935 mBackground.animate().alpha(1f).setDuration(ENTER_ANIMATION_DURATION_MS).start();
936 mBackground.setVisibility(View.VISIBLE);
960 mBackground.startAnimation(alphaAnimation);
961 mBackground.setVisibility(View.VISIBLE);
1015 mBackground.animate().alpha(0f).setDuration(EXIT_ANIMATION_DURATION_MS).start();
1016 mBackground
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DListMenuItemView.java50 private Drawable mBackground; field in class:ListMenuItemView
69 mBackground = a.getDrawable(R.styleable.MenuView_android_itemBackground);
87 setBackgroundDrawable(mBackground);
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java143 private Drawable mBackground; field in class:PopupWindow
367 return mBackground;
379 mBackground = background;
390 if (mBackground instanceof StateListDrawable) {
391 StateListDrawable stateList = (StateListDrawable) mBackground;
1117 if (mBackground != null && mBackgroundView != null) {
1170 if (mBackground != null) {
1172 mBackgroundView.setBackground(mBackground);
1295 if (mBackground != null) {
1296 p.format = mBackground
[all...]
/frameworks/base/core/java/android/view/
H A DView.java3360 private Drawable mBackground; field in class:View
9597 final Drawable dr = mBackground;
10662 if (mBackground != null
12717 if (mBackground != null && mBackground.isProjected()) {
12751 return mBackground != null;
12906 if (mBackground != null && mBackground.getOpacity() == PixelFormat.OPAQUE) {
14290 if (mBackground != null && (!mLeftPaddingDefined || !mRightPaddingDefined)) {
14296 mBackground
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java2342 private Bitmap mBackground; field in class:NotificationCompat.WearableExtender
2378 mBackground = wearableBundle.getParcelable(KEY_BACKGROUND);
2416 if (mBackground != null) {
2417 wearableBundle.putParcelable(KEY_BACKGROUND, mBackground);
2453 that.mBackground = this.mBackground;
2619 mBackground = background;
2632 return mBackground;
/frameworks/base/core/java/android/app/
H A DNotification.java4702 private Bitmap mBackground; field in class:Notification.WearableExtender
4735 mBackground = wearableBundle.getParcelable(KEY_BACKGROUND);
4771 if (mBackground != null) {
4772 wearableBundle.putParcelable(KEY_BACKGROUND, mBackground);
4808 that.mBackground = this.mBackground;
4974 mBackground = background;
4987 return mBackground;

Completed in 650 milliseconds