Home
last modified time | relevance | path

Searched refs:setState (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DStateListDrawableTest.java103 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()
DDrawableWrapperTest.java444 public boolean setState(final int[] stateSet) { in setState() method in DrawableWrapperTest.MockDrawable
446 return super.setState(stateSet); in setState()
DScaleDrawableTest.java534 public boolean setState(final int[] stateSet) { in setState() method in ScaleDrawableTest.MockDrawable
536 return super.setState(stateSet); in setState()
DDrawableTest.java429 assertFalse(mockDrawable.setState(states)); in testAccessState()
432 mockDrawable.setState(null); in testAccessState()
DLayerDrawableTest.java613 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.MockDrawable
1527 return super.setState(stateSet); in setState()
DDrawableContainerTest.java332 dr.setState(new int[] { 0 }); in testOnStateChange()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothChatService.java99 private synchronized void setState(int state) { in setState() method in BluetoothChatService
125 setState(STATE_LISTEN); in start()
157 setState(STATE_CONNECTING); in connect()
196 setState(STATE_CONNECTED); in connected()
224 setState(STATE_NONE); in stop()
/cts/tests/tests/telephony/src/android/telephony/cts/
DServiceStateTest.java40 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testServiceState()
/cts/tests/tests/widget/src/android/widget/cts/
DToggleButtonTest.java103 drawable.setState(null); in testDrawableStateChanged()
DCompoundButtonTest.java177 drawable.setState(null); in testDrawableStateChanged()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackTest.java1382 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.MockAudioTrack
2282 super.setState(state); in setState()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java2935 background.setState(view.getDrawableState()); in testPadding()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex51279 protected final void setState(