Home
last modified time | relevance | path

Searched refs:stateSetMatches (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
DStateSetTest.java35 assertTrue(StateSet.stateSetMatches(stateSpec, stateSet)); in testStateSetPositiveMatches()
38 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStateSetPositiveMatches()
41 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStateSetPositiveMatches()
44 assertTrue(StateSet.stateSetMatches(stateSpec, stateSet)); in testStateSetPositiveMatches()
47 assertTrue(StateSet.stateSetMatches(stateSpec, stateSet)); in testStateSetPositiveMatches()
59 assertTrue(StateSet.stateSetMatches(stateSpec, stateSet)); in testStatesSetMatchMixEmUp()
62 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStatesSetMatchMixEmUp()
66 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStatesSetMatchMixEmUp()
69 assertTrue(StateSet.stateSetMatches(stateSpec, stateSet)); in testStatesSetMatchMixEmUp()
79 assertTrue(StateSet.stateSetMatches(stateSpec, stateSet)); in testStateSetNegativeMatches()
[all …]
/frameworks/base/core/java/android/util/
DStateSet.java60 public static boolean stateSetMatches(int[] stateSpec, int[] stateSet) { in stateSetMatches() method in StateSet
120 public static boolean stateSetMatches(int[] stateSpec, int state) { in stateSetMatches() method in StateSet
/frameworks/base/core/tests/coretests/src/android/animation/
DStateListAnimatorTest.java98 StateSet.stateSetMatches(tuple2.getSpecs(), in testStateListLoading()
/frameworks/base/core/java/android/animation/
DStateListAnimator.java136 if (StateSet.stateSetMatches(tuple.mSpecs, state)) { in setState()
/frameworks/base/graphics/java/android/graphics/drawable/
DStateListDrawable.java299 if (StateSet.stateSetMatches(stateSets[i], stateSet)) { in indexOfStateSet()
/frameworks/base/core/java/android/content/res/
DColorStateList.java300 if (StateSet.stateSetMatches(stateSpec, stateSet)) { in getColorForState()
/frameworks/base/api/
Dcurrent.txt31702 method public static boolean stateSetMatches(int[], int[]);
31703 method public static boolean stateSetMatches(int[], int);