/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationBackgroundView.java | 33 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 D | NotificationGuts.java | 31 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 D | AssistInteractionSession.java | 40 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 D | ActionBarBackgroundDrawableV21.java | 21 if (mContainer.mBackground != null) { 22 mContainer.mBackground.getOutline(outline);
|
H A D | ActionBarContainer.java | 43 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 D | ActionBarBackgroundDrawable.java | 22 if (mContainer.mBackground != null) { 23 mContainer.mBackground.draw(canvas);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarContainer.java | 45 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 D | RotarySelector.java | 68 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 D | RecentApplicationsBackground.java | 38 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 D | DemoModeController.java | 45 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 D | QSDetailClipper.java | 30 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 D | ImageWallpaper.java | 107 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 D | Illustration.java | 48 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 D | RippleDrawable.java | 129 private RippleBackground mBackground; field in class:RippleDrawable 219 if (mBackground != null) { 220 mBackground.end(); 303 if (mBackground != null) { 304 mBackground.onBoundsChange(); 539 if (mRipple == null || mBackground == null) { 554 if (mBackground == null) { 555 mBackground = new RippleBackground(this, mHotspotBounds, mForceSoftware); 558 mBackground.setup(mState.mMaxRadius, mDensity); 559 mBackground [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskViewHeader.java | 72 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 D | RemoteInputView.java | 140 private final Drawable mBackground; field in class:RemoteInputView.RemoteEditText 144 mBackground = getBackground(); 184 setBackground(mBackground);
|
H A D | KeyguardUserSwitcher.java | 53 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 D | ListMenuItemView.java | 47 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 D | PhotoViewController.java | 147 protected View mBackground; field in class:PhotoViewController 313 mBackground = findViewById(R.id.photo_activity_background); 328 mBackground.setVisibility(View.VISIBLE); 949 mBackground.setAlpha(0f); 950 mBackground.animate().alpha(1f).setDuration(ENTER_ANIMATION_DURATION_MS).start(); 951 mBackground.setVisibility(View.VISIBLE); 975 mBackground.startAnimation(alphaAnimation); 976 mBackground.setVisibility(View.VISIBLE); 1030 mBackground.animate().alpha(0f).setDuration(EXIT_ANIMATION_DURATION_MS).start(); 1031 mBackground [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | ListMenuItemView.java | 50 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 D | PopupWindow.java | 143 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 D | View.java | 3366 private Drawable mBackground; field in class:View 9603 final Drawable dr = mBackground; 10668 if (mBackground != null 12723 if (mBackground != null && mBackground.isProjected()) { 12757 return mBackground != null; 12912 if (mBackground != null && mBackground.getOpacity() == PixelFormat.OPAQUE) { 14296 if (mBackground != null && (!mLeftPaddingDefined || !mRightPaddingDefined)) { 14302 mBackground [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 2342 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 D | Notification.java | 4707 private Bitmap mBackground; field in class:Notification.WearableExtender 4740 mBackground = wearableBundle.getParcelable(KEY_BACKGROUND); 4776 if (mBackground != null) { 4777 wearableBundle.putParcelable(KEY_BACKGROUND, mBackground); 4813 that.mBackground = this.mBackground; 4979 mBackground = background; 4992 return mBackground;
|