Home | History | Annotate | Download | only in lint

Lines Matching refs:Scope

31 import com.android.tools.lint.detector.api.Scope;
97 EnumSet<Scope> scope = null;
104 scope = Scope.ALL;
109 scope = EnumSet.of(Scope.MANIFEST);
111 scope = Scope.RESOURCE_FILE_SCOPE;
114 if (scope != null) {
115 if (!scope.contains(Scope.JAVA_FILE)) {
116 scope = EnumSet.copyOf(scope);
117 scope.add(Scope.JAVA_FILE);
120 scope = Scope.JAVA_FILE_SCOPE;
123 if (scope != null) {
124 if (!scope.contains(Scope.CLASS_FILE)) {
125 scope = EnumSet.copyOf(scope);
126 scope.add(Scope.CLASS_FILE);
129 scope = Scope.CLASS_FILE_SCOPE;
137 if (scope == null) {
138 scope = Scope.ALL;
141 assert !Scope.checkSingleFile(scope) : scope + " with " + mResources;
153 if (issue.getImplementation().isAdequate(scope)) {
163 mLint.analyze(new LintRequest(mClient, files).setScope(scope));