/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationBackgroundView.java | 35 private Drawable mBackground; 45 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 | 31 private Drawable mBackground; 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/packages/SystemUI/src/com/android/systemui/qs/ |
QSDetailClipper.java | 30 private final TransitionDrawable mBackground; 36 mBackground = (TransitionDrawable) detail.getBackground(); 60 mBackground.startTransition((int)(mAnimator.getDuration() * 0.6)); 73 mBackground.reverseTransition((int)(mAnimator.getDuration() * 0.35)); 95 mBackground.resetTransition();
|
/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);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
RecentApplicationsBackground.java | 38 private Drawable mBackground; 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.setCallback(this) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
TaskViewHeader.java | 63 RippleDrawable mBackground; 152 mBackground = (RippleDrawable) 154 mBackground = (RippleDrawable) mBackground.mutate().getConstantState().newDrawable(); 155 mBackground.setColor(ColorStateList.valueOf(0)); 156 mBackground.setDrawableByLayerId(mBackground.getId(0), mBackgroundColorDrawable); 157 setBackground(mBackground); 292 mBackground.setColor(new ColorStateList(states, colors)); 293 mBackground.setState(newStates) [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
RippleDrawable.java | 124 private RippleBackground mBackground; 213 if (mBackground != null) { 214 needsDraw |= mBackground.isHardwareAnimating(); 215 mBackground.jump(); 478 if (mRipple == null || mBackground == null) { 493 if (mBackground == null) { 494 mBackground = new RippleBackground(this, mHotspotBounds); 498 mBackground.setup(mState.mMaxRadius, color, mDensity); 499 mBackground.enter(); 503 if (mBackground != null) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ActionBarContainer.java | 43 Drawable mBackground; 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 == null && mStackedBackground == null) [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/ |
SimpleStringAdapter.java | 31 private int mBackground; 60 mBackground = val.resourceId; 79 h.mTextView.setBackgroundResource(mBackground);
|
/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...] |
/external/replicaisland/src/com/replica/replicaisland/ |
DifficultyMenuActivity.java | 19 private View mBackground; 36 mBackground.startAnimation(mFadeOutAnimation); 55 mBackground.startAnimation(mFadeOutAnimation); 74 mBackground.startAnimation(mFadeOutAnimation); 96 mBackground = findViewById(R.id.mainMenuBackground);
|
MainMenuActivity.java | 44 private View mBackground; 65 mBackground.startAnimation(mFadeOutAnimation); 81 mBackground.startAnimation(mFadeOutAnimation); 125 mBackground = findViewById(R.id.mainMenuBackground); 297 if (mBackground != null) { 298 mBackground.clearAnimation();
|
ExtrasMenuActivity.java | 23 private View mBackground; 83 mBackground.startAnimation(mFadeOutAnimation); 103 mBackground = findViewById(R.id.mainMenuBackground);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
SetupWizardIllustration.java | 45 private Drawable mBackground; 84 mBackground = background; 98 mBackground.setLayoutDirection(layoutDirection); 133 if (mBackground != null) { 136 mBackground.setBounds(0, 0, (int) Math.ceil(layoutWidth / mScale), 144 if (mBackground != null) { 150 mBackground.draw(canvas);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
TestGraphics.java | 36 private IColor mBackground = new TestColor(0x000000); 116 return mBackground; 144 mBackground = color;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
WindowSurface.java | 163 final Paint mBackground = new Paint(); 179 mBackground.setColor(0xff000000); 234 canvas.drawColor(mBackground.getColor());
|
/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...] |
/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...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
BubbleTextView.java | 64 private final Drawable mBackground; 88 mBackground = getBackground(); 91 mBackground = null; 169 return who == mBackground || super.verifyDrawable(who); 285 final Drawable background = mBackground; 327 if (mBackground != null) mBackground.setCallback(this); 339 if (mBackground != null) mBackground.setCallback(null);
|
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
PictureDetailsActivity.java | 57 ColorDrawable mBackground; 93 mBackground = new ColorDrawable(Color.BLACK); 94 mTopLevelLayout.setBackground(mBackground); 165 ObjectAnimator bgAnim = ObjectAnimator.ofInt(mBackground, "alpha", 0, 255); 225 ObjectAnimator bgAnim = ObjectAnimator.ofInt(mBackground, "alpha", 0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
KeyguardUserSwitcher.java | 53 private final KeyguardUserSwitcherScrim mBackground; 62 mBackground = new KeyguardUserSwitcherScrim(mUserSwitcher); 63 mUserSwitcher.setBackground(mBackground); 78 mBackground = null; 149 mBgAnimator = ObjectAnimator.ofInt(mBackground, "alpha", 0, 255);
|
/packages/apps/Browser/src/com/android/browser/view/ |
PieMenu.java | 99 private Drawable mBackground; 150 mBackground = res.getDrawable(R.drawable.qc_background_normal); 297 int w = mBackground.getIntrinsicWidth(); 298 int h = mBackground.getIntrinsicHeight(); 301 mBackground.setBounds(left, top, left + w, top + h); 306 mBackground.draw(canvas);
|
/development/samples/Home/src/com/example/android/home/ |
ApplicationsStackLayout.java | 83 private Drawable mBackground; 116 mBackground = getBackground(); 132 final Drawable background = mBackground;
|