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

/frameworks/base/graphics/java/android/graphics/drawable/
H A DColorDrawable.java144 public Drawable newDrawable() { method in class:ColorDrawable.ColorState
149 public Drawable newDrawable(Resources res) { method in class:ColorDrawable.ColorState
H A DClipDrawable.java252 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
254 mDrawable = orig.mDrawable.getConstantState().newDrawable();
264 public Drawable newDrawable() { method in class:ClipDrawable.ClipState
269 public Drawable newDrawable(Resources res) { method in class:ClipDrawable.ClipState
H A DInsetDrawable.java271 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
273 mDrawable = orig.mDrawable.getConstantState().newDrawable();
285 public Drawable newDrawable() { method in class:InsetDrawable.InsetState
290 public Drawable newDrawable(Resources res) { method in class:InsetDrawable.InsetState
H A DScaleDrawable.java268 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
270 mDrawable = orig.mDrawable.getConstantState().newDrawable();
281 public Drawable newDrawable() { method in class:ScaleDrawable.ScaleState
286 public Drawable newDrawable(Resources res) { method in class:ScaleDrawable.ScaleState
H A DLevelListDrawable.java191 public Drawable newDrawable() { method in class:LevelListDrawable.LevelListState
196 public Drawable newDrawable(Resources res) { method in class:LevelListDrawable.LevelListState
H A DTransitionDrawable.java241 public Drawable newDrawable() { method in class:TransitionDrawable.TransitionState
246 public Drawable newDrawable(Resources res) { method in class:TransitionDrawable.TransitionState
H A DAnimatedRotateDrawable.java303 mDrawable = source.mDrawable.getConstantState().newDrawable(res);
305 mDrawable = source.mDrawable.getConstantState().newDrawable();
319 public Drawable newDrawable() { method in class:AnimatedRotateDrawable.AnimatedRotateState
324 public Drawable newDrawable(Resources res) { method in class:AnimatedRotateDrawable.AnimatedRotateState
H A DRotateDrawable.java313 mDrawable = source.mDrawable.getConstantState().newDrawable(res);
315 mDrawable = source.mDrawable.getConstantState().newDrawable();
329 public Drawable newDrawable() { method in class:RotateDrawable.RotateState
334 public Drawable newDrawable(Resources res) { method in class:RotateDrawable.RotateState
H A DDrawable.java830 public abstract Drawable newDrawable(); method in class:Drawable.ConstantState
837 public Drawable newDrawable(Resources res) { method in class:Drawable.ConstantState
838 return newDrawable();
H A DAnimationDrawable.java316 public Drawable newDrawable() { method in class:AnimationDrawable.AnimationState
321 public Drawable newDrawable(Resources res) { method in class:AnimationDrawable.AnimationState
H A DStateListDrawable.java284 public Drawable newDrawable() { method in class:StateListDrawable.StateListState
289 public Drawable newDrawable(Resources res) { method in class:StateListDrawable.StateListState
H A DLayerDrawable.java582 r.mDrawable = or.mDrawable.getConstantState().newDrawable(res);
584 r.mDrawable = or.mDrawable.getConstantState().newDrawable();
606 public Drawable newDrawable() { method in class:LayerDrawable.LayerState
611 public Drawable newDrawable(Resources res) { method in class:LayerDrawable.LayerState
H A DNinePatchDrawable.java371 public Drawable newDrawable() { method in class:NinePatchDrawable.NinePatchState
376 public Drawable newDrawable(Resources res) { method in class:NinePatchDrawable.NinePatchState
H A DShapeDrawable.java398 public Drawable newDrawable() { method in class:ShapeDrawable.ShapeState
403 public Drawable newDrawable(Resources res) { method in class:ShapeDrawable.ShapeState
H A DBitmapDrawable.java458 public Drawable newDrawable() { method in class:BitmapDrawable.BitmapState
463 public Drawable newDrawable(Resources res) { method in class:BitmapDrawable.BitmapState
H A DDrawableContainer.java306 mDrawables[i] = origDr[i].getConstantState().newDrawable(res);
308 mDrawables[i] = origDr[i].getConstantState().newDrawable();
H A DGradientDrawable.java926 public Drawable newDrawable() { method in class:GradientDrawable.GradientState
931 public Drawable newDrawable(Resources res) { method in class:GradientDrawable.GradientState
/frameworks/base/core/java/android/app/
H A DSuggestionsAdapter.java358 return cachedBg.newDrawable(mProviderContext.getResources());
587 return cached.newDrawable();
642 return cached == null ? null : cached.newDrawable(mProviderContext.getResources());
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java290 mItemBackground.getConstantState().newDrawable(
/frameworks/base/core/java/android/content/res/
H A DResources.java1672 dr = cs.newDrawable(this);
1753 return entry.newDrawable(this);

Completed in 203 milliseconds