/frameworks/base/packages/SystemUI/src/com/android/systemui/util/drawable/ |
D | LoopedAnimatable2DrawableWrapper.kt | 102 override fun newDrawable(): Drawable = fromDrawable(nestedState.newDrawable()) method in com.android.systemui.util.drawable.LoopedAnimatable2DrawableWrapper.LoopedDrawableState 104 override fun newDrawable(res: Resources?): Drawable = method in com.android.systemui.util.drawable.LoopedAnimatable2DrawableWrapper.LoopedDrawableState 105 fromDrawable(nestedState.newDrawable(res)) 107 override fun newDrawable(res: Resources?, theme: Resources.Theme?): Drawable = method in com.android.systemui.util.drawable.LoopedAnimatable2DrawableWrapper.LoopedDrawableState 108 fromDrawable(nestedState.newDrawable(res, theme))
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | RoundedCornerProgressDrawable.kt | 77 override fun newDrawable(): Drawable { in newDrawable() method in com.android.systemui.util.RoundedCornerState 78 return newDrawable(null, null) in newDrawable() 81 override fun newDrawable(res: Resources?, theme: Resources.Theme?): Drawable { in newDrawable() method in com.android.systemui.util.RoundedCornerState 82 val wrapper = wrappedState.newDrawable(res, theme) as DrawableWrapper in newDrawable()
|
D | BrightnessProgressDrawable.kt | 89 override fun newDrawable(): Drawable { in newDrawable() method in com.android.systemui.util.RoundedCornerState 90 return newDrawable(null, null) in newDrawable() 93 override fun newDrawable(res: Resources?, theme: Resources.Theme?): Drawable { in newDrawable() method in com.android.systemui.util.RoundedCornerState 94 val wrapper = wrappedState.newDrawable(res, theme) as DrawableWrapper in newDrawable()
|
D | AlphaTintDrawableWrapper.java | 151 public Drawable newDrawable() { in newDrawable() method in AlphaTintDrawableWrapper.AlphaTintState 152 return newDrawable(null, null); in newDrawable() 157 public Drawable newDrawable(Resources res, Theme theme) { in newDrawable() method in AlphaTintDrawableWrapper.AlphaTintState 158 DrawableWrapper wrapper = (DrawableWrapper) mWrappedState.newDrawable(res, theme); in newDrawable()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | UserBadgeDrawable.java | 172 public Drawable newDrawable() { in newDrawable() method in UserBadgeDrawable.MyConstantState 174 mBase.newDrawable(), mBgColor, mBaseColor, mShouldDrawBackground); in newDrawable() 179 public Drawable newDrawable(Resources res) { in newDrawable() method in UserBadgeDrawable.MyConstantState 181 mBase.newDrawable(res), mBgColor, mBaseColor, mShouldDrawBackground); in newDrawable() 186 public Drawable newDrawable(Resources res, Theme theme) { in newDrawable() method in UserBadgeDrawable.MyConstantState 188 mBase.newDrawable(res, theme), mBgColor, mBaseColor, mShouldDrawBackground); in newDrawable()
|
D | ThemedIconDrawable.java | 110 public static FastBitmapDrawable newDrawable(BitmapInfo info, Context context) { in newDrawable() method in ThemedIconDrawable 112 return new ThemedConstantState(info, colors[0], colors[1]).newDrawable(); in newDrawable()
|
D | ClockDrawableWrapper.java | 130 Drawable d = mThemeInfo.baseDrawableState.newDrawable().mutate(); in getMonochrome() 218 getBackground().getConstantState().newDrawable(), null); in getExtendedInfo() 333 Drawable tintedDrawable = themeData.baseDrawableState.newDrawable().mutate(); in newIcon() 350 FastBitmapDrawable d = cs.newDrawable(); in newIcon() 394 (AdaptiveIconDrawable) mAnimInfo.baseDrawableState.newDrawable().mutate(); in ClockIconDrawable()
|
/frameworks/base/core/java/android/util/ |
D | LauncherIcons.java | 118 .getConstantState().newDrawable().mutate(); in getBadgedDrawable() 141 super(state.mChildState.newDrawable()); in ShadowDrawable() 179 public Drawable newDrawable() { in newDrawable() method in LauncherIcons.ShadowDrawable.MyConstantState
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | TransitionDrawable.java | 269 public Drawable newDrawable() { in newDrawable() method in TransitionDrawable.TransitionState 274 public Drawable newDrawable(Resources res) { in newDrawable() method in TransitionDrawable.TransitionState
|
D | DrawableWrapper.java | 79 final Drawable dr = mState.mDrawableState.newDrawable(res); in updateLocalState() 554 public Drawable newDrawable() { in newDrawable() method in DrawableWrapper.DrawableWrapperState 555 return newDrawable(null); in newDrawable() 559 public abstract Drawable newDrawable(@Nullable Resources res); in newDrawable() method in DrawableWrapper.DrawableWrapperState
|
D | LevelListDrawable.java | 216 public Drawable newDrawable() { in newDrawable() method in LevelListDrawable.LevelListState 221 public Drawable newDrawable(Resources res) { in newDrawable() method in LevelListDrawable.LevelListState
|
D | Drawable.java | 1498 public abstract @NonNull Drawable newDrawable(); in newDrawable() method in ConstantState 1512 public @NonNull Drawable newDrawable(@Nullable Resources res) { in newDrawable() method in ConstantState 1513 return newDrawable(); in newDrawable() 1530 public @NonNull Drawable newDrawable(@Nullable Resources res, in newDrawable() method in ConstantState 1532 return newDrawable(res); in newDrawable()
|
D | AnimationDrawable.java | 404 public Drawable newDrawable() { in newDrawable() method in AnimationDrawable.AnimationState 409 public Drawable newDrawable(Resources res) { in newDrawable() method in AnimationDrawable.AnimationState
|
D | ColorDrawable.java | 377 public Drawable newDrawable() { in newDrawable() method in ColorDrawable.ColorState 382 public Drawable newDrawable(Resources res) { in newDrawable() method in ColorDrawable.ColorState
|
D | StateListDrawable.java | 359 public Drawable newDrawable() { in newDrawable() method in StateListDrawable.StateListState 364 public Drawable newDrawable(Resources res) { in newDrawable() method in StateListDrawable.StateListState
|
/frameworks/base/core/java/android/content/res/ |
D | DrawableCache.java | 45 return entry.newDrawable(resources, theme); in getInstance()
|
/frameworks/base/packages/SystemUI/tests/utils/src/android/graphics/drawable/ |
D | TestStubDrawable.kt | 53 override fun newDrawable(): Drawable = drawable method in android.graphics.drawable.TestStubDrawable.TestStubConstantState
|
/frameworks/base/core/java/com/android/internal/graphics/drawable/ |
D | AnimationScaleListDrawable.java | 216 public Drawable newDrawable() { in newDrawable() method in AnimationScaleListDrawable.AnimationScaleListState 221 public Drawable newDrawable(Resources res) { in newDrawable() method in AnimationScaleListDrawable.AnimationScaleListState
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | KeyButtonDrawable.java | 118 mAnimatedDrawable = (AnimatedVectorDrawable) mState.mChildState.newDrawable().mutate(); in KeyButtonDrawable() 337 final Drawable d = mState.mChildState.newDrawable().mutate(); in regenerateBitmapIconCache() 365 final Drawable d = mState.mChildState.newDrawable().mutate(); in regenerateBitmapShadowCache() 447 public Drawable newDrawable() { in newDrawable() method in KeyButtonDrawable.ShadowDrawableState
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | KeyButtonDrawable.java | 114 mAnimatedDrawable = (AnimatedVectorDrawable) mState.mChildState.newDrawable().mutate(); in KeyButtonDrawable() 333 final Drawable d = mState.mChildState.newDrawable().mutate(); in regenerateBitmapIconCache() 361 final Drawable d = mState.mChildState.newDrawable().mutate(); in regenerateBitmapShadowCache() 443 public Drawable newDrawable() { in newDrawable() method in KeyButtonDrawable.ShadowDrawableState
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ExpandableIndicator.java | 46 .getDrawable(res).getConstantState().newDrawable(); in setExpanded()
|
/frameworks/base/core/java/android/widget/ |
D | AnalogClock.java | 912 Drawable newDrawable = drawable.mutate(); in apply() 915 newDrawable.setTintList(mTintList); in apply() 919 newDrawable.setTintBlendMode(mTintBlendMode); in apply() 924 newDrawable.setState(getDrawableState()); in apply() 927 return newDrawable; in apply()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | BigPictureIconManager.kt | 155 newDrawable: Drawable in <lambda>() 159 val (newWidth, newHeight) = newDrawable.intrinsicSize in <lambda>()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/ |
D | BluetoothDeviceLayerDrawableTest.java | 90 (BluetoothDeviceLayerDrawable) drawable.getConstantState().newDrawable(); in testConstantState_returnTwinBluetoothLayerDrawable()
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveIcon.java | 121 public Drawable newDrawable() { in newDrawable() method in AdaptiveIcon.AdaptiveConstantState
|