Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java59 mConstantState = new MyConstantState(bg.getConstantState(), fg.getConstantState(), in FolderAdaptiveIcon()
60 badge.getConstantState(), mask); in FolderAdaptiveIcon()
147 public ConstantState getConstantState() { in getConstantState() method
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DThemeComponentOption.java192 .getConstantState().newDrawable().mutate(); in bindThumbnailTile()
386 Drawable icon = mIcons.get(COLOR_TILES_ICON_IDS[i][1]).getConstantState() in bindPreview()
390 Drawable bgShape = mShapeDrawable.getConstantState().newDrawable(); in bindPreview()
436 Drawable background = shapeDrawable.getConstantState().newDrawable(); in ShapeOption()
437 Drawable foreground = shapeDrawable.getConstantState().newDrawable(); in ShapeOption()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemePreviewPage.java170 Drawable icon = mIcons.get(mColorTileIconIds[i][1]).getConstantState() in bindBody()
172 Drawable bgShape = mShapeDrawable.getConstantState().newDrawable(); in bindBody()
207 .setImageDrawable(mIcons.get(iconIndex).getConstantState() in bindPreviewContent()
DThemeFragment.java415 .getConstantState().newDrawable().mutate()); in ThemePreviewAdapter()
461 .getConstantState().newDrawable().mutate(); in ThemePreviewAdapter()
464 previewInfo.shapeDrawable.getConstantState().newDrawable(); in ThemePreviewAdapter()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DCustomizationVerifier.java69 assertThat(actualLogo.getConstantState(), equalTo(expectedLogo.getConstantState())); in assertDefaultLogoCorrect()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DShadowDrawable.java86 public ConstantState getConstantState() { in getConstantState() method in ShadowDrawable
179 mState.mChildState = d.getConstantState(); in inflate()
DShiftedBitmapDrawable.java80 public ConstantState getConstantState() { in getConstantState() method in ShiftedBitmapDrawable
/packages/apps/ThemePicker/src/com/android/customization/widget/
DDynamicAdaptiveIconDrawable.java698 public ConstantState getConstantState() { in getConstantState() method in DynamicAdaptiveIconDrawable
736 final ConstantState cs = dr.getConstantState(); in ChildDrawable()
919 if (dr != null && dr.getConstantState() == null) { in canConstantState()
/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.java135 store(value == null ? null : value.getConstantState());
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/
DAddFavoriteFragment.java96 item.setSupplementalIcon(mFavoriteIcon.getConstantState().newDrawable()); in setPhoneNumbers()
/packages/apps/Launcher3/src/com/android/launcher3/
DFastBitmapDrawable.java352 public ConstantState getConstantState() { in getConstantState() method in FastBitmapDrawable
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DConversationMessageView.java256 final Drawable.ConstantState constantStateDrawable = drawable.getConstantState(); in getTintedDrawable()
/packages/apps/Settings/src/com/android/settings/display/
DConversationMessageView.java256 final Drawable.ConstantState constantStateDrawable = drawable.getConstantState(); in getTintedDrawable()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DTopLevelPickerActivity.java455 nextWallpaperButtonDrawable.getConstantState().newDrawable().mutate(); in setUpBottomSheet()
562 exploreButtonDrawable = exploreButtonDrawable.getConstantState() in refreshCurrentWallpapers()
/packages/apps/Settings/src/com/android/settings/widget/
DEntityHeaderController.java139 mIcon = icon.getConstantState().newDrawable(mAppContext.getResources()); in setIcon()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskMenuView.java183 Drawable icon = taskView.getTask().icon.getConstantState().newDrawable(); in addMenuOptions()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DEntityHeaderController.java139 mIcon = icon.getConstantState().newDrawable(mAppContext.getResources()); in setIcon()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeBundle.java121 Drawable icon = mPreviewInfo.icons.get(0).getConstantState().newDrawable().mutate(); in bindThumbnailTile()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java877 final Drawable.ConstantState constantStateDrawable = drawable.getConstantState(); in getTintedDrawable()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java436 drawable = drawable == null ? null : drawable.getConstantState().newDrawable(); in getIconResult()
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiDetailPreferenceController.java598 Drawable wifiIconDark = wifiIcon.getConstantState().newDrawable().mutate(); in refreshRssiViews()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/
DWifiDetailPreferenceController.java612 Drawable wifiIconDark = wifiIcon.getConstantState().newDrawable().mutate(); in refreshRssiViews()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningState.java714 ConstantState constState = mUser.mIcon.getConstantState(); in loadIcon()

12