Searched refs:setState (Results 1 – 13 of 13) sorted by relevance
103 mStateListDrawable.setState(mStateListDrawable.getState()); in testOnStateChange()108 mStateListDrawable.setState(new int[] { attr.state_focused, - attr.state_selected }); in testOnStateChange()112 mStateListDrawable.setState(null); in testOnStateChange()170 mStateListDrawable.setState(new int[]{ attr.state_focused, - attr.state_pressed }); in testInflate()172 mStateListDrawable.setState(StateSet.WILD_CARD); in testInflate()192 mStateListDrawable.setState(new int[]{ - attr.state_pressed, attr.state_focused }); in testInflate()194 mStateListDrawable.setState(StateSet.WILD_CARD); in testInflate()
444 public boolean setState(final int[] stateSet) { in setState() method in DrawableWrapperTest.MockDrawable446 return super.setState(stateSet); in setState()
534 public boolean setState(final int[] stateSet) { in setState() method in ScaleDrawableTest.MockDrawable536 return super.setState(stateSet); in setState()
429 assertFalse(mockDrawable.setState(states)); in testAccessState()432 mockDrawable.setState(null); in testAccessState()
613 assertFalse(layerDrawable.setState(StateSet.WILD_CARD)); in testSetState()624 assertTrue(layerDrawable.setState(null)); in testSetState()635 assertTrue(layerDrawable.setState(new int[]{ in testSetState()1525 public boolean setState(final int[] stateSet) { in setState() method in LayerDrawableTest.MockDrawable1527 return super.setState(stateSet); in setState()
332 dr.setState(new int[] { 0 }); in testOnStateChange()
99 private synchronized void setState(int state) { in setState() method in BluetoothChatService125 setState(STATE_LISTEN); in start()157 setState(STATE_CONNECTING); in connect()196 setState(STATE_CONNECTED); in connected()224 setState(STATE_NONE); in stop()
40 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testServiceState()
103 drawable.setState(null); in testDrawableStateChanged()
177 drawable.setState(null); in testDrawableStateChanged()
1382 track.setState(AudioTrack.STATE_NO_STATIC_DATA); in testAudioTrackProperties()1384 track.setState(AudioTrack.STATE_UNINITIALIZED); in testAudioTrackProperties()2281 public void setState(int state) { in setState() method in AudioTrackTest.MockAudioTrack2282 super.setState(state); in setState()
2935 background.setState(view.getDrawableState()); in testPadding()
51279 protected final void setState(