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

/frameworks/base/graphics/java/android/graphics/drawable/
H A DColorDrawable.java193 public Drawable newDrawable() { method in class:ColorDrawable.ColorState
198 public Drawable newDrawable(Resources res) { method in class:ColorDrawable.ColorState
H A DClipDrawable.java266 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
268 mDrawable = orig.mDrawable.getConstantState().newDrawable();
279 public Drawable newDrawable() { method in class:ClipDrawable.ClipState
284 public Drawable newDrawable(Resources res) { method in class:ClipDrawable.ClipState
H A DInsetDrawable.java292 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
294 mDrawable = orig.mDrawable.getConstantState().newDrawable();
307 public Drawable newDrawable() { method in class:InsetDrawable.InsetState
312 public Drawable newDrawable(Resources res) { method in class:InsetDrawable.InsetState
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.java253 public Drawable newDrawable() { method in class:TransitionDrawable.TransitionState
258 public Drawable newDrawable(Resources res) { method in class:TransitionDrawable.TransitionState
H A DAnimatedRotateDrawable.java322 mDrawable = source.mDrawable.getConstantState().newDrawable(res);
324 mDrawable = source.mDrawable.getConstantState().newDrawable();
339 public Drawable newDrawable() { method in class:AnimatedRotateDrawable.AnimatedRotateState
344 public Drawable newDrawable(Resources res) { method in class:AnimatedRotateDrawable.AnimatedRotateState
H A DRotateDrawable.java319 mDrawable = source.mDrawable.getConstantState().newDrawable(res);
321 mDrawable = source.mDrawable.getConstantState().newDrawable();
336 public Drawable newDrawable() { method in class:RotateDrawable.RotateState
341 public Drawable newDrawable(Resources res) { method in class:RotateDrawable.RotateState
H A DScaleDrawable.java279 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
281 mDrawable = orig.mDrawable.getConstantState().newDrawable();
294 public Drawable newDrawable() { method in class:ScaleDrawable.ScaleState
299 public Drawable newDrawable(Resources res) { method in class:ScaleDrawable.ScaleState
H A DAnimationDrawable.java331 public Drawable newDrawable() { method in class:AnimationDrawable.AnimationState
336 public Drawable newDrawable(Resources res) { method in class:AnimationDrawable.AnimationState
H A DStateListDrawable.java308 public Drawable newDrawable() { method in class:StateListDrawable.StateListState
313 public Drawable newDrawable(Resources res) { method in class:StateListDrawable.StateListState
H A DDrawable.java993 * {@link #newDrawable(Resources)} can be used as a factory to create new Drawable instances
1006 * density correctly. One should use {@link #newDrawable(Resources)}
1009 public abstract Drawable newDrawable(); method in class:Drawable.ConstantState
1016 public Drawable newDrawable(Resources res) { method in class:Drawable.ConstantState
1017 return newDrawable();
H A DLayerDrawable.java669 r.mDrawable = or.mDrawable.getConstantState().newDrawable(res);
671 r.mDrawable = or.mDrawable.getConstantState().newDrawable();
695 public Drawable newDrawable() { method in class:LayerDrawable.LayerState
700 public Drawable newDrawable(Resources res) { method in class:LayerDrawable.LayerState
H A DShapeDrawable.java432 public Drawable newDrawable() { method in class:ShapeDrawable.ShapeState
437 public Drawable newDrawable(Resources res) { method in class:ShapeDrawable.ShapeState
H A DBitmapDrawable.java667 public Drawable newDrawable() { method in class:BitmapDrawable.BitmapState
672 public Drawable newDrawable(Resources res) { method in class:BitmapDrawable.BitmapState
H A DNinePatchDrawable.java488 public Drawable newDrawable() { method in class:NinePatchDrawable.NinePatchState
493 public Drawable newDrawable(Resources res) { method in class:NinePatchDrawable.NinePatchState
H A DDrawableContainer.java883 mConstantState.newDrawable() : mConstantState.newDrawable(state.mRes);
H A DGradientDrawable.java1150 public Drawable newDrawable() { method in class:GradientDrawable.GradientState
1155 public Drawable newDrawable(Resources res) { method in class:GradientDrawable.GradientState
/frameworks/base/core/java/android/widget/
H A DSuggestionsAdapter.java598 return cached.newDrawable();
639 return cached == null ? null : cached.newDrawable(mProviderContext.getResources());
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSuggestionsAdapter.java558 return cached.newDrawable();
599 return cached == null ? null : cached.newDrawable(mProviderContext.getResources());
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java282 return mItemBackground.getConstantState().newDrawable(getContext().getResources());
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarView.java210 mExpandedHomeLayout.setBackground(upBackground.getConstantState().newDrawable());
694 mExpandedHomeLayout.setIcon(mIcon.getConstantState().newDrawable(getResources()));
1631 mExpandedHomeLayout.setIcon(mIcon.getConstantState().newDrawable(getResources()));
/frameworks/base/core/java/android/content/res/
H A DResources.java2060 dr = cs.newDrawable(this);
2183 return entry.newDrawable(this);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarView.java646 mExpandedHomeLayout.setIcon(mIcon.getConstantState().newDrawable(getResources()));
1440 mExpandedHomeLayout.setIcon(mIcon.getConstantState().newDrawable(getResources()));
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java848 // Note: It's okay here to not use the newDrawable(Resources) variant
854 return state.newDrawable();

Completed in 405 milliseconds