/frameworks/base/core/tests/coretests/src/android/view/ |
D | MutateDrawableTest.java | 49 assertNotSame(mFirstButton.getBackground().getConstantState(), in testDrawableCanMutate() 50 mSecondButton.getBackground().getConstantState()); in testDrawableCanMutate()
|
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/ |
D | VectorDrawableTest.java | 268 Drawable.ConstantState constantState = vectorDrawable.getConstantState(); in testGetChangingConfigurations() 280 constantState = vectorDrawable.getConstantState(); in testGetChangingConfigurations() 293 Drawable.ConstantState constantState = vectorDrawable.getConstantState(); in testGetConstantState() 298 constantState = vectorDrawable.getConstantState(); in testGetConstantState() 308 (VectorDrawableCompat) d1.getConstantState().newDrawable(mResources); in testMutate() 310 (VectorDrawableCompat) d1.getConstantState().newDrawable(mResources); in testMutate()
|
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/ |
D | AnimatedVectorDrawableTest.java | 145 ConstantState constantState = mAnimatedVectorDrawable.getConstantState(); in testGetChangingConfigurations() 158 constantState = mAnimatedVectorDrawable.getConstantState(); in testGetChangingConfigurations() 170 ConstantState constantState = mAnimatedVectorDrawable.getConstantState(); in testGetConstantState() 175 constantState = mAnimatedVectorDrawable.getConstantState(); in testGetConstantState() 244 if (d1.getConstantState() != null) { in testMutate()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedVectorDrawable.java | 228 public ConstantState getConstantState() { in getConstantState() method in AnimatedVectorDrawable 480 final ConstantState cs = copy.mVectorDrawable.getConstantState(); in AnimatedVectorDrawableState() 659 getConstantState()).mVectorDrawable.getConstantState()).mRootName in reset() 671 getConstantState()).mVectorDrawable.getConstantState()).mRootName in start() 694 getConstantState()).mVectorDrawable.getConstantState()) in stop() 1370 mDrawable.getConstantState()).mVectorDrawable.getConstantState()) in startAnimation() 1386 mDrawable.getConstantState()).mVectorDrawable.getConstantState()) in endAnimation()
|
D | DrawableWrapper.java | 105 mState.mDrawableState = dr.getConstantState(); in setDrawable() 373 public ConstantState getConstantState() { in getConstantState() method in DrawableWrapper 390 mState.mDrawableState = mDrawable != null ? mDrawable.getConstantState() : null; in mutate()
|
D | DrawableContainer.java | 620 public ConstantState getConstantState() { in getConstantState() method in DrawableContainer 786 final ConstantState cs = origDr[i].getConstantState(); in DrawableContainerState() 1183 if (drawables[i].getConstantState() == null) { in canConstantState() 1199 final ConstantState state = getChild(i).getConstantState(); in addAtlasableBitmaps()
|
D | ColorDrawable.java | 287 public ConstantState getConstantState() { in getConstantState() method in ColorDrawable
|
D | LayerDrawable.java | 1746 public ConstantState getConstantState() { 1826 final ConstantState cs = dr.getConstantState(); 2105 if (dr != null && dr.getConstantState() == null) { 2127 final ConstantState state = dr.getConstantState();
|
/frameworks/support/v4/tests/java/android/support/v4/graphics/ |
D | DrawableCompatTest.java | 87 assertNotNull(drawable.getConstantState()); in testWrapMutatedDrawableHasConstantState() 91 assertNotNull(wrapper.getConstantState()); in testWrapMutatedDrawableHasConstantState()
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
D | DrawableWrapperDonut.java | 197 public ConstantState getConstantState() { in getConstantState() method in DrawableWrapperDonut 213 mState.mDrawableState = mDrawable != null ? mDrawable.getConstantState() : null; in mutate() 326 mState.mDrawableState = dr.getConstantState(); in setWrappedDrawable()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | BackdropFrameRenderer.java | 113 ? resizingBackgroundDrawable.getConstantState().newDrawable() in onResourcesLoaded() 116 ? captionBackgroundDrawableDrawable.getConstantState().newDrawable() in onResourcesLoaded() 119 ? userCaptionBackgroundDrawable.getConstantState().newDrawable() in onResourcesLoaded()
|
/frameworks/base/core/java/android/content/res/ |
D | ComplexColor.java | 47 public abstract ConstantState<ComplexColor> getConstantState(); in getConstantState() method in ComplexColor
|
D | ResourcesImpl.java | 614 final Drawable.ConstantState cs = dr.getConstantState(); in cacheDrawable() 765 sPreloadedComplexColors.put(key, complexColor.getConstantState()); in loadComplexColorFromName() 768 cache.put(key, theme, complexColor.getConstantState()); in loadComplexColorFromName() 859 sPreloadedComplexColors.put(key, csl.getConstantState()); in getColorStateListFromInt()
|
D | ColorStateList.java | 661 public ConstantState<ComplexColor> getConstantState() { in getConstantState() method in ColorStateList
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
D | AnimatedVectorDrawableCompat.java | 127 drawable.mDelegateDrawable.getConstantState()); in create() 172 public ConstantState getConstantState() { in getConstantState() method in AnimatedVectorDrawableCompat 174 return new AnimatedVectorDrawableDelegateState(mDelegateDrawable.getConstantState()); in getConstantState() 477 final ConstantState cs = copy.mVectorDrawable.getConstantState(); in AnimatedVectorDrawableCompatState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ExpandableIndicator.java | 46 .getDrawable(res).getConstantState().newDrawable(); in setExpanded()
|
D | LockscreenWallpaper.java | 266 public ConstantState getConstantState() { in getConstantState() method in LockscreenWallpaper.WallpaperDrawable
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | DrawableUtils.java | 139 final Drawable.ConstantState state = drawable.getConstantState(); in canSafelyMutateDrawable()
|
D | SuggestionsAdapter.java | 569 mOutsideDrawablesCache.put(resourceUri, drawable.getConstantState()); in storeInIconCache() 610 Drawable.ConstantState toCache = drawable == null ? null : drawable.getConstantState(); in getActivityIconWithCache()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | ExtendedBitmapDrawable.java | 102 ConstantState constantState = mOpts.placeholder.getConstantState(); in onOptsChanged() 130 … mProgress = new Progress(mOpts.progressBar.getConstantState().newDrawable(mResources), mResources, in onOptsChanged()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | BackgroundManager.java | 203 public ConstantState getConstantState() { in getConstantState() method in BackgroundManager.BitmapDrawable 565 drawable.getConstantState()); in getThemeDrawable() 747 drawable.getConstantState().newDrawable().mutate(); in syncWithService() 772 Drawable dimDrawable = mDimDrawable.getConstantState().newDrawable( in updateDimWrapper()
|
/frameworks/support/design/src/android/support/design/internal/ |
D | NavigationMenuItemView.java | 149 Drawable.ConstantState state = icon.getConstantState(); in setIcon()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | TextInputLayout.java | 748 (DrawableContainer.DrawableContainerState) container.getConstantState(); in clearColorFilter() 774 final Drawable newBg = bg.getConstantState().newDrawable(); in ensureBackgroundDrawableStateWorkaround() 781 (DrawableContainer) bg, newBg.getConstantState()); in ensureBackgroundDrawableStateWorkaround()
|
/frameworks/base/core/java/android/widget/ |
D | SuggestionsAdapter.java | 635 mOutsideDrawablesCache.put(resourceUri, drawable.getConstantState()); in storeInIconCache() 676 Drawable.ConstantState toCache = drawable == null ? null : drawable.getConstantState(); in getActivityIconWithCache()
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | VectorDrawableCompat.java | 139 public ConstantState getConstantState() { in getConstantState() method in VectorDrawableCompat 142 return new VectorDrawableDelegateState(mDelegateDrawable.getConstantState()); in getConstantState() 403 drawable.mDelegateDrawable.getConstantState()); in create()
|