Searched refs:getConstantState (Results 1 - 25 of 43) 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());
H A DColorStateList.java661 public ConstantState<ComplexColor> getConstantState() { method in class:ColorStateList
H A DGradientColor.java496 public ConstantState<ComplexColor> getConstantState() { method in class:GradientColor
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DExpandableIndicator.java46 .getDrawable(res).getConstantState().newDrawable();
H A DLockscreenWallpaper.java266 public ConstantState getConstantState() { method in class:LockscreenWallpaper.WallpaperDrawable
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/
H A DAnimatedVectorDrawableTest.java145 ConstantState constantState = mAnimatedVectorDrawable.getConstantState();
158 constantState = mAnimatedVectorDrawable.getConstantState();
170 ConstantState constantState = mAnimatedVectorDrawable.getConstantState();
175 constantState = mAnimatedVectorDrawable.getConstantState();
244 if (d1.getConstantState() != null) {
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
H A DVectorDrawableTest.java268 Drawable.ConstantState constantState = vectorDrawable.getConstantState();
280 constantState = vectorDrawable.getConstantState();
293 Drawable.ConstantState constantState = vectorDrawable.getConstantState();
298 constantState = vectorDrawable.getConstantState();
308 (VectorDrawableCompat) d1.getConstantState().newDrawable(mResources);
310 (VectorDrawableCompat) d1.getConstantState().newDrawable(mResources);
/frameworks/support/v4/tests/java/android/support/v4/graphics/
H A DDrawableCompatTest.java87 assertNotNull(drawable.getConstantState());
91 assertNotNull(wrapper.getConstantState());
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java228 public ConstantState getConstantState() { method in class:AnimatedVectorDrawable
480 final ConstantState cs = copy.mVectorDrawable.getConstantState();
659 getConstantState()).mVectorDrawable.getConstantState()).mRootName
671 getConstantState()).mVectorDrawable.getConstantState()).mRootName
694 getConstantState()).mVectorDrawable.getConstantState())
1370 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.java620 public ConstantState getConstantState() { method in class:DrawableContainer
786 final ConstantState cs = origDr[i].getConstantState();
1183 if (drawables[i].getConstantState() == null) {
1199 final ConstantState state = getChild(i).getConstantState();
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
H A DDrawableWrapperDonut.java197 public ConstantState getConstantState() { method in class:DrawableWrapperDonut
213 mState.mDrawableState = mDrawable != null ? mDrawable.getConstantState() : null;
326 mState.mDrawableState = dr.getConstantState();
/frameworks/base/core/java/com/android/internal/policy/
H A DBackdropFrameRenderer.java113 ? resizingBackgroundDrawable.getConstantState().newDrawable()
116 ? captionBackgroundDrawableDrawable.getConstantState().newDrawable()
119 ? userCaptionBackgroundDrawable.getConstantState().newDrawable()
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DAnimatedVectorDrawableCompat.java127 drawable.mDelegateDrawable.getConstantState());
172 public ConstantState getConstantState() { method in class:AnimatedVectorDrawableCompat
174 return new AnimatedVectorDrawableDelegateState(mDelegateDrawable.getConstantState());
477 final ConstantState cs = copy.mVectorDrawable.getConstantState();
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DDrawableUtils.java139 final Drawable.ConstantState state = drawable.getConstantState();
H A DSuggestionsAdapter.java569 mOutsideDrawablesCache.put(resourceUri, drawable.getConstantState());
610 Drawable.ConstantState toCache = drawable == null ? null : 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 DNavigationMenuItemView.java149 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(
/frameworks/base/core/java/android/widget/
H A DSuggestionsAdapter.java635 mOutsideDrawablesCache.put(resourceUri, drawable.getConstantState());
676 Drawable.ConstantState toCache = drawable == null ? null : drawable.getConstantState();
/frameworks/support/design/src/android/support/design/widget/
H A DTextInputLayout.java748 (DrawableContainer.DrawableContainerState) container.getConstantState();
774 final Drawable newBg = bg.getConstantState().newDrawable();
781 (DrawableContainer) bg, newBg.getConstantState());
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java282 return mItemBackground.getConstantState().newDrawable(getContext().getResources());

Completed in 7987 milliseconds

12