/frameworks/base/core/java/com/android/internal/policy/ |
D | BackdropFrameRenderer.java | 110 && resizingBackgroundDrawable.getConstantState() != null in onResourcesLoaded() 111 ? resizingBackgroundDrawable.getConstantState().newDrawable() in onResourcesLoaded() 114 && captionBackgroundDrawableDrawable.getConstantState() != null in onResourcesLoaded() 115 ? captionBackgroundDrawableDrawable.getConstantState().newDrawable() in onResourcesLoaded() 118 && userCaptionBackgroundDrawable.getConstantState() != null in onResourcesLoaded() 119 ? 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/packages/SystemUI/src/com/android/systemui/util/ |
D | RoundedCornerProgressDrawable.kt | 63 override fun getConstantState(): ConstantState { in getConstantState() method 65 return RoundedCornerState(super.getConstantState()!!) in getConstantState()
|
D | BrightnessProgressDrawable.kt | 75 override fun getConstantState(): ConstantState { in getConstantState() method 77 return RoundedCornerState(super.getConstantState()!!) in getConstantState()
|
D | AlphaTintDrawableWrapper.java | 126 public ConstantState getConstantState() { in getConstantState() method in AlphaTintDrawableWrapper 127 return new AlphaTintState(super.getConstantState(), mThemeAttrs, getAlpha(), mTint); in getConstantState()
|
/frameworks/base/core/java/android/util/ |
D | LauncherIcons.java | 118 .getConstantState().newDrawable().mutate(); in getBadgedDrawable() 137 mState = new MyConstantState(shadow, dr.getConstantState()); in ShadowDrawable() 146 public ConstantState getConstantState() { in getConstantState() method in LauncherIcons.ShadowDrawable
|
/frameworks/base/core/java/android/content/res/ |
D | ComplexColor.java | 47 public abstract ConstantState<ComplexColor> getConstantState(); in getConstantState() method in ComplexColor
|
D | ResourcesImpl.java | 700 Drawable.ConstantState state = dr.getConstantState(); in loadDrawable() 730 final Drawable.ConstantState cs = dr.getConstantState(); in cacheDrawable() 994 sPreloadedComplexColors.put(key, complexColor.getConstantState()); in loadComplexColorFromName() 997 cache.put(key, theme, complexColor.getConstantState()); in loadComplexColorFromName() 1088 sPreloadedComplexColors.put(key, csl.getConstantState()); in getColorStateListFromInt()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedVectorDrawable.java | 373 public ConstantState getConstantState() { in getConstantState() method in AnimatedVectorDrawable 723 final ConstantState cs = copy.mVectorDrawable.getConstantState(); in AnimatedVectorDrawableState() 914 getConstantState()).mVectorDrawable.getConstantState()).mRootName in reset() 926 getConstantState()).mVectorDrawable.getConstantState()).mRootName in start() 949 getConstantState()).mVectorDrawable.getConstantState()) in stop() 1680 mDrawable.getConstantState()).mVectorDrawable.getConstantState()) in startAnimation() 1699 mDrawable.getConstantState()).mVectorDrawable.getConstantState()) in endAnimation()
|
D | DrawableWrapper.java | 117 mState.mDrawableState = dr.getConstantState(); in setDrawable() 406 public ConstantState getConstantState() { in getConstantState() method in DrawableWrapper 423 mState.mDrawableState = mDrawable != null ? mDrawable.getConstantState() : null; in mutate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ExpandableIndicator.java | 46 .getDrawable(res).getConstantState().newDrawable(); in setExpanded()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawable/ |
D | UserIconDrawableTest.java | 48 assertThat(mDrawable.getConstantState()).isNotNull(); in getConstantState_shouldNotBeNull()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | FastBitmapDrawable.java | 301 public final ConstantState getConstantState() { in getConstantState() method in FastBitmapDrawable 305 cs.mBadgeConstantState = mBadge.getConstantState(); in getConstantState()
|
D | ClockDrawableWrapper.java | 180 info.baseDrawableState = drawable.getConstantState(); in forExtras() 216 getBackground().getConstantState().newDrawable(), null); in getExtendedInfo() 256 result.baseDrawableState = icon.getConstantState(); in copyForIcon()
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveIcon.java | 104 public ConstantState getConstantState() { in getConstantState() method in AdaptiveIcon
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | AccessibilityTargetAdapterTest.java | 72 when(mIcon.getConstantState()).thenReturn(mConstantState); in setUp()
|
/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/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSIconViewImpl.java | 126 if (d.getConstantState() != null) { in updateIcon() 127 d = d.getConstantState().newDrawable(); in updateIcon()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BluetoothDeviceLayerDrawable.java | 95 public ConstantState getConstantState() { in getConstantState() method in BluetoothDeviceLayerDrawable
|
/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 | 135 (AdaptiveIcon.AdaptiveConstantState) icon.getConstantState(); in getConstantState_returnCorrectState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | KeyButtonDrawable.java | 111 mState.mChildState = d.getConstantState(); in KeyButtonDrawable() 230 public ConstantState getConstantState() { in getConstantState() method in KeyButtonDrawable
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
D | UserIconDrawable.java | 364 public ConstantState getConstantState() { in getConstantState() method in UserIconDrawable 365 return new BitmapDrawable(mBitmap).getConstantState(); in getConstantState()
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | KeyButtonDrawable.java | 115 mState.mChildState = d.getConstantState(); in KeyButtonDrawable() 234 public ConstantState getConstantState() { in getConstantState() method in KeyButtonDrawable
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSIconViewImplTest.java | 90 when(originalDrawable.getConstantState()).thenReturn(fakeConstantState(otherDrawable)); in testMutateIconDrawable()
|