Home
last modified time | relevance | path

Searched refs:mBackground (Results 1 – 16 of 16) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
DBaseActivity.java52 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/
DCling.java60 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 …]
DBubbleTextView.java59 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()
DWorkspace.java95 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/Camera2/src/com/android/camera/ui/
DModeIconView.java37 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()
DRadioOptions.java43 private Drawable mBackground; field in RadioOptions
68 mBackground = context.getResources() in RadioOptions()
124 view.setBackground(mBackground); in setSelectedOptionByView()
DModeListView.java1947 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/TvSettings/Settings/src/com/android/tv/settings/util/
DTransitionImage.java59 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/
DCommonControllerOverlay.java57 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()
DMovieControllerOverlay.java93 startHideAnimation(mBackground); in startHiding()
106 mBackground.setAnimation(null); in cancelHiding()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java68 private final Drawable mBackground; field in BubbleTextView
127 mBackground = getBackground(); in BubbleTextView()
130 mBackground = null; in BubbleTextView()
224 return who == mBackground || super.verifyDrawable(who); in verifyDrawable()
371 final Drawable background = mBackground; in draw()
413 if (mBackground != null) mBackground.setCallback(this); in onAttachedToWindow()
424 if (mBackground != null) mBackground.setCallback(null); in onDetachedFromWindow()
DCellLayout.java107 private final TransitionDrawable mBackground; field in CellLayout
209 mBackground = (TransitionDrawable) res.getDrawable(R.drawable.bg_screenpanel); in CellLayout()
210 mBackground.setCallback(this); in CellLayout()
211 mBackground.setAlpha((int) (mBackgroundAlpha * 255)); in CellLayout()
411 mBackground.startTransition(BACKGROUND_ACTIVATE_DURATION); in setIsDragOverlapping()
414 mBackground.reverseTransition(BACKGROUND_ACTIVATE_DURATION); in setIsDragOverlapping()
416 mBackground.resetTransition(); in setIsDragOverlapping()
465 mBackground.draw(canvas); in onDraw()
931 mBackground.getPadding(mTempRect); in onSizeChanged()
932 mBackground.setBounds(-mTempRect.left, -mTempRect.top, in onSizeChanged()
[all …]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java125 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/
DRunningProcessesView.java117 if (mItem.mBackground) { in updateTime()
191 if (item.mBackground) { in bind()
DRunningState.java355 boolean mBackground; field in RunningState.BaseItem
635 mBackground = background; in update()
658 if (!mBackground) { in update()
666 if (!mBackground) { in update()
DRunningServiceDetails.java183 } else if (mActiveItem.mItem.mBackground) { in onClick()
293 if (mi.mBackground) { in addServiceDetailsView()