Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/util/
DLauncherIcons.java114 .getConstantState().newDrawable().mutate(); in getBadgedDrawable()
138 super(state.mChildState.newDrawable()); in ShadowDrawable()
176 public Drawable newDrawable() { in newDrawable() method in LauncherIcons.ShadowDrawable.MyConstantState
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenWallpaper.java311 public Drawable newDrawable() { in newDrawable() method in LockscreenWallpaper.WallpaperDrawable.ConstantState
312 return newDrawable(null); in newDrawable()
316 public Drawable newDrawable(@Nullable Resources res) { in newDrawable() method in LockscreenWallpaper.WallpaperDrawable.ConstantState
DExpandableIndicator.java46 .getDrawable(res).getConstantState().newDrawable(); in setExpanded()
/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()
547 public Drawable newDrawable() { in newDrawable() method in DrawableWrapper.DrawableWrapperState
548 return newDrawable(null); in newDrawable()
552 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.java900 clone = cs.newDrawable(res); in ChildDrawable()
902 clone = cs.newDrawable(); in ChildDrawable()
1007 public Drawable newDrawable() { in newDrawable() method in AdaptiveIconDrawable.LayerState
1012 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
/frameworks/base/core/java/com/android/internal/policy/
DBackdropFrameRenderer.java114 ? resizingBackgroundDrawable.getConstantState().newDrawable() in onResourcesLoaded()
118 ? captionBackgroundDrawableDrawable.getConstantState().newDrawable() in onResourcesLoaded()
122 ? 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/policy/
DKeyButtonDrawable.java99 mAnimatedDrawable = (AnimatedVectorDrawable) mState.mChildState.newDrawable().mutate(); in KeyButtonDrawable()
299 final Drawable d = mState.mChildState.newDrawable().mutate(); in regenerateBitmapIconCache()
327 final Drawable d = mState.mChildState.newDrawable().mutate(); in regenerateBitmapShadowCache()
409 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/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java517 mInvisibleDrawable = drawable.getConstantState().newDrawable(); in DrawableIcon()
595 return context.getDrawable(mAnimatedResId).getConstantState().newDrawable(); in getDrawable()
/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