Home
last modified time | relevance | path

Searched refs:e (Results 1 – 25 of 427) sorted by relevance

12345678910>>...18

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSimpleElementTest.java27 private SimpleElement e; field in SimpleElementTest
59 e = new SimpleElement("android.view.LinearLayout", // fqcn in setUp()
66 assertEquals("android.view.LinearLayout", e.getFqcn()); in testGetFqcn()
70 assertEquals("android.view.FrameLayout", e.getParentFqcn()); in testGetParentFqcn()
74 assertEquals(new Rect(10, 5, 60, 40), e.getBounds()); in testGetBounds()
78 assertEquals(new Rect(0, 0, 320, 480), e.getParentBounds()); in testGetParentBounds()
84 e.toString()); in testToString()
86 e.addAttribute(new SimpleAttribute("uri", "name", "value")); in testToString()
87 e.addAttribute(new SimpleAttribute("my-uri", "second-name", "my = value ")); in testToString()
93 e.toString()); in testToString()
[all …]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/
DDeviceBridge.java77 } catch (IOException e) { in isViewServerRunning()
78 e.printStackTrace(); in isViewServerRunning()
79 } catch (TimeoutException e) { in isViewServerRunning()
80 e.printStackTrace(); in isViewServerRunning()
81 } catch (AdbCommandRejectedException e) { in isViewServerRunning()
82 e.printStackTrace(); in isViewServerRunning()
83 } catch (ShellCommandUnresponsiveException e) { in isViewServerRunning()
84 e.printStackTrace(); in isViewServerRunning()
101 } catch (IOException e) { in startViewServer()
102 e.printStackTrace(); in startViewServer()
[all …]
/sdk/templates/docs/
Djquery-1.8.0.min.js2e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="t… function
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DOutlineDragListener.java43 public void dragStart(DragSourceEvent e) { in dragStart() argument
46 TreeItem overTreeItem = tree.getItem(new Point(e.x, e.y)); in dragStart()
49 e.doit = false; in dragStart()
54 e.doit = false; in dragStart()
75 e.doit = !mDragSelection.isEmpty(); in dragStart()
77 if (e.doit) { in dragStart()
91 e.detail = DND.DROP_NONE; in dragStart()
95 public void dragSetData(DragSourceEvent e) { in dragSetData() argument
96 if (TextTransfer.getInstance().isSupportedType(e.dataType)) { in dragSetData()
98 e.data = SelectionItem.getAsText(canvas, mDragSelection); in dragSetData()
[all …]
DGestureManager.java443 public void mouseMove(MouseEvent e) { in mouseMove() argument
444 mLastMouseX = e.x; in mouseMove()
445 mLastMouseY = e.y; in mouseMove()
446 mLastStateMask = e.stateMask; in mouseMove()
448 ControlPoint controlPoint = ControlPoint.create(mCanvas, e); in mouseMove()
449 if ((e.stateMask & SWT.BUTTON_MASK) != 0) { in mouseMove()
451 updateMouse(controlPoint, e); in mouseMove()
456 mCanvas.hover(e); in mouseMove()
464 public void mouseUp(MouseEvent e) { in mouseUp() argument
465 ControlPoint mousePos = ControlPoint.create(mCanvas, e); in mouseUp()
[all …]
DImageControl.java150 Point e = new Point(0, 0); in computeSize() local
154 e.x += mScale * r.width; in computeSize()
155 e.y += mScale * r.height; in computeSize()
157 e.x += r.width; in computeSize()
158 e.y += r.height; in computeSize()
162 e.x += mLeftMargin + mRightMargin; in computeSize()
164 e.x = wHint; in computeSize()
167 e.y += mTopMargin + mBottomMargin; in computeSize()
169 e.y = hHint; in computeSize()
172 return e; in computeSize()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DRulesEngine.java143 } catch (Exception e) { in callGetDisplayName()
144 AdtPlugin.log(e, "%s.getDisplayName() failed: %s", in callGetDisplayName()
146 e.toString()); in callGetDisplayName()
173 } catch (Exception e) { in callGetContextMenu()
174 AdtPlugin.log(e, "%s.getContextMenu() failed: %s", in callGetContextMenu()
176 e.toString()); in callGetContextMenu()
197 } catch (Exception e) { in callGetDefaultActionId()
198 AdtPlugin.log(e, "%s.getDefaultAction() failed: %s", in callGetDefaultActionId()
200 e.toString()); in callGetDefaultActionId()
228 } catch (Exception e) { in callAddLayoutActions()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DAndroidManifestHelper.java103 } catch (ParserConfigurationException e) { in parse()
104 AdtPlugin.logAndPrintError(e, AndroidManifestHelper.class.getCanonicalName(), in parse()
107 e.getMessage()); in parse()
108 } catch (SAXException e) { in parse()
109 AdtPlugin.logAndPrintError(e, AndroidManifestHelper.class.getCanonicalName(), in parse()
112 e.getMessage()); in parse()
113 } catch (IOException e) { in parse()
115 if (!(e instanceof FileNotFoundException)) { in parse()
116 AdtPlugin.logAndPrintError(e, AndroidManifestHelper.class.getCanonicalName(), in parse()
119 e.getMessage()); in parse()
[all …]
DExportHelper.java288 } catch (CoreException e) { in exportReleaseApk()
289 throw e; in exportReleaseApk()
290 } catch (ProguardResultException e) { in exportReleaseApk()
292 e.getErrorCode()); in exportReleaseApk()
294 AdtPlugin.printErrorToConsole(project, (Object[]) e.getOutput()); in exportReleaseApk()
296 msg, e)); in exportReleaseApk()
297 } catch (ProguardExecException e) { in exportReleaseApk()
298 String msg = String.format("Failed to run proguard: %s", e.getMessage()); in exportReleaseApk()
301 msg, e)); in exportReleaseApk()
302 } catch (DuplicateFileException e) { in exportReleaseApk()
[all …]
DLibraryClasspathContainerInitializer.java100 } catch (JavaModelException e) { in updateProjects()
219 IClasspathEntry e = cpeFile.getClasspathEntry(); in convertJarsToClasspathEntries() local
222 e.getPath(), in convertJarsToClasspathEntries()
223 e.getSourceAttachmentPath(), in convertJarsToClasspathEntries()
224 e.getSourceAttachmentRootPath(), in convertJarsToClasspathEntries()
225 e.getAccessRules(), in convertJarsToClasspathEntries()
226 e.getExtraAttributes(), in convertJarsToClasspathEntries()
258 } catch (MalformedURLException e) { in convertJarsToClasspathEntries()
259 AdtPlugin.log(e, "Failed to process 'doc' attribute for %s", in convertJarsToClasspathEntries()
265 } catch (FileNotFoundException e) { in convertJarsToClasspathEntries()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DOutlineLabelProvider.java46 Element e = (Element) element; in getImage() local
47 String tagName = e.getTagName(); in getImage()
66 Element e = (Element) element; in getText() local
67 String id = getAttributeNS(e, ANDROID_URI, ATTR_ID); in getText()
69 id = getAttributeNS(e, ANDROID_URI, ATTR_NAME); in getText()
71 id = e.getAttribute(ATTR_NAME); in getText()
73 id = getAttributeNS(e, ANDROID_URI, ATTR_TEXT); in getText()
78 id = getAttributeNS(e, ANDROID_URI, ATTR_SRC); in getText()
84 id = e.getAttribute(ATTR_LAYOUT); in getText()
110 private String getAttributeNS(Element e, String uri, String name) throws DOMException { in getAttributeNS() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DDexWrapper.java102 } catch (SecurityException e) { in loadDex()
103 return createErrorStatus(Messages.DexWrapper_SecuryEx_Unable_To_Find_API, e); in loadDex()
104 } catch (NoSuchMethodException e) { in loadDex()
105 return createErrorStatus(Messages.DexWrapper_SecuryEx_Unable_To_Find_Method, e); in loadDex()
106 } catch (NoSuchFieldException e) { in loadDex()
107 return createErrorStatus(Messages.DexWrapper_SecuryEx_Unable_To_Find_Field, e); in loadDex()
111 } catch (MalformedURLException e) { in loadDex()
114 String.format(Messages.DexWrapper_Failed_to_load_s, osFilepath), e); in loadDex()
115 } catch (ClassNotFoundException e) { in loadDex()
117 String.format(Messages.DexWrapper_Failed_to_load_s, osFilepath), e); in loadDex()
[all …]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/
DHierarchyViewer.java53 } catch (ClassNotFoundException e) { in initUserInterface()
54 e.printStackTrace(); in initUserInterface()
55 } catch (InstantiationException e) { in initUserInterface()
56 e.printStackTrace(); in initUserInterface()
57 } catch (IllegalAccessException e) { in initUserInterface()
58 e.printStackTrace(); in initUserInterface()
59 } catch (UnsupportedLookAndFeelException e) { in initUserInterface()
60 e.printStackTrace(); in initUserInterface()
68 } catch (InterruptedException e) { in listDevices()
69 e.printStackTrace(); in listDevices()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DGraphicsUtilitiesTest.java73 } catch (IllegalArgumentException e) { in testClearImageDataNull()
144 } catch (IllegalArgumentException e) { in testGetVerticalPixelsIllegalArgument()
151 } catch (IllegalArgumentException e) { in testGetVerticalPixelsIllegalArgument()
158 } catch (IllegalArgumentException e) { in testGetVerticalPixelsIllegalArgument()
165 } catch (IllegalArgumentException e) { in testGetVerticalPixelsIllegalArgument()
172 } catch (IllegalArgumentException e) { in testGetVerticalPixelsIllegalArgument()
179 } catch (IllegalArgumentException e) { in testGetVerticalPixelsIllegalArgument()
186 } catch (IllegalArgumentException e) { in testGetVerticalPixelsIllegalArgument()
194 } catch (IllegalArgumentException e) { in testGetVerticalPixelsIllegalArgument()
201 } catch (IllegalArgumentException e) { in testGetVerticalPixelsIllegalArgument()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DAndroidLaunchConfiguration.java122 } catch (CoreException e) { in set()
128 } catch (CoreException e) { in set()
135 } catch (CoreException e) { in set()
143 } catch (CoreException e) { in set()
151 } catch (CoreException e) { in set()
157 } catch (CoreException e) { in set()
164 } catch (CoreException e) { in set()
178 } catch (CoreException e) { in parseTargetMode()
187 } catch (IllegalArgumentException e) { in parseTargetMode()
DActivityLaunchAction.java76 } catch (TimeoutException e) { in doLaunchAction()
79 } catch (AdbCommandRejectedException e) { in doLaunchAction()
81 "Launch error: adb rejected command: %1$s", e.getMessage())); in doLaunchAction()
83 } catch (ShellCommandUnresponsiveException e) { in doLaunchAction()
85 AdtPlugin.log(e, "No command output when running: '%1$s' on device %2$s", command, in doLaunchAction()
87 } catch (IOException e) { in doLaunchAction()
91 String.format("Launch error: %s", e.getMessage())); in doLaunchAction()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/
DAndroidManifestWriter.java97 } catch (TransformerConfigurationException e) { in saveXmlToFile()
98 sLogger.log(Level.SEVERE, "Failed to write xml file", e); in saveXmlToFile()
100 } catch (TransformerException e) { in saveXmlToFile()
101 sLogger.log(Level.SEVERE, "Failed to write xml file", e); in saveXmlToFile()
120 } catch (ParserConfigurationException e) { in parse()
121 sLogger.log(Level.SEVERE, "Error parsing file", e); in parse()
123 } catch (SAXException e) { in parse()
124 sLogger.log(Level.SEVERE, "Error parsing file", e); in parse()
126 } catch (IOException e) { in parse()
127 sLogger.log(Level.SEVERE, "Error parsing file", e); in parse()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DProjectClassLoader.java105 } catch (CoreException e) { in findClass()
145 } catch (IOException e) { in loadFromProject()
156 } catch (UnsupportedClassVersionError e) { in loadFromProject()
163 throw e; // throw *original* exception, not attempt to rewrite in loadFromProject()
167 } catch (Exception e) { in loadFromProject()
282 } catch (ClassNotFoundException e) { in loadClassFromJar()
301 for (IClasspathEntry e : classpaths) { in getExternalJars()
302 if (e.getEntryKind() == IClasspathEntry.CPE_LIBRARY || in getExternalJars()
303 e.getEntryKind() == IClasspathEntry.CPE_VARIABLE) { in getExternalJars()
305 if (e.getEntryKind() == IClasspathEntry.CPE_VARIABLE) { in getExternalJars()
[all …]
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/
DChannel.java253 } catch (InterruptedException e) { in Channel()
254 Log.e(TAG, "MsgThread-" + mChannelName, e); in Channel()
358 } catch (IOException e) { in disconnect()
438 } catch (IOException e) { in sendMessage()
439 Loge("Exception " + e + " in sendMessage for Channel " + mChannelName); in sendMessage()
466 } catch (IOException e) { in sendMessage()
467 Loge("Exception " + e + " in sendMessage for Channel " + mChannelName); in sendMessage()
494 } catch (IOException e) { in sendMessage()
495 Loge("Exception " + e + " in sendMessage for Channel " + mChannelName); in sendMessage()
511 } catch (InterruptedException e) { in postMessage()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
DBuildPreferencePage.java169 } catch (GeneralSecurityException e) { in getFingerprints()
170 setErrorMessage(e.getMessage()); in getFingerprints()
171 } catch (IOException e) { in getFingerprints()
172 setErrorMessage(e.getMessage()); in getFingerprints()
173 } catch (KeytoolException e) { in getFingerprints()
174 setErrorMessage(e.getMessage()); in getFingerprints()
175 } catch (AndroidLocationException e) { in getFingerprints()
176 setErrorMessage(e.getMessage()); in getFingerprints()
332 } catch (GeneralSecurityException e) { in checkState()
333 handleException(e); in checkState()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DCollectTraceAction.java111 } catch (NumberFormatException e) { in connectToDevice()
124 } catch (Exception e) { in connectToDevice()
126 "Error while setting up port forwarding: " + e.getMessage()); in connectToDevice()
135 } catch (Exception e) { in connectToDevice()
137 "Error while launching application: " + e.getMessage()); in connectToDevice()
171 } catch (WorkbenchException e) { in openInEditor()
183 } catch (PartInitException e) { in openInEditor()
185 "Unexpected error while opening gltrace file in editor: " + e); in openInEditor()
209 } catch (PartInitException e) { in getOpenTraceViewer()
235 } catch (IOException e) { in startTracing()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DPostCompilerBuilder.java556 } catch (AaptExecException e) { in build()
558 e.getMessage(), IMarker.SEVERITY_ERROR); in build()
560 } catch (AaptResultException e) { in build()
562 String[] aaptOutput = e.getOutput(); in build()
598 } catch (DexException e) { in build()
599 String message = e.getMessage(); in build()
605 Throwable cause = e.getCause(); in build()
635 } catch (KeytoolException e) { in build()
636 String eMessage = e.getMessage(); in build()
646 String.format(Messages.ApkBuilder_JAVA_HOME_is_s, e.getJavaHome()), in build()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DConfigurationSelector.java137 public void verifyText(VerifyEvent e) { in verifyText() argument
139 for (int i = 0 ; i < e.text.length(); i++) { in verifyText()
140 char letter = e.text.charAt(i); in verifyText()
142 e.doit = false; in verifyText()
154 public void verifyText(VerifyEvent e) { in verifyText() argument
155 super.verifyText(e); in verifyText()
158 if (e.doit) { in verifyText()
160 if (e.text.length() - e.end + e.start + in verifyText()
161 ((Text)e.getSource()).getText().length() > 3) { in verifyText()
162 e.doit = false; in verifyText()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/
DKeySelectionPage.java112 public void widgetSelected(SelectionEvent e) { in createControl()
121 public void widgetSelected(SelectionEvent e) { in createControl()
129 public void modifyText(ModifyEvent e) { in createControl()
202 } catch (KeyStoreException e) { in onShow()
203 onException(e); in onShow()
204 } catch (FileNotFoundException e) { in onShow()
205 onException(e); in onShow()
206 } catch (NoSuchAlgorithmException e) { in onShow()
207 onException(e); in onShow()
208 } catch (CertificateException e) { in onShow()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/
DEditableDialogCellEditor.java84 public void widgetDefaultSelected(SelectionEvent e) { in createContents()
85 handleDefaultSelection(e); in createContents()
91 public void keyPressed(KeyEvent e) { in createContents()
92 keyReleaseOccured(e); in createContents()
106 public void keyTraversed(TraverseEvent e) { in createContents()
107 if (e.detail == SWT.TRAVERSE_ESCAPE in createContents()
108 || e.detail == SWT.TRAVERSE_RETURN) { in createContents()
109 e.doit = false; in createContents()
118 public void mouseUp(MouseEvent e) { in createContents()
126 public void focusLost(FocusEvent e) { in createContents()
[all …]

12345678910>>...18