/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/base/graphics/java/android/graphics/drawable/ |
D | ClipDrawable.java | 235 public ConstantState getConstantState() { in getConstantState() method in ClipDrawable 257 mDrawable = orig.mDrawable.getConstantState().newDrawable(res); in ClipState() 259 mDrawable = orig.mDrawable.getConstantState().newDrawable(); in ClipState() 285 mCanConstantState = mDrawable.getConstantState() != null; in canConstantState()
|
D | InsetDrawable.java | 242 public ConstantState getConstantState() { in getConstantState() method in InsetDrawable 274 mDrawable = orig.mDrawable.getConstantState().newDrawable(res); in InsetState() 276 mDrawable = orig.mDrawable.getConstantState().newDrawable(); in InsetState() 304 mCanConstantState = mDrawable.getConstantState() != null; in canConstantState()
|
D | ScaleDrawable.java | 244 public ConstantState getConstantState() { in getConstantState() method in ScaleDrawable 275 mDrawable = orig.mDrawable.getConstantState().newDrawable(res); in ScaleState() 277 mDrawable = orig.mDrawable.getConstantState().newDrawable(); in ScaleState() 305 mCanConstantState = mDrawable.getConstantState() != null; in canConstantState()
|
D | RotateDrawable.java | 193 public ConstantState getConstantState() { in getConstantState() method in RotateDrawable 314 mDrawable = source.mDrawable.getConstantState().newDrawable(res); in RotateState() 316 mDrawable = source.mDrawable.getConstantState().newDrawable(); in RotateState() 346 mCanConstantState = mDrawable.getConstantState() != null; in canConstantState()
|
D | AnimatedRotateDrawable.java | 212 public ConstantState getConstantState() { in getConstantState() method in AnimatedRotateDrawable 317 mDrawable = source.mDrawable.getConstantState().newDrawable(res); in AnimatedRotateState() 319 mDrawable = source.mDrawable.getConstantState().newDrawable(); in AnimatedRotateState() 349 mCanConstantState = mDrawable.getConstantState() != null; in canConstantState()
|
D | DrawableContainer.java | 391 public ConstantState getConstantState() { in getConstantState() method in DrawableContainer 469 mDrawables[i] = origDr[i].getConstantState().newDrawable(res); in DrawableContainerState() 471 mDrawables[i] = origDr[i].getConstantState().newDrawable(); in DrawableContainerState() 694 if (mDrawables[i].getConstantState() == null) { in canConstantState()
|
D | LayerDrawable.java | 567 public ConstantState getConstantState() { in getConstantState() method in LayerDrawable 625 r.mDrawable = or.mDrawable.getConstantState().newDrawable(res); in LayerState() 627 r.mDrawable = or.mDrawable.getConstantState().newDrawable(); in LayerState() 702 if (mChildren[i].mDrawable.getConstantState() == null) { in canConstantState()
|
D | ColorDrawable.java | 154 public ConstantState getConstantState() { in getConstantState() method in ColorDrawable
|
D | NinePatchDrawable.java | 329 public ConstantState getConstantState() { in getConstantState() method in NinePatchDrawable
|
D | ShapeDrawable.java | 368 public ConstantState getConstantState() { in getConstantState() method in ShapeDrawable
|
D | Drawable.java | 958 public ConstantState getConstantState() { in getConstantState() method in Drawable
|
D | BitmapDrawable.java | 502 public final ConstantState getConstantState() { in getConstantState() method in BitmapDrawable
|
D | GradientDrawable.java | 870 public ConstantState getConstantState() {
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/ |
D | MipmapDrawableTest.java | 36 mDrawableContainerState = (DrawableContainerState) mMipmapDrawable.getConstantState(); in setUp() 42 assertNotNull(new MipmapDrawable().getConstantState()); in testMipmapDrawable()
|
/frameworks/base/core/java/android/widget/ |
D | SuggestionsAdapter.java | 603 mOutsideDrawablesCache.put(resourceUri, drawable.getConstantState()); in storeInIconCache() 644 Drawable.ConstantState toCache = drawable == null ? null : drawable.getConstantState(); in getActivityIconWithCache()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
D | RecentsScrollViewPerformanceHelper.java | 86 .getDrawable(R.drawable.status_bar_recents_background_solid).getConstantState(); in onAttachedToWindowCallback()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuView.java | 282 return mItemBackground.getConstantState().newDrawable(getContext().getResources()); in getItemBackgroundDrawable()
|
/frameworks/base/core/java/android/content/res/ |
D | Resources.java | 1954 cs = dr.getConstantState(); in loadDrawable()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarView.java | 1372 mExpandedHomeLayout.setIcon(mIcon.getConstantState().newDrawable(getResources())); in expandItemActionView()
|
/frameworks/base/api/ |
D | current.txt | 8873 method public final android.graphics.drawable.Drawable.ConstantState getConstantState(); 8931 method public android.graphics.drawable.Drawable.ConstantState getConstantState();
|
D | 14.txt | 8873 method public final android.graphics.drawable.Drawable.ConstantState getConstantState(); 8931 method public android.graphics.drawable.Drawable.ConstantState getConstantState();
|