Searched refs:newDrawable (Results 1 - 25 of 56) sorted by relevance

123

/frameworks/base/core/java/android/content/res/
H A DDrawableCache.java37 return entry.newDrawable(resources, theme);
/frameworks/support/frameworks/support/samples/SupportVectorDrawable/animated/src/com/example/android/support/vectordrawable/app/
H A DAnimatedButtonBackground.java70 copies[0] = (AnimatedVectorDrawableCompat) d[0].getConstantState().newDrawable();
71 copies[1] = (AnimatedVectorDrawableCompat) d[0].getConstantState().newDrawable();
72 copies[2] = (AnimatedVectorDrawableCompat) d[0].getConstantState().newDrawable();
/frameworks/support/samples/SupportVectorDrawable/animated/src/com/example/android/support/vectordrawable/app/
H A DAnimatedButtonBackground.java70 copies[0] = (AnimatedVectorDrawableCompat) d[0].getConstantState().newDrawable();
71 copies[1] = (AnimatedVectorDrawableCompat) d[0].getConstantState().newDrawable();
72 copies[2] = (AnimatedVectorDrawableCompat) d[0].getConstantState().newDrawable();
/frameworks/support/compat/honeycomb/android/support/v4/graphics/drawable/
H A DDrawableWrapperHoneycomb.java52 public Drawable newDrawable(@Nullable Resources res) { method in class:DrawableWrapperHoneycomb.DrawableWrapperStateHoneycomb
/frameworks/support/compat/kitkat/android/support/v4/graphics/drawable/
H A DDrawableWrapperKitKat.java57 public Drawable newDrawable(@Nullable Resources res) { method in class:DrawableWrapperKitKat.DrawableWrapperStateKitKat
/frameworks/support/compat/gingerbread/android/support/v4/graphics/drawable/
H A DDrawableWrapperGingerbread.java79 * Allows us to call ConstantState.newDrawable(*) is a API safe way
83 return state.newDrawable(res);
355 public Drawable newDrawable() { method in class:DrawableWrapperGingerbread.DrawableWrapperState
356 return newDrawable(null);
359 public abstract Drawable newDrawable(@Nullable Resources res); method in class:DrawableWrapperGingerbread.DrawableWrapperState
379 public Drawable newDrawable(@Nullable Resources res) { method in class:DrawableWrapperGingerbread.DrawableWrapperStateBase
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DExpandableIndicator.java46 .getDrawable(res).getConstantState().newDrawable();
H A DLockscreenWallpaper.java292 public Drawable newDrawable() { method in class:LockscreenWallpaper.WallpaperDrawable.ConstantState
293 return newDrawable(null);
297 public Drawable newDrawable(@Nullable Resources res) { method in class:LockscreenWallpaper.WallpaperDrawable.ConstantState
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DAnimatedVectorDrawableCompat.java457 public Drawable newDrawable() { method in class:AnimatedVectorDrawableCompat.AnimatedVectorDrawableDelegateState
460 drawableCompat.mDelegateDrawable = mDelegateState.newDrawable();
466 public Drawable newDrawable(Resources res) { method in class:AnimatedVectorDrawableCompat.AnimatedVectorDrawableDelegateState
469 drawableCompat.mDelegateDrawable = mDelegateState.newDrawable(res);
475 public Drawable newDrawable(Resources res, Theme theme) { method in class:AnimatedVectorDrawableCompat.AnimatedVectorDrawableDelegateState
478 drawableCompat.mDelegateDrawable = mDelegateState.newDrawable(res, theme);
507 mVectorDrawable = (VectorDrawableCompat) cs.newDrawable(res);
509 mVectorDrawable = (VectorDrawableCompat) cs.newDrawable();
534 public Drawable newDrawable() { method in class:AnimatedVectorDrawableCompat.AnimatedVectorDrawableCompatState
539 public Drawable newDrawable(Resource method in class:AnimatedVectorDrawableCompat.AnimatedVectorDrawableCompatState
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DTransitionDrawable.java253 public Drawable newDrawable() { method in class:TransitionDrawable.TransitionState
258 public Drawable newDrawable(Resources res) { method in class:TransitionDrawable.TransitionState
H A DDrawableWrapper.java77 final Drawable dr = mState.mDrawableState.newDrawable(res);
520 public Drawable newDrawable() { method in class:DrawableWrapper.DrawableWrapperState
521 return newDrawable(null);
525 public abstract Drawable newDrawable(@Nullable Resources res); method in class:DrawableWrapper.DrawableWrapperState
H A DAnimationDrawable.java402 public Drawable newDrawable() { method in class:AnimationDrawable.AnimationState
407 public Drawable newDrawable(Resources res) { method in class:AnimationDrawable.AnimationState
H A DColorDrawable.java320 public Drawable newDrawable() { method in class:ColorDrawable.ColorState
325 public Drawable newDrawable(Resources res) { method in class:ColorDrawable.ColorState
H A DLevelListDrawable.java216 public Drawable newDrawable() { method in class:LevelListDrawable.LevelListState
221 public Drawable newDrawable(Resources res) { method in class:LevelListDrawable.LevelListState
H A DDrawable.java1299 * {@link #newDrawable(Resources)} can be used as a factory to create new Drawable instances
1314 * correct scaling, use {@link #newDrawable(Resources)} instead to
1318 * @see {@link #newDrawable(Resources)}
1320 public abstract @NonNull Drawable newDrawable(); method in class:Drawable.ConstantState
1328 * {@link #newDrawable()}.
1334 public @NonNull Drawable newDrawable(@Nullable Resources res) { method in class:Drawable.ConstantState
1335 return newDrawable();
1344 * {@link #newDrawable(Resources)}.
1352 public @NonNull Drawable newDrawable(@Nullable Resources res, method in class:Drawable.ConstantState
1354 return newDrawable(re
[all...]
H A DStateListDrawable.java346 public Drawable newDrawable() { method in class:StateListDrawable.StateListState
351 public Drawable newDrawable(Resources res) { method in class:StateListDrawable.StateListState
H A DShapeDrawable.java565 public Drawable newDrawable() { method in class:ShapeDrawable.ShapeState
570 public Drawable newDrawable(Resources res) { method in class:ShapeDrawable.ShapeState
/frameworks/support/frameworks/support/samples/SupportVectorDrawable/static/src/com/example/android/support/vectordrawable/app/
H A DSimpleButtonBackground.java104 extras[0] = (VectorDrawableCompat) state.newDrawable();
105 extras[1] = (VectorDrawableCompat) state.newDrawable();
/frameworks/support/samples/SupportVectorDrawable/static/src/com/example/android/support/vectordrawable/app/
H A DSimpleButtonBackground.java104 extras[0] = (VectorDrawableCompat) state.newDrawable();
105 extras[1] = (VectorDrawableCompat) state.newDrawable();
/frameworks/base/core/java/com/android/internal/policy/
H A DBackdropFrameRenderer.java114 ? resizingBackgroundDrawable.getConstantState().newDrawable()
118 ? captionBackgroundDrawableDrawable.getConstantState().newDrawable()
122 ? userCaptionBackgroundDrawable.getConstantState().newDrawable()
/frameworks/support/compat/api21/android/support/v4/graphics/drawable/
H A DDrawableWrapperLollipop.java123 public Drawable newDrawable(@Nullable Resources res) { method in class:DrawableWrapperLollipop.DrawableWrapperStateLollipop
/frameworks/base/core/java/com/android/internal/graphics/drawable/
H A DAnimationScaleListDrawable.java216 public Drawable newDrawable() { method in class:AnimationScaleListDrawable.AnimationScaleListState
221 public Drawable newDrawable(Resources res) { method in class:AnimationScaleListDrawable.AnimationScaleListState
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DExtendedBitmapDrawable.java104 placeholder = constantState.newDrawable(mResources);
130 mProgress = new Progress(mOpts.progressBar.getConstantState().newDrawable(mResources), mResources,
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCompat.java919 public Drawable newDrawable() { method in class:VectorDrawableCompat.VectorDrawableDelegateState
921 drawableCompat.mDelegateDrawable = (VectorDrawable) mDelegateState.newDrawable();
926 public Drawable newDrawable(Resources res) { method in class:VectorDrawableCompat.VectorDrawableDelegateState
928 drawableCompat.mDelegateDrawable = (VectorDrawable) mDelegateState.newDrawable(res);
933 public Drawable newDrawable(Resources res, Theme theme) { method in class:VectorDrawableCompat.VectorDrawableDelegateState
936 (VectorDrawable) mDelegateState.newDrawable(res, theme);
1065 public Drawable newDrawable() { method in class:VectorDrawableCompat.VectorDrawableCompatState
1070 public Drawable newDrawable(Resources res) { method in class:VectorDrawableCompat.VectorDrawableCompatState
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
H A DVectorDrawableTest.java316 (VectorDrawableCompat) d1.getConstantState().newDrawable(mResources);
318 (VectorDrawableCompat) d1.getConstantState().newDrawable(mResources);

Completed in 5088 milliseconds

123