/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationBackgroundView.java | 33 private Drawable mBackground; 44 draw(canvas, mBackground); 57 return super.verifyDrawable(who) || who == mBackground; 62 drawableStateChanged(mBackground); 73 if (mBackground != null) { 74 mBackground.setHotspot(x, y); 83 if (mBackground != null) { 84 mBackground.setCallback(null); 85 unscheduleDrawable(mBackground); 87 mBackground = background [all...] |
NotificationGuts.java | 68 private Drawable mBackground; 171 draw(canvas, mBackground); 186 mBackground = mContext.getDrawable(R.drawable.notification_guts_bg); 187 if (mBackground != null) { 188 mBackground.setCallback(this); 194 return super.verifyDrawable(who) || who == mBackground; 199 drawableStateChanged(mBackground); 210 if (mBackground != null) { 211 mBackground.setHotspot(x, y);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
DropBadgeView.java | 35 private LayerDrawable mBackground; 51 mBackground = new LayerDrawable(list); 53 mBackground.setLayerGravity(1, Gravity.BOTTOM | Gravity.RIGHT); 54 mBackground.setLayerGravity(0, Gravity.TOP | Gravity.LEFT); 55 mBackground.setLayerSize(1, badgeWidth, badgeHeight); 56 mBackground.setLayerSize(0, iconSize, iconSize); 58 setBackground(mBackground); 87 mBackground.setDrawable(0, icon);
|
/frameworks/base/tests/Assist/src/com/android/test/assist/ |
AssistInteractionSession.java | 40 private View mBackground; 89 mBackground = v.findViewById(R.id.background); 101 mBackground.getViewTreeObserver().addOnPreDrawListener( 105 mBackground.getViewTreeObserver().removeOnPreDrawListener(this); 120 Interpolator linearOutSlowIn = AnimationUtils.loadInterpolator(mBackground.getContext(), 122 Interpolator fastOutSlowIn = AnimationUtils.loadInterpolator(mBackground.getContext(), 129 mBackground.setTranslationY(50 * mDensity); 130 mBackground.animate() 134 int centerX = mBackground.getWidth()/2; 135 int centerY = (int) (mBackground.getHeight()/5*3.8f) [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
ModeIconView.java | 37 private final GradientDrawable mBackground; 50 mBackground = (GradientDrawable) getResources() 52 mBackground.setBounds(0, 0, mIconBackgroundSize, mIconBackgroundSize); 78 mBackground.draw(canvas); 107 mBackground.setColor(mHighlightColor); 109 mBackground.setColor(mBackgroundDefaultColor);
|
RadioOptions.java | 43 private Drawable mBackground; 68 mBackground = context.getResources() 124 view.setBackground(mBackground);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
BaseActivity.java | 44 private ColorDrawable mBackground; 77 if (mBackground == null) { 78 mBackground = new ColorDrawable(color); 79 getWindow().setBackgroundDrawable(mBackground); 87 final @ColorInt int currentColor = mBackground.getColor(); 102 mBackground.setColor(color);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ActionBarBackgroundDrawableV21.java | 38 if (mContainer.mBackground != null) { 39 mContainer.mBackground.getOutline(outline);
|
ActionBarContainer.java | 46 Drawable mBackground; 68 mBackground = a.getDrawable(R.styleable.ActionBar_background); 80 mBackground == null && mStackedBackground == null); 91 if (mBackground != null) { 92 mBackground.setCallback(null); 93 unscheduleDrawable(mBackground); 95 mBackground = bg; 99 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), 104 mBackground == null && mStackedBackground == null); 122 mBackground == null && mStackedBackground == null) [all...] |
ActionBarBackgroundDrawable.java | 40 if (mContainer.mBackground != null) { 41 mContainer.mBackground.draw(canvas);
|
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/ |
DemoModeController.java | 45 private Handler mBackground; 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.post(mUpdateBattery) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarContainer.java | 45 private Drawable mBackground; 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 == null && mStackedBackground == null) [all...] |
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
Slider.java | 19 private Drawable mBackground; 35 mBackground = background; 77 mBackground = res 80 mBackground = res 92 int bgW = mBackground.getIntrinsicWidth() / 2; 96 mBackground.setBounds(lineX - bgW, r.top + 10, lineX + bgW, 98 mBackground.draw(canvas); 107 int bgH = mBackground.getIntrinsicHeight() / 2; 111 mBackground.setBounds(r.left + 10, lineY - bgH, r.right - 10, lineY 113 mBackground.draw(canvas) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
QSDetailClipper.java | 30 private final TransitionDrawable mBackground; 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/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
SimpleStringRecyclerViewAdapter.java | 34 private int mBackground; 62 mBackground = val.resourceId; 71 textView.setBackgroundResource(mBackground);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
Illustration.java | 48 private Drawable mBackground; 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/src/android/support/v7/widget/ |
RoundRectDrawable.java | 52 private ColorStateList mBackground; 67 mBackground = (color == null) ? ColorStateList.valueOf(Color.TRANSPARENT) : color; 68 mPaint.setColor(mBackground.getColorForState(getState(), mBackground.getDefaultColor())); 166 return mBackground; 185 final int newColor = mBackground.getColorForState(stateSet, mBackground.getDefaultColor()); 200 || (mBackground != null && mBackground.isStateful()) || super.isStateful();
|
RoundRectDrawableWithShadow.java | 75 private ColorStateList mBackground; 107 mBackground = (color == null) ? ColorStateList.valueOf(Color.TRANSPARENT) : color; 108 mPaint.setColor(mBackground.getColorForState(getState(), mBackground.getDefaultColor())); 197 final int newColor = mBackground.getColorForState(stateSet, mBackground.getDefaultColor()); 209 return (mBackground != null && mBackground.isStateful()) || super.isStateful(); 381 return mBackground;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
BubbleTextView.java | 59 private Drawable mBackground; 81 mBackground = getBackground(); 113 return who == mBackground || super.verifyDrawable(who); 157 Drawable d = mBackground; 280 final Drawable background = mBackground; 321 if (mBackground != null) mBackground.setCallback(this); 327 if (mBackground != null) mBackground.setCallback(null);
|
Cling.java | 60 private Drawable mBackground; 113 mBackground = null; 206 if (mBackground == null) { 210 mBackground = getResources().getDrawable(R.drawable.bg_cling1); 214 mBackground = getResources().getDrawable(R.drawable.bg_cling2); 217 mBackground = getResources().getDrawable(R.drawable.bg_cling3); 219 mBackground = getResources().getDrawable(R.drawable.bg_cling4); 221 mBackground = getResources().getDrawable(R.drawable.bg_cling5); 224 if (mBackground != null) { 225 mBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()) [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
RippleDrawable.java | 129 private RippleBackground mBackground; 219 if (mBackground != null) { 220 mBackground.end(); 306 if (mBackground != null) { 307 mBackground.onBoundsChange(); 537 if (mRipple == null || mBackground == null) { 552 if (mBackground == null) { 554 mBackground = new RippleBackground(this, mHotspotBounds, isBounded, mForceSoftware); 557 mBackground.setup(mState.mMaxRadius, mDensity); 558 mBackground.enter(focused) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
DividerView.java | 116 private View mBackground; 278 mBackground = findViewById(R.id.docked_divider_background); 357 minimizeTop = mBackground.getTop(); 359 minimizeLeft = mBackground.getLeft(); 361 minimizeLeft = mBackground.getRight() - mMinimizedShadow.getWidth(); 668 mBackground.animate().scaleY(1.4f); 670 mBackground.animate().scaleX(1.4f); 672 mBackground.animate() 692 mBackground.animate() 715 mBackground.setPivotY(0) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ImageWallpaper.java | 104 Bitmap mBackground; 166 && mBackground != null) { 191 mBackground = null; 350 if (mBackground == null) { 352 Log.d(TAG, "Reloading bitmap: mBackground, bgw, bgh, dw, dh = " + 353 mBackground + ", " + 354 ((mBackground == null) ? 0 : mBackground.getWidth()) + ", " + 355 ((mBackground == null) ? 0 : mBackground.getHeight()) + ", " [all...] |
/frameworks/base/core/java/android/view/ |
NotificationHeaderView.java | 56 private Drawable mBackground; 62 if (mBackground != null) { 195 mBackground = drawable; 196 mBackground.setCallback(this); 200 mBackground = null; 208 if (mBackground != null) { 209 mBackground.setBounds(0, 0, getWidth(), mHeaderBackgroundHeight); 210 mBackground.draw(canvas); 216 return super.verifyDrawable(who) || who == mBackground; 221 if (mBackground != null && mBackground.isStateful()) [all...] |
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
RvBoxAdapter.java | 31 private int mBackground; 55 mBackground = val.resourceId; 66 h.mTextView.setBackgroundResource(mBackground);
|