HomeSort by relevance Sort by last modified time
    Searched refs:getConstantState (Results 1 - 25 of 56) 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/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());
ColorDrawableTest.java 80 assertNotNull(colorDrawable.getConstantState());
82 colorDrawable.getConstantState().getChangingConfigurations());
NinePatchDrawableTest.java 120 ConstantState constantState = mNinePatchDrawable.getConstantState();
132 constantState = mNinePatchDrawable.getConstantState();
272 assertNotNull(mNinePatchDrawable.getConstantState());
274 ConstantState constantState = mNinePatchDrawable.getConstantState();
278 // the state's configuration refreshed when getConstantState is called.
279 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());
283 (DrawableContainerState) mAnimationDrawable.getConstantState();
GradientDrawableTest.java 53 ConstantState constantState = gradientDrawable.getConstantState();
271 assertNotNull(gradientDrawable.getConstantState());
ShapeDrawableTest.java 76 shapeDrawable.getConstantState();
85 ConstantState constantState = shapeDrawable.getConstantState();
DrawableContainerTest.java 44 (DrawableContainerState) new LevelListDrawable().getConstantState();
691 mDrawableContainer.getConstantState();
697 assertSame(mDrawableContainerState, mDrawableContainer.getConstantState());
726 mDrawableContainer.getConstantState();
    [all...]
BitmapDrawableTest.java 265 ConstantState constantState = bitmapDrawable.getConstantState();
270 constantState = bitmapDrawable.getConstantState();
ScaleDrawableTest.java 388 ConstantState constantState = scaleDrawable.getConstantState();
393 constantState = scaleDrawable.getConstantState();
DrawableContainerStateTest.java 43 mDrawableContainerState = (DrawableContainerState) mDrawableContainer.getConstantState();
  /frameworks/base/graphics/java/android/graphics/drawable/
ClipDrawable.java 239 public ConstantState getConstantState() {
266 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
268 mDrawable = orig.mDrawable.getConstantState().newDrawable();
295 mCanConstantState = mDrawable.getConstantState() != null;
InsetDrawable.java 253 public ConstantState getConstantState() {
292 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
294 mDrawable = orig.mDrawable.getConstantState().newDrawable();
323 mCanConstantState = mDrawable.getConstantState() != null;
AnimatedRotateDrawable.java 217 public ConstantState getConstantState() {
322 mDrawable = source.mDrawable.getConstantState().newDrawable(res);
324 mDrawable = source.mDrawable.getConstantState().newDrawable();
355 mCanConstantState = mDrawable.getConstantState() != null;
RotateDrawable.java 198 public ConstantState getConstantState() {
319 mDrawable = source.mDrawable.getConstantState().newDrawable(res);
321 mDrawable = source.mDrawable.getConstantState().newDrawable();
352 mCanConstantState = mDrawable.getConstantState() != null;
ScaleDrawable.java 248 public ConstantState getConstantState() {
279 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
281 mDrawable = orig.mDrawable.getConstantState().newDrawable();
310 mCanConstantState = mDrawable.getConstantState() != null;
ColorDrawable.java 173 public ConstantState getConstantState() {
LayerDrawable.java 597 public ConstantState getConstantState() {
669 r.mDrawable = or.mDrawable.getConstantState().newDrawable(res);
671 r.mDrawable = or.mDrawable.getConstantState().newDrawable();
748 if (mChildren[i].mDrawable.getConstantState() == null) {
DrawableContainer.java 445 public ConstantState getConstantState() {
854 if (drawables[i].getConstantState() == null) {
872 mConstantState = source.getConstantState();
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
CachingIconLoader.java 135 store(value == null ? null : value.getConstantState());
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
AttachmentDrawable.java 102 mPlaceholder = new Placeholder(placeholder.getConstantState().newDrawable(res), res,
106 mProgress = new Progress(progress.getConstantState().newDrawable(res), res,
  /frameworks/base/core/java/android/widget/
SuggestionsAdapter.java 603 mOutsideDrawablesCache.put(resourceUri, drawable.getConstantState());
644 Drawable.ConstantState toCache = drawable == null ? null : drawable.getConstantState();
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
SuggestionsAdapter.java 563 mOutsideDrawablesCache.put(resourceUri, drawable.getConstantState());
604 Drawable.ConstantState toCache = drawable == null ? null : drawable.getConstantState();

Completed in 2091 milliseconds

1 2 3