/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/src/com/android/launcher3/dragndrop/ |
D | FolderAdaptiveIcon.java | 165 public Drawable newDrawable() { in newDrawable() method in MyConstantState 166 return new FolderAdaptiveIcon(mBg.newDrawable(), mFg.newDrawable(), in newDrawable() 167 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 | 192 .getConstantState().newDrawable().mutate(); in bindThumbnailTile() 387 .newDrawable(); 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/ |
D | ThemePreviewPage.java | 171 .newDrawable().mutate(); in bindBody() 172 Drawable bgShape = mShapeDrawable.getConstantState().newDrawable(); in bindBody() 208 .newDrawable().mutate()); in bindPreviewContent()
|
D | ThemeFragment.java | 415 .getConstantState().newDrawable().mutate()); in ThemePreviewAdapter() 461 .getConstantState().newDrawable().mutate(); in ThemePreviewAdapter() 464 previewInfo.shapeDrawable.getConstantState().newDrawable(); in ThemePreviewAdapter()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | ShadowDrawable.java | 128 Drawable d = mState.mChildState.newDrawable().mutate(); in regenerateBitmapCache() 200 public Drawable newDrawable() { in newDrawable() method in ShadowDrawable.ShadowDrawableState
|
D | ShiftedBitmapDrawable.java | 96 public Drawable newDrawable() { in newDrawable() method in ShiftedBitmapDrawable.MyConstantState
|
/packages/apps/ThemePicker/src/com/android/customization/widget/ |
D | DynamicAdaptiveIconDrawable.java | 740 clone = cs.newDrawable(res); in ChildDrawable() 742 clone = cs.newDrawable(); in ChildDrawable() 844 public Drawable newDrawable() { in newDrawable() method in DynamicAdaptiveIconDrawable.LayerState 849 public Drawable newDrawable(@Nullable Resources res) { in newDrawable() method in DynamicAdaptiveIconDrawable.LayerState
|
/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/QuickSearchBox/src/com/android/quicksearchbox/ |
D | CachingIconLoader.java | 73 return value == null ? null : value.newDrawable(); in getIcon()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/ |
D | AddFavoriteFragment.java | 96 item.setSupplementalIcon(mFavoriteIcon.getConstantState().newDrawable()); in setPhoneNumbers()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FastBitmapDrawable.java | 368 public Drawable newDrawable() { in newDrawable() method in FastBitmapDrawable.MyConstantState
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/ |
D | ConversationMessageView.java | 258 ? constantStateDrawable.newDrawable(context.getResources()).mutate() in getTintedDrawable()
|
/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 | 455 nextWallpaperButtonDrawable.getConstantState().newDrawable().mutate(); in setUpBottomSheet() 563 .newDrawable().mutate(); in refreshCurrentWallpapers()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | EntityHeaderController.java | 139 mIcon = icon.getConstantState().newDrawable(mAppContext.getResources()); in setIcon()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | TaskMenuView.java | 183 Drawable icon = taskView.getTask().icon.getConstantState().newDrawable(); in addMenuOptions()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | EntityHeaderController.java | 139 mIcon = icon.getConstantState().newDrawable(mAppContext.getResources()); in setIcon()
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/ |
D | ThemeBundle.java | 121 Drawable icon = mPreviewInfo.icons.get(0).getConstantState().newDrawable().mutate(); in bindThumbnailTile()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | FloatingIconView.java | 436 drawable = drawable == null ? null : drawable.getConstantState().newDrawable(); in getIconResult()
|
/packages/apps/Settings/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceController.java | 598 Drawable wifiIconDark = wifiIcon.getConstantState().newDrawable().mutate(); in refreshRssiViews()
|