/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/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/ThemePicker/src/com/android/customization/picker/clock/ui/view/ |
D | SaturationProgressDrawable.kt | 90 override fun newDrawable(): Drawable { in newDrawable() method in com.android.customization.picker.clock.ui.view.RoundedCornerState 91 return newDrawable(null, null) in newDrawable() 94 override fun newDrawable(res: Resources?, theme: Resources.Theme?): Drawable { in newDrawable() method in com.android.customization.picker.clock.ui.view.RoundedCornerState 95 val wrapper = wrappedState.newDrawable(res, theme) as DrawableWrapper in newDrawable()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | FolderAdaptiveIcon.java | 191 public Drawable newDrawable() { in newDrawable() method in FolderAdaptiveIcon.MyConstantState 192 return new FolderAdaptiveIcon(mBg.newDrawable(), mFg.newDrawable(), in newDrawable() 193 mBadge.newDrawable(), mMask); in newDrawable() 240 public Drawable newDrawable() { in newDrawable() method in FolderAdaptiveIcon.BitmapRendererDrawable.MyConstantState
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | FloatingWidgetBackgroundView.java | 85 mOriginalForeground.getConstantState().newDrawable().mutate()); in init() 88 mOriginalForeground.getConstantState().newDrawable().mutate(); in init() 101 mOriginalBackground.getConstantState().newDrawable().mutate()); in init() 104 mOriginalBackground.getConstantState().newDrawable().mutate(); in init()
|
D | TaskThumbnailViewDeprecated.java | 484 mSplashViewDrawable = icon.getConstantState().newDrawable().mutate(); in updateSplashView()
|
/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()
|
/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/view/ |
D | QCViewUtils.java | 47 ? defaultToggleBackground.getConstantState().newDrawable().mutate() in getToggleIcon() 48 : unavailableToggleBackground.getConstantState().newDrawable().mutate(); in getToggleIcon()
|
/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/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | ClockDrawableWrapper.java | 198 getBackground().getConstantState().newDrawable(), null); in getExtendedInfo() 355 .newDrawable().mutate(); in ClockIconDrawable() 441 public FastBitmapDrawable newDrawable() { in newDrawable() method in ClockDrawableWrapper.ClockIconDrawable.ClockConstantState
|
D | ThemedIconDrawable.java | 126 public FastBitmapDrawable newDrawable() { in newDrawable() method in ThemedIconDrawable.ThemedConstantState 149 .newDrawable(); in newThemedIcon()
|
D | FastBitmapDrawable.java | 305 public FastBitmapDrawable newDrawable() { in newDrawable() method in FastBitmapDrawable.FastBitmapConstantState
|
/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.kt | 46 return if (value == null) null else value.newDrawable() in getIcon()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | FloatingIconView.java | 332 drawable = drawable == null ? null : drawable.getConstantState().newDrawable(); in getIconResult() 336 Drawable btvClone = btvIcon == null ? null : btvIcon.getConstantState().newDrawable(); in getIconResult() 570 btvDrawableSupplier = () -> btvIcon.getConstantState().newDrawable(); in fetchIcon()
|
/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/Launcher3/src/com/android/launcher3/graphics/ |
D | DragPreviewProvider.java | 108 Drawable drawable = icon.getConstantState().newDrawable(); in createDrawable()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | ArrowPopup.java | 271 view.setBackground(mRoundedTop.getConstantState().newDrawable()); in assignMarginsAndBackgrounds() 273 view.setBackground(mRoundedBottom.getConstantState().newDrawable()); in assignMarginsAndBackgrounds()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | KeyboardQuickSwitchTaskView.java | 211 constantState.newDrawable(getResources(), getContext().getTheme())); in applyIcon()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | EntityHeaderController.java | 125 mIcon = state != null ? state.newDrawable(mAppContext.getResources()) : icon; in setIcon()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | ConversationMessageView.java | 268 ? constantStateDrawable.newDrawable(context.getResources()).mutate() in getTintedDrawable()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryDiffEntry.java | 260 ? mAppIcon.getConstantState().newDrawable() in getAppIcon()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/recyclerview/ |
D | AppItemViewHolder.java | 405 appIcon.getConstantState().newDrawable().mutate(),
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryDiffEntryTest.java | 616 doReturn(drawable).when(mMockConstantState).newDrawable(); in mockConstantState()
|