/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);
|
/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/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ActionBarBackgroundDrawableV21.java | 21 if (mContainer.mBackground != null) { 22 mContainer.mBackground.getOutline(outline);
|
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...] |
ActionBarBackgroundDrawable.java | 22 if (mContainer.mBackground != null) { 23 mContainer.mBackground.draw(canvas);
|
/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...] |
/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/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...] |
/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/ |
ImageWallpaper.java | 112 Bitmap mBackground; 162 mBackground = null; 177 mBackground != null && mIsHwAccelerated) { 181 mBackground.recycle(); 182 mBackground = null; 214 mBackground = null; 367 if (mBackground == null || surfaceDimensionsChanged) { 369 Log.d(TAG, "Reloading bitmap: mBackground, bgw, bgh, dw, dh = " + 370 mBackground + ", " + 371 ((mBackground == null) ? 0 : mBackground.getWidth()) + ", " [all...] |
/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/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);
|
/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 | 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...] |
/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/Support7Demos/src/com/example/android/supportv7/widget/adapter/ |
SimpleStringAdapter.java | 31 private int mBackground; 60 mBackground = val.resourceId; 79 h.mTextView.setBackgroundResource(mBackground);
|
/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...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
CommonControllerOverlay.java | 57 protected final View mBackground; 83 mBackground = new View(context); 84 mBackground.setBackgroundColor(context.getResources().getColor(R.color.darker_transparent)); 85 addView(mBackground, matchParent); 193 mBackground.setVisibility(View.INVISIBLE); 282 mBackground.layout(0, y - mTimeBar.getBarHeight(), w, y); 308 mBackground.setVisibility(View.VISIBLE);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
TransitionImage.java | 59 private int mBackground = Color.TRANSPARENT; 114 return mBackground; 118 mBackground = color; 264 bundle.putInt(EXTRA_TRANSITION_BITMAP_BACKGROUND, mBackground); 281 intent.putExtra(EXTRA_TRANSITION_BITMAP_BACKGROUND, mBackground); 348 if (mUseClippedRectOnTransparent && mBackground == Color.TRANSPARENT) { 368 + " background=" + mBackground;
|
/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);
|
/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);
|
/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);
|