Home
last modified time | relevance | path

Searched refs:mBadge (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetImageView.java43 private Drawable mBadge; field in WidgetImageView
62 mBadge = badge; in setBitmap()
77 if (mBadge != null) { in onDraw()
78 mBadge.draw(canvas); in onDraw()
111 if (mBadge != null) { in updateDstRectF()
112 Rect bounds = mBadge.getBounds(); in updateDstRectF()
119 mBadge.setBounds(left, top, bounds.width() + left, bounds.height() + top); in updateDstRectF()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java47 private final Drawable mBadge; field in FolderAdaptiveIcon
53 mBadge = badge; in FolderAdaptiveIcon()
66 return mBadge; in getBadge()
147 private final ConstantState mBadge; field in MyConstantState
153 mBadge = badge; in MyConstantState()
160 mBadge.newDrawable(), mMask); in newDrawable()
166 & mBadge.getChangingConfigurations(); in getChangingConfigurations()
DDragView.java110 private Drawable mBadge; field in DragView
231 mBadge = getBadge(mLauncher, info, outObj[0]); in setItemInfo()
232 mBadge.setBounds(badgeBounds); in setItemInfo()
303 mBadge.setColorFilter(mBaseFilter); in updateColorFilter()
320 mBadge.setColorFilter(currentFilter); in updateColorFilter()
407 mBadge.draw(canvas); in onDraw()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java139 private @Nullable Drawable mBadge; field in FloatingIconView
453 mBadge = badge; in setIcon()
486 if (mBadge != null) { in setIcon()
487 mBadge.setBounds(mStartRevealRect); in setIcon()
489 DRAWABLE_ALPHA.set(mBadge, 0); in setIcon()
501 if (mBadge instanceof ShiftedBitmapDrawable) { in setIcon()
502 ShiftedBitmapDrawable sbd = (ShiftedBitmapDrawable) mBadge; in setIcon()
653 if (mBadge != null) { in draw()
654 mBadge.draw(canvas); in draw()
795 if (mBadge != null && !(mOriginalIcon instanceof FolderIcon)) { in createFadeAnimation()
[all …]