Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DAdaptiveIconDrawableTest.java51 private AdaptiveIconDrawable mIconDrawable; field in AdaptiveIconDrawableTest
62 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testDraw_withoutBounds()
71 mIconDrawable.draw(can1); in testDraw_withoutBounds()
92mIconDrawable = (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/
DDoubleShadowIconDrawable.kt44 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/
DActionMenuItem.java51 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()
DMenuItemImpl.java66 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/
DScreenRecordDrawable.java42 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/
DSplashScreenView.java125 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/
DWalletScreenController.java324 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/
DLegacyLockIconViewControllerBaseTest.java84 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/
DNotificationConversationInfoTest.java127 private Drawable mIconDrawable; field in NotificationConversationInfoTest
199 .thenReturn(mIconDrawable); in setUp()
261 assertEquals(mIconDrawable, view.getDrawable()); in testBindNotification_SetsShortcutIcon()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt85473 Lcom/android/internal/view/menu/MenuItemImpl;->mIconDrawable:Landroid/graphics/drawable/Drawable;