Home
last modified time | relevance | path

Searched refs:isStateful (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/content/src/android/content/res/cts/
DColorStateListTest.java38 assertTrue(c.isStateful()); in testColorStateList()
54 assertFalse(c.isStateful()); in testColorStateList()
67 assertEquals(c.isStateful(), actual.isStateful()); in testColorStateList()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerStateTest.java93 assertFalse(mDrawableContainerState.isStateful()); in testIsStateFul()
99 assertFalse(mDrawableContainerState.isStateful()); in testIsStateFul()
105 assertFalse(mDrawableContainerState.isStateful()); in testIsStateFul()
111 assertTrue(mDrawableContainerState.isStateful()); in testIsStateFul()
117 assertTrue(mDrawableContainerState.isStateful()); in testIsStateFul()
281 public boolean isStateful() { in isStateful() method in DrawableContainerStateTest.MockDrawable
285 public void setStateful(boolean isStateful) { in setStateful() argument
286 mIsStatful = isStateful; in setStateful()
DDrawableContainerTest.java301 mDrawableContainer.isStateful(); in testIsStateful()
315 assertEquals(mDrawableContainerState.isStateful(), mDrawableContainer.isStateful()); in testIsStateful()
316 assertEquals(true, mDrawableContainer.isStateful()); in testIsStateful()
319 assertEquals(mDrawableContainerState.isStateful(), mDrawableContainer.isStateful()); in testIsStateful()
320 assertEquals(true, mDrawableContainer.isStateful()); in testIsStateful()
844 public boolean isStateful() { in isStateful() method in DrawableContainerTest.MockDrawable
848 public void setStateful(boolean isStateful) { in setStateful() argument
849 mIsStateful = isStateful; in setStateful()
DDrawableWrapperTest.java281 wrapper.isStateful(); in testIsStateful()
425 public boolean isStateful() { in isStateful() method in DrawableWrapperTest.MockDrawable
427 return super.isStateful(); in isStateful()
DScaleDrawableTest.java275 scaleDrawable.isStateful(); in testIsStateful()
515 public boolean isStateful() { in isStateful() method in ScaleDrawableTest.MockDrawable
517 return super.isStateful(); in isStateful()
DClipDrawableTest.java201 assertFalse(clipDrawable.isStateful()); in testIsStateful()
206 assertFalse(clipDrawable.isStateful()); in testIsStateful()
DLayerDrawableTest.java595 assertFalse(layerDrawable.isStateful()); in testIsStateful()
599 assertFalse(layerDrawable.isStateful()); in testIsStateful()
603 assertTrue(layerDrawable.isStateful()); in testIsStateful()
1419 public MockDrawable(boolean isStateful) { in MockDrawable() argument
1420 mIsStateful = isStateful; in MockDrawable()
1516 public boolean isStateful() { in isStateful() method in LayerDrawableTest.MockDrawable
DRotateDrawableTest.java173 assertFalse(mRotateDrawable.isStateful()); in testIsStateful()
DStateListDrawableTest.java92 assertTrue(new StateListDrawable().isStateful()); in testIsStateful()
DInsetDrawableTest.java232 assertFalse(insetDrawable.isStateful()); in testIsStateful()
DDrawableTest.java468 assertFalse(mockDrawable.isStateful()); in testIsStateful()
/cts/tests/tests/widget/src/android/widget/cts/
DImageViewTest.java585 public boolean isStateful() { in isStateful() method in ImageViewTest.MockDrawable