Home
last modified time | relevance | path

Searched refs:newDrawable (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/drawable/
DLoopedAnimatable2DrawableWrapper.kt102 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/
DRoundedCornerProgressDrawable.kt77 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()
DBrightnessProgressDrawable.kt89 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()
DAlphaTintDrawableWrapper.java151 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/
DUserBadgeDrawable.java172 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()
DThemedIconDrawable.java110 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()
DClockDrawableWrapper.java130 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/
DLauncherIcons.java118 .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/
DTransitionDrawable.java269 public Drawable newDrawable() { in newDrawable() method in TransitionDrawable.TransitionState
274 public Drawable newDrawable(Resources res) { in newDrawable() method in TransitionDrawable.TransitionState
DDrawableWrapper.java79 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
DLevelListDrawable.java216 public Drawable newDrawable() { in newDrawable() method in LevelListDrawable.LevelListState
221 public Drawable newDrawable(Resources res) { in newDrawable() method in LevelListDrawable.LevelListState
DDrawable.java1498 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()
DAnimationDrawable.java404 public Drawable newDrawable() { in newDrawable() method in AnimationDrawable.AnimationState
409 public Drawable newDrawable(Resources res) { in newDrawable() method in AnimationDrawable.AnimationState
DColorDrawable.java377 public Drawable newDrawable() { in newDrawable() method in ColorDrawable.ColorState
382 public Drawable newDrawable(Resources res) { in newDrawable() method in ColorDrawable.ColorState
DStateListDrawable.java359 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/
DDrawableCache.java45 return entry.newDrawable(resources, theme); in getInstance()
/frameworks/base/packages/SystemUI/tests/utils/src/android/graphics/drawable/
DTestStubDrawable.kt53 override fun newDrawable(): Drawable = drawable method in android.graphics.drawable.TestStubDrawable.TestStubConstantState
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DAnimationScaleListDrawable.java216 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/
DKeyButtonDrawable.java118 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/
DKeyButtonDrawable.java114 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/
DExpandableIndicator.java46 .getDrawable(res).getConstantState().newDrawable(); in setExpanded()
/frameworks/base/core/java/android/widget/
DAnalogClock.java912 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/
DBigPictureIconManager.kt155 newDrawable: Drawable in <lambda>()
159 val (newWidth, newHeight) = newDrawable.intrinsicSize in <lambda>()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
DBluetoothDeviceLayerDrawableTest.java90 (BluetoothDeviceLayerDrawable) drawable.getConstantState().newDrawable(); in testConstantState_returnTwinBluetoothLayerDrawable()
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
DAdaptiveIcon.java121 public Drawable newDrawable() { in newDrawable() method in AdaptiveIcon.AdaptiveConstantState

123