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.java56 mConstantState = new MyConstantState(bg.getConstantState(), fg.getConstantState(), in FolderAdaptiveIcon()
57 badge.getConstantState(), mask); in FolderAdaptiveIcon()
140 public ConstantState getConstantState() { in getConstantState() method
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DThemeComponentOption.java186 .getConstantState().newDrawable().mutate(); in bindThumbnailTile()
378 Drawable icon = mIcons.get(COLOR_TILES_ICON_IDS[i][1]).getConstantState() in bindPreview()
381 Drawable bgShape = mShapeDrawable.getConstantState().newDrawable(); in bindPreview()
427 Drawable background = shapeDrawable.getConstantState().newDrawable(); in ShapeOption()
428 Drawable foreground = shapeDrawable.getConstantState().newDrawable(); in ShapeOption()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemePreviewPage.java165 Drawable icon = mIcons.get(mColorTileIconIds[i][1]).getConstantState() in bindBody()
167 Drawable bgShape = mShapeDrawable.getConstantState().newDrawable(); in bindBody()
202 .setImageDrawable(mIcons.get(iconIndex).getConstantState() in bindPreviewContent()
DThemeFragment.java414 .getConstantState().newDrawable().mutate()); in ThemePreviewAdapter()
459 .getConstantState().newDrawable().mutate(); in ThemePreviewAdapter()
461 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/Launcher3/src/com/android/launcher3/
DFastBitmapDrawable.java349 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/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskMenuView.java181 Drawable icon = taskView.getTask().icon.getConstantState().newDrawable(); in addMenuOptions()
/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.java429 nextWallpaperButtonDrawable.getConstantState().newDrawable().mutate(); in setUpBottomSheet()
536 exploreButtonDrawable = exploreButtonDrawable.getConstantState() in refreshCurrentWallpapers()
DPreviewFragment.java258 navigationIcon = navigationIcon.getConstantState().newDrawable().mutate(); in onCreateView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DEntityHeaderController.java139 mIcon = icon.getConstantState().newDrawable(mAppContext.getResources()); in setIcon()
/packages/apps/Settings/src/com/android/settings/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.java874 final Drawable.ConstantState constantStateDrawable = drawable.getConstantState(); in getTintedDrawable()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java428 drawable = drawable == null ? null : drawable.getConstantState().newDrawable(); in getIconResult()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/
DWifiDetailPreferenceController.java612 Drawable wifiIconDark = wifiIcon.getConstantState().newDrawable().mutate(); in refreshRssiViews()
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiDetailPreferenceController.java584 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