Home
last modified time | relevance | path

Searched refs:onStateChange (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DStateListDrawableTest.java141 mMockDrawable.onStateChange( in testOnStateChange()
145 assertFalse(mMockDrawable.onStateChange(new int[] { android.R.attr.state_focused })); in testOnStateChange()
148 assertTrue(mMockDrawable.onStateChange(StateSet.WILD_CARD)); in testOnStateChange()
152 assertFalse(mMockDrawable.onStateChange(null)); in testOnStateChange()
164 mMockDrawable.onStateChange( in testOnStateChangeWithWildCardAtFirst()
180 mMockDrawable.onStateChange(StateSet.WILD_CARD); in testOnStateChangeWithNullStateSet()
442 protected boolean onStateChange(int[] stateSet) { in onStateChange() method in StateListDrawableTest.MockStateListDrawable
443 boolean result = super.onStateChange(stateSet); in onStateChange()
DDrawableContainerTest.java403 assertFalse(mMockDrawableContainer.onStateChange(new int[] { 0 })); in testOnStateChange()
404 assertFalse(mMockDrawableContainer.onStateChange(null)); in testOnStateChange()
414 mMockDrawableContainer.onStateChange(null); in testOnStateChange()
419 mMockDrawableContainer.onStateChange(new int[] { 0 }); in testOnStateChange()
424 assertFalse(mMockDrawableContainer.onStateChange(new int[] { 0 })); in testOnStateChange()
874 protected boolean onStateChange(int[] state) { in onStateChange() method in DrawableContainerTest.MockDrawableContainer
875 return super.onStateChange(state); in onStateChange()
965 protected boolean onStateChange(int[] state) { in onStateChange() method in DrawableContainerTest.MockDrawable
966 boolean result = super.onStateChange(state); in onStateChange()
DClipDrawableTest.java295 assertFalse("child did not change", clipDrawable.onStateChange(state)); in testOnStateChange()
301 clipDrawable.onStateChange(state); in testOnStateChange()
305 clipDrawable.onStateChange(null); in testOnStateChange()
385 protected boolean onStateChange(int[] state) { in onStateChange() method in ClipDrawableTest.MockClipDrawable
386 return super.onStateChange(state); in onStateChange()
DDrawableWrapperTest.java309 assertFalse("child did not change", wrapper.onStateChange(state)); in testOnStateChange()
315 wrapper.onStateChange(state); in testOnStateChange()
319 wrapper.onStateChange(null); in testOnStateChange()
479 protected boolean onStateChange(int[] state) { in onStateChange() method in DrawableWrapperTest.MockDrawableWrapper
480 return super.onStateChange(state); in onStateChange()
DInsetDrawableTest.java269 assertFalse("child did not change", insetDrawable.onStateChange(state)); in testOnStateChange()
275 insetDrawable.onStateChange(state); in testOnStateChange()
279 insetDrawable.onStateChange(null); in testOnStateChange()
523 protected boolean onStateChange(int[] state) { in onStateChange() method in InsetDrawableTest.MockInsetDrawable
524 return super.onStateChange(state); in onStateChange()
DScaleDrawableTest.java287 assertFalse("child did not change", scaleDrawable.onStateChange(state)); in testOnStateChange()
293 scaleDrawable.onStateChange(state); in testOnStateChange()
297 scaleDrawable.onStateChange(null); in testOnStateChange()
558 protected boolean onStateChange(int[] state) { in onStateChange() method in ScaleDrawableTest.MockScaleDrawable
559 return super.onStateChange(state); in onStateChange()
DDrawableTest.java667 assertFalse(mockDrawable.onStateChange(null)); in testOnStateChange()
918 protected boolean onStateChange(int[] state) { in onStateChange() method in DrawableTest.MockDrawable
919 return super.onStateChange(state); in onStateChange()
DLayerDrawableTest.java1571 protected boolean onStateChange(int[] state) { in onStateChange() method in LayerDrawableTest.MockDrawable