/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationBackgroundView.java | 33 private Drawable mBackground; 43 draw(canvas, mBackground); 55 return super.verifyDrawable(who) || who == mBackground; 60 drawableStateChanged(mBackground); 71 if (mBackground != null) { 72 mBackground.setHotspot(x, y); 81 if (mBackground != null) { 82 mBackground.setCallback(null); 83 unscheduleDrawable(mBackground); 85 mBackground = background [all...] |
NotificationGuts.java | 61 private Drawable mBackground; 133 draw(canvas, mBackground); 146 mBackground = mContext.getDrawable(R.drawable.notification_guts_bg); 147 if (mBackground != null) { 148 mBackground.setCallback(this); 154 return super.verifyDrawable(who) || who == mBackground; 159 drawableStateChanged(mBackground); 170 if (mBackground != null) { 171 mBackground.setHotspot(x, y);
|
/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...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
BaseActivity.java | 52 private ColorDrawable mBackground; 102 if (mBackground != null) { 103 outState.putInt(KEY_BACKGROUND_COLOR, mBackground.getColor()); 114 if (mBackground == null) { 115 mBackground = new ColorDrawable(color); 116 getWindow().setBackgroundDrawable(mBackground); 119 if (mBackground.getColor() != color) { 121 ObjectAnimator.ofObject(mBackground, "color", AnimatorUtils.ARGB_EVALUATOR, color) 125 mBackground.setColor(color);
|
/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...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ActionBarContainer.java | 42 Drawable mBackground; 64 mBackground = a.getDrawable(R.styleable.ActionBar_background); 76 mBackground == null && mStackedBackground == null); 87 if (mBackground != null) { 88 mBackground.setCallback(null); 89 unscheduleDrawable(mBackground); 91 mBackground = bg; 95 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), 100 mBackground == null && mStackedBackground == null); 118 mBackground == null && mStackedBackground == null) [all...] |
ActionBarBackgroundDrawable.java | 38 if (mContainer.mBackground != null) { 39 mContainer.mBackground.draw(canvas);
|
ActionBarBackgroundDrawableV21.java | 36 if (mContainer.mBackground != null) { 37 mContainer.mBackground.getOutline(outline);
|
/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/services/core/java/com/android/server/policy/ |
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...] |
/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);
|
/frameworks/support/v7/cardview/api21/android/support/v7/widget/ |
RoundRectDrawable.java | 50 private ColorStateList mBackground; 65 mBackground = (color == null) ? ColorStateList.valueOf(Color.TRANSPARENT) : color; 66 mPaint.setColor(mBackground.getColorForState(getState(), mBackground.getDefaultColor())); 164 return mBackground; 183 final int newColor = mBackground.getColorForState(stateSet, mBackground.getDefaultColor()); 198 || (mBackground != null && mBackground.isStateful()) || super.isStateful();
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
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...] |
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);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ImageWallpaper.java | 110 Bitmap mBackground; 172 && mBackground != null) { 176 mBackground.recycle(); 177 mBackground = null; 201 mBackground = null; 361 if (mBackground == null) { 363 Log.d(TAG, "Reloading bitmap: mBackground, bgw, bgh, dw, dh = " + 364 mBackground + ", " + 365 ((mBackground == null) ? 0 : mBackground.getWidth()) + ", " [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);
|
/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/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
DividerView.java | 116 private View mBackground; 274 mBackground = findViewById(R.id.docked_divider_background); 367 minimizeTop = mBackground.getTop(); 369 minimizeLeft = mBackground.getLeft(); 371 minimizeLeft = mBackground.getRight() - mMinimizedShadow.getWidth(); 655 mBackground.animate().scaleY(1.4f); 657 mBackground.animate().scaleX(1.4f); 659 mBackground.animate() 679 mBackground.animate() 701 mBackground.setPivotY(0) [all...] |
/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/base/core/java/android/view/ |
NotificationHeaderView.java | 55 private Drawable mBackground; 61 if (mBackground != null) { 223 mBackground = drawable; 224 mBackground.setCallback(this); 228 mBackground = null; 236 if (mBackground != null) { 237 mBackground.setBounds(0, 0, getWidth(), mHeaderBackgroundHeight); 238 mBackground.draw(canvas); 244 return super.verifyDrawable(who) || who == mBackground; 249 if (mBackground != null && mBackground.isStateful()) [all...] |
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
SimpleStringRecyclerViewAdapter.java | 36 private int mBackground; 64 mBackground = val.resourceId; 73 textView.setBackgroundResource(mBackground);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
KeyguardUserSwitcher.java | 51 private final KeyguardUserSwitcherScrim mBackground; 65 mBackground = new KeyguardUserSwitcherScrim(context); 81 mBackground = null; 88 mUserSwitcher.removeOnLayoutChangeListener(mBackground); 97 mUserSwitcher.addOnLayoutChangeListener(mBackground); 98 mUserSwitcher.setBackground(mBackground); 171 mBgAnimator = ObjectAnimator.ofInt(mBackground, "alpha", 0, 255);
|
/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(); 531 if (mRipple == null || mBackground == null) { 546 if (mBackground == null) { 548 mBackground = new RippleBackground(this, mHotspotBounds, isBounded, mForceSoftware); 551 mBackground.setup(mState.mMaxRadius, mDensity); 552 mBackground.enter(focused) [all...] |
/frameworks/support/v7/cardview/gingerbread/android/support/v7/widget/ |
RoundRectDrawableWithShadow.java | 78 private ColorStateList mBackground; 110 mBackground = (color == null) ? ColorStateList.valueOf(Color.TRANSPARENT) : color; 111 mPaint.setColor(mBackground.getColorForState(getState(), mBackground.getDefaultColor())); 201 final int newColor = mBackground.getColorForState(stateSet, mBackground.getDefaultColor()); 213 return (mBackground != null && mBackground.isStateful()) || super.isStateful(); 386 return mBackground;
|