OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:StateSet
(Results
1 - 14
of
14
) sorted by null
/frameworks/base/core/java/android/util/
StateSet.java
38
public class
StateSet
{
39
/** @hide */ public
StateSet
() {}
54
* Return whether the
stateSet
matches the desired stateSpec.
58
* @param
stateSet
an array of {@link android.view.View} states
60
public static boolean stateSetMatches(int[] stateSpec, int[]
stateSet
) {
61
if (
stateSet
== null) {
65
int stateSetSize =
stateSet
.length;
82
final int state =
stateSet
[j];
/frameworks/base/core/tests/coretests/src/android/util/
StateSetTest.java
23
* Tests for {@link
StateSet
}
31
int[]
stateSet
= new int[3];
34
stateSet
[0] = 1;
35
assertTrue(
StateSet
.stateSetMatches(stateSpec,
stateSet
));
37
stateSet
[0] = 2;
38
assertFalse(
StateSet
.stateSetMatches(stateSpec,
stateSet
));
39
// Add another state to the spec which the
stateSet
doesn't match
41
assertFalse(
StateSet
.stateSetMatches(stateSpec, stateSet))
[
all
...]
/cts/tests/tests/util/src/android/util/cts/
StateSetTest.java
21
import android.util.
StateSet
;
28
* Test
StateSet
30
@TestTargetClass(
StateSet
.class)
46
int[]
stateSet
= {1, 2, 3};
47
assertEquals(
stateSet
,
StateSet
.trimStateSet(
stateSet
, 3));
49
int [] stateSet2 =
StateSet
.trimStateSet(
stateSet
, 2);
52
assertEquals(stateSet2[i - 1],
stateSet
[i - 1])
[
all
...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
ProgramState.h
421
///
StateSet
- FoldingSet containing all the states created for analyzing
423
llvm::FoldingSet<ProgramState>
StateSet
;
/prebuilt/sdk/11/
android.jar
/prebuilt/sdk/12/
android.jar
/prebuilt/sdk/13/
android.jar
/prebuilt/sdk/14/
android.jar
/prebuilt/sdk/4/
android.jar
/prebuilt/sdk/5/
android.jar
/prebuilt/sdk/6/
android.jar
/prebuilt/sdk/7/
android.jar
/prebuilt/sdk/8/
android.jar
/prebuilt/sdk/9/
android.jar
Completed in 183 milliseconds