/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/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/ |
D | DoubleShadowIconDrawable.kt | 44 private val mIconDrawable: InsetDrawable constant 52 mIconDrawable = InsetDrawable(iconDrawable, iconInsetSize) 53 mIconDrawable.setBounds(0, 0, mCanvasSize, mCanvasSize) 102 mIconDrawable.draw(recordingCanvas) in draw() 107 mIconDrawable.draw(canvas) in draw() 123 mIconDrawable.alpha = alpha in setAlpha() 127 mIconDrawable.colorFilter = colorFilter in setColorFilter() 131 mIconDrawable.setTint(color) in setTint() 135 mIconDrawable.setTintList(tint) in setTintList()
|
/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 | 125 private Drawable mIconDrawable; field in SplashScreenView.Builder 155 mIconDrawable = new BitmapDrawable(mContext.getResources(), parcelable.mIconBitmap); in createFromParcel() 173 Log.d(TAG, String.format("Building from parcel drawable: %s", mIconDrawable)); in createFromParcel() 206 mIconDrawable = drawable; in setCenterViewDrawable() 265 if (mIconDrawable instanceof SplashScreenView.IconAnimateListener in build() 273 view.initIconAnimation(mIconDrawable); in build() 284 if (mIconDrawable != null) { in build() 285 imageView.setImageDrawable(mIconDrawable); in build() 316 + mIconDrawable + " size: " + mIconSize in build() 345 imageView.setBackground(mIconDrawable); in createSurfaceView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | WalletScreenController.java | 324 private final Drawable mIconDrawable; field in WalletScreenController.QAWalletCardViewInfo 339 mIconDrawable = icon == null ? null : icon.loadDrawable(context); in QAWalletCardViewInfo() 359 return mIconDrawable; in getIcon()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | LegacyLockIconViewControllerBaseTest.java | 84 protected @Mock AnimatedStateListDrawable mIconDrawable; field in LegacyLockIconViewControllerBaseTest 143 when(mResources.getDrawable(anyInt(), any())).thenReturn(mIconDrawable); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationConversationInfoTest.java | 127 private Drawable mIconDrawable; field in NotificationConversationInfoTest 199 .thenReturn(mIconDrawable); in setUp() 261 assertEquals(mIconDrawable, view.getDrawable()); in testBindNotification_SetsShortcutIcon()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 85473 Lcom/android/internal/view/menu/MenuItemImpl;->mIconDrawable:Landroid/graphics/drawable/Drawable;
|