Home
last modified time | relevance | path

Searched refs:stateSet (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DStateSetTest.java35 int[] stateSet = {1, 2, 3}; in testTrimStateSet() local
36 assertEquals(stateSet, StateSet.trimStateSet(stateSet, 3)); in testTrimStateSet()
38 int [] stateSet2 = StateSet.trimStateSet(stateSet, 2); in testTrimStateSet()
41 assertEquals(stateSet2[i - 1], stateSet[i - 1]); in testTrimStateSet()
46 int[] stateSet = {R.attr.state_window_focused, in testDump() local
52 String string = StateSet.dump(stateSet); in testDump()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DStateListDrawableTest.java270 protected boolean onStateChange(int[] stateSet) { in onStateChange() argument
271 boolean result = super.onStateChange(stateSet); in onStateChange()
DDrawableWrapperTest.java444 public boolean setState(final int[] stateSet) { in setState() argument
446 return super.setState(stateSet); in setState()
DScaleDrawableTest.java534 public boolean setState(final int[] stateSet) { in setState() argument
536 return super.setState(stateSet); in setState()
DLayerDrawableTest.java1525 public boolean setState(final int[] stateSet) { in setState() argument
1527 return super.setState(stateSet); in setState()