/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 | 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(); 66 mBackground.startTransition((int)(mAnimator.getDuration() * 0.6)); 79 mBackground.reverseTransition((int)(mAnimator.getDuration() * 0.35)); 99 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/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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
TaskViewHeader.java | 72 RippleDrawable mBackground; 146 mBackground = (RippleDrawable) 148 mBackground = (RippleDrawable) mBackground.mutate().getConstantState().newDrawable(); 149 mBackground.setColor(ColorStateList.valueOf(0)); 150 mBackground.setDrawableByLayerId(mBackground.getId(0), mBackgroundColorDrawable); 151 setBackground(mBackground); 362 mBackground.setColor(new ColorStateList(states, colors)); 363 mBackground.setState(newStates) [all...] |
/development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
SimpleStringRecyclerViewAdapter.java | 36 private int mBackground; 64 mBackground = val.resourceId; 73 textView.setBackgroundResource(mBackground);
|
/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; 86 mBackground = v.findViewById(R.id.background); 98 mBackground.getViewTreeObserver().addOnPreDrawListener( 102 mBackground.getViewTreeObserver().removeOnPreDrawListener(this); 117 Interpolator linearOutSlowIn = AnimationUtils.loadInterpolator(mBackground.getContext(), 119 Interpolator fastOutSlowIn = AnimationUtils.loadInterpolator(mBackground.getContext(), 126 mBackground.setTranslationY(50 * mDensity); 127 mBackground.animate() 131 int centerX = mBackground.getWidth()/2; 132 int centerY = (int) (mBackground.getHeight()/5*3.8f) [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/graphics/java/android/graphics/drawable/ |
RippleDrawable.java | 129 private RippleBackground mBackground; 213 if (mBackground != null) { 214 mBackground.end(); 297 if (mBackground != null) { 298 mBackground.onBoundsChange(); 533 if (mRipple == null || mBackground == null) { 548 if (mBackground == null) { 549 mBackground = new RippleBackground(this, mHotspotBounds); 552 mBackground.setup(mState.mMaxRadius, mDensity); 553 mBackground.enter(focused) [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...] |
/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);
|
/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/ |
RemoteInputView.java | 140 private final Drawable mBackground; 144 mBackground = getBackground(); 184 setBackground(mBackground);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
Illustration.java | 48 private Drawable mBackground; 94 if (background == mBackground) { 97 mBackground = background; 167 if (mBackground != null) { 170 mBackground.setBounds(0, 0, (int) Math.ceil(layoutWidth / mScale), 178 if (mBackground != null) { 185 shouldMirrorDrawable(mBackground, getLayoutDirection())) { 188 canvas.translate(-mBackground.getBounds().width(), 0); 190 mBackground.draw(canvas);
|