Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/java/android/graphics/drawable/
DClipDrawable.java366 mDrawable = orig.mDrawable.getConstantState().newDrawable(res); in ClipState()
368 mDrawable = orig.mDrawable.getConstantState().newDrawable(); in ClipState()
387 public Drawable newDrawable() { in newDrawable() method in ClipDrawable.ClipState
392 public Drawable newDrawable(Resources res) { in newDrawable() method in ClipDrawable.ClipState
DTransitionDrawable.java252 public Drawable newDrawable() { in newDrawable() method in TransitionDrawable.TransitionState
257 public Drawable newDrawable(Resources res) { in newDrawable() method in TransitionDrawable.TransitionState
DScaleDrawable.java372 mDrawable = orig.mDrawable.getConstantState().newDrawable(res); in ScaleState()
374 mDrawable = orig.mDrawable.getConstantState().newDrawable(); in ScaleState()
395 public Drawable newDrawable() { in newDrawable() method in ScaleDrawable.ScaleState
400 public Drawable newDrawable(Resources res) { in newDrawable() method in ScaleDrawable.ScaleState
DDrawable.java1221 public abstract Drawable newDrawable(); in newDrawable() method in Drawable.ConstantState
1229 public Drawable newDrawable(Resources res) { in newDrawable() method in Drawable.ConstantState
1230 return newDrawable(); in newDrawable()
1237 public Drawable newDrawable(Resources res, Theme theme) { in newDrawable() method in Drawable.ConstantState
1238 return newDrawable(null); in newDrawable()
DAnimatedVectorDrawable.java347 mVectorDrawable = (VectorDrawable) cs.newDrawable(res); in AnimatedVectorDrawableState()
349 mVectorDrawable = (VectorDrawable) cs.newDrawable(); in AnimatedVectorDrawableState()
383 public Drawable newDrawable() { in newDrawable() method in AnimatedVectorDrawable.AnimatedVectorDrawableState
388 public Drawable newDrawable(Resources res) { in newDrawable() method in AnimatedVectorDrawable.AnimatedVectorDrawableState
DAnimatedRotateDrawable.java421 mDrawable = orig.mDrawable.getConstantState().newDrawable(res); in AnimatedRotateState()
423 mDrawable = orig.mDrawable.getConstantState().newDrawable(); in AnimatedRotateState()
441 public Drawable newDrawable() { in newDrawable() method in AnimatedRotateDrawable.AnimatedRotateState
446 public Drawable newDrawable(Resources res) { in newDrawable() method in AnimatedRotateDrawable.AnimatedRotateState
DInsetDrawable.java434 mDrawable = orig.mDrawable.getConstantState().newDrawable(res); in InsetState()
436 mDrawable = orig.mDrawable.getConstantState().newDrawable(); in InsetState()
457 public Drawable newDrawable() { in newDrawable() method in InsetDrawable.InsetState
462 public Drawable newDrawable(Resources res) { in newDrawable() method in InsetDrawable.InsetState
DRotateDrawable.java556 mDrawable = orig.mDrawable.getConstantState().newDrawable(res); in RotateState()
558 mDrawable = orig.mDrawable.getConstantState().newDrawable(); in RotateState()
582 public Drawable newDrawable() { in newDrawable() method in RotateDrawable.RotateState
587 public Drawable newDrawable(Resources res) { in newDrawable() method in RotateDrawable.RotateState
DLevelListDrawable.java210 public Drawable newDrawable() { in newDrawable() method in LevelListDrawable.LevelListState
215 public Drawable newDrawable(Resources res) { in newDrawable() method in LevelListDrawable.LevelListState
DAnimationDrawable.java387 public Drawable newDrawable() { in newDrawable() method in AnimationDrawable.AnimationState
392 public Drawable newDrawable(Resources res) { in newDrawable() method in AnimationDrawable.AnimationState
DColorDrawable.java306 public Drawable newDrawable() { in newDrawable() method in ColorDrawable.ColorState
311 public Drawable newDrawable(Resources res) { in newDrawable() method in ColorDrawable.ColorState
DStateListDrawable.java366 public Drawable newDrawable() { in newDrawable() method in StateListDrawable.StateListState
371 public Drawable newDrawable(Resources res) { in newDrawable() method in StateListDrawable.StateListState
DLayerDrawable.java959 mDrawable = orig.mDrawable.getConstantState().newDrawable(res); in ChildDrawable()
961 mDrawable = orig.mDrawable.getConstantState().newDrawable(); in ChildDrawable()
1042 public Drawable newDrawable() { in newDrawable() method in LayerDrawable.LayerState
1047 public Drawable newDrawable(Resources res) { in newDrawable() method in LayerDrawable.LayerState
DShapeDrawable.java557 public Drawable newDrawable() { in newDrawable() method in ShapeDrawable.ShapeState
562 public Drawable newDrawable(Resources res) { in newDrawable() method in ShapeDrawable.ShapeState
DAnimatedStateListDrawable.java640 public Drawable newDrawable() { in newDrawable() method in AnimatedStateListDrawable.AnimatedStateListState
645 public Drawable newDrawable(Resources res) { in newDrawable() method in AnimatedStateListDrawable.AnimatedStateListState
DNinePatchDrawable.java661 public Drawable newDrawable() { in newDrawable() method in NinePatchDrawable.NinePatchState
666 public Drawable newDrawable(Resources res) { in newDrawable() method in NinePatchDrawable.NinePatchState
DRippleDrawable.java938 public Drawable newDrawable() { in newDrawable() method in RippleDrawable.RippleState
943 public Drawable newDrawable(Resources res) { in newDrawable() method in RippleDrawable.RippleState
DBitmapDrawable.java925 public Drawable newDrawable() { in newDrawable() method in BitmapDrawable.BitmapState
930 public Drawable newDrawable(Resources res) { in newDrawable() method in BitmapDrawable.BitmapState
DDrawableContainer.java1122 result = mConstantState.newDrawable(); in get()
1124 result = mConstantState.newDrawable(state.mRes); in get()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBackgroundManager.java120 public Drawable newDrawable() { in newDrawable() method in BackgroundManager.BitmapDrawable.ConstantState
318 return drawable.getConstantState().newDrawable(context.getResources()).mutate(); in getThemeDrawable()
454 drawable.getConstantState().newDrawable().mutate(); in syncWithService()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DExtendedBitmapDrawable.java104 placeholder = constantState.newDrawable(mResources); in onOptsChanged()
128 … mProgress = new Progress(mOpts.progressBar.getConstantState().newDrawable(mResources), mResources, in onOptsChanged()
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java605 return cached.newDrawable(); in checkIconCache()
646 return cached == null ? null : cached.newDrawable(mProviderContext.getResources()); in getActivityIconWithCache()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java564 return cached.newDrawable(); in checkIconCache()
605 return cached == null ? null : cached.newDrawable(mProviderContext.getResources()); in getActivityIconWithCache()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewHeader.java150 mBackground = (RippleDrawable) mBackground.mutate().getConstantState().newDrawable(); in onFinishInflate()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuView.java282 return mItemBackground.getConstantState().newDrawable(getContext().getResources()); in getItemBackgroundDrawable()

12