/packages/apps/Camera2/src/com/android/camera/ |
D | MultiToggleImageButton.java | 385 Drawable newDrawable = getResources().getDrawable(mImageIds[newState]).mutate(); in combine() local 386 newDrawable.setState(enabledState); in combine() 399 … newDrawable.setBounds(0, 0, newDrawable.getIntrinsicWidth(), newDrawable.getIntrinsicHeight()); in combine() 401 newDrawable.draw(canvas); in combine() 408 … newDrawable.setBounds(0, 0, newDrawable.getIntrinsicWidth(), newDrawable.getIntrinsicHeight()); in combine() 410 newDrawable.draw(canvas); in combine()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ImageViewDrawableSetter.java | 100 Drawable newDrawable = decodedBitmapDrawable(compressed); in setCompressedImage() local 101 if (newDrawable == null) { in setCompressedImage() 102 newDrawable = defaultDrawable(); in setCompressedImage() 109 if (newDrawable == null) return previousBitmap(); in setCompressedImage() 113 mTarget.setImageDrawable(newDrawable); in setCompressedImage() 118 beforeAndAfter[1] = newDrawable; in setCompressedImage() 126 mPreviousDrawable = newDrawable; in setCompressedImage()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | FloatingWidgetBackgroundView.java | 73 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/ |
D | FolderAdaptiveIcon.java | 166 public Drawable newDrawable() { in newDrawable() method in MyConstantState 167 return new FolderAdaptiveIcon(mBg.newDrawable(), mFg.newDrawable(), in newDrawable() 168 mBadge.newDrawable(), mMask); in newDrawable()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | SwitchCompatUtils.java | 59 final Drawable newDrawable = new TintDrawableWrapper(oldDrawable, colorStateList, mode); in getColorTintedDrawable() local 61 newDrawable.setState(thumbState); in getColorTintedDrawable() 63 return newDrawable; in getColorTintedDrawable()
|
D | ImageUtils.java | 879 ? constantStateDrawable.newDrawable(context.getResources()).mutate() in getTintedDrawable()
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/ |
D | ThemeComponentOption.java | 214 .getConstantState().newDrawable().mutate(); in bindThumbnailTile() 434 .newDrawable(); 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/ThemePicker/src/com/android/customization/widget/ |
D | DynamicAdaptiveIconDrawable.java | 737 clone = cs.newDrawable(res); in ChildDrawable() 739 clone = cs.newDrawable(); in ChildDrawable() 844 public Drawable newDrawable() { in newDrawable() method in DynamicAdaptiveIconDrawable.LayerState 850 public Drawable newDrawable(@Nullable Resources res) { in newDrawable() method in DynamicAdaptiveIconDrawable.LayerState 851 return newDrawable(); in newDrawable()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | ShadowDrawable.java | 124 Drawable d = mState.mChildState.newDrawable().mutate(); in regenerateBitmapCache() 199 public Drawable newDrawable() { in newDrawable() method in ShadowDrawable.ShadowDrawableState
|
D | ShiftedBitmapDrawable.java | 96 public Drawable newDrawable() { in newDrawable() method in ShiftedBitmapDrawable.MyConstantState
|
D | PreloadIconDrawable.java | 384 public PreloadIconDrawable newDrawable() { in newDrawable() method in PreloadIconDrawable.PreloadIconConstantState
|
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/ |
D | ThemeOptionPreviewer.java | 279 .newDrawable().mutate()); in setTopBarIcons() 304 .newDrawable().mutate(); in setColorAndIconsSection() 305 Drawable bgShape = shapeDrawable.getConstantState().newDrawable(); in setColorAndIconsSection()
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/ |
D | ThemeBundle.java | 113 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/ |
D | ModeIconView.java | 88 return mIconDrawable.getConstantState().newDrawable(); in getIconDrawableClone()
|
D | BottomBar.java | 405 return (LayerDrawable) constantState.newDrawable(getContext().getResources()); in newDrawableFromConstantState()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | FloatingMenuLayerDrawable.java | 105 public Drawable newDrawable() { in newDrawable() method in FloatingMenuLayerDrawable.FloatingMenuLayerDrawableState
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | CachingIconLoader.java | 73 return value == null ? null : value.newDrawable(); in getIcon()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | TopLevelIcon.java | 148 public Drawable newDrawable() { in newDrawable() method in TopLevelIcon.AdaptiveConstantState
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/ |
D | AddFavoriteFragment.java | 99 item.setSupplementalIcon(mFavoriteIcon.getConstantState().newDrawable()); in setPhoneNumbers()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | FloatingIconView.java | 293 drawable = drawable == null ? null : drawable.getConstantState().newDrawable(); in getIconResult() 297 ? null : btvIcon.getConstantState().newDrawable(); in getIconResult()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | ArrowPopup.java | 289 view.setBackground(mRoundedTop.getConstantState().newDrawable()); in assignMarginsAndBackgrounds() 291 view.setBackground(mRoundedBottom.getConstantState().newDrawable()); in assignMarginsAndBackgrounds()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | EntityHeaderController.java | 135 mIcon = state != null ? state.newDrawable(mAppContext.getResources()) : icon; in setIcon()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | ConversationMessageView.java | 258 ? constantStateDrawable.newDrawable(context.getResources()).mutate() in getTintedDrawable()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | TopLevelPickerActivity.java | 476 nextWallpaperButtonDrawable.getConstantState().newDrawable().mutate(); in setUpBottomSheet() 585 .newDrawable().mutate(); in refreshCurrentWallpapers()
|
/packages/apps/Settings/src/com/android/settings/wifi/addappnetworks/ |
D | AddAppNetworksFragment.java | 420 final Drawable wifiIconDark = wifiIcon.getConstantState().newDrawable().mutate(); in updateSingleNetworkSignalIcon()
|