Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DFloatingWidgetBackgroundView.java73 mOriginalForeground.getConstantState().newDrawable().mutate()); in init()
76 mOriginalForeground.getConstantState().newDrawable().mutate(); in init()
83 mOriginalBackground.getConstantState().newDrawable().mutate()); in init()
86 mOriginalBackground.getConstantState().newDrawable().mutate(); in init()
/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()
148 public ConstantState getConstantState() { in getConstantState() method
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DCustomizationVerifier.java47 assertThat(actualLogo.getConstantState(), equalTo(expectedLogo.getConstantState())); in assertDefaultLogoCorrect()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DThemeComponentOption.java214 .getConstantState().newDrawable().mutate(); in bindThumbnailTile()
433 Drawable icon = mIcons.get(COLOR_TILES_ICON_IDS[i][1]).getConstantState() in bindPreview()
437 Drawable bgShape = mShapeDrawable.getConstantState().newDrawable(); in bindPreview()
483 Drawable background = shapeDrawable.getConstantState().newDrawable(); in ShapeOption()
484 Drawable foreground = shapeDrawable.getConstantState().newDrawable(); in ShapeOption()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityButtonPreviewPreferenceControllerTest.java95 assertThat(mController.mPreview.getDrawable().getConstantState()).isEqualTo( in onChange_updatePreviewPreferenceWithConfig_expectedPreviewDrawable()
96 smallFloatingMenuWithTenOpacityDrawable.getConstantState()); in onChange_updatePreviewPreferenceWithConfig_expectedPreviewDrawable()
DFloatingMenuLayerDrawableTest.java69 assertThat(originalDrawable.getConstantState()).isEqualTo( in updateLayerDrawable_expectedFloatingMenuLayerDrawableState()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DShadowDrawable.java86 public ConstantState getConstantState() { in getConstantState() method in ShadowDrawable
178 mState.mChildState = d.getConstantState(); in inflate()
DShiftedBitmapDrawable.java80 public ConstantState getConstantState() { in getConstantState() method in ShiftedBitmapDrawable
DPreloadIconDrawable.java348 public ConstantState getConstantState() { in getConstantState() method in PreloadIconDrawable
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemeOptionPreviewer.java278 .setImageDrawable(icons.get(iconIndex).getConstantState() in setTopBarIcons()
303 Drawable icon = icons.get(mColorTileIconIds[i][1]).getConstantState() in setColorAndIconsSection()
305 Drawable bgShape = shapeDrawable.getConstantState().newDrawable(); in setColorAndIconsSection()
/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/ThemePicker/src/com/android/customization/model/theme/
DThemeBundle.java113 Drawable icon = mPreviewInfo.icons.get(0).getConstantState().newDrawable().mutate(); in bindThumbnailTile()
279 return mIconDrawable.getConstantState().newDrawable().mutate(); in getDrawableCopy()
/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/Settings/src/com/android/settings/accessibility/
DFloatingMenuLayerDrawable.java80 public ConstantState getConstantState() { in getConstantState() method in FloatingMenuLayerDrawable
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCachingIconLoader.java135 store(value == null ? null : value.getConstantState());
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DTopLevelIcon.java111 public ConstantState getConstantState() { in getConstantState() method in TopLevelIcon
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DTopLevelIconTest.java104 (TopLevelIcon.AdaptiveConstantState) icon.getConstantState(); in getConstantState_returnCorrectState()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/
DAddFavoriteFragment.java99 item.setSupplementalIcon(mFavoriteIcon.getConstantState().newDrawable()); in setPhoneNumbers()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java293 drawable = drawable == null ? null : drawable.getConstantState().newDrawable(); in getIconResult()
297 ? null : btvIcon.getConstantState().newDrawable(); in getIconResult()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java289 view.setBackground(mRoundedTop.getConstantState().newDrawable()); in assignMarginsAndBackgrounds()
291 view.setBackground(mRoundedBottom.getConstantState().newDrawable()); in assignMarginsAndBackgrounds()
/packages/apps/Settings/src/com/android/settings/widget/
DEntityHeaderController.java134 final Drawable.ConstantState state = icon.getConstantState(); in setIcon()
/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.java476 nextWallpaperButtonDrawable.getConstantState().newDrawable().mutate(); in setUpBottomSheet()
584 exploreButtonDrawable = exploreButtonDrawable.getConstantState() in refreshCurrentWallpapers()
/packages/apps/Settings/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragment.java420 final Drawable wifiIconDark = wifiIcon.getConstantState().newDrawable().mutate(); in updateSingleNetworkSignalIcon()

12