Searched refs:onStateChange (Results 1 – 8 of 8) sorted by relevance
141 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.MockStateListDrawable443 boolean result = super.onStateChange(stateSet); in onStateChange()
403 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.MockDrawableContainer875 return super.onStateChange(state); in onStateChange()965 protected boolean onStateChange(int[] state) { in onStateChange() method in DrawableContainerTest.MockDrawable966 boolean result = super.onStateChange(state); in onStateChange()
295 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.MockClipDrawable386 return super.onStateChange(state); in onStateChange()
309 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.MockDrawableWrapper480 return super.onStateChange(state); in onStateChange()
269 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.MockInsetDrawable524 return super.onStateChange(state); in onStateChange()
287 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.MockScaleDrawable559 return super.onStateChange(state); in onStateChange()
667 assertFalse(mockDrawable.onStateChange(null)); in testOnStateChange()918 protected boolean onStateChange(int[] state) { in onStateChange() method in DrawableTest.MockDrawable919 return super.onStateChange(state); in onStateChange()
1571 protected boolean onStateChange(int[] state) { in onStateChange() method in LayerDrawableTest.MockDrawable