Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/java/android/graphics/drawable/
DClipDrawable.java256 mDrawable = orig.mDrawable.getConstantState().newDrawable(res); in ClipState()
258 mDrawable = orig.mDrawable.getConstantState().newDrawable(); in ClipState()
268 public Drawable newDrawable() { in newDrawable() method in ClipDrawable.ClipState
273 public Drawable newDrawable(Resources res) { in newDrawable() method in ClipDrawable.ClipState
DInsetDrawable.java274 mDrawable = orig.mDrawable.getConstantState().newDrawable(res); in InsetState()
276 mDrawable = orig.mDrawable.getConstantState().newDrawable(); in InsetState()
288 public Drawable newDrawable() { in newDrawable() method in InsetDrawable.InsetState
293 public Drawable newDrawable(Resources res) { in newDrawable() method in InsetDrawable.InsetState
DScaleDrawable.java274 mDrawable = orig.mDrawable.getConstantState().newDrawable(res); in ScaleState()
276 mDrawable = orig.mDrawable.getConstantState().newDrawable(); in ScaleState()
288 public Drawable newDrawable() { in newDrawable() method in ScaleDrawable.ScaleState
293 public Drawable newDrawable(Resources res) { in newDrawable() method in ScaleDrawable.ScaleState
DRotateDrawable.java314 mDrawable = source.mDrawable.getConstantState().newDrawable(res); in RotateState()
316 mDrawable = source.mDrawable.getConstantState().newDrawable(); in RotateState()
330 public Drawable newDrawable() { in newDrawable() method in RotateDrawable.RotateState
335 public Drawable newDrawable(Resources res) { in newDrawable() method in RotateDrawable.RotateState
DAnimatedRotateDrawable.java317 mDrawable = source.mDrawable.getConstantState().newDrawable(res); in AnimatedRotateState()
319 mDrawable = source.mDrawable.getConstantState().newDrawable(); in AnimatedRotateState()
333 public Drawable newDrawable() { in newDrawable() method in AnimatedRotateDrawable.AnimatedRotateState
338 public Drawable newDrawable(Resources res) { in newDrawable() method in AnimatedRotateDrawable.AnimatedRotateState
DColorDrawable.java172 public Drawable newDrawable() { in newDrawable() method in ColorDrawable.ColorState
177 public Drawable newDrawable(Resources res) { in newDrawable() method in ColorDrawable.ColorState
DTransitionDrawable.java253 public Drawable newDrawable() { in newDrawable() method in TransitionDrawable.TransitionState
258 public Drawable newDrawable(Resources res) { in newDrawable() method in TransitionDrawable.TransitionState
DMipmapDrawable.java288 public Drawable newDrawable() { in newDrawable() method in MipmapDrawable.MipmapContainerState
293 public Drawable newDrawable(Resources res) { in newDrawable() method in MipmapDrawable.MipmapContainerState
DLevelListDrawable.java191 public Drawable newDrawable() { in newDrawable() method in LevelListDrawable.LevelListState
196 public Drawable newDrawable(Resources res) { in newDrawable() method in LevelListDrawable.LevelListState
DAnimationDrawable.java331 public Drawable newDrawable() { in newDrawable() method in AnimationDrawable.AnimationState
336 public Drawable newDrawable(Resources res) { in newDrawable() method in AnimationDrawable.AnimationState
DStateListDrawable.java295 public Drawable newDrawable() { in newDrawable() method in StateListDrawable.StateListState
300 public Drawable newDrawable(Resources res) { in newDrawable() method in StateListDrawable.StateListState
DDrawable.java948 public abstract Drawable newDrawable(); in newDrawable() method in Drawable.ConstantState
955 public Drawable newDrawable(Resources res) { in newDrawable() method in Drawable.ConstantState
956 return newDrawable(); in newDrawable()
DLayerDrawable.java630 r.mDrawable = or.mDrawable.getConstantState().newDrawable(res); in LayerState()
632 r.mDrawable = or.mDrawable.getConstantState().newDrawable(); in LayerState()
654 public Drawable newDrawable() { in newDrawable() method in LayerDrawable.LayerState
659 public Drawable newDrawable(Resources res) { in newDrawable() method in LayerDrawable.LayerState
DShapeDrawable.java416 public Drawable newDrawable() { in newDrawable() method in ShapeDrawable.ShapeState
421 public Drawable newDrawable(Resources res) { in newDrawable() method in ShapeDrawable.ShapeState
DNinePatchDrawable.java433 public Drawable newDrawable() { in newDrawable() method in NinePatchDrawable.NinePatchState
438 public Drawable newDrawable(Resources res) { in newDrawable() method in NinePatchDrawable.NinePatchState
DBitmapDrawable.java533 public Drawable newDrawable() { in newDrawable() method in BitmapDrawable.BitmapState
538 public Drawable newDrawable(Resources res) { in newDrawable() method in BitmapDrawable.BitmapState
DDrawableContainer.java478 mDrawables[i] = origDr[i].getConstantState().newDrawable(res); in DrawableContainerState()
480 mDrawables[i] = origDr[i].getConstantState().newDrawable(); in DrawableContainerState()
DGradientDrawable.java1126 public Drawable newDrawable() {
1131 public Drawable newDrawable(Resources res) {
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java598 return cached.newDrawable(); in checkIconCache()
639 return cached == null ? null : cached.newDrawable(mProviderContext.getResources()); in getActivityIconWithCache()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuView.java282 return mItemBackground.getConstantState().newDrawable(getContext().getResources()); in getItemBackgroundDrawable()
/frameworks/base/core/java/android/content/res/
DResources.java1884 dr = cs.newDrawable(this); in loadDrawable()
1984 return entry.newDrawable(this); in getCachedDrawable()
/frameworks/base/core/java/com/android/internal/app/
DMediaRouteChooserDialogFragment.java454 icon = icon.getConstantState().newDrawable(getResources()); in bindItemView()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java642 mExpandedHomeLayout.setIcon(mIcon.getConstantState().newDrawable(getResources())); in setIcon()
1428 mExpandedHomeLayout.setIcon(mIcon.getConstantState().newDrawable(getResources())); in expandItemActionView()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java771 return state.newDrawable(); in getCachedIcon()
/frameworks/base/docs/html/sdk/api_diff/5/
DmissingSinces.txt202 NO DOC BLOCK: android.graphics.drawable.Drawable.ConstantState Method newDrawable(android.content.r…

12