Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/util/
DLauncherIcons.java116 .getConstantState().newDrawable().mutate(); in getBadgedDrawable()
140 super(state.mChildState.newDrawable()); in ShadowDrawable()
178 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.java78 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.java1507 public abstract @NonNull Drawable newDrawable(); in newDrawable() method in ConstantState
1521 public @NonNull Drawable newDrawable(@Nullable Resources res) { in newDrawable() method in ConstantState
1522 return newDrawable(); in newDrawable()
1539 public @NonNull Drawable newDrawable(@Nullable Resources res, in newDrawable() method in ConstantState
1541 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
DAdaptiveIconDrawable.java913 clone = cs.newDrawable(res); in ChildDrawable()
915 clone = cs.newDrawable(); in ChildDrawable()
1023 public Drawable newDrawable() { in newDrawable() method in AdaptiveIconDrawable.LayerState
1028 public Drawable newDrawable(@Nullable Resources res) { in newDrawable() method in AdaptiveIconDrawable.LayerState
DShapeDrawable.java598 public Drawable newDrawable() { in newDrawable() method in ShapeDrawable.ShapeState
603 public Drawable newDrawable(Resources res) { in newDrawable() method in ShapeDrawable.ShapeState
DClipDrawable.java233 public Drawable newDrawable(Resources res) { in newDrawable() method in ClipDrawable.ClipState
DAnimatedStateListDrawable.java646 public Drawable newDrawable() { in newDrawable() method in AnimatedStateListDrawable.AnimatedStateListState
651 public Drawable newDrawable(Resources res) { in newDrawable() method in AnimatedStateListDrawable.AnimatedStateListState
DColorStateListDrawable.java261 public Drawable newDrawable() { in newDrawable() method in ColorStateListDrawable.ColorStateListDrawableState
DScaleDrawable.java280 public Drawable newDrawable(Resources res) { in newDrawable() method in ScaleDrawable.ScaleState
/frameworks/base/core/java/com/android/internal/policy/
DBackdropFrameRenderer.java111 ? resizingBackgroundDrawable.getConstantState().newDrawable() in onResourcesLoaded()
115 ? captionBackgroundDrawableDrawable.getConstantState().newDrawable() in onResourcesLoaded()
119 ? userCaptionBackgroundDrawable.getConstantState().newDrawable() in onResourcesLoaded()
/frameworks/base/core/java/android/content/res/
DDrawableCache.java44 return entry.newDrawable(resources, theme); in getInstance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenWallpaper.java338 public Drawable newDrawable() { in newDrawable() method in LockscreenWallpaper.WallpaperDrawable.ConstantState
339 return newDrawable(null); in newDrawable()
343 public Drawable newDrawable(@Nullable Resources res) { in newDrawable() method in LockscreenWallpaper.WallpaperDrawable.ConstantState
DExpandableIndicator.java46 .getDrawable(res).getConstantState().newDrawable(); in setExpanded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonDrawable.java115 mAnimatedDrawable = (AnimatedVectorDrawable) mState.mChildState.newDrawable().mutate(); in KeyButtonDrawable()
316 final Drawable d = mState.mChildState.newDrawable().mutate(); in regenerateBitmapIconCache()
344 final Drawable d = mState.mChildState.newDrawable().mutate(); in regenerateBitmapShadowCache()
426 public Drawable newDrawable() { in newDrawable() method in KeyButtonDrawable.ShadowDrawableState
/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/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
DAdaptiveIcon.java117 public Drawable newDrawable() { in newDrawable() method in AdaptiveIcon.AdaptiveConstantState
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
DBluetoothDeviceLayerDrawableTest.java90 (BluetoothDeviceLayerDrawable) drawable.getConstantState().newDrawable(); in testConstantState_returnTwinBluetoothLayerDrawable()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBluetoothDeviceLayerDrawable.java152 public Drawable newDrawable() { in newDrawable() method in BluetoothDeviceLayerDrawable.BluetoothDeviceLayerDrawableState
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DExtendedBitmapDrawable.java104 placeholder = constantState.newDrawable(mResources); in onOptsChanged()
130 … mProgress = new Progress(mOpts.progressBar.getConstantState().newDrawable(mResources), mResources, in onOptsChanged()
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java630 return cached.newDrawable(); in checkIconCache()
671 return cached == null ? null : cached.newDrawable(mProviderContext.getResources()); in getActivityIconWithCache()

123