/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationBackgroundView.java | 42 private Drawable mBackground; 73 draw(canvas, mBackground); 105 return super.verifyDrawable(who) || who == mBackground; 115 if (mBackground != null) { 116 mBackground.setHotspot(x, y); 125 if (mBackground != null) { 126 mBackground.setCallback(null); 127 unscheduleDrawable(mBackground); 129 mBackground = background; 130 mBackground.mutate() [all...] |
/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/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...] |
/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/main/java/androidx/appcompat/widget/ |
ActionBarContainer.java | 46 Drawable mBackground; 66 mBackground = a.getDrawable(R.styleable.ActionBar_background); 78 mBackground == null && mStackedBackground == null); 89 if (mBackground != null) { 90 mBackground.setCallback(null); 91 unscheduleDrawable(mBackground); 93 mBackground = bg; 97 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), 102 mBackground == null && mStackedBackground == null); 120 mBackground == null && mStackedBackground == null) [all...] |
ActionBarBackgroundDrawable.java | 43 if (mContainer.mBackground != null) { 44 mContainer.mBackground.draw(canvas); 74 if (mContainer.mBackground != null) { 75 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...] |
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
DetailsViewBackgroundHelper.java | 35 final Drawable mBackGround; 38 mBackGround = background; 46 if (mBackGround instanceof BitmapDrawable) { 47 mBackgroundManager.setBitmap(((BitmapDrawable) mBackGround).getBitmap());
|
/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();
|
QSContainerImpl.java | 48 private View mBackground; 67 mBackground = findViewById(R.id.quick_settings_background); 132 mBackground.setVisibility(mQsDisabled ? View.GONE : View.VISIBLE); 160 mBackground.setTop(mQSPanel.getTop()); 161 mBackground.setBottom(height); 178 setMargins(mBackground);
|
/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);
|
/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);
|
/frameworks/support/cardview/src/main/java/androidx/cardview/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 | 79 Bitmap mBackground; 114 && mBackground != null) { 140 mBackground = null; 252 if (mBackground == null) { 305 if (mBackground == null) { 314 mScale = Math.max(1f, Math.max(dw / (float) mBackground.getWidth(), 315 dh / (float) mBackground.getHeight())); 316 final int availw = (int) (mBackground.getWidth() * mScale) - dw; 317 final int availh = (int) (mBackground.getHeight() * mScale) - dh; 416 mBackground = null [all...] |
HardwareUiLayout.java | 53 private HardwareBgDrawable mBackground; 94 mBackground = new HardwareBgDrawable(mRoundedDivider, !mEdgeBleed, getContext()); 96 mChild.setBackground(mBackground); 125 mChild.setBackground(mBackground); 176 mBackground.setRotatedBackground(true); 186 mBackground.setRotatedBackground(false); 337 top.addUpdateListener(animation -> mBackground.invalidateSelf()); 369 int curPoint = mBackground.getCutPoint(); 372 mBackground.setCutPoint(point); 382 mAnimator = ObjectAnimator.ofInt(mBackground, "cutPoint", curPoint, point) [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/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
Illustration.java | 48 private Drawable mBackground; 94 if (background == mBackground) { 97 mBackground = background; 169 if (mBackground != null) { 172 mBackground.setBounds(0, 0, (int) Math.ceil(layoutWidth / mScale), 180 if (mBackground != null) { 187 shouldMirrorDrawable(mBackground, getLayoutDirection())) { 190 canvas.translate(-mBackground.getBounds().width(), 0); 192 mBackground.draw(canvas);
|
/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/main/java/com/example/android/support/design/widget/ |
SimpleStringRecyclerViewAdapter.java | 35 private int mBackground; 63 mBackground = val.resourceId; 72 textView.setBackgroundResource(mBackground);
|
/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);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
DividerView.java | 115 private View mBackground; 288 mBackground = findViewById(R.id.docked_divider_background); 358 minimizeTop = mBackground.getTop(); 360 minimizeLeft = mBackground.getLeft(); 362 minimizeLeft = mBackground.getRight() - mMinimizedShadow.getWidth(); 719 mBackground.animate().scaleY(1.4f); 721 mBackground.animate().scaleX(1.4f); 723 mBackground.animate() 743 mBackground.animate() [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
KeyguardUserSwitcher.java | 52 private final KeyguardUserSwitcherScrim mBackground; 66 mBackground = new KeyguardUserSwitcherScrim(context); 82 mBackground = null; 89 mUserSwitcher.removeOnLayoutChangeListener(mBackground); 98 mUserSwitcher.addOnLayoutChangeListener(mBackground); 99 mUserSwitcher.setBackground(mBackground); 174 mBgAnimator = ObjectAnimator.ofInt(mBackground, "alpha", 0, 255);
|