/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSDetailClipper.java | 30 private final TransitionDrawable mBackground; field in class:QSDetailClipper 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();
|
/frameworks/base/tests/Assist/src/com/android/test/assist/ |
H A D | AssistInteractionSession.java | 40 private View mBackground; field in class:AssistInteractionSession 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 [all...] |
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
H A D | RvBoxAdapter.java | 31 private int mBackground; field in class:RvBoxAdapter 55 mBackground = val.resourceId; 66 h.mTextView.setBackgroundResource(mBackground);
|
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
H A D | SimpleStringRecyclerViewAdapter.java | 34 private int mBackground; field in class:SimpleStringRecyclerViewAdapter 62 mBackground = val.resourceId; 71 textView.setBackgroundResource(mBackground);
|
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
H A D | SimpleStringRecyclerViewAdapter.java | 34 private int mBackground; field in class:SimpleStringRecyclerViewAdapter 62 mBackground = val.resourceId; 71 textView.setBackgroundResource(mBackground);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
H A D | Illustration.java | 48 private Drawable mBackground; field in class:Illustration 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/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/ |
H A D | SimpleStringAdapter.java | 35 private int mBackground; field in class:SimpleStringAdapter 64 mBackground = val.resourceId; 83 h.mTextView.setBackgroundResource(mBackground);
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/ |
H A D | SimpleStringAdapter.java | 35 private int mBackground; field in class:SimpleStringAdapter 64 mBackground = val.resourceId; 83 h.mTextView.setBackgroundResource(mBackground);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ListMenuItemView.java | 48 private Drawable mBackground; field in class:ListMenuItemView 67 mBackground = a.getDrawable(com.android.internal.R.styleable.MenuView_itemBackground); 90 setBackgroundDrawable(mBackground);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationBackgroundView.java | 34 private Drawable mBackground; field in class:NotificationBackgroundView 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 [all...] |
H A D | NotificationGuts.java | 68 private Drawable mBackground; field in class:NotificationGuts 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/statusbar/phone/ |
H A D | LockscreenWallpaper.java | 235 super(new BitmapDrawable(r, state.mBackground)); 259 int dwidth = mState.mBackground.getWidth(); 260 int dheight = mState.mBackground.getHeight(); 291 private final Bitmap mBackground; field in class:LockscreenWallpaper.WallpaperDrawable.ConstantState 294 mBackground = background;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyguardUserSwitcher.java | 52 private final KeyguardUserSwitcherScrim mBackground; field in class:KeyguardUserSwitcher 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);
|
H A D | RemoteInputView.java | 480 private final Drawable mBackground; field in class:RemoteInputView.RemoteEditText 486 mBackground = getBackground(); 603 setBackground(mBackground);
|
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/ |
H A D | DemoModeController.java | 45 private Handler mBackground; field in class:DemoModeController 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 [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
H A D | ListMenuItemView.java | 55 private Drawable mBackground; field in class:ListMenuItemView 77 mBackground = a.getDrawable(R.styleable.MenuView_android_itemBackground); 92 ViewCompat.setBackground(this, mBackground);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionBarContainer.java | 46 Drawable mBackground; field in class:ActionBarContainer 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 [all...] |
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | RoundRectDrawable.java | 52 private ColorStateList mBackground; field in class:RoundRectDrawable 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();
|
H A D | RoundRectDrawableWithShadow.java | 75 private ColorStateList mBackground; field in class:RoundRectDrawableWithShadow 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/core/java/com/android/internal/widget/ |
H A D | ActionBarContainer.java | 45 private Drawable mBackground; field in class:ActionBarContainer 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 [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | HardwareUiLayout.java | 53 private HardwareBgDrawable mBackground; field in class:HardwareUiLayout 93 mBackground = new HardwareBgDrawable(mRoundedDivider, !mEdgeBleed, getContext()); 95 mChild.setBackground(mBackground); 124 mChild.setBackground(mBackground); 171 mBackground.setRotatedBackground(true); 182 mBackground.setRotatedBackground(false); 343 top.addUpdateListener(animation -> mBackground.invalidateSelf()); 375 int curPoint = mBackground.getCutPoint(); 378 mBackground.setCutPoint(point); 388 mAnimator = ObjectAnimator.ofInt(mBackground, "cutPoin [all...] |
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
H A D | Swarm.java | 65 Background mBackground = new Background(); field in class:Swarm 202 mBackground = new Background(); 203 mBackground.execute(); 208 mBackground.keepRunning = false; 280 mBackground.keepRunning = false; 283 mBackground = new Background(); 284 mBackground.execute();
|
/frameworks/base/core/java/android/view/ |
H A D | NotificationHeaderView.java | 59 private Drawable mBackground; field in class:NotificationHeaderView 68 if (mBackground != null) { 205 mBackground = drawable; 206 mBackground.setCallback(this); 210 mBackground = null; 218 if (mBackground != null) { 219 mBackground.setBounds(0, 0, getWidth(), mHeaderBackgroundHeight); 220 mBackground.draw(canvas); 226 return super.verifyDrawable(who) || who == mBackground; 231 if (mBackground ! [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskViewHeader.java | 178 private HighlightColorDrawable mBackground; field in class:TaskViewHeader 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) {
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
H A D | AnimatedRecyclerView.java | 672 private int mBackground; field in class:AnimatedRecyclerView.MyAdapter 681 mBackground = val.resourceId; 695 h.textView.setBackgroundResource(mBackground);
|