/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderIcon.java | 120 PreviewBackground mBackground = new PreviewBackground(); field in FolderIcon 249 mBackground.animateToAccept(cl, lp.cellX, lp.cellY); in onDragEnter() 305 mBackground.animateToRest(); in onDragExit() 392 mBackground.setup(getResources().getDisplayMetrics(), grid, this, mTotalWidth, 394 mPreviewLayoutRule.init(mBackground.previewSize, mIntrinsicIconSize, 462 mTmpParams.transX += mBackground.basePreviewOffsetX; 463 mTmpParams.transY += mBackground.basePreviewOffsetY; 486 final float trans = (mBackground.previewSize - iconSize) / 2; 828 mBackground = bg; 829 mBackground.setInvalidateDelegate(this); [all …]
|
/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/DocumentsUI/src/com/android/documentsui/ |
D | DropBadgeView.java | 35 private LayerDrawable mBackground; field in DropBadgeView 51 mBackground = new LayerDrawable(list); in DropBadgeView() 53 mBackground.setLayerGravity(1, Gravity.BOTTOM | Gravity.RIGHT); in DropBadgeView() 54 mBackground.setLayerGravity(0, Gravity.TOP | Gravity.LEFT); in DropBadgeView() 55 mBackground.setLayerSize(1, badgeWidth, badgeHeight); in DropBadgeView() 56 mBackground.setLayerSize(0, iconSize, iconSize); in DropBadgeView() 58 setBackground(mBackground); in DropBadgeView() 87 mBackground.setDrawable(0, icon); in updateIcon()
|
/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/DeskClock/src/com/android/deskclock/ |
D | BaseActivity.java | 44 private ColorDrawable mBackground; field in BaseActivity 77 if (mBackground == null) { in adjustAppColor() 78 mBackground = new ColorDrawable(color); in adjustAppColor() 79 getWindow().setBackgroundDrawable(mBackground); in adjustAppColor() 87 final @ColorInt int currentColor = mBackground.getColor(); in adjustAppColor() 102 mBackground.setColor(color); in setAppColor()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 78 private final Drawable mBackground; field in BubbleTextView 169 mBackground = getBackground(); in BubbleTextView() 176 mBackground = null; in BubbleTextView() 250 return who == mBackground || super.verifyDrawable(who); in verifyDrawable() 402 final Drawable background = mBackground; in draw() 491 if (mBackground != null) mBackground.setCallback(this); in onAttachedToWindow() 511 if (mBackground != null) mBackground.setCallback(null); in onDetachedFromWindow()
|
D | Hotseat.java | 57 private ColorDrawable mBackground; field in Hotseat 74 mBackground = new ColorDrawable(mBackgroundColor); in Hotseat() 75 setBackground(mBackground); in Hotseat() 195 mBackground.setColor((Integer) animation.getAnimatedValue()); in updateColor() 212 mBackground.setAlpha(0); in setBackgroundTransparent() 214 mBackground.setAlpha(255); in setBackgroundTransparent()
|
D | CellLayout.java | 113 private final Drawable mBackground; field in CellLayout 226 mBackground = res.getDrawable(R.drawable.bg_celllayout); in CellLayout() 227 mBackground.setCallback(this); in CellLayout() 228 mBackground.setAlpha((int) (mBackgroundAlpha * 255)); in CellLayout() 420 mBackground.setState(mIsDragOverlapping in setIsDragOverlapping() 468 mBackground.draw(canvas); in onDraw() 866 mBackground.getPadding(mTempRect); in onLayout() 867 mBackground.setBounds( in onLayout() 890 mBackground.setAlpha((int) (mBackgroundAlpha * 255)); in setBackgroundAlpha() 896 return super.verifyDrawable(who) || (mIsDragTarget && who == mBackground); in verifyDrawable()
|
/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/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 | 354 boolean mBackground; field in RunningState.BaseItem 634 mBackground = background; in update() 657 if (!mBackground) { in update() 665 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()
|