/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationBackgroundView.java | 34 private Drawable mBackground; 46 draw(canvas, mBackground); 59 return super.verifyDrawable(who) || who == mBackground; 64 drawableStateChanged(mBackground); 75 if (mBackground != null) { 76 mBackground.setHotspot(x, y); 85 if (mBackground != null) { 86 mBackground.setCallback(null); 87 unscheduleDrawable(mBackground); 89 mBackground = background [all...] |
NotificationGuts.java | 68 private Drawable mBackground; 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/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(); 105 mBackground.showSecondLayer();
|
/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/cardview/src/android/support/v7/widget/ |
RoundRectDrawable.java | 52 private ColorStateList mBackground; 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();
|
RoundRectDrawableWithShadow.java | 75 private ColorStateList mBackground; 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/packages/SystemUI/src/com/android/systemui/stackdivider/ |
DividerView.java | 115 private View mBackground; 277 mBackground = findViewById(R.id.docked_divider_background); 362 minimizeTop = mBackground.getTop(); 364 minimizeLeft = mBackground.getLeft(); 366 minimizeLeft = mBackground.getRight() - mMinimizedShadow.getWidth(); 691 mBackground.animate().scaleY(1.4f); 693 mBackground.animate().scaleX(1.4f); 695 mBackground.animate() 715 mBackground.animate() 738 mBackground.setPivotY(0) [all...] |
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
RvBoxAdapter.java | 31 private int mBackground; 55 mBackground = val.resourceId; 66 h.mTextView.setBackgroundResource(mBackground);
|
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
SimpleStringRecyclerViewAdapter.java | 34 private int mBackground; 62 mBackground = val.resourceId; 71 textView.setBackgroundResource(mBackground);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
BaseActivity.java | 44 private ColorDrawable mBackground; 77 if (mBackground == null) { 78 mBackground = new ColorDrawable(color); 79 getWindow().setBackgroundDrawable(mBackground); 87 final @ColorInt int currentColor = mBackground.getColor(); 102 mBackground.setColor(color);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
DropBadgeView.java | 36 private LayerDrawable mBackground; 52 mBackground = new LayerDrawable(list); 54 mBackground.setLayerGravity(1, Gravity.BOTTOM | Gravity.RIGHT); 55 mBackground.setLayerGravity(0, Gravity.TOP | Gravity.LEFT); 56 mBackground.setLayerSize(1, badgeWidth, badgeHeight); 57 mBackground.setLayerSize(0, iconSize, iconSize); 59 setBackground(mBackground); 85 mBackground.setDrawable(0, icon);
|
/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 | 46 Drawable mBackground; 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 == null && mStackedBackground == null) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
FolderIcon.java | 102 PreviewBackground mBackground = new PreviewBackground(); 241 mBackground.animateToAccept(cl, lp.cellX, lp.cellY); 283 mBackground.animateToRest(); 425 mTmpParams.transX += mBackground.basePreviewOffsetX; 426 mTmpParams.transY += mBackground.basePreviewOffsetY; 438 mBackground = bg; 439 mBackground.setInvalidateDelegate(this); 448 return mBackground; 463 if (!mBackground.drawingDelegated()) { 464 mBackground.drawBackground(canvas) [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...] |
/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();
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/ |
SimpleStringAdapter.java | 35 private int mBackground; 64 mBackground = val.resourceId; 83 h.mTextView.setBackgroundResource(mBackground);
|
/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;
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
MemoryHealthParser.java | 35 private Map<String, Map<String, Long>> mBackground; 75 mBackground= new HashMap<String, Map<String, Long>>(); 76 currentSection = mBackground; 96 return new MemoryHealthItem(mForeground, mBackground);
|
/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; 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.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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
TaskViewHeader.java | 178 private HighlightColorDrawable mBackground; 227 mBackground = new HighlightColorDrawable(); 228 mBackground.setColorAndDim(Color.argb(255, 0, 0, 0), 0f); 229 setBackground(mBackground); 433 updateBackgroundColor(mBackground.getColor(), dimAlpha); 442 mBackground.setColorAndDim(color, dimAlpha); 468 if (mBackground.getColor() != primaryColor) {
|