Home
last modified time | relevance | path

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

/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/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java110 PreviewBackground mBackground = new PreviewBackground(); field in FolderIcon
229 mBackground.fadeInBackgroundShadow(); in animateBgShadowAndStroke()
230 mBackground.animateBackgroundStroke(); in animateBgShadowAndStroke()
239 mBackground.getBounds(outBounds); in getPreviewBounds()
243 return mBackground.getStrokeWidth(); in getBackgroundStrokeWidth()
279 mBackground.animateToAccept(cl, lp.cellX, lp.cellY); in onDragEnter()
322 mBackground.animateToRest(); in onDragExit()
566 mTmpParams.transX += mBackground.basePreviewOffsetX; in getLocalCenterForIndex()
567 mTmpParams.transY += mBackground.basePreviewOffsetY; in getLocalCenterForIndex()
579 mBackground = bg; in setFolderBackground()
[all …]
DPreviewItemManager.java136 mIcon.mBackground.setup(mIcon.getContext(), mIcon.mActivity, 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/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/Launcher3/src/com/android/launcher3/views/
DClipIconView.java102 private @Nullable Drawable mBackground; field in ClipIconView
222 mBackground.setBounds(sTmpRect); in setBackgroundDrawableBounds()
242 mBackground = background; in setIcon()
259 mBackground.setBounds(mFinalDrawableBounds); in setIcon()
320 if (mBackground != null) { in draw()
321 mBackground.draw(canvas); in draw()
336 mBackground = null; in recycle()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/preference/
DCarUiSwitchPreference.java42 private Drawable mBackground; field in CarUiSwitchPreference
80 mBackground = CarUiUtils.setPreferenceViewEnabled(isEnabled(), holder.itemView, mBackground, in onBindViewHolder()
107 mShouldShowRippleOnDisabledPreference, mBackground, mPreference); in setShouldShowRippleOnDisabledPreference() local
DCarUiPreference.java44 private Drawable mBackground; field in CarUiPreference
87 mBackground = CarUiUtils.setPreferenceViewEnabled(viewEnabled, holder.itemView, mBackground, in onBindViewHolder()
135 mShouldShowRippleOnDisabledPreference, mBackground, mPreference); in setShouldShowRippleOnDisabledPreference() local
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DToolbarControllerImpl.java66 private View mBackground; field in ToolbarControllerImpl
155 mBackground = requireViewByRefId(view, R.id.car_ui_toolbar_background); in ToolbarControllerImpl()
179 mBackground.addOnLayoutChangeListener((v, left, top, right, bottom, in ToolbarControllerImpl()
183 listener.onHeightChanged(mBackground.getHeight()); in ToolbarControllerImpl()
421 mBackground.setBackground( in setBackgroundShown()
424 mBackground.setBackground(null); in setBackgroundShown()
431 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/
DCellLayout.java118 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(0); in CellLayout()
371 mBackground.setState(mIsDragOverlapping in setIsDragOverlapping()
410 if (mBackground.getAlpha() > 0) { in onDraw()
411 mBackground.draw(canvas); in onDraw()
822 mBackground.getPadding(mTempRect); in onLayout()
823 mBackground.setBounds( in onLayout()
842 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()