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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationBackgroundView.java33 private Drawable mBackground; field in class:NotificationBackgroundView
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
[all...]
H A DNotificationGuts.java68 private Drawable mBackground; field in class:NotificationGuts
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);
/frameworks/base/tests/Assist/src/com/android/test/assist/
H A DAssistInteractionSession.java40 private View mBackground; field in class:AssistInteractionSession
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
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionBarBackgroundDrawableV21.java38 if (mContainer.mBackground != null) {
39 mContainer.mBackground.getOutline(outline);
H A DActionBarContainer.java46 Drawable mBackground; field in class:ActionBarContainer
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
[all...]
H A DActionBarBackgroundDrawable.java40 if (mContainer.mBackground != null) {
41 mContainer.mBackground.draw(canvas);
/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...]
/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();
H A DQSContainerImpl.java43 private View mBackground; field in class:QSContainerImpl
58 mBackground = findViewById(R.id.qs_background);
116 mBackground.setBottom(getTop() + height);
122 mBackground.setElevation(elevation);
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DSimpleStringRecyclerViewAdapter.java34 private int mBackground; field in class:SimpleStringRecyclerViewAdapter
62 mBackground = val.resourceId;
71 textView.setBackgroundResource(mBackground);
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DSimpleStringRecyclerViewAdapter.java34 private int mBackground; field in class:SimpleStringRecyclerViewAdapter
62 mBackground = val.resourceId;
71 textView.setBackgroundResource(mBackground);
/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/src/android/support/v7/widget/
H A DRoundRectDrawable.java52 private ColorStateList mBackground; field in class:RoundRectDrawable
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();
H A DRoundRectDrawableWithShadow.java75 private ColorStateList mBackground; field in class:RoundRectDrawableWithShadow
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;
/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();
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
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DDividerView.java116 private View mBackground; field in class:DividerView
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
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java104 Bitmap mBackground; field in class:ImageWallpaper.DrawableEngine
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
[all...]
/frameworks/base/core/java/android/view/
H A DNotificationHeaderView.java56 private Drawable mBackground; field in class:NotificationHeaderView
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 !
[all...]
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
H A DRvBoxAdapter.java31 private int mBackground; field in class:RvBoxAdapter
55 mBackground = val.resourceId;
66 h.mTextView.setBackgroundResource(mBackground);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcher.java52 private final KeyguardUserSwitcherScrim mBackground; field in class:KeyguardUserSwitcher
66 mBackground = new KeyguardUserSwitcherScrim(context);
82 mBackground = null;
89 mUserSwitcher.removeOnLayoutChangeListener(mBackground);
98 mUserSwitcher.addOnLayoutChangeListener(mBackground);
99 mUserSwitcher.setBackground(mBackground);
174 mBgAnimator = ObjectAnimator.ofInt(mBackground, "alpha", 0, 255);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockscreenWallpaper.java229 super(new BitmapDrawable(r, state.mBackground));
253 int dwidth = mState.mBackground.getWidth();
254 int dheight = mState.mBackground.getHeight();
285 private final Bitmap mBackground; field in class:LockscreenWallpaper.WallpaperDrawable.ConstantState
288 mBackground = background;
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/
H A DSimpleStringAdapter.java35 private int mBackground; field in class:SimpleStringAdapter
64 mBackground = val.resourceId;
83 h.mTextView.setBackgroundResource(mBackground);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/
H A DSimpleStringAdapter.java35 private int mBackground; field in class:SimpleStringAdapter
64 mBackground = val.resourceId;
83 h.mTextView.setBackgroundResource(mBackground);
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
H A DSwarm.java65 Background mBackground = new Background(); field in class:Swarm
202 mBackground = new Background();
203 mBackground.execute();
208 mBackground.keepRunning = false;
280 mBackground.keepRunning = false;
283 mBackground = new Background();
284 mBackground.execute();

Completed in 768 milliseconds

12