HomeSort by relevance Sort by last modified time
    Searched refs:getConstantState (Results 1 - 25 of 70) sorted by null

1 2 3

  /frameworks/base/core/tests/coretests/src/android/view/
MutateDrawableTest.java 49 assertNotSame(mFirstButton.getBackground().getConstantState(),
50 mSecondButton.getBackground().getConstantState());
  /cts/tests/tests/tv/src/android/media/tv/cts/
TvInputInfoTest.java 100 assertEquals(mStubInfo.loadIcon(getContext()).getConstantState(),
101 mStubInfo.getServiceInfo().loadIcon(mPackageManager).getConstantState());
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
LevelListDrawableTest.java 48 mDrawableContainerState = (DrawableContainerState) mLevelListDrawable.getConstantState();
55 assertNotNull(new LevelListDrawable().getConstantState());
177 assertEquals(3, ((DrawableContainerState) d1.getConstantState()).getChildCount());
178 assertEquals(2, ((DrawableContainerState) d2.getConstantState()).getChildCount());
179 assertEquals(2, ((DrawableContainerState) d3.getConstantState()).getChildCount());
AnimatedVectorDrawableTest.java 125 ConstantState constantState = avd.getConstantState();
137 constantState = avd.getConstantState();
148 ConstantState constantState = AnimatedVectorDrawable.getConstantState();
153 constantState = AnimatedVectorDrawable.getConstantState();
ColorDrawableTest.java 79 assertNotNull(colorDrawable.getConstantState());
81 colorDrawable.getConstantState().getChangingConfigurations());
VectorDrawableTest.java 227 ConstantState constantState = vectorDrawable.getConstantState();
239 constantState = vectorDrawable.getConstantState();
250 ConstantState constantState = vectorDrawable.getConstantState();
255 constantState = vectorDrawable.getConstantState();
NinePatchDrawableTest.java 122 ConstantState constantState = mNinePatchDrawable.getConstantState();
134 constantState = mNinePatchDrawable.getConstantState();
284 assertNotNull(mNinePatchDrawable.getConstantState());
286 ConstantState constantState = mNinePatchDrawable.getConstantState();
290 // the state's configuration refreshed when getConstantState is called.
291 constantState = mNinePatchDrawable.getConstantState();
StateListDrawableTest.java 51 mDrawableContainerState = (DrawableContainerState) mStateListDrawable.getConstantState();
58 assertNotNull(new StateListDrawable().getConstantState());
176 mDrawableContainerState = (DrawableContainerState) mStateListDrawable.getConstantState();
ClipDrawableTest.java 89 assertNull(clipDrawable.getConstantState());
94 assertNotNull(clipDrawable.getConstantState());
95 assertEquals(1, clipDrawable.getConstantState().getChangingConfigurations());
381 public ConstantState getConstantState() {
AnimationDrawableTest.java 77 assertNotNull(mAnimationDrawable.getConstantState());
290 (DrawableContainerState) dr.getConstantState();
GradientDrawableTest.java 53 ConstantState constantState = gradientDrawable.getConstantState();
291 assertNotNull(gradientDrawable.getConstantState());
ShapeDrawableTest.java 78 shapeDrawable.getConstantState();
87 ConstantState constantState = shapeDrawable.getConstantState();
DrawableContainerTest.java 47 (DrawableContainerState) new LevelListDrawable().getConstantState();
713 mDrawableContainer.getConstantState();
719 assertSame(mDrawableContainerState, mDrawableContainer.getConstantState());
748 mDrawableContainer.getConstantState();
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
ClipDrawable.java 316 public ConstantState getConstantState() {
366 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
368 mDrawable = orig.mDrawable.getConstantState().newDrawable();
403 mCanConstantState = mDrawable.getConstantState() != null;
InsetDrawable.java 382 public ConstantState getConstantState() {
434 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
436 mDrawable = orig.mDrawable.getConstantState().newDrawable();
473 mCanConstantState = mDrawable.getConstantState() != null;
482 final ConstantState state = mDrawable.getConstantState();
ScaleDrawable.java 324 public ConstantState getConstantState() {
372 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
374 mDrawable = orig.mDrawable.getConstantState().newDrawable();
411 mCanConstantState = mDrawable.getConstantState() != null;
420 final ConstantState state = mDrawable.getConstantState();
AnimatedRotateDrawable.java 256 public ConstantState getConstantState() {
421 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
423 mDrawable = orig.mDrawable.getConstantState().newDrawable();
463 mCanConstantState = mDrawable.getConstantState() != null;
RotateDrawable.java 397 public ConstantState getConstantState() {
556 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
558 mDrawable = orig.mDrawable.getConstantState().newDrawable();
598 mCanConstantState = mDrawable.getConstantState() != null;
DrawableContainer.java 580 public ConstantState getConstantState() {
736 if (origDr[i].getConstantState() != null) {
    [all...]
LayerDrawable.java 901 public ConstantState getConstantState() {
959 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
961 mDrawable = orig.mDrawable.getConstantState().newDrawable();
    [all...]
AnimatedVectorDrawable.java 166 public ConstantState getConstantState() {
345 final ConstantState cs = copy.mVectorDrawable.getConstantState();
  /packages/apps/Camera2/src/com/android/camera/ui/
ModeIconView.java 88 return mIconDrawable.getConstantState().newDrawable();
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
CachingIconLoader.java 135 store(value == null ? null : value.getConstantState());
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
BackgroundManager.java 174 public ConstantState getConstantState() {
318 return drawable.getConstantState().newDrawable(context.getResources()).mutate();
454 drawable.getConstantState().newDrawable().mutate();
  /frameworks/opt/bitmap/src/com/android/bitmap/drawable/
ExtendedBitmapDrawable.java 102 ConstantState constantState = mOpts.placeholder.getConstantState();
128 mProgress = new Progress(mOpts.progressBar.getConstantState().newDrawable(mResources), mResources,

Completed in 1192 milliseconds

1 2 3