Searched refs:isStateful (Results 1 – 16 of 16) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableContainerStateTest.java | 108 assertFalse(mDrawableContainerState.isStateful()); in testIsStateful() 111 doReturn(false).when(dr0).isStateful(); in testIsStateful() 114 assertFalse(mDrawableContainerState.isStateful()); in testIsStateful() 117 doReturn(false).when(dr1).isStateful(); in testIsStateful() 120 assertFalse(mDrawableContainerState.isStateful()); in testIsStateful() 123 doReturn(true).when(dr2).isStateful(); in testIsStateful() 126 assertTrue(mDrawableContainerState.isStateful()); in testIsStateful() 129 doReturn(false).when(dr3).isStateful(); in testIsStateful() 132 assertTrue(mDrawableContainerState.isStateful()); in testIsStateful()
|
D | DrawableContainerTest.java | 379 mDrawableContainer.isStateful(); in testIsStatefulNoConstantState() 386 doReturn(true).when(dr0).isStateful(); in testIsStateful() 389 doReturn(false).when(dr1).isStateful(); in testIsStateful() 393 assertEquals(mDrawableContainerState.isStateful(), mDrawableContainer.isStateful()); in testIsStateful() 394 assertEquals(true, mDrawableContainer.isStateful()); in testIsStateful() 397 assertEquals(mDrawableContainerState.isStateful(), mDrawableContainer.isStateful()); in testIsStateful() 398 assertEquals(true, mDrawableContainer.isStateful()); in testIsStateful() 830 assertEquals(false, mDrawableContainer.isStateful()); in testStatefulnessChange() 837 assertEquals(true, mDrawableContainer.isStateful()); in testStatefulnessChange()
|
D | ColorStateListDrawableTest.java | 64 assertFalse(drawable.isStateful()); in testDefaultConstructor() 97 assertTrue(mDrawable.isStateful()); in testIsStateful() 99 assertFalse(mDrawable.isStateful()); in testIsStateful()
|
D | ClipDrawableTest.java | 236 assertFalse(clipDrawable.isStateful()); in testIsStateful() 241 assertFalse(clipDrawable.isStateful()); in testIsStateful()
|
D | LayerDrawableTest.java | 633 assertFalse(layerDrawable.isStateful()); in testIsStateful() 637 assertFalse(layerDrawable.isStateful()); in testIsStateful() 641 assertTrue(layerDrawable.isStateful()); in testIsStateful() 1543 public MockDrawable(boolean isStateful) { in MockDrawable() argument 1544 mIsStateful = isStateful; in MockDrawable() 1605 public boolean isStateful() { in isStateful() method in LayerDrawableTest.MockDrawable 1873 assertEquals(false, dr.isStateful()); in testStatefulnessChange() 1879 assertEquals(true, dr.isStateful()); in testStatefulnessChange()
|
D | DrawableWrapperTest.java | 298 wrapper.isStateful(); in testIsStateful() 299 verify(mockDrawable, times(1)).isStateful(); in testIsStateful()
|
D | AdaptiveIconDrawableTest.java | 280 assertFalse(iconDrawable.isStateful()); in testIsStateful() 283 assertTrue(iconDrawable.isStateful()); in testIsStateful()
|
D | AnimatedStateListDrawableTest.java | 134 assertTrue(new AnimatedStateListDrawable().isStateful()); in testIsStateful()
|
D | ScaleDrawableTest.java | 276 scaleDrawable.isStateful(); in testIsStateful() 277 verify(mockDrawable, times(1)).isStateful(); in testIsStateful()
|
D | RotateDrawableTest.java | 258 assertFalse(mRotateDrawable.isStateful()); in testIsStateful()
|
D | StateListDrawableTest.java | 114 assertTrue(new StateListDrawable().isStateful()); in testIsStateful()
|
D | InsetDrawableTest.java | 260 assertFalse(mInsetDrawable.isStateful()); in testIsStateful()
|
D | DrawableTest.java | 632 assertFalse(mockDrawable.isStateful()); in testIsStateful()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ColorStateListTest.java | 37 assertTrue(c.isStateful()); in testConstructor() 49 assertFalse(c.isStateful()); in testCreateFromXml() 64 assertFalse(c.isStateful()); in testCreateFromXmlThemed() 141 assertEquals(c.isStateful(), actual.isStateful()); in testParcelable()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | TextAppearanceSpanTest.java | 409 assertEquals(originalTextColor.isStateful(), unparceledTextColor.isStateful()); in testWriteReadParcel_WithAllAttributes() 411 assertEquals(originalLinkTextColor.isStateful(), in testWriteReadParcel_WithAllAttributes() 412 unparceledLinkTextColor.isStateful()); in testWriteReadParcel_WithAllAttributes()
|
/cts/tools/release-parser/tests/resources/ |
D | Shell.apk.pb.txt | 2218 name: "isStateful"
|