Home
last modified time | relevance | path

Searched refs:message (Results 1 – 25 of 86) sorted by relevance

1234

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DRenderLogger.java126 public void error(String tag, String message, Object data) { in error() argument
127 String description = describe(message); in error()
132 if (tag == null && message != null in error()
133 && message.startsWith("Failed to find style ")) { //$NON-NLS-1$ in error()
141 public void error(String tag, String message, Throwable throwable, Object data) { in error() argument
142 String description = describe(message); in error()
181 public void warning(String tag, String message, Object data) { in warning() argument
182 String description = describe(message); in warning()
201 public void fidelityWarning(String tag, String message, Throwable throwable, Object data) { in fidelityWarning() argument
202 if (sIgnoredFidelityWarnings != null && sIgnoredFidelityWarnings.contains(message)) { in fidelityWarning()
[all …]
DCreateNewConfigJob.java71 String message = String.format("File 'res/%1$s/%2$s' already exists!", in run() local
73 return new Status(IStatus.ERROR, AdtPlugin.PLUGIN_ID, message); in run()
114 String message = String.format( in run()
117 AdtPlugin.displayError("Layout Creation", message); in run()
120 message, e2); in run()
122 String message = String.format( in run()
125 AdtPlugin.displayError("Layout Creation", message); in run()
DClipboardSupport.java102 String message = null; in copySelectionToClipboard() local
106 message = errorLabel.getSelectionText(); in copySelectionToClipboard()
110 if (message != null) { in copySelectionToClipboard()
112 new Object[] { message }, in copySelectionToClipboard()
121 message != null ? message : SelectionItem.getAsText(mCanvas, selection) in copySelectionToClipboard()
425 private void debugPrintf(String message, Object... params) { in debugPrintf() argument
426 if (DEBUG) AdtPlugin.printToConsole("Clipboard", String.format(message, params)); in debugPrintf()
DLintTooltip.java62 String message = marker.getAttribute(IMarker.MESSAGE, null); in createContents() local
63 if (message != null) { in createContents()
84 label.setText(String.format("%1$s: %2$s", id, message)); in createContents()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DDexException.java26 DexException(String message) { in DexException() argument
27 super(message); in DexException()
30 DexException(String message, Throwable cause) { in DexException() argument
31 super(message, cause); in DexException()
DProguardExecException.java26 ProguardExecException(String message, Throwable cause) { in ProguardExecException() argument
27 super(message, cause); in ProguardExecException()
DAaptExecException.java26 AaptExecException(String message, Throwable cause) { in AaptExecException() argument
27 super(message, cause); in AaptExecException()
DNativeLibInJarException.java32 NativeLibInJarException(JarStatus status, String message, String libName, in NativeLibInJarException() argument
34 super(message); in NativeLibInJarException()
DAaptQuickFix.java91 String message = null; in hasResolutions() local
93 message = (String) marker.getAttribute(IMarker.MESSAGE); in hasResolutions()
98 return message != null in hasResolutions()
99 && (message.contains(getTargetMarkerErrorMessage()) in hasResolutions()
100 || message.contains(getUnboundErrorMessage())); in hasResolutions()
108 String message = (String) marker.getAttribute(IMarker.MESSAGE); in getResolutions() local
109 if (message.contains(getUnboundErrorMessage()) && markerResource instanceof IFile) { in getResolutions()
180 String message = marker.getAttribute(IMarker.MESSAGE, ""); //$NON-NLS-1$ in computeQuickAssistProposals() local
181 if (message.contains(getTargetMarkerErrorMessage())) { in computeQuickAssistProposals()
194 } else if (message.contains(getUnboundErrorMessage())) { in computeQuickAssistProposals()
DAaptParser.java502 String message, String root, IProject project, String markerId, int severity) { in checkAndMark() argument
539 IRegion region = findRange((IFile) f2, line, message); in checkAndMark()
574 if (tmpMsg == null || tmpMsg.equals(message) == false) { in checkAndMark()
590 BaseProjectHelper.markResource(f2, markerId, message, line, in checkAndMark()
601 private static IRegion findRange(IFile file, int line, String message) { in findRange() argument
602 Matcher matcher = sValueRangePattern.matcher(message); in findRange()
634 matcher = sRepeatedRangePattern.matcher(message); in findRange()
640 matcher = sNoResourcePattern.matcher(message); in findRange()
646 matcher = sRequiredPattern.matcher(message); in findRange()
657 if (message.endsWith(ORIGINALLY_DEFINED_MSG)) { in findRange()
DDexWrapper.java212 private static IStatus createErrorStatus(String message, Throwable e) { in createErrorStatus() argument
213 AdtPlugin.log(e, message); in createErrorStatus()
214 AdtPlugin.printErrorToConsole(Messages.DexWrapper_Dex_Loader, message); in createErrorStatus()
216 return new Status(IStatus.ERROR, AdtPlugin.PLUGIN_ID, message, e); in createErrorStatus()
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/
DHierarchyViewerPlugin.java90 public void printLog(LogLevel logLevel, String tag, String message) { in start()
92 printToStream(errorConsoleStream, tag, message); in start()
95 printToStream(consoleStream, tag, message); in start()
101 final String message) { in start()
102 printLog(logLevel, tag, message); in start()
109 MessageDialog.openError(shell, tag, message); in start()
111 MessageDialog.openWarning(shell, tag, message); in start()
178 String message) { in printToStream() argument
182 stream.println(message); in printToStream()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/
DTestLogger.java32 String message = String.format(errorFormat, args); in error() local
34 message = t.toString() + ":" + message; //$NON-NLS-1$ in error()
36 Assert.fail(message); in error()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/
DExportWizard.java151 String message = getExceptionMessage(t); in onException() local
153 setErrorMessage(message); in onException()
253 public void err(String message) { in doExport()
254 output.add(message); in doExport()
257 public void out(String message) { in doExport()
258 output.add(message); in doExport()
318 String message = zipAlign(zipAlignPath, apkExportFile, mDestinationFile); in doExport() local
319 if (message != null) { in doExport()
320 displayError(message); in doExport()
527 String message = null; in displayError() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DTypoFix.java61 String message = mMarker.getAttribute(IMarker.MESSAGE, ""); in apply() local
62 String typo = TypoDetector.getTypo(message, TextFormat.TEXT); in apply()
66 List<String> replacements = TypoDetector.getSuggestions(message, TextFormat.TEXT); in apply()
106 String message = mMarker.getAttribute(IMarker.MESSAGE, ""); in getAllFixes() local
107 String typo = TypoDetector.getTypo(message, TextFormat.TEXT); in getAllFixes()
108 List<String> replacements = TypoDetector.getSuggestions(message, TextFormat.TEXT); in getAllFixes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DXmlErrorHandler.java123 String message = exception.getMessage(); in handleError() local
124 if (message == null) { in handleError()
125 message = "Unknown error " + exception.getClass().getCanonicalName(); in handleError()
131 message, in handleError()
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
146 marker.setAttribute(IMarker.MESSAGE, message); 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
213 marker.setAttribute(IMarker.MESSAGE, message); in markProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
DDdmsPlugin.java176 public void printLog(LogLevel logLevel, String tag, String message) { in start()
178 printToStream(errorConsoleStream, tag, message); in start()
181 printToStream(consoleStream, tag, message); in start()
187 final String message) { in start()
188 printLog(logLevel, tag, message); in start()
195 MessageDialog.openError(shell, tag, message); in start()
197 MessageDialog.openWarning(shell, tag, message); in start()
208 public void printErrorToConsole(String message) { in start()
209 printToStream(errorConsoleStream, null, message); in start()
220 public void printToConsole(String message) { in start()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/
DWelcomeWizardPage.java269 String message) { in validatePage()
270 message = message.replaceAll("\n", " "); //$NON-NLS-1$ //$NON-NLS-2$ in validatePage()
271 errorReference.set(message); in validatePage()
278 String message) { in validatePage()
279 message = message.replaceAll("\n", " "); //$NON-NLS-1$ //$NON-NLS-2$ in validatePage()
280 warningReference.set(message); in validatePage()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DPreCompilerDeltaVisitor.java331 String message = null; in visit() local
335 message = String.format(Messages.s_Modified_Recreating_s, p); in visit()
339 message = String.format(Messages.Added_s_s_Needs_Updating, p, in visit()
344 message = String.format(Messages.s_Removed_s_Needs_Updating, p, in visit()
348 if (message != null) { in visit()
350 mBuilder.getProject(), message); in visit()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAndroidPrintStream.java58 public void println(String message) { in println() argument
70 super.println(message); in println()
DAdtPlugin.java192 public abstract boolean handleError(Solution solution, String message); in handleError() argument
198 public abstract boolean handleWarning(Solution solution, String message); in handleWarning() argument
882 public final static void displayError(final String title, final String message) {
891 MessageDialog.openError(shell, title, message);
902 public final static void displayWarning(final String title, final String message) {
911 MessageDialog.openWarning(shell, title, message);
923 public final static boolean displayPrompt(final String title, final String message) {
933 result[0] = MessageDialog.openQuestion(shell, title, message);
954 String message = String.format(format, args);
955 Status status = new Status(severity, PLUGIN_ID, message);
[all …]
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/
DChannel.java77 public SdkControllerMessage(int type, byte[] message) { in SdkControllerMessage() argument
79 mMessage = message; in SdkControllerMessage()
80 mMessageSize = (message != null) ? message.length : 0; in SdkControllerMessage()
90 public SdkControllerMessage(int type, ByteBuffer message) { in SdkControllerMessage() argument
92 if (message != null) { in SdkControllerMessage()
93 mMessage = message.array(); in SdkControllerMessage()
94 mMessageSize = message.position(); in SdkControllerMessage()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DAndroidTargetData.java334 public void error(String tag, String message, Throwable throwable, in getLayoutLibrary()
336 AdtPlugin.log(throwable, message); in getLayoutLibrary()
340 public void error(String tag, String message, Object data) { in getLayoutLibrary()
341 AdtPlugin.log(IStatus.ERROR, message); in getLayoutLibrary()
345 public void warning(String tag, String message, Object data) { in getLayoutLibrary()
346 AdtPlugin.log(IStatus.WARNING, message); in getLayoutLibrary()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
DAndroidPreferencePage.java146 String message) { in doCheckState()
147 setErrorMessage(message.replaceAll("\n", " ")); //$NON-NLS-1$ //$NON-NLS-2$ in doCheckState()
154 String message) { in doCheckState()
155 showMessage(message.replaceAll("\n", " ")); //$NON-NLS-1$ //$NON-NLS-2$ in doCheckState()

1234