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.java99 PreviewBackground mBackground = new PreviewBackground(); field in FolderIcon
197 mBackground.fadeInBackgroundShadow(); in animateBgShadowAndStroke()
198 mBackground.animateBackgroundStroke(); in animateBgShadowAndStroke()
207 mBackground.getBounds(outBounds); in getPreviewBounds()
211 return mBackground.getStrokeWidth(); in getBackgroundStrokeWidth()
250 mBackground.animateToAccept(cl, lp.cellX, lp.cellY); in onDragEnter()
292 mBackground.animateToRest(); in onDragExit()
472 mTmpParams.transX += mBackground.basePreviewOffsetX; in getLocalCenterForIndex()
473 mTmpParams.transY += mBackground.basePreviewOffsetY; in getLocalCenterForIndex()
485 mBackground = bg; in setFolderBackground()
[all …]
DPreviewItemManager.java136 mIcon.mBackground.setup(mIcon.mLauncher, mIcon.mLauncher, mIcon, mTotalWidth, in computePreviewDrawingParams()
138 mIcon.mPreviewLayoutRule.init(mIcon.mBackground.previewSize, mIntrinsicIconSize, in computePreviewDrawingParams()
159 final float trans = (mIcon.mBackground.previewSize - iconSize) / 2; in getFinalIconParams()
DFolderAnimationManager.java92 mPreviewBackground = mFolderIcon.mBackground; in FolderAnimationManager()
/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/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DToolbarControllerImpl.java62 private View mBackground; field in ToolbarControllerImpl
144 mBackground = requireViewByRefId(view, R.id.car_ui_toolbar_background); in ToolbarControllerImpl()
165 mBackground.addOnLayoutChangeListener((v, left, top, right, bottom, in ToolbarControllerImpl()
169 listener.onHeightChanged(mBackground.getHeight()); in ToolbarControllerImpl()
358 mBackground.setBackground( in setBackgroundShown()
361 mBackground.setBackground(null); in setBackgroundShown()
367 return mBackground.getBackground() != null; in getBackgroundShown()
/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
472 mBackground = background; in setIcon()
490 mBackground.setBounds(mFinalDrawableBounds); in setIcon()
610 mBackground.setBounds(sTmpRect); in setBackgroundDrawableBounds()
655 if (mBackground != null) { in draw()
656 mBackground.draw(canvas); in draw()
878 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()