Home
last modified time | relevance | path

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

12345678910>>...29

/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/chimpchat/src/com/android/chimpchat/adb/
DAdbChimpDevice.java86 } catch (IOException e) { in dispose()
87 LOG.log(Level.SEVERE, "Error getting the manager to quit", e); in dispose()
106 } catch (TimeoutException e) { in executeAsyncCommand()
107 LOG.log(Level.SEVERE, "Error starting command: " + command, e); in executeAsyncCommand()
108 throw new RuntimeException(e); in executeAsyncCommand()
109 } catch (AdbCommandRejectedException e) { in executeAsyncCommand()
110 LOG.log(Level.SEVERE, "Error starting command: " + command, e); in executeAsyncCommand()
111 throw new RuntimeException(e); in executeAsyncCommand()
112 } catch (ShellCommandUnresponsiveException e) { in executeAsyncCommand()
114 LOG.log(Level.INFO, "Error starting command: " + command, e); in executeAsyncCommand()
[all …]
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/
DPixelPerfectPixelPanel.java68 public void widgetDisposed(DisposeEvent e) {
75 public void paintControl(PaintEvent e) {
77 e.gc.setBackground(Display.getDefault().getSystemColor(SWT.COLOR_BLACK));
78 e.gc.fillRectangle(0, 0, getBounds().width, getBounds().height);
84 e.gc.setForeground(Display.getDefault().getSystemColor(SWT.COLOR_WHITE));
85 e.gc.setBackground(rgbColor);
86 e.gc.drawRectangle(4, 4, 60, 30);
87 e.gc.fillRectangle(5, 5, 59, 29);
89 e.gc.drawText("#"
94 e.gc.drawText("R:", 80, 4, true);
[all …]
DPixelPerfect.java95 public void widgetDisposed(DisposeEvent e) {
111 public void mouseDoubleClick(MouseEvent e) {
116 public void mouseDown(MouseEvent e) {
117 handleMouseEvent(e);
121 public void mouseUp(MouseEvent e) {
122 handleMouseEvent(e);
129 public void mouseMove(MouseEvent e) {
130 if (e.stateMask != 0) {
131 handleMouseEvent(e);
136 private void handleMouseEvent(MouseEvent e) { in handleMouseEvent() argument
[all …]
DPixelPerfectLoupe.java101 public void widgetDisposed(DisposeEvent e) {
114 public void mouseDoubleClick(MouseEvent e) {
119 public void mouseDown(MouseEvent e) {
120 handleMouseEvent(e);
124 public void mouseUp(MouseEvent e) {
132 public void mouseScrolled(MouseEvent e) {
136 if (e.count > 0) {
149 private void handleMouseEvent(MouseEvent e) { in handleMouseEvent() argument
158 int x = (e.x - zoomedX) / mZoom; in handleMouseEvent()
159 int y = (e.y - zoomedY) / mZoom; in handleMouseEvent()
[all …]
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
DDevice.java145 } catch (NumberFormatException e) { in processNewLines()
154 } catch (NumberFormatException e) { in processNewLines()
636 } catch (TimeoutException e) { in pushFile()
637 Log.e(LOG_TAG, "Error during Sync: timeout."); in pushFile()
638 throw e; in pushFile()
640 } catch (SyncException e) { in pushFile()
641 Log.e(LOG_TAG, String.format("Error during Sync: %1$s", e.getMessage())); in pushFile()
642 throw e; in pushFile()
644 } catch (IOException e) { in pushFile()
645 Log.e(LOG_TAG, String.format("Error during Sync: %1$s", e.getMessage())); in pushFile()
[all …]
DAndroidDebugBridge.java252 } catch (InvalidParameterException e) { in createBridge()
269 } catch (Exception e) { in createBridge()
270 Log.e(DDMS, e); in createBridge()
304 } catch (InvalidParameterException e) { in createBridge()
321 } catch (Exception e) { in createBridge()
322 Log.e(DDMS, e); in createBridge()
362 } catch (Exception e) { in disconnectBridge()
363 Log.e(DDMS, e); in disconnectBridge()
385 } catch (Exception e) { in addDebugBridgeChangeListener()
386 Log.e(DDMS, e); in addDebugBridgeChangeListener()
[all …]
DDeviceMonitor.java166 Log.e("DeviceMonitor", "Connection attempts: " + mConnectionAttempt); in deviceMonitorLoop()
170 Log.e("DeviceMonitor", in deviceMonitorLoop()
209 private void handleExpectioninMonitorLoop(Exception e) { in handleExpectioninMonitorLoop() argument
211 if (e instanceof TimeoutException) { in handleExpectioninMonitorLoop()
212 Log.e("DeviceMonitor", "Adb connection Error: timeout"); in handleExpectioninMonitorLoop()
214 Log.e("DeviceMonitor", "Adb connection Error:" + e.getMessage()); in handleExpectioninMonitorLoop()
263 } catch (IOException e) { in openAdbConnection()
285 Log.e("DeviceMonitor", "adb refused request: " + resp.message); in sendDeviceListMonitoringRequest()
289 } catch (IOException e) { in sendDeviceListMonitoringRequest()
290 Log.e("DeviceMonitor", "Sending Tracking request failed!"); in sendDeviceListMonitoringRequest()
[all …]
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/
DDeviceBridge.java146 } catch (TimeoutException e) { in setupDeviceForward()
147 Log.e(TAG, "Timeout setting up port forwarding for " + device); in setupDeviceForward()
148 } catch (AdbCommandRejectedException e) { in setupDeviceForward()
149 Log.e(TAG, String.format("Adb rejected forward command for device %1$s: %2$s", in setupDeviceForward()
150 device, e.getMessage())); in setupDeviceForward()
151 } catch (IOException e) { in setupDeviceForward()
152 Log.e(TAG, String.format("Failed to create forward for device %1$s: %2$s", in setupDeviceForward()
153 device, e.getMessage())); in setupDeviceForward()
166 } catch (TimeoutException e) { in removeDeviceForward()
167 Log.e(TAG, "Timeout removing port forwarding for " + device); in removeDeviceForward()
[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… argument
/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.java441 public void mouseMove(MouseEvent e) { in mouseMove() argument
442 mLastMouseX = e.x; in mouseMove()
443 mLastMouseY = e.y; in mouseMove()
444 mLastStateMask = e.stateMask; in mouseMove()
446 if ((e.stateMask & SWT.BUTTON_MASK) != 0) { in mouseMove()
448 ControlPoint controlPoint = ControlPoint.create(mCanvas, e); in mouseMove()
449 updateMouse(controlPoint, e); in mouseMove()
453 updateCursor(ControlPoint.create(mCanvas, e)); in mouseMove()
454 mCanvas.hover(e); in mouseMove()
461 public void mouseUp(MouseEvent e) { in mouseUp() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DRulesEngine.java142 } catch (Exception e) { in callGetDisplayName()
143 AdtPlugin.log(e, "%s.getDisplayName() failed: %s", in callGetDisplayName()
145 e.toString()); in callGetDisplayName()
172 } catch (Exception e) { in callGetContextMenu()
173 AdtPlugin.log(e, "%s.getContextMenu() failed: %s", in callGetContextMenu()
175 e.toString()); in callGetContextMenu()
196 } catch (Exception e) { in callGetDefaultActionId()
197 AdtPlugin.log(e, "%s.getDefaultAction() failed: %s", in callGetDefaultActionId()
199 e.toString()); in callGetDefaultActionId()
227 } catch (Exception e) { in callAddLayoutActions()
[all …]
/sdk/draw9patch/src/com/android/draw9patch/
DApplication.java32 } catch (ClassNotFoundException e) { in initUserInterface()
33 e.printStackTrace(); in initUserInterface()
34 } catch (InstantiationException e) { in initUserInterface()
35 e.printStackTrace(); in initUserInterface()
36 } catch (IllegalAccessException e) { in initUserInterface()
37 e.printStackTrace(); in initUserInterface()
38 } catch (UnsupportedLookAndFeelException e) { in initUserInterface()
39 e.printStackTrace(); in initUserInterface()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/
DHierarchyViewer.java49 } catch (ClassNotFoundException e) { in initUserInterface()
50 e.printStackTrace(); in initUserInterface()
51 } catch (InstantiationException e) { in initUserInterface()
52 e.printStackTrace(); in initUserInterface()
53 } catch (IllegalAccessException e) { in initUserInterface()
54 e.printStackTrace(); in initUserInterface()
55 } catch (UnsupportedLookAndFeelException e) { in initUserInterface()
56 e.printStackTrace(); in initUserInterface()
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/build/
DApkBuilder.java248 } catch (FileNotFoundException e) { in getDebugKey()
293 } catch (KeytoolException e) { in getDebugKey()
294 if (e.getJavaHome() == null) { in getDebugKey()
295 throw new ApkCreationException(e.getMessage() + in getDebugKey()
298 e.getCommandLine(), e); in getDebugKey()
300 throw new ApkCreationException(e.getMessage() + in getDebugKey()
301 "\nJAVA_HOME is set to: " + e.getJavaHome() + in getDebugKey()
303 e.getCommandLine(), e); in getDebugKey()
305 } catch (ApkCreationException e) { in getDebugKey()
306 throw e; in getDebugKey()
[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.java273 } catch (CoreException e) { in exportReleaseApk()
274 throw e; in exportReleaseApk()
275 } catch (ProguardResultException e) { in exportReleaseApk()
277 e.getErrorCode()); in exportReleaseApk()
279 AdtPlugin.printErrorToConsole(project, (Object[]) e.getOutput()); in exportReleaseApk()
281 msg, e)); in exportReleaseApk()
282 } catch (ProguardExecException e) { in exportReleaseApk()
283 String msg = String.format("Failed to run proguard: %s", e.getMessage()); in exportReleaseApk()
286 msg, e)); in exportReleaseApk()
287 } catch (DuplicateFileException e) { in exportReleaseApk()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DOutlineLabelProvider.java44 Element e = (Element) element; in getImage() local
45 String tagName = e.getTagName(); in getImage()
59 Element e = (Element) element; in getText() local
60 String id = getAttributeNS(e, ANDROID_URI, ATTR_ID); in getText()
62 id = getAttributeNS(e, ANDROID_URI, ATTR_NAME); in getText()
64 id = e.getAttribute(ATTR_NAME); in getText()
66 id = getAttributeNS(e, ANDROID_URI, ATTR_TEXT); in getText()
71 id = getAttributeNS(e, ANDROID_URI, ATTR_SRC); in getText()
77 id = e.getAttribute(ATTR_LAYOUT); in getText()
103 private String getAttributeNS(Element e, String uri, String name) throws DOMException { in getAttributeNS() argument
[all …]
/sdk/emulator/opengl/host/tools/emugen/
DApiGen.cpp74 EntryPoint *e = &at(i); in genProcTypes() local
77 e->retval().printType(fp); in genProcTypes()
78 … fprintf(fp, " (%s_APIENTRY *%s_%s_proc_t) (", basename, e->name().c_str(), sideString(side)); in genProcTypes()
80 if (e->customDecoder() && side == SERVER_SIDE) { fprintf(fp, "void *ctx"); } in genProcTypes()
82 VarsArray & evars = e->vars(); in genProcTypes()
87 …if (j != 0 || side == CLIENT_SIDE || (side == SERVER_SIDE && e->customDecoder())) fprintf(fp, ", "… in genProcTypes()
117 EntryPoint *e = &at(i); in genFuncTable() local
118 if (e->notApi()) continue; in genFuncTable()
119 fprintf(fp, "\t{\"%s\", (void*)%s},\n", e->name().c_str(), e->name().c_str()); in genFuncTable()
152 EntryPoint *e = &at(i); in genContext() local
[all …]
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/handler/
DMethodProfilingHandler.java98 } catch (Exception e) { in onSuccess()
112 } catch (IOException e) { in onSuccess()
113 String errorMsg = e.getMessage(); in onSuccess()
147 } catch (SyncException e) { in pullAndOpen()
148 if (e.wasCanceled() == false) { in pullAndOpen()
149 displayErrorFromUiThread("Unable to download trace file:\n\n%1$s", e.getMessage()); in pullAndOpen()
151 } catch (TimeoutException e) { in pullAndOpen()
186 } catch (Exception e) { in open()
187 Log.e("traceview", e); in open()
191 } catch (IOException e) { in open()
[all …]
/sdk/uiautomatorviewer/src/com/android/uiautomator/
DUiAutomatorHelper.java50 } catch (NumberFormatException e) { in supportsUiAutomator()
88 } catch (Exception e) { in getUiHierarchyFile()
89 throw new RuntimeException(e); in getUiHierarchyFile()
117 } catch (Exception e) { in takeSnapshot()
119 + e.getMessage(); in takeSnapshot()
120 throw new UiAutomatorException(msg, e); in takeSnapshot()
130 } catch (Exception e) { in takeSnapshot()
131 String msg = "Error while obtaining UI hierarchy XML file: " + e.getMessage(); in takeSnapshot()
132 throw new UiAutomatorException(msg, e); in takeSnapshot()
138 } catch (Exception e) { in takeSnapshot()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DDexWrapper.java99 } catch (SecurityException e) { in loadDex()
100 return createErrorStatus(Messages.DexWrapper_SecuryEx_Unable_To_Find_API, e); in loadDex()
101 } catch (NoSuchMethodException e) { in loadDex()
102 return createErrorStatus(Messages.DexWrapper_SecuryEx_Unable_To_Find_Method, e); in loadDex()
103 } catch (NoSuchFieldException e) { in loadDex()
104 return createErrorStatus(Messages.DexWrapper_SecuryEx_Unable_To_Find_Field, e); in loadDex()
108 } catch (MalformedURLException e) { in loadDex()
111 String.format(Messages.DexWrapper_Failed_to_load_s, osFilepath), e); in loadDex()
112 } catch (ClassNotFoundException e) { in loadDex()
114 String.format(Messages.DexWrapper_Failed_to_load_s, osFilepath), e); in loadDex()
[all …]
/sdk/common/src/com/android/io/
DFileWrapper.java92 } catch (FileNotFoundException e) { in getContents()
93 throw new StreamException(e, this, StreamException.Error.FILENOTFOUND); in getContents()
108 } catch (IOException e) { in setContents()
109 throw new StreamException(e, this); in setContents()
114 } catch (IOException e) { in setContents()
115 throw new StreamException(e, this); in setContents()
125 } catch (FileNotFoundException e) { in getOutputStream()
126 throw new StreamException(e, this); in getOutputStream()

12345678910>>...29