/frameworks/base/core/java/com/android/internal/policy/ |
D | BackdropFrameRenderer.java | 113 && resizingBackgroundDrawable.getConstantState() != null in onResourcesLoaded() 114 ? resizingBackgroundDrawable.getConstantState().newDrawable() in onResourcesLoaded() 117 && captionBackgroundDrawableDrawable.getConstantState() != null in onResourcesLoaded() 118 ? captionBackgroundDrawableDrawable.getConstantState().newDrawable() in onResourcesLoaded() 121 && userCaptionBackgroundDrawable.getConstantState() != null in onResourcesLoaded() 122 ? userCaptionBackgroundDrawable.getConstantState().newDrawable() in onResourcesLoaded()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MutateDrawableTest.java | 48 assertNotSame(mFirstButton.getBackground().getConstantState(), in testDrawableCanMutate() 49 mSecondButton.getBackground().getConstantState()); in testDrawableCanMutate()
|
/frameworks/base/core/java/android/util/ |
D | LauncherIcons.java | 114 .getConstantState().newDrawable().mutate(); in getBadgedDrawable() 134 mState = new MyConstantState(shadow, dr.getConstantState()); in ShadowDrawable() 143 public ConstantState getConstantState() { in getConstantState() method in LauncherIcons.ShadowDrawable
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedVectorDrawable.java | 382 public ConstantState getConstantState() { in getConstantState() method in AnimatedVectorDrawable 724 final ConstantState cs = copy.mVectorDrawable.getConstantState(); in AnimatedVectorDrawableState() 915 getConstantState()).mVectorDrawable.getConstantState()).mRootName in reset() 927 getConstantState()).mVectorDrawable.getConstantState()).mRootName in start() 950 getConstantState()).mVectorDrawable.getConstantState()) in stop() 1671 mDrawable.getConstantState()).mVectorDrawable.getConstantState()) in startAnimation() 1690 mDrawable.getConstantState()).mVectorDrawable.getConstantState()) in endAnimation()
|
D | DrawableWrapper.java | 116 mState.mDrawableState = dr.getConstantState(); in setDrawable() 399 public ConstantState getConstantState() { in getConstantState() method in DrawableWrapper 416 mState.mDrawableState = mDrawable != null ? mDrawable.getConstantState() : null; in mutate()
|
D | DrawableContainer.java | 640 public ConstantState getConstantState() { in getConstantState() method in DrawableContainer 813 final ConstantState cs = origDr[i].getConstantState(); in DrawableContainerState() 1217 if (drawables[i].getConstantState() == null) { in canConstantState()
|
D | AdaptiveIconDrawable.java | 843 public ConstantState getConstantState() { in getConstantState() method in AdaptiveIconDrawable 896 final ConstantState cs = dr.getConstantState(); in ChildDrawable() 1093 if (dr != null && dr.getConstantState() == null) { in canConstantState()
|
D | ColorStateListDrawable.java | 188 public @NonNull ConstantState getConstantState() { in getConstantState() method in ColorStateListDrawable
|
D | ColorDrawable.java | 343 public ConstantState getConstantState() { in getConstantState() method in ColorDrawable
|
/frameworks/base/core/java/android/content/res/ |
D | ComplexColor.java | 47 public abstract ConstantState<ComplexColor> getConstantState(); in getConstantState() method in ComplexColor
|
D | ResourcesImpl.java | 686 Drawable.ConstantState state = dr.getConstantState(); in loadDrawable() 716 final Drawable.ConstantState cs = dr.getConstantState(); in cacheDrawable() 1022 sPreloadedComplexColors.put(key, complexColor.getConstantState()); in loadComplexColorFromName() 1025 cache.put(key, theme, complexColor.getConstantState()); in loadComplexColorFromName() 1116 sPreloadedComplexColors.put(key, csl.getConstantState()); in getColorStateListFromInt()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ExpandableIndicator.java | 46 .getDrawable(res).getConstantState().newDrawable(); in setExpanded()
|
D | LockscreenWallpaper.java | 298 public ConstantState getConstantState() { in getConstantState() method in LockscreenWallpaper.WallpaperDrawable
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawable/ |
D | UserIconDrawableTest.java | 48 assertThat(mDrawable.getConstantState()).isNotNull(); in getConstantState_shouldNotBeNull()
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveIcon.java | 101 public ConstantState getConstantState() { in getConstantState() method in AdaptiveIcon
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/ |
D | BluetoothDeviceLayerDrawableTest.java | 90 (BluetoothDeviceLayerDrawable) drawable.getConstantState().newDrawable(); in testConstantState_returnTwinBluetoothLayerDrawable()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BluetoothDeviceLayerDrawable.java | 95 public ConstantState getConstantState() { in getConstantState() method in BluetoothDeviceLayerDrawable
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
D | UserIconDrawable.java | 301 public ConstantState getConstantState() { in getConstantState() method in UserIconDrawable 302 return new BitmapDrawable(mBitmap).getConstantState(); in getConstantState()
|
/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/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | AdaptiveIconTest.java | 134 (AdaptiveIcon.AdaptiveConstantState) icon.getConstantState(); in getConstantState_returnCorrectState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonDrawable.java | 96 mState.mChildState = d.getConstantState(); in KeyButtonDrawable() 196 public ConstantState getConstantState() { in getConstantState() method in KeyButtonDrawable
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImpl.java | 517 mInvisibleDrawable = drawable.getConstantState().newDrawable(); in DrawableIcon() 595 return context.getDrawable(mAnimatedResId).getConstantState().newDrawable(); in getDrawable()
|
/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/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | CustomTile.java | 319 Drawable.ConstantState cs = drawableF.getConstantState(); in handleUpdateState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSFooterImpl.java | 396 picture = picture.getConstantState().newDrawable(mContext.getResources()).mutate(); in onUserInfoChanged()
|