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.java116 mStateListDrawable.onStateChange(new int[] { attr.state_focused, - attr.state_selected }); in testOnStateChange()
119 assertFalse(mStateListDrawable.onStateChange(new int[] { attr.state_focused })); in testOnStateChange()
122 assertTrue(mStateListDrawable.onStateChange(StateSet.WILD_CARD)); in testOnStateChange()
126 assertFalse(mStateListDrawable.onStateChange(null)); in testOnStateChange()
136 mStateListDrawable.onStateChange(new int[] { attr.state_focused, - attr.state_selected }); in testOnStateChangeWithWildCardAtFirst()
150 mStateListDrawable.onStateChange(StateSet.WILD_CARD); in testOnStateChangeWithNullStateSet()
270 protected boolean onStateChange(int[] stateSet) { in onStateChange() method in StateListDrawableTest.MockStateListDrawable
271 boolean result = super.onStateChange(stateSet); in onStateChange()
DClipDrawableTest.java256 assertFalse("child did not change", clipDrawable.onStateChange(state)); in testOnStateChange()
262 clipDrawable.onStateChange(state); in testOnStateChange()
266 clipDrawable.onStateChange(null); in testOnStateChange()
343 protected boolean onStateChange(int[] state) { in onStateChange() method in ClipDrawableTest.MockClipDrawable
344 return super.onStateChange(state); in onStateChange()
405 protected boolean onStateChange(int[] state) { in onStateChange() method in ClipDrawableTest.MockDrawable
406 return super.onStateChange(state); in onStateChange()
DInsetDrawableTest.java241 assertFalse("child did not change", insetDrawable.onStateChange(state)); in testOnStateChange()
247 insetDrawable.onStateChange(state); in testOnStateChange()
251 insetDrawable.onStateChange(null); in testOnStateChange()
341 protected boolean onStateChange(int[] state) { in onStateChange() method in InsetDrawableTest.MockInsetDrawable
342 return super.onStateChange(state); in onStateChange()
DDrawableWrapperTest.java291 assertFalse("child did not change", wrapper.onStateChange(state)); in testOnStateChange()
297 wrapper.onStateChange(state); in testOnStateChange()
301 wrapper.onStateChange(null); in testOnStateChange()
526 protected boolean onStateChange(int[] state) { in onStateChange() method in DrawableWrapperTest.MockDrawableWrapper
527 return super.onStateChange(state); in onStateChange()
DDrawableContainerTest.java327 assertFalse(mDrawableContainer.onStateChange(new int[] { 0 })); in testOnStateChange()
328 assertFalse(mDrawableContainer.onStateChange(null)); in testOnStateChange()
338 mDrawableContainer.onStateChange(null); in testOnStateChange()
343 mDrawableContainer.onStateChange(new int[] { 0 }); in testOnStateChange()
348 assertFalse(mDrawableContainer.onStateChange(new int[] { 0 })); in testOnStateChange()
803 protected boolean onStateChange(int[] state) { in onStateChange() method in DrawableContainerTest.MockDrawableContainer
804 return super.onStateChange(state); in onStateChange()
1000 protected boolean onStateChange(int[] state) { in onStateChange() method in DrawableContainerTest.MockDrawable
1001 boolean result = super.onStateChange(state); in onStateChange()
DScaleDrawableTest.java285 assertFalse("child did not change", scaleDrawable.onStateChange(state)); in testOnStateChange()
291 scaleDrawable.onStateChange(state); in testOnStateChange()
295 scaleDrawable.onStateChange(null); in testOnStateChange()
617 protected boolean onStateChange(int[] state) { in onStateChange() method in ScaleDrawableTest.MockScaleDrawable
618 return super.onStateChange(state); in onStateChange()
DDrawableTest.java499 assertFalse(mockDrawable.onStateChange(null)); in testOnStateChange()
648 protected boolean onStateChange(int[] state) { in onStateChange() method in DrawableTest.MockDrawable
649 return super.onStateChange(state); in onStateChange()
DLayerDrawableTest.java1482 protected boolean onStateChange(int[] state) { in onStateChange() method in LayerDrawableTest.MockDrawable