Home
last modified time | relevance | path

Searched refs:constantState (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DThemedIconDrawable.java68 protected ThemedIconDrawable(ThemedConstantState constantState) { in ThemedIconDrawable() argument
69 super(constantState.mBitmap, constantState.colorFg, constantState.mIsDisabled); in ThemedIconDrawable()
70 bitmapInfo = constantState.bitmapInfo; in ThemedIconDrawable()
71 colorBg = constantState.colorBg; in ThemedIconDrawable()
72 colorFg = constantState.colorFg; in ThemedIconDrawable()
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/data/
DDockAppItem.kt84 this.icon.constantState == other.icon.constantState && in equals()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DKeyboardQuickSwitchTaskView.java202 Drawable.ConstantState constantState = task.icon.getConstantState(); in applyIcon() local
203 if (constantState == null) { in applyIcon()
211 constantState.newDrawable(getResources(), getContext().getTheme())); in applyIcon()
/packages/apps/Car/Launcher/docklib/tests/src/com/android/car/docklib/data/
DDockAppItemTest.kt71 whenever(icon1.constantState).thenReturn(null) in compareAppItems_notEqual_differentIcons()
73 whenever(icon2.constantState).thenReturn(mock<Drawable.ConstantState>()) in compareAppItems_notEqual_differentIcons()
/packages/apps/Camera2/src/com/android/camera/ui/
DBottomBar.java404 private LayerDrawable newDrawableFromConstantState(Drawable.ConstantState constantState) { in newDrawableFromConstantState() argument
405 return (LayerDrawable) constantState.newDrawable(getContext().getResources()); in newDrawableFromConstantState()