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

1 2

  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
ColorDrawableTest.java 80 assertNotNull(colorDrawable.getConstantState());
82 colorDrawable.getConstantState().getChangingConfigurations());
ClipDrawableTest.java 89 assertNull(clipDrawable.getConstantState());
94 assertNotNull(clipDrawable.getConstantState());
95 assertEquals(1, clipDrawable.getConstantState().getChangingConfigurations());
381 public ConstantState getConstantState() {
GradientDrawableTest.java 53 ConstantState constantState = gradientDrawable.getConstantState();
271 assertNotNull(gradientDrawable.getConstantState());
AnimationDrawableTest.java 77 assertNotNull(mAnimationDrawable.getConstantState());
283 (DrawableContainerState) mAnimationDrawable.getConstantState();
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();
ShapeDrawableTest.java 76 shapeDrawable.getConstantState();
85 ConstantState constantState = shapeDrawable.getConstantState();
DrawableTest.java 362 assertNull(mockDrawable.getConstantState());
DrawableContainerTest.java 44 (DrawableContainerState) new LevelListDrawable().getConstantState();
691 mDrawableContainer.getConstantState();
697 assertSame(mDrawableContainerState, mDrawableContainer.getConstantState());
726 mDrawableContainer.getConstantState();
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
ColorDrawable.java 173 public ConstantState getConstantState() {
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;
NinePatchDrawable.java 427 public ConstantState getConstantState() {
ScaleDrawable.java 248 public ConstantState getConstantState() {
279 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
281 mDrawable = orig.mDrawable.getConstantState().newDrawable();
310 mCanConstantState = mDrawable.getConstantState() != null;
ShapeDrawable.java 376 public ConstantState getConstantState() {
AnimatedRotateDrawable.java 217 public ConstantState getConstantState() {
322 mDrawable = source.mDrawable.getConstantState().newDrawable(res);
324 mDrawable = source.mDrawable.getConstantState().newDrawable();
355 mCanConstantState = mDrawable.getConstantState() != null;
BitmapDrawable.java 629 public final ConstantState getConstantState() {
Drawable.java 779 * @see #getConstantState()
    [all...]
RotateDrawable.java 198 public ConstantState getConstantState() {
319 mDrawable = source.mDrawable.getConstantState().newDrawable(res);
321 mDrawable = source.mDrawable.getConstantState().newDrawable();
352 mCanConstantState = mDrawable.getConstantState() != null;
DrawableContainer.java 445 public ConstantState getConstantState() {
854 if (drawables[i].getConstantState() == null) {
872 mConstantState = source.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) {
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 

Completed in 698 milliseconds

1 2