HomeSort by relevance Sort by last modified time
    Searched refs:mBackground (Results 1 - 25 of 114) sorted by null

1 2 3 4 5

  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationBackgroundView.java 34 private Drawable mBackground;
46 draw(canvas, mBackground);
59 return super.verifyDrawable(who) || who == mBackground;
64 drawableStateChanged(mBackground);
75 if (mBackground != null) {
76 mBackground.setHotspot(x, y);
85 if (mBackground != null) {
86 mBackground.setCallback(null);
87 unscheduleDrawable(mBackground);
89 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 36 private LayerDrawable mBackground;
52 mBackground = new LayerDrawable(list);
54 mBackground.setLayerGravity(1, Gravity.BOTTOM | Gravity.RIGHT);
55 mBackground.setLayerGravity(0, Gravity.TOP | Gravity.LEFT);
56 mBackground.setLayerSize(1, badgeWidth, badgeHeight);
57 mBackground.setLayerSize(0, iconSize, iconSize);
59 setBackground(mBackground);
85 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 41 if (mContainer.mBackground != null) {
42 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();
105 mBackground.showSecondLayer();
  /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 115 private View mBackground;
277 mBackground = findViewById(R.id.docked_divider_background);
362 minimizeTop = mBackground.getTop();
364 minimizeLeft = mBackground.getLeft();
366 minimizeLeft = mBackground.getRight() - mMinimizedShadow.getWidth();
691 mBackground.animate().scaleY(1.4f);
693 mBackground.animate().scaleX(1.4f);
695 mBackground.animate()
715 mBackground.animate()
738 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 59 private Drawable mBackground;
68 if (mBackground != null) {
205 mBackground = drawable;
206 mBackground.setCallback(this);
210 mBackground = null;
218 if (mBackground != null) {
219 mBackground.setBounds(0, 0, getWidth(), mHeaderBackgroundHeight);
220 mBackground.draw(canvas);
226 return super.verifyDrawable(who) || who == mBackground;
231 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);

Completed in 599 milliseconds

1 2 3 4 5