Searched refs:getConstantState (Results 1 - 25 of 49) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
H A DMutateDrawableTest.java49 assertNotSame(mFirstButton.getBackground().getConstantState(),
50 mSecondButton.getBackground().getConstantState());
/frameworks/base/core/java/android/content/res/
H A DComplexColor.java47 public abstract ConstantState<ComplexColor> getConstantState(); method in class:ComplexColor
H A DResourcesImpl.java614 final Drawable.ConstantState cs = dr.getConstantState();
765 sPreloadedComplexColors.put(key, complexColor.getConstantState());
768 cache.put(key, theme, complexColor.getConstantState());
859 sPreloadedComplexColors.put(key, csl.getConstantState());
/frameworks/support/frameworks/support/samples/SupportVectorDrawable/animated/src/com/example/android/support/vectordrawable/app/
H A DAnimatedButtonBackground.java68 if (d[0].getConstantState() != null) {
70 copies[0] = (AnimatedVectorDrawableCompat) d[0].getConstantState().newDrawable();
71 copies[1] = (AnimatedVectorDrawableCompat) d[0].getConstantState().newDrawable();
72 copies[2] = (AnimatedVectorDrawableCompat) d[0].getConstantState().newDrawable();
/frameworks/support/samples/SupportVectorDrawable/animated/src/com/example/android/support/vectordrawable/app/
H A DAnimatedButtonBackground.java68 if (d[0].getConstantState() != null) {
70 copies[0] = (AnimatedVectorDrawableCompat) d[0].getConstantState().newDrawable();
71 copies[1] = (AnimatedVectorDrawableCompat) d[0].getConstantState().newDrawable();
72 copies[2] = (AnimatedVectorDrawableCompat) d[0].getConstantState().newDrawable();
/frameworks/base/core/java/com/android/internal/policy/
H A DBackdropFrameRenderer.java113 && resizingBackgroundDrawable.getConstantState() != null
114 ? resizingBackgroundDrawable.getConstantState().newDrawable()
117 && captionBackgroundDrawableDrawable.getConstantState() != null
118 ? captionBackgroundDrawableDrawable.getConstantState().newDrawable()
121 && userCaptionBackgroundDrawable.getConstantState() != null
122 ? userCaptionBackgroundDrawable.getConstantState().newDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DExpandableIndicator.java46 .getDrawable(res).getConstantState().newDrawable();
H A DLockscreenWallpaper.java279 public ConstantState getConstantState() { method in class:LockscreenWallpaper.WallpaperDrawable
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/
H A DAnimatedVectorDrawableTest.java150 ConstantState constantState = d1.getConstantState();
163 constantState = d1.getConstantState();
175 ConstantState constantState = mAnimatedVectorDrawable.getConstantState();
180 constantState = mAnimatedVectorDrawable.getConstantState();
249 if (d1.getConstantState() != null) {
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
H A DVectorDrawableTest.java276 Drawable.ConstantState constantState = vectorDrawable.getConstantState();
288 constantState = vectorDrawable.getConstantState();
301 Drawable.ConstantState constantState = vectorDrawable.getConstantState();
306 constantState = vectorDrawable.getConstantState();
316 (VectorDrawableCompat) d1.getConstantState().newDrawable(mResources);
318 (VectorDrawableCompat) d1.getConstantState().newDrawable(mResources);
/frameworks/support/compat/tests/java/android/support/v4/graphics/
H A DDrawableCompatTest.java96 assertNotNull(drawable.getConstantState());
100 assertNotNull(wrapper.getConstantState());
/frameworks/support/compat/gingerbread/android/support/v4/graphics/drawable/
H A DDrawableWrapperGingerbread.java197 public ConstantState getConstantState() { method in class:DrawableWrapperGingerbread
213 mState.mDrawableState = mDrawable != null ? mDrawable.getConstantState() : null;
326 mState.mDrawableState = dr.getConstantState();
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java303 public ConstantState getConstantState() { method in class:AnimatedVectorDrawable
645 final ConstantState cs = copy.mVectorDrawable.getConstantState();
826 getConstantState()).mVectorDrawable.getConstantState()).mRootName
838 getConstantState()).mVectorDrawable.getConstantState()).mRootName
861 getConstantState()).mVectorDrawable.getConstantState())
1587 mDrawable.getConstantState()).mVectorDrawable.getConstantState())
[all...]
H A DDrawableWrapper.java105 mState.mDrawableState = dr.getConstantState();
373 public ConstantState getConstantState() { method in class:DrawableWrapper
390 mState.mDrawableState = mDrawable != null ? mDrawable.getConstantState() : null;
H A DColorDrawable.java287 public ConstantState getConstantState() { method in class:ColorDrawable
H A DDrawableContainer.java621 public ConstantState getConstantState() { method in class:DrawableContainer
790 final ConstantState cs = origDr[i].getConstantState();
1187 if (drawables[i].getConstantState() == null) {
1203 final ConstantState state = getChild(i).getConstantState();
/frameworks/support/compat/api21/android/support/v4/graphics/drawable/
H A DDrawableCompatLollipop.java92 (DrawableContainer.DrawableContainerState) container.getConstantState();
/frameworks/support/frameworks/support/samples/SupportVectorDrawable/static/src/com/example/android/support/vectordrawable/app/
H A DSimpleButtonBackground.java103 ConstantState state = d[0].getConstantState();
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DAnimatedVectorDrawableCompat.java128 drawable.mDelegateDrawable.getConstantState());
173 public ConstantState getConstantState() { method in class:AnimatedVectorDrawableCompat
175 return new AnimatedVectorDrawableDelegateState(mDelegateDrawable.getConstantState());
505 final ConstantState cs = copy.mVectorDrawable.getConstantState();
/frameworks/support/samples/SupportVectorDrawable/static/src/com/example/android/support/vectordrawable/app/
H A DSimpleButtonBackground.java103 ConstantState state = d[0].getConstantState();
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DDrawableUtils.java140 final Drawable.ConstantState state = drawable.getConstantState();
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DExtendedBitmapDrawable.java102 ConstantState constantState = mOpts.placeholder.getConstantState();
130 mProgress = new Progress(mOpts.progressBar.getConstantState().newDrawable(mResources), mResources,
/frameworks/support/design/src/android/support/design/internal/
H A DBottomNavigationItemView.java214 Drawable.ConstantState state = icon.getConstantState();
H A DNavigationMenuItemView.java211 Drawable.ConstantState state = icon.getConstantState();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBackgroundManager.java203 public ConstantState getConstantState() { method in class:BackgroundManager.BitmapDrawable
565 drawable.getConstantState());
747 drawable.getConstantState().newDrawable().mutate();
772 Drawable dimDrawable = mDimDrawable.getConstantState().newDrawable(

Completed in 992 milliseconds

12