Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java95 PreviewBackground mBackground = new PreviewBackground(); field in FolderIcon
192 mBackground.fadeInBackgroundShadow(); in animateBgShadowAndStroke()
193 mBackground.animateBackgroundStroke(); in animateBgShadowAndStroke()
202 mBackground.getBounds(outBounds); in getPreviewBounds()
206 return mBackground.getStrokeWidth(); in getBackgroundStrokeWidth()
249 mBackground.animateToAccept(cl, lp.cellX, lp.cellY); in onDragEnter()
292 mBackground.animateToRest(); in onDragExit()
454 mTmpParams.transX += mBackground.basePreviewOffsetX;
455 mTmpParams.transY += mBackground.basePreviewOffsetY;
467 mBackground = bg;
[all …]
DPreviewItemManager.java110 mIcon.mBackground.setup(mIcon.mLauncher, mIcon.mLauncher, mIcon, mTotalWidth, in computePreviewDrawingParams()
112 mIcon.mPreviewLayoutRule.init(mIcon.mBackground.previewSize, mIntrinsicIconSize, in computePreviewDrawingParams()
133 final float trans = (mIcon.mBackground.previewSize - iconSize) / 2; in getFinalIconParams()
DFolderAnimationManager.java90 mPreviewBackground = mFolderIcon.mBackground; in FolderAnimationManager()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DNoBackupImageWallpaper.java145 Bitmap mBackground; field in NoBackupImageWallpaper.DrawableEngine
184 && mBackground != null) { in trimMemory()
188 mBackground.recycle(); in trimMemory()
189 mBackground = null; in trimMemory()
241 mBackground = null; in onDestroy()
445 … || (!mIsHardwareAccelerated && mBackground == null)) { // Draw with Canvas but no bitmap in drawFrame()
448 … + mBackground + ", " + ((mBackground == null) ? 0 : mBackground.getWidth()) + ", " in drawFrame()
449 … + ((mBackground == null) ? 0 : mBackground.getHeight()) + ", " + dw + ", " + dh); in drawFrame()
504 mBackground = null; in drawFrame()
575 mBackground = null; in loadWallpaper()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDropBadgeView.java37 private LayerDrawable mBackground; field in DropBadgeView
52 mBackground = new LayerDrawable(list); in DropBadgeView()
54 mBackground.setLayerGravity(1, Gravity.BOTTOM | Gravity.RIGHT); in DropBadgeView()
55 mBackground.setLayerGravity(0, Gravity.TOP | Gravity.LEFT); in DropBadgeView()
56 mBackground.setLayerSize(1, badgeWidth, badgeHeight); in DropBadgeView()
57 mBackground.setLayerSize(0, iconSize, iconSize); in DropBadgeView()
59 setBackground(mBackground); in DropBadgeView()
85 mBackground.setDrawable(0, icon); in updateIcon()
/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/DeskClock/src/com/android/deskclock/
DBaseActivity.java44 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/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/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/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java141 private @Nullable Drawable mBackground; field in FloatingIconView
464 mBackground = background; in setIcon()
482 mBackground.setBounds(mFinalDrawableBounds); in setIcon()
599 mBackground.setBounds(sTmpRect); in setBackgroundDrawableBounds()
644 if (mBackground != null) { in draw()
645 mBackground.draw(canvas); in draw()
854 mBackground = null; in recycle()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java118 private final Drawable mBackground; field in CellLayout
228 mBackground = res.getDrawable(R.drawable.bg_celllayout); in CellLayout()
229 mBackground.setCallback(this); in CellLayout()
230 mBackground.setAlpha(0); in CellLayout()
399 mBackground.setState(mIsDragOverlapping in setIsDragOverlapping()
438 if (mBackground.getAlpha() > 0) { in onDraw()
439 mBackground.draw(canvas); in onDraw()
824 mBackground.getPadding(mTempRect); in onLayout()
825 mBackground.setBounds( in onLayout()
853 return mBackground; in getScrimBackground()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningState.java354 boolean mBackground; field in RunningState.BaseItem
634 mBackground = background; in update()
657 if (!mBackground) { in update()
665 if (!mBackground) { in update()
DRunningProcessesView.java121 if (mItem.mBackground) { in updateTime()
195 if (item.mBackground) { in bind()
DRunningServiceDetails.java185 } else if (mActiveItem.mItem.mBackground) { in onClick()
295 if (mi.mBackground) { in addServiceDetailsView()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java354 boolean mBackground; field in RunningState.BaseItem
634 mBackground = background; in update()
657 if (!mBackground) { in update()
665 if (!mBackground) { in update()
DRunningProcessesView.java121 if (mItem.mBackground) { in updateTime()
195 if (item.mBackground) { in bind()
DRunningServiceDetails.java185 } else if (mActiveItem.mItem.mBackground) { in onClick()
295 if (mi.mBackground) { in addServiceDetailsView()