Searched refs:onStateChange (Results 1 – 8 of 8) sorted by relevance
116 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.MockStateListDrawable271 boolean result = super.onStateChange(stateSet); in onStateChange()
256 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.MockClipDrawable344 return super.onStateChange(state); in onStateChange()405 protected boolean onStateChange(int[] state) { in onStateChange() method in ClipDrawableTest.MockDrawable406 return super.onStateChange(state); in onStateChange()
241 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.MockInsetDrawable342 return super.onStateChange(state); in onStateChange()
291 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.MockDrawableWrapper527 return super.onStateChange(state); in onStateChange()
327 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.MockDrawableContainer804 return super.onStateChange(state); in onStateChange()1000 protected boolean onStateChange(int[] state) { in onStateChange() method in DrawableContainerTest.MockDrawable1001 boolean result = super.onStateChange(state); in onStateChange()
285 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.MockScaleDrawable618 return super.onStateChange(state); in onStateChange()
499 assertFalse(mockDrawable.onStateChange(null)); in testOnStateChange()648 protected boolean onStateChange(int[] state) { in onStateChange() method in DrawableTest.MockDrawable649 return super.onStateChange(state); in onStateChange()
1482 protected boolean onStateChange(int[] state) { in onStateChange() method in LayerDrawableTest.MockDrawable