/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | MutateDrawableTest.java | 49 assertNotSame(mFirstButton.getBackground().getConstantState(), 50 mSecondButton.getBackground().getConstantState());
|
/frameworks/base/core/java/android/content/res/ |
H A D | ComplexColor.java | 47 public abstract ConstantState<ComplexColor> getConstantState(); method in class:ComplexColor
|
H A D | ResourcesImpl.java | 614 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 D | ColorStateList.java | 661 public ConstantState<ComplexColor> getConstantState() { method in class:ColorStateList
|
H A D | GradientColor.java | 496 public ConstantState<ComplexColor> getConstantState() { method in class:GradientColor
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | ExpandableIndicator.java | 46 .getDrawable(res).getConstantState().newDrawable();
|
H A D | LockscreenWallpaper.java | 266 public ConstantState getConstantState() { method in class:LockscreenWallpaper.WallpaperDrawable
|
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/ |
H A D | AnimatedVectorDrawableTest.java | 145 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 D | VectorDrawableTest.java | 268 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 D | DrawableCompatTest.java | 87 assertNotNull(drawable.getConstantState()); 91 assertNotNull(wrapper.getConstantState());
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedVectorDrawable.java | 228 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 D | DrawableWrapper.java | 105 mState.mDrawableState = dr.getConstantState(); 373 public ConstantState getConstantState() { method in class:DrawableWrapper 390 mState.mDrawableState = mDrawable != null ? mDrawable.getConstantState() : null;
|
H A D | ColorDrawable.java | 287 public ConstantState getConstantState() { method in class:ColorDrawable
|
H A D | DrawableContainer.java | 620 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 D | DrawableWrapperDonut.java | 197 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 D | BackdropFrameRenderer.java | 113 ? resizingBackgroundDrawable.getConstantState().newDrawable() 116 ? captionBackgroundDrawableDrawable.getConstantState().newDrawable() 119 ? userCaptionBackgroundDrawable.getConstantState().newDrawable()
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
H A D | AnimatedVectorDrawableCompat.java | 127 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 D | DrawableUtils.java | 139 final Drawable.ConstantState state = drawable.getConstantState();
|
H A D | SuggestionsAdapter.java | 569 mOutsideDrawablesCache.put(resourceUri, drawable.getConstantState()); 610 Drawable.ConstantState toCache = drawable == null ? null : drawable.getConstantState();
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | ExtendedBitmapDrawable.java | 102 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 D | NavigationMenuItemView.java | 149 Drawable.ConstantState state = icon.getConstantState();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | BackgroundManager.java | 203 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 D | SuggestionsAdapter.java | 635 mOutsideDrawablesCache.put(resourceUri, drawable.getConstantState()); 676 Drawable.ConstantState toCache = drawable == null ? null : drawable.getConstantState();
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | TextInputLayout.java | 748 (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 D | IconMenuView.java | 282 return mItemBackground.getConstantState().newDrawable(getContext().getResources());
|