Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDefaultFocusHighlightTest.java91 d.setState(FOCUSED_STATE); in testStateListDrawable()
98 d.setState(FOCUSED_STATE); in testStateListDrawable()
105 d.setState(FOCUSED_STATE); in testStateListDrawable()
112 d.setState(FOCUSED_STATE); in testStateListDrawable()
120 d.setState(FOCUSED_STATE); in testStateListDrawable()
128 d.setState(FOCUSED_STATE); in testStateListDrawable()
135 d.setState(FOCUSED_STATE); in testStateListDrawable()
143 d.setState(FOCUSED_STATE); in testRippleDrawable()
151 d.setState(FOCUSED_STATE); in testPictureDrawable()
155 d.setState(FOCUSED_STATE); in testPictureDrawable()
[all …]
DStateListDrawableTest.java127 mMockDrawable.setState(mMockDrawable.getState()); in testOnStateChange()
132 mMockDrawable.setState( in testOnStateChange()
137 mMockDrawable.setState(null); in testOnStateChange()
278 mMockDrawable.setState( in testInflate()
281 mMockDrawable.setState(StateSet.WILD_CARD); in testInflate()
301 mMockDrawable.setState( in testInflate()
304 mMockDrawable.setState(StateSet.WILD_CARD); in testInflate()
DColorStateListDrawableTest.java78 mDrawable.setState(STATE_RED); in testDraw()
82 mDrawable.setState(STATE_BLUE); in testDraw()
161 mDrawable.setState(STATE_BLUE); in testSetState()
163 mDrawable.setState(STATE_RED); in testSetState()
DAnimatedStateListDrawableTest.java151 asld.setState(STATE_EMPTY); in testOnStateChange()
154 asld.setState(STATE_FOCUSED); in testOnStateChange()
157 asld.setState(STATE_FOCUSED); in testOnStateChange()
DLayerDrawableTest.java652 assertFalse(layerDrawable.setState(StateSet.WILD_CARD)); in testSetState()
663 assertTrue(layerDrawable.setState(null)); in testSetState()
674 assertTrue(layerDrawable.setState(new int[]{ in testSetState()
1614 public boolean setState(final int[] stateSet) { in setState() method in LayerDrawableTest.MockDrawable
1616 return super.setState(stateSet); in setState()
DDrawableTest.java589 assertFalse(mockDrawable.setState(states)); in testAccessState()
592 mockDrawable.setState(null); in testAccessState()
DVectorDrawableTest.java259 vectorDrawable.setState(stateSet); in verifyVectorDrawables()
DDrawableContainerTest.java408 dr.setState(new int[] { 0 }); in testOnStateChange()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothChatService.java118 private synchronized void setState(int state) { in setState() method in BluetoothChatService
144 setState(STATE_LISTEN); in start()
211 setState(STATE_CONNECTING); in connect()
250 setState(STATE_CONNECTED); in connected()
278 setState(STATE_NONE); in stop()
/cts/tests/tests/print/src/android/print/cts/
DPrintJobStateTransitionsTest.java152 private static boolean setState(PrintJob job, int state) {
326 boolean success = setState(printJob, mState1);
338 success = setState(printJob, mState2);
349 success = setState(printJob, mState3);
/cts/tests/tests/media/src/android/media/cts/
DPlaybackStateTest.java84 .setState(PlaybackState.STATE_PLAYING, TEST_POSITION, TEST_PLAYBACK_SPEED) in testBuilder_setterMethods()
105 PlaybackState state = new PlaybackState.Builder().setState( in testBuilder_setStateWithUpdateTime()
177 new PlaybackState.Builder().setState(PlaybackState.STATE_CONNECTING, TEST_POSITION, in testWriteToParcel()
DMediaSessionManagerTest.java168 .setState(PlaybackState.STATE_PLAYING, 0, 1.0f).build(); in testSetOnMediaKeyListener()
235 .setState(PlaybackState.STATE_PLAYING, 0, 1.0f).build(); in testRemoteUserInfo()
DAudioTrackTest.java1496 track.setState(AudioTrack.STATE_NO_STATIC_DATA); in testAudioTrackProperties()
1498 track.setState(AudioTrack.STATE_UNINITIALIZED); in testAudioTrackProperties()
2686 public void setState(int state) { in setState() method in AudioTrackTest.MockAudioTrack
2687 super.setState(state); in setState()
DMediaControllerTest.java89 .setState(testState, testPosition, testSpeed) in testGetPlaybackState()
DMediaSessionTest.java470 .setState(state, 0L, 0.0f).build(); in setPlaybackState()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/mtp/
DMtpHostTestActivity.java216 item.setState(ITEM_STATE_PASS); in handleMessage()
223 item.setState(ITEM_STATE_FAIL); in handleMessage()
427 void setState(int state) {
/cts/tests/tests/location/src/android/location/cts/
DGnssMeasurementTest.java51 measurement.setState(14); in setTestValues()
/cts/hostsidetests/systemui/app/src/android/systemui/cts/
DTestTileService.java79 super.getQsTile().setState(Tile.STATE_ACTIVE); in onStartListening()
/cts/tests/tests/widget/src/android/widget/cts/
DToggleButtonTest.java138 drawable.setState(null); in testDrawableStateChanged()
DCompoundButtonTest.java202 drawable.setState(null); in testDrawableStateChanged()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DServiceStateTest.java83 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testSetState()
/cts/tools/release-parser/tests/resources/
DShell.apk.pb.txt2244 name: "setState"
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java3821 background.setState(view.getDrawableState()); in testPadding()