Home
last modified time | relevance | path

Searched refs:mIconDrawable (Results 1 – 2 of 2) sorted by relevance

/appcompat/appcompat/src/main/java/androidx/appcompat/view/menu/
DActionMenuItem.java58 private Drawable mIconDrawable; field in ActionMenuItem
105 return mIconDrawable; in getIcon()
216 mIconDrawable = icon; in setIcon()
224 mIconDrawable = ContextCompat.getDrawable(mContext, iconRes); in setIcon()
438 if (mIconDrawable != null && (mHasIconTint || mHasIconTintMode)) { in applyIconTint()
439 mIconDrawable = DrawableCompat.wrap(mIconDrawable); in applyIconTint()
440 mIconDrawable = mIconDrawable.mutate(); in applyIconTint()
443 DrawableCompat.setTintList(mIconDrawable, mIconTintList); in applyIconTint()
447 DrawableCompat.setTintMode(mIconDrawable, mIconTintMode); in applyIconTint()
DMenuItemImpl.java73 private Drawable mIconDrawable; field in MenuItemImpl
490 if (mIconDrawable != null) { in getIcon()
491 return applyIconTintIfNecessary(mIconDrawable); in getIcon()
497 mIconDrawable = icon; in getIcon()
507 mIconDrawable = icon; in setIcon()
516 mIconDrawable = null; in setIcon()