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

12

/frameworks/base/graphics/java/android/graphics/drawable/
H A DColorDrawable.java192 public Drawable newDrawable() { method in class:ColorDrawable.ColorState
197 public Drawable newDrawable(Resources res) { method in class:ColorDrawable.ColorState
H A DClipDrawable.java261 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
263 mDrawable = orig.mDrawable.getConstantState().newDrawable();
274 public Drawable newDrawable() { method in class:ClipDrawable.ClipState
279 public Drawable newDrawable(Resources res) { method in class:ClipDrawable.ClipState
H A DInsetDrawable.java274 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
276 mDrawable = orig.mDrawable.getConstantState().newDrawable();
289 public Drawable newDrawable() { method in class:InsetDrawable.InsetState
294 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 DMipmapDrawable.java288 public Drawable newDrawable() { method in class:MipmapDrawable.MipmapContainerState
293 public Drawable newDrawable(Resources res) { method in class:MipmapDrawable.MipmapContainerState
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.java317 mDrawable = source.mDrawable.getConstantState().newDrawable(res);
319 mDrawable = source.mDrawable.getConstantState().newDrawable();
334 public Drawable newDrawable() { method in class:AnimatedRotateDrawable.AnimatedRotateState
339 public Drawable newDrawable(Resources res) { method in class:AnimatedRotateDrawable.AnimatedRotateState
H A DRotateDrawable.java314 mDrawable = source.mDrawable.getConstantState().newDrawable(res);
316 mDrawable = source.mDrawable.getConstantState().newDrawable();
331 public Drawable newDrawable() { method in class:RotateDrawable.RotateState
336 public Drawable newDrawable(Resources res) { method in class:RotateDrawable.RotateState
H A DScaleDrawable.java274 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
276 mDrawable = orig.mDrawable.getConstantState().newDrawable();
289 public Drawable newDrawable() { method in class:ScaleDrawable.ScaleState
294 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.java305 public Drawable newDrawable() { method in class:StateListDrawable.StateListState
310 public Drawable newDrawable(Resources res) { method in class:StateListDrawable.StateListState
H A DDrawable.java957 * {@link #newDrawable(Resources)} can be used as a factory to create new Drawable instances
970 * density correctly. One should use {@link #newDrawable(Resources)}
973 public abstract Drawable newDrawable(); method in class:Drawable.ConstantState
980 public Drawable newDrawable(Resources res) { method in class:Drawable.ConstantState
981 return newDrawable();
H A DLayerDrawable.java637 r.mDrawable = or.mDrawable.getConstantState().newDrawable(res);
639 r.mDrawable = or.mDrawable.getConstantState().newDrawable();
662 public Drawable newDrawable() { method in class:LayerDrawable.LayerState
667 public Drawable newDrawable(Resources res) { method in class:LayerDrawable.LayerState
H A DShapeDrawable.java427 public Drawable newDrawable() { method in class:ShapeDrawable.ShapeState
432 public Drawable newDrawable(Resources res) { method in class:ShapeDrawable.ShapeState
H A DBitmapDrawable.java582 public Drawable newDrawable() { method in class:BitmapDrawable.BitmapState
587 public Drawable newDrawable(Resources res) { method in class:BitmapDrawable.BitmapState
H A DNinePatchDrawable.java433 public Drawable newDrawable() { method in class:NinePatchDrawable.NinePatchState
438 public Drawable newDrawable(Resources res) { method in class:NinePatchDrawable.NinePatchState
H A DDrawableContainer.java479 mDrawables[i] = origDr[i].getConstantState().newDrawable(res);
481 mDrawables[i] = origDr[i].getConstantState().newDrawable();
H A DGradientDrawable.java1147 public Drawable newDrawable() { method in class:GradientDrawable.GradientState
1152 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.java240 mExpandedHomeLayout.setBackground(upBackground.getConstantState().newDrawable());
727 mExpandedHomeLayout.setIcon(mIcon.getConstantState().newDrawable(getResources()));
1630 mExpandedHomeLayout.setIcon(mIcon.getConstantState().newDrawable(getResources()));
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialogFragment.java455 icon = icon.getConstantState().newDrawable(getResources());
/frameworks/base/core/java/android/content/res/
H A DResources.java2055 dr = cs.newDrawable(this);
2178 return entry.newDrawable(this);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarView.java636 mExpandedHomeLayout.setIcon(mIcon.getConstantState().newDrawable(getResources()));
1430 mExpandedHomeLayout.setIcon(mIcon.getConstantState().newDrawable(getResources()));

Completed in 276 milliseconds

12