Home
last modified time | relevance | path

Searched refs:getConstantState (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/policy/
DBackdropFrameRenderer.java113 && 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/
DMutateDrawableTest.java48 assertNotSame(mFirstButton.getBackground().getConstantState(), in testDrawableCanMutate()
49 mSecondButton.getBackground().getConstantState()); in testDrawableCanMutate()
/frameworks/base/core/java/android/util/
DLauncherIcons.java114 .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/
DAnimatedVectorDrawable.java382 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()
DDrawableWrapper.java116 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()
DDrawableContainer.java640 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()
DAdaptiveIconDrawable.java843 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()
DColorStateListDrawable.java188 public @NonNull ConstantState getConstantState() { in getConstantState() method in ColorStateListDrawable
DColorDrawable.java343 public ConstantState getConstantState() { in getConstantState() method in ColorDrawable
/frameworks/base/core/java/android/content/res/
DComplexColor.java47 public abstract ConstantState<ComplexColor> getConstantState(); in getConstantState() method in ComplexColor
DResourcesImpl.java686 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/
DExpandableIndicator.java46 .getDrawable(res).getConstantState().newDrawable(); in setExpanded()
DLockscreenWallpaper.java298 public ConstantState getConstantState() { in getConstantState() method in LockscreenWallpaper.WallpaperDrawable
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawable/
DUserIconDrawableTest.java48 assertThat(mDrawable.getConstantState()).isNotNull(); in getConstantState_shouldNotBeNull()
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
DAdaptiveIcon.java101 public ConstantState getConstantState() { in getConstantState() method in AdaptiveIcon
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
DBluetoothDeviceLayerDrawableTest.java90 (BluetoothDeviceLayerDrawable) drawable.getConstantState().newDrawable(); in testConstantState_returnTwinBluetoothLayerDrawable()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBluetoothDeviceLayerDrawable.java95 public ConstantState getConstantState() { in getConstantState() method in BluetoothDeviceLayerDrawable
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java301 public ConstantState getConstantState() { in getConstantState() method in UserIconDrawable
302 return new BitmapDrawable(mBitmap).getConstantState(); in getConstantState()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DExtendedBitmapDrawable.java102 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/
DAdaptiveIconTest.java134 (AdaptiveIcon.AdaptiveConstantState) icon.getConstantState(); in getConstantState_returnCorrectState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonDrawable.java96 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/
DQSTileImpl.java517 mInvisibleDrawable = drawable.getConstantState().newDrawable(); in DrawableIcon()
595 return context.getDrawable(mAnimatedResId).getConstantState().newDrawable(); in getDrawable()
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java635 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/
DCustomTile.java319 Drawable.ConstantState cs = drawableF.getConstantState(); in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooterImpl.java396 picture = picture.getConstantState().newDrawable(mContext.getResources()).mutate(); in onUserInfoChanged()

12