/packages/apps/DeskClock/src/com/android/deskclock/ |
D | BaseActivity.java | 52 private ColorDrawable mBackground; field in BaseActivity 102 if (mBackground != null) { in onSaveInstanceState() 103 outState.putInt(KEY_BACKGROUND_COLOR, mBackground.getColor()); in onSaveInstanceState() 114 if (mBackground == null) { in setBackgroundColor() 115 mBackground = new ColorDrawable(color); in setBackgroundColor() 116 getWindow().setBackgroundDrawable(mBackground); in setBackgroundColor() 119 if (mBackground.getColor() != color) { in setBackgroundColor() 121 ObjectAnimator.ofObject(mBackground, "color", AnimatorUtils.ARGB_EVALUATOR, color) in setBackgroundColor() 125 mBackground.setColor(color); in setBackgroundColor()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Cling.java | 60 private Drawable mBackground; field in Cling 113 mBackground = null; in cleanup() 206 if (mBackground == null) { in dispatchDraw() 210 mBackground = getResources().getDrawable(R.drawable.bg_cling1); in dispatchDraw() 214 mBackground = getResources().getDrawable(R.drawable.bg_cling2); in dispatchDraw() 217 mBackground = getResources().getDrawable(R.drawable.bg_cling3); in dispatchDraw() 219 mBackground = getResources().getDrawable(R.drawable.bg_cling4); in dispatchDraw() 221 mBackground = getResources().getDrawable(R.drawable.bg_cling5); in dispatchDraw() 224 if (mBackground != null) { in dispatchDraw() 225 mBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in dispatchDraw() [all …]
|
D | BubbleTextView.java | 59 private Drawable mBackground; field in BubbleTextView 81 mBackground = getBackground(); in init() 113 return who == mBackground || super.verifyDrawable(who); in verifyDrawable() 157 Drawable d = mBackground; in drawableStateChanged() 280 final Drawable background = mBackground; in draw() 321 if (mBackground != null) mBackground.setCallback(this); in onAttachedToWindow() 327 if (mBackground != null) mBackground.setCallback(null); in onDetachedFromWindow()
|
D | Workspace.java | 95 private Drawable mBackground; field in Workspace 418 mBackground = res.getDrawable(R.drawable.apps_customize_bg); in initWorkspace() 1136 if (mBackground == null) return; 1296 if (mBackground != null && mBackgroundAlpha > 0.0f && mDrawBackground) { 1298 mBackground.setAlpha(alpha); 1299 mBackground.setBounds(getScrollX(), 0, getScrollX() + getMeasuredWidth(), 1301 mBackground.draw(canvas); 1311 return (mBackground != null && mBackgroundAlpha > 0.0f && mDrawBackground);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SetupWizardIllustration.java | 45 private Drawable mBackground; field in SetupWizardIllustration 84 mBackground = background; in setBackground() 98 mBackground.setLayoutDirection(layoutDirection); in onResolveDrawables() 133 if (mBackground != null) { in onLayout() 136 mBackground.setBounds(0, 0, (int) Math.ceil(layoutWidth / mScale), in onLayout() 144 if (mBackground != null) { in onDraw() 150 mBackground.draw(canvas); in onDraw()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeIconView.java | 37 private final GradientDrawable mBackground; field in ModeIconView 50 mBackground = (GradientDrawable) getResources() in ModeIconView() 52 mBackground.setBounds(0, 0, mIconBackgroundSize, mIconBackgroundSize); in ModeIconView() 78 mBackground.draw(canvas); in draw() 107 mBackground.setColor(mHighlightColor); in setSelected() 109 mBackground.setColor(mBackgroundDefaultColor); in setSelected()
|
D | RadioOptions.java | 43 private Drawable mBackground; field in RadioOptions 68 mBackground = context.getResources() in RadioOptions() 124 view.setBackground(mBackground); in setSelectedOptionByView()
|
D | ModeListView.java | 1947 private Bitmap mBackground; field in PeepholeAnimationEffect 2105 mBackground = background; in setBackground() 2118 if (mBackground != null && mBackgroundOverlay != null) { in drawBackground() 2119 canvas.drawBitmap(mBackground, null, mBackgroundDrawArea, null); in drawBackground() 2133 return (mBackground == null || mBackgroundOverlay == null); in shouldDrawSuper()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 75 private final Drawable mBackground; field in BubbleTextView 140 mBackground = getBackground(); in BubbleTextView() 143 mBackground = null; in BubbleTextView() 230 return who == mBackground || super.verifyDrawable(who); in verifyDrawable() 380 final Drawable background = mBackground; in draw() 422 if (mBackground != null) mBackground.setCallback(this); in onAttachedToWindow() 433 if (mBackground != null) mBackground.setCallback(null); in onDetachedFromWindow()
|
D | CellLayout.java | 105 private final TransitionDrawable mBackground; field in CellLayout 211 mBackground = (TransitionDrawable) res.getDrawable(R.drawable.bg_screenpanel); in CellLayout() 212 mBackground.setCallback(this); in CellLayout() 213 mBackground.setAlpha((int) (mBackgroundAlpha * 255)); in CellLayout() 415 mBackground.startTransition(BACKGROUND_ACTIVATE_DURATION); in setIsDragOverlapping() 418 mBackground.reverseTransition(BACKGROUND_ACTIVATE_DURATION); in setIsDragOverlapping() 420 mBackground.resetTransition(); in setIsDragOverlapping() 443 mBackground.draw(canvas); in onDraw() 894 mBackground.getPadding(mTempRect); in onSizeChanged() 895 mBackground.setBounds(-mTempRect.left, -mTempRect.top, in onSizeChanged() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | TransitionImage.java | 59 private int mBackground = Color.TRANSPARENT; field in TransitionImage 113 return mBackground; in getBackground() 117 mBackground = color; in setBackground() 260 bundle.putInt(EXTRA_TRANSITION_BITMAP_BACKGROUND, mBackground); in writeToBundle() 277 intent.putExtra(EXTRA_TRANSITION_BITMAP_BACKGROUND, mBackground); in writeToIntent() 344 if (mUseClippedRectOnTransparent && mBackground == Color.TRANSPARENT) { in getOptimizedRect() 356 + " background=" + mBackground; in toString()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | CommonControllerOverlay.java | 57 protected final View mBackground; field in CommonControllerOverlay 83 mBackground = new View(context); in CommonControllerOverlay() 84 mBackground.setBackgroundColor(context.getResources().getColor(R.color.darker_transparent)); in CommonControllerOverlay() 85 addView(mBackground, matchParent); in CommonControllerOverlay() 193 mBackground.setVisibility(View.INVISIBLE); in hide() 282 mBackground.layout(0, y - mTimeBar.getBarHeight(), w, y); in onLayout() 308 mBackground.setVisibility(View.VISIBLE); in updateViews()
|
D | MovieControllerOverlay.java | 93 startHideAnimation(mBackground); in startHiding() 106 mBackground.setAnimation(null); in cancelHiding()
|
/packages/apps/Browser/src/com/android/browser/view/ |
D | PieMenu.java | 99 private Drawable mBackground; field in PieMenu 150 mBackground = res.getDrawable(R.drawable.qc_background_normal); in init() 297 int w = mBackground.getIntrinsicWidth(); in onDraw() 298 int h = mBackground.getIntrinsicHeight(); in onDraw() 301 mBackground.setBounds(left, top, left + w, top + h); in onDraw() 306 mBackground.draw(canvas); in onDraw()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoTable.java | 125 private ViewGroup mBackground; field in PhotoTable 173 mBackground = (ViewGroup) findViewById(R.id.background); in onFinishInflate() 615 mBackground.animate() in fadeOutBackground() 636 mBackground.animate() in fadeInBackground() 699 mBackground.bringChildToFront(photo); in moveToTopOfPile() 886 mBackground.addView(photo, new LayoutParams(LayoutParams.WRAP_CONTENT, in moveToBackground() 906 mBackground.removeView(photo); in moveToForeground() 913 return mBackgroudOptimization && mBackground.indexOfChild(photo) != -1; in isInBackground()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningState.java | 355 boolean mBackground; field in RunningState.BaseItem 635 mBackground = background; in update() 658 if (!mBackground) { in update() 666 if (!mBackground) { in update()
|
D | RunningProcessesView.java | 118 if (mItem.mBackground) { in updateTime() 192 if (item.mBackground) { in bind()
|
D | RunningServiceDetails.java | 184 } else if (mActiveItem.mItem.mBackground) { in onClick() 294 if (mi.mBackground) { in addServiceDetailsView()
|