Home
last modified time | relevance | path

Searched refs:getConstantState (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java63 mConstantState = new MyConstantState(bg.getConstantState(), fg.getConstantState(), in FolderAdaptiveIcon()
64 badge.getConstantState(), mask); in FolderAdaptiveIcon()
173 public ConstantState getConstantState() { in getConstantState() method in FolderAdaptiveIcon
228 public ConstantState getConstantState() { in getConstantState() method in FolderAdaptiveIcon.BitmapRendererDrawable
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DFloatingWidgetBackgroundView.java85 mOriginalForeground.getConstantState().newDrawable().mutate()); in init()
88 mOriginalForeground.getConstantState().newDrawable().mutate(); in init()
101 mOriginalBackground.getConstantState().newDrawable().mutate()); in init()
104 mOriginalBackground.getConstantState().newDrawable().mutate(); in init()
DTaskThumbnailViewDeprecated.java479 if (icon == null || icon.getConstantState() == null) { in updateSplashView()
484 mSplashViewDrawable = icon.getConstantState().newDrawable().mutate(); in updateSplashView()
/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/view/
DQCViewUtils.java47 ? defaultToggleBackground.getConstantState().newDrawable().mutate() in getToggleIcon()
48 : unavailableToggleBackground.getConstantState().newDrawable().mutate(); in getToggleIcon()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/view/
DSaturationProgressDrawable.kt76 override fun getConstantState(): ConstantState { in getConstantState() method
78 return RoundedCornerState(super.getConstantState()!!) in getConstantState()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DClockDrawableWrapper.java165 info.baseDrawableState = drawable.getConstantState(); in forExtras()
198 getBackground().getConstantState().newDrawable(), null); in getExtendedInfo()
427 public ConstantState getConstantState() { in getConstantState() method in ClockDrawableWrapper.ClockIconDrawable
DFastBitmapDrawable.java270 public ConstantState getConstantState() { in getConstantState() method in FastBitmapDrawable
DThemedIconDrawable.java108 public ConstantState getConstantState() { in getConstantState() method in ThemedIconDrawable
/packages/apps/Camera2/src/com/android/camera/ui/
DModeIconView.java88 return mIconDrawable.getConstantState().newDrawable(); in getIconDrawableClone()
DBottomBar.java107 context.getResources().getDrawable(drawableId).getConstantState(); in BottomBar()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCachingIconLoader.kt110 store(if (value == null) null else value.getConstantState()) in consume()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java332 drawable = drawable == null ? null : drawable.getConstantState().newDrawable(); in getIconResult()
336 Drawable btvClone = btvIcon == null ? null : btvIcon.getConstantState().newDrawable(); in getIconResult()
570 btvDrawableSupplier = () -> btvIcon.getConstantState().newDrawable(); in fetchIcon()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DTopLevelIcon.java111 public ConstantState getConstantState() { in getConstantState() method in TopLevelIcon
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryDiffEntry.java259 return mAppIcon != null && mAppIcon.getConstantState() != null in getAppIcon()
260 ? mAppIcon.getConstantState().newDrawable() in getAppIcon()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DTopLevelIconTest.java104 (TopLevelIcon.AdaptiveConstantState) icon.getConstantState(); in getConstantState_returnCorrectState()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DDynamicAdaptiveIconDrawable.java695 public ConstantState getConstantState() { in getConstantState() method in DynamicAdaptiveIconDrawable
733 final ConstantState cs = dr.getConstantState(); in ChildDrawable()
920 if (dr != null && dr.getConstantState() == null) { in canConstantState()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java108 Drawable drawable = icon.getConstantState().newDrawable(); in createDrawable()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/recyclerview/
DAppItemViewHolder.java403 if (appIcon.getConstantState() == null) return;
405 appIcon.getConstantState().newDrawable().mutate(),
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java271 view.setBackground(mRoundedTop.getConstantState().newDrawable()); in assignMarginsAndBackgrounds()
273 view.setBackground(mRoundedBottom.getConstantState().newDrawable()); in assignMarginsAndBackgrounds()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DKeyboardQuickSwitchTaskView.java202 Drawable.ConstantState constantState = task.icon.getConstantState(); in applyIcon()
/packages/apps/Settings/src/com/android/settings/widget/
DEntityHeaderController.java124 final Drawable.ConstantState state = icon.getConstantState(); in setIcon()
/packages/apps/Settings/src/com/android/settings/display/
DConversationMessageView.java266 final Drawable.ConstantState constantStateDrawable = drawable.getConstantState(); in getTintedDrawable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryDiffEntryTest.java615 doReturn(mMockConstantState).when(drawable).getConstantState(); in mockConstantState()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java877 final Drawable.ConstantState constantStateDrawable = drawable.getConstantState(); in getTintedDrawable()
/packages/apps/Settings/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragment.java424 final Drawable wifiIconDark = wifiIcon.getConstantState().newDrawable().mutate(); in updateSingleNetworkSignalIcon()

12