Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DStateListDrawableTest.java109 mMockDrawable.setState(mMockDrawable.getState()); in testOnStateChange()
114 mMockDrawable.setState(new int[] { attr.state_focused, - attr.state_selected }); in testOnStateChange()
118 mMockDrawable.setState(null); in testOnStateChange()
246 mMockDrawable.setState(new int[]{ attr.state_focused, - attr.state_pressed }); in testInflate()
248 mMockDrawable.setState(StateSet.WILD_CARD); in testInflate()
268 mMockDrawable.setState(new int[]{ - attr.state_pressed, attr.state_focused }); in testInflate()
270 mMockDrawable.setState(StateSet.WILD_CARD); in testInflate()
DAnimatedStateListDrawableTest.java134 asld.setState(STATE_EMPTY); in testOnStateChange()
137 asld.setState(STATE_FOCUSED); in testOnStateChange()
140 asld.setState(STATE_FOCUSED); in testOnStateChange()
DDrawableWrapperTest.java444 public boolean setState(final int[] stateSet) { in setState() method in DrawableWrapperTest.MockDrawable
446 return super.setState(stateSet); in setState()
DScaleDrawableTest.java557 public boolean setState(final int[] stateSet) { in setState() method in ScaleDrawableTest.MockDrawable
559 return super.setState(stateSet); in setState()
DDrawableTest.java462 assertFalse(mockDrawable.setState(states)); in testAccessState()
465 mockDrawable.setState(null); in testAccessState()
DLayerDrawableTest.java645 assertFalse(layerDrawable.setState(StateSet.WILD_CARD)); in testSetState()
656 assertTrue(layerDrawable.setState(null)); in testSetState()
667 assertTrue(layerDrawable.setState(new int[]{ in testSetState()
1628 public boolean setState(final int[] stateSet) { in setState() method in LayerDrawableTest.MockDrawable
1630 return super.setState(stateSet); in setState()
DVectorDrawableTest.java253 vectorDrawable.setState(stateSet); in verifyVectorDrawables()
DDrawableContainerTest.java372 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/apps/CtsVerifier/src/com/android/cts/verifier/usb/
DUsbAccessoryTestActivity.java225 setState(STATE_CONNECTED); in openAccessory()
227 setState(STATE_RECONNECTED); in openAccessory()
362 setState(STATE_PASSED); in handleMessage()
366 setState(STATE_WAITING_FOR_RECONNECT); in handleMessage()
458 private void setState(int newState) { in setState() method in UsbAccessoryTestActivity
DMtpHostTestActivity.java204 item.setState(ITEM_STATE_PASS); in handleMessage()
211 item.setState(ITEM_STATE_FAIL); in handleMessage()
406 void setState(int state) {
/cts/tests/tests/telephony/src/android/telephony/cts/
DServiceStateTest.java40 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testServiceState()
/cts/tests/tests/print/src/android/print/cts/
DPrintJobTest.java294 private static boolean setState(PrintJob job, int state) {
424 boolean success = setState(printJob, state1);
436 success = setState(printJob, state2);
447 success = setState(printJob, state3);
/cts/tests/tests/location/src/android/location/cts/
DGnssMeasurementTest.java50 measurement.setState(14); in setTestValues()
/cts/hostsidetests/systemui/app/src/android/systemui/cts/
DTestTileService.java77 getQsTile().setState(Tile.STATE_ACTIVE); in onStartListening()
/cts/tests/tests/widget/src/android/widget/cts/
DToggleButtonTest.java108 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()
2355 public void setState(int state) { in setState() method in AudioTrackTest.MockAudioTrack
2356 super.setState(state); in setState()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java3361 background.setState(view.getDrawableState()); in testPadding()
/cts/tools/dex-tools/dex/
Dclasses.out.dex35011 public boolean setState(
74267 public void setState(
124892 void setState(
146599 public abstract void setState(
149610 public void setState(
149657 public void setState(
Dclasses0.out.dex51279 protected final void setState(