/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | AdaptiveIconDrawableTest.java | 51 private AdaptiveIconDrawable mIconDrawable; field in AdaptiveIconDrawableTest 62 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testDraw_withoutBounds() 71 mIconDrawable.draw(can1); in testDraw_withoutBounds() 92 …mIconDrawable = (AdaptiveIconDrawable) getContext().getResources().getDrawable(android.R.drawable.… in testDraw_withBounds() 97 mIconDrawable.setBounds(0, 0, width, height); in testDraw_withBounds() 98 mIconDrawable.draw(can_org); in testDraw_withBounds() 104 mIconDrawable.setBounds(left, top, right, bottom); in testDraw_withBounds() 106 mIconDrawable.draw(can_test); in testDraw_withBounds() 132 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetIconMask_withoutBounds() 133 Path pathFromDrawable = mIconDrawable.getIconMask(); in testGetIconMask_withoutBounds() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItem.java | 51 private Drawable mIconDrawable; field in ActionMenuItem 98 return mIconDrawable; in getIcon() 189 mIconDrawable = icon; in setIcon() 198 mIconDrawable = mContext.getDrawable(iconRes); in setIcon() 237 if (mIconDrawable != null && (mHasIconTint || mHasIconTintMode)) { in applyIconTint() 238 mIconDrawable = mIconDrawable.mutate(); in applyIconTint() 241 mIconDrawable.setTintList(mIconTintList); in applyIconTint() 245 mIconDrawable.setTintMode(mIconTintMode); in applyIconTint()
|
D | MenuItemImpl.java | 66 private Drawable mIconDrawable; field in MenuItemImpl 472 if (mIconDrawable != null) { in getIcon() 473 return applyIconTintIfNecessary(mIconDrawable); in getIcon() 479 mIconDrawable = icon; in getIcon() 488 mIconDrawable = icon; in setIcon() 496 mIconDrawable = null; in setIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ScreenRecordDrawable.java | 42 private Drawable mIconDrawable; field in ScreenRecordDrawable 63 mIconDrawable = r.getDrawable(R.drawable.ic_screenrecord, theme).mutate(); in inflate() 129 mIconDrawable.setBounds(iconBounds); in draw() 130 mIconDrawable.draw(canvas); in draw()
|
/frameworks/base/core/java/android/window/ |
D | SplashScreenView.java | 135 private Drawable mIconDrawable; field in SplashScreenView.Builder 163 mIconDrawable = new BitmapDrawable(mContext.getResources(), parcelable.mIconBitmap); in createFromParcel() 181 Log.d(TAG, String.format("Building from parcel drawable: %s", mIconDrawable)); in createFromParcel() 214 mIconDrawable = drawable; in setCenterViewDrawable() 263 if (mIconDrawable instanceof SplashScreenView.IconAnimateListener in build() 266 view.initIconAnimation(mIconDrawable, in build() 278 if (mIconDrawable != null) { in build() 279 imageView.setImageDrawable(mIconDrawable); in build() 286 if (mOverlayDrawable != null || mIconDrawable == null) { in build() 309 + mIconDrawable + " size: " + mIconSize in build() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | WalletScreenController.java | 314 private final Drawable mIconDrawable; field in WalletScreenController.QAWalletCardViewInfo 324 mIconDrawable = icon == null ? null : icon.loadDrawable(context); in QAWalletCardViewInfo() 344 return mIconDrawable; in getIcon()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationConversationInfoTest.java | 124 private Drawable mIconDrawable; field in NotificationConversationInfoTest 196 .thenReturn(mIconDrawable); in setUp() 257 assertEquals(mIconDrawable, view.getDrawable()); in testBindNotification_SetsShortcutIcon()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 89439 Lcom/android/internal/view/menu/MenuItemImpl;->mIconDrawable:Landroid/graphics/drawable/Drawable;
|