Searched refs:mIconDrawable (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | AdaptiveIconDrawableTest.java | 34 private AdaptiveIconDrawable mIconDrawable; field in AdaptiveIconDrawableTest 45 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testDraw_withoutBounds() 54 mIconDrawable.draw(can1); in testDraw_withoutBounds() 75 …mIconDrawable = (AdaptiveIconDrawable) getContext().getResources().getDrawable(android.R.drawable.… in testDraw_withBounds() 80 mIconDrawable.setBounds(0, 0, width, height); in testDraw_withBounds() 81 mIconDrawable.draw(can_org); in testDraw_withBounds() 87 mIconDrawable.setBounds(left, top, right, bottom); in testDraw_withBounds() 89 mIconDrawable.draw(can_test); in testDraw_withBounds() 115 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetIconMask_withoutBounds() 116 Path pathFromDrawable = mIconDrawable.getIconMask(); in testGetIconMask_withoutBounds() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | ActionMenuItem.java | 57 private Drawable mIconDrawable; field in ActionMenuItem 108 return mIconDrawable; in getIcon() 219 mIconDrawable = icon; in setIcon() 229 mIconDrawable = ContextCompat.getDrawable(mContext, iconRes); in setIcon() 433 if (mIconDrawable != null && (mHasIconTint || mHasIconTintMode)) { in applyIconTint() 434 mIconDrawable = DrawableCompat.wrap(mIconDrawable); in applyIconTint() 435 mIconDrawable = mIconDrawable.mutate(); in applyIconTint() 438 DrawableCompat.setTintList(mIconDrawable, mIconTintList); in applyIconTint() 442 DrawableCompat.setTintMode(mIconDrawable, mIconTintMode); in applyIconTint()
|
D | MenuItemImpl.java | 69 private Drawable mIconDrawable; field in MenuItemImpl 486 if (mIconDrawable != null) { in getIcon() 487 return applyIconTintIfNecessary(mIconDrawable); in getIcon() 493 mIconDrawable = icon; in getIcon() 503 mIconDrawable = icon; in setIcon() 512 mIconDrawable = null; in setIcon()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItem.java | 49 private Drawable mIconDrawable; field in ActionMenuItem 95 return mIconDrawable; in getIcon() 186 mIconDrawable = icon; in setIcon() 195 mIconDrawable = mContext.getDrawable(iconRes); in setIcon() 234 if (mIconDrawable != null && (mHasIconTint || mHasIconTintMode)) { in applyIconTint() 235 mIconDrawable = mIconDrawable.mutate(); in applyIconTint() 238 mIconDrawable.setTintList(mIconTintList); in applyIconTint() 242 mIconDrawable.setTintMode(mIconTintMode); in applyIconTint()
|
D | MenuItemImpl.java | 62 private Drawable mIconDrawable; field in MenuItemImpl 455 if (mIconDrawable != null) { in getIcon() 456 return applyIconTintIfNecessary(mIconDrawable); in getIcon() 462 mIconDrawable = icon; in getIcon() 471 mIconDrawable = icon; in setIcon() 479 mIconDrawable = null; in setIcon()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GuidanceStylist.java | 81 private final Drawable mIconDrawable; field in GuidanceStylist.Guidance 95 mIconDrawable = icon; in Guidance() 127 return mIconDrawable; in getIconDrawable()
|
D | SearchOrbView.java | 46 private Drawable mIconDrawable; field in SearchOrbView 262 mIconDrawable = icon; in setOrbIcon() 263 mIcon.setImageDrawable(mIconDrawable); in setOrbIcon() 271 return mIconDrawable; in getOrbIcon()
|
/frameworks/support/wear/src/android/support/wear/widget/drawer/ |
D | WearableActionDrawerMenu.java | 234 private Drawable mIconDrawable; field in WearableActionDrawerMenu.WearableActionDrawerMenuItem 271 mIconDrawable = icon; in setIcon() 285 return mIconDrawable; in getIcon()
|