Home
last modified time | relevance | path

Searched refs:severity (Results 1 – 20 of 20) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DGlobalLintConfiguration.java70 Severity severity = Severity.valueOf(s[1]); in getSeverity() local
71 if (severity != null) { in getSeverity()
72 mSeverities.put(d, severity); in getSeverity()
80 Severity severity = mSeverities.get(issue); in getSeverity() local
81 if (severity != null) { in getSeverity()
82 return severity; in getSeverity()
106 public void setSeverity(@NonNull Issue issue, @Nullable Severity severity) { in setSeverity() argument
112 if (severity == null) { in setSeverity()
115 mSeverities.put(issue, severity); in setSeverity()
139 Severity severity = severities.get(issue); in setSeverities() local
[all …]
DProjectLintConfiguration.java84 Severity severity = super.getSeverity(issue); in getSeverity() local
85 if (mFatalOnly && severity != Severity.FATAL) { in getSeverity()
88 return severity; in getSeverity()
DLintColumn.java181 int severity = marker.getAttribute(IMarker.SEVERITY, 0); in getImage() local
183 switch (severity) { in getImage()
203 int severity = marker.getAttribute(IMarker.SEVERITY, 0); in getFont() local
204 if (severity == IMarker.SEVERITY_ERROR) { in getFont()
DEclipseLintClient.java198 public void log(@NonNull Severity severity, @Nullable Throwable exception, in log() argument
383 int severity = getMarkerSeverity(s);
392 message, 0, severity);
405 message, line, startOffset, endOffset, severity);
412 message, 0, severity);
444 if (prevSeverity < severity) {
547 private static int getMarkerSeverity(Severity severity) {
548 switch (severity) {
DLintList.java279 int severity = marker.getAttribute(IMarker.SEVERITY, 0); in getMarkers() local
280 if (severity == IMarker.SEVERITY_ERROR) { in getMarkers()
282 } else if (severity == IMarker.SEVERITY_WARNING) { in getMarkers()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
DLintPreferencePage.java243 Severity severity = mConfiguration.getSeverity(issue); in createContents() local
244 mSeverities.put(issue, severity); in createContents()
327 Severity severity = mConfiguration.getSeverity(issue); in loadSettings() local
328 mSeverities.put(issue, severity); in loadSettings()
353 Severity severity = entry.getValue(); in storeSettings() local
354 if (mConfiguration.getSeverity(issue) != severity) { in storeSettings()
355 if ((severity == issue.getDefaultSeverity()) && issue.isEnabledByDefault()) { in storeSettings()
356 severity = null; in storeSettings()
358 mConfiguration.setSeverity(issue, severity); in storeSettings()
464 Severity severity = getSeverity(issue); in widgetSelected() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DBaseProjectHelper.java118 String message, int lineNumber, int severity) { in markResource() argument
119 return markResource(resource, markerId, message, lineNumber, -1, -1, severity); in markResource()
139 String message, int lineNumber, int startOffset, int endOffset, int severity) { in markResource() argument
147 marker.setAttribute(IMarker.SEVERITY, severity); in markResource()
189 String message, int severity) { in markResource() argument
190 return markResource(resource, markerId, message, -1, severity); in markResource()
207 String message, int severity, int priority) throws CoreException { in markProject() argument
214 marker.setAttribute(IMarker.SEVERITY, severity); in markProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLintOverlay.java110 int severity = marker.getAttribute(IMarker.SEVERITY, 0); in paint() local
111 isError = severity == IMarker.SEVERITY_ERROR; in paint()
DRenderLogger.java315 private void appendToIdeLog(Throwable throwable, int severity, String description) { in appendToIdeLog() argument
321 AdtPlugin.log(severity, "%1$s: %2$s", mName, description); in appendToIdeLog()
DIncludeFinder.java831 final int severity = IMarker.SEVERITY_ERROR; in addError() local
845 if (tmpSeverity != severity) { in addError()
875 severity); in addError()
DGraphicalEditorPart.java2122 int severity = marker.getAttribute(IMarker.SEVERITY, -1); in displayLoggerProblems() local
2123 if (severity == IMarker.SEVERITY_ERROR) { in displayLoggerProblems()
2127 int severity = marker.getAttribute(IMarker.SEVERITY, -1); in displayLoggerProblems() local
2128 if (severity == IMarker.SEVERITY_ERROR) { in displayLoggerProblems()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DBaseBuilder.java209 protected final IMarker markProject(String markerId, String message, int severity) { in markProject() argument
210 return BaseProjectHelper.markResource(getProject(), markerId, message, severity); in markProject()
372 int severity = marker.getAttribute(IMarker.SEVERITY, -1 /*defaultValue*/); in stopOnMarker() local
373 if (severity == IMarker.SEVERITY_ERROR) { in stopOnMarker()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/uimodel/
DUiViewElementNode.java179 int severity = marker.getAttribute(IMarker.SEVERITY, 0); in getIcon() local
180 if (severity == IMarker.SEVERITY_ERROR) { in getIcon()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/lint/
DProjectLintConfigurationTest.java193 @NonNull Severity severity, @Nullable Location location,
198 public void log(@NonNull Severity severity, @Nullable Throwable exception,
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAaptParser.java502 String message, String root, IProject project, String markerId, int severity) { in checkAndMark() argument
569 if (tmpSeverity != severity) { in checkAndMark()
591 startOffset, endOffset, severity); in checkAndMark()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DNewProjectPage.java907 int severity = status != null ? status.getSeverity() : IStatus.OK; in updateDecorator() local
908 setDecoratorType(decorator, severity); in updateDecorator()
918 private void setDecoratorType(ControlDecoration decorator, int severity) { in setDecoratorType() argument
920 if (severity == IStatus.ERROR) { in setDecoratorType()
922 } else if (severity == IStatus.WARNING) { in setDecoratorType()
DNewTemplatePage.java702 int severity = status != null ? status.getSeverity() : IStatus.OK; in updateDecorator() local
704 if (severity == IStatus.ERROR) { in updateDecorator()
706 } else if (severity == IStatus.WARNING) { in updateDecorator()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtPlugin.java949 public static void log(int severity, String format, Object ... args) {
955 Status status = new Status(severity, PLUGIN_ID, message);
962 (severity < IStatus.ERROR ? System.out : System.err).println(status.toString());
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateHandlerTest.java768 @NonNull Issue issue, @NonNull Severity severity, in ensureNoLintWarnings()
818 public void log(@NonNull Severity severity, @Nullable Throwable exception, in ensureNoLintWarnings()
/sdk/eclipse/
Dchanges.txt158 severity.