Searched defs:getConstantState (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
H A DColorDrawable.java274 public ConstantState getConstantState() { method in class:ColorDrawable
H A DAnimatedVectorDrawable.java166 public ConstantState getConstantState() { method in class:AnimatedVectorDrawable
345 final ConstantState cs = copy.mVectorDrawable.getConstantState();
H A DClipDrawable.java316 public ConstantState getConstantState() { method in class:ClipDrawable
366 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
368 mDrawable = orig.mDrawable.getConstantState().newDrawable();
403 mCanConstantState = mDrawable.getConstantState() != null;
H A DScaleDrawable.java324 public ConstantState getConstantState() { method in class:ScaleDrawable
372 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
374 mDrawable = orig.mDrawable.getConstantState().newDrawable();
411 mCanConstantState = mDrawable.getConstantState() != null;
420 final ConstantState state = mDrawable.getConstantState();
H A DAnimatedRotateDrawable.java256 public ConstantState getConstantState() { method in class:AnimatedRotateDrawable
421 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
423 mDrawable = orig.mDrawable.getConstantState().newDrawable();
463 mCanConstantState = mDrawable.getConstantState() != null;
H A DInsetDrawable.java382 public ConstantState getConstantState() { method in class:InsetDrawable
434 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
436 mDrawable = orig.mDrawable.getConstantState().newDrawable();
473 mCanConstantState = mDrawable.getConstantState() != null;
482 final ConstantState state = mDrawable.getConstantState();
H A DNinePatchDrawable.java552 public ConstantState getConstantState() { method in class:NinePatchDrawable
H A DRotateDrawable.java397 public ConstantState getConstantState() { method in class:RotateDrawable
556 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
558 mDrawable = orig.mDrawable.getConstantState().newDrawable();
598 mCanConstantState = mDrawable.getConstantState() != null;
H A DShapeDrawable.java482 public ConstantState getConstantState() { method in class:ShapeDrawable
H A DBitmapDrawable.java867 public final ConstantState getConstantState() { method in class:BitmapDrawable
H A DDrawable.java914 * @see #getConstantState()
1209 * Use {@link Drawable#getConstantState()} to retrieve the ConstantState of a Drawable. Calling
1275 public ConstantState getConstantState() { method in class:Drawable
H A DLayerDrawable.java901 public ConstantState getConstantState() { method in class:LayerDrawable
959 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
961 mDrawable = orig.mDrawable.getConstantState().newDrawable();
1097 if (array[i].mDrawable.getConstantState() == null) {
1117 final ConstantState state = array[i].mDrawable.getConstantState();
H A DRippleDrawable.java893 public ConstantState getConstantState() { method in class:RippleDrawable
H A DDrawableContainer.java580 public ConstantState getConstantState() { method in class:DrawableContainer
736 if (origDr[i].getConstantState() != null) {
1078 if (drawables[i].getConstantState() == null) {
1094 final ConstantState state = getChild(i).getConstantState();
1110 mConstantState = source.getConstantState();
H A DGradientDrawable.java1455 public ConstantState getConstantState() { method in class:GradientDrawable
H A DVectorDrawable.java243 public ConstantState getConstantState() { method in class:VectorDrawable
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBackgroundManager.java174 public ConstantState getConstantState() { method in class:BackgroundManager.BitmapDrawable
318 return drawable.getConstantState().newDrawable(context.getResources()).mutate();
454 drawable.getConstantState().newDrawable().mutate();

Completed in 463 milliseconds