Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerStateTest.java108 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()
DDrawableContainerTest.java379 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()
DColorStateListDrawableTest.java64 assertFalse(drawable.isStateful()); in testDefaultConstructor()
97 assertTrue(mDrawable.isStateful()); in testIsStateful()
99 assertFalse(mDrawable.isStateful()); in testIsStateful()
DClipDrawableTest.java236 assertFalse(clipDrawable.isStateful()); in testIsStateful()
241 assertFalse(clipDrawable.isStateful()); in testIsStateful()
DLayerDrawableTest.java633 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()
DDrawableWrapperTest.java298 wrapper.isStateful(); in testIsStateful()
299 verify(mockDrawable, times(1)).isStateful(); in testIsStateful()
DAdaptiveIconDrawableTest.java280 assertFalse(iconDrawable.isStateful()); in testIsStateful()
283 assertTrue(iconDrawable.isStateful()); in testIsStateful()
DAnimatedStateListDrawableTest.java134 assertTrue(new AnimatedStateListDrawable().isStateful()); in testIsStateful()
DScaleDrawableTest.java276 scaleDrawable.isStateful(); in testIsStateful()
277 verify(mockDrawable, times(1)).isStateful(); in testIsStateful()
DRotateDrawableTest.java258 assertFalse(mRotateDrawable.isStateful()); in testIsStateful()
DStateListDrawableTest.java114 assertTrue(new StateListDrawable().isStateful()); in testIsStateful()
DInsetDrawableTest.java260 assertFalse(mInsetDrawable.isStateful()); in testIsStateful()
DDrawableTest.java632 assertFalse(mockDrawable.isStateful()); in testIsStateful()
/cts/tests/tests/content/src/android/content/res/cts/
DColorStateListTest.java37 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/
DTextAppearanceSpanTest.java409 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/
DShell.apk.pb.txt2218 name: "isStateful"