Home | History | Annotate | Download | only in ddms

Lines Matching refs:Shell

95 import org.eclipse.swt.widgets.Shell;
265 private Shell mExplorerShell = null;
321 public HProfHandler(Shell parentShell) {
447 final Shell shell = new Shell(mDisplay);
452 shell.setImage(ImageLoader.getLoader(this.getClass()).loadImage(mDisplay,
463 Shell activeShell = mDisplay.getActiveShell();
479 ClientData.setHprofDumpHandler(new HProfHandler(shell));
480 ClientData.setMethodProfilingHandler(new MethodProfilingHandler(shell));
505 shell.setText("Dalvik Debug Monitor");
506 setConfirmClose(shell);
507 createMenus(shell);
508 createWidgets(shell);
510 shell.pack();
511 setSizeAndPosition(shell);
512 shell.open();
516 while (!shell.isDisposed()) {
541 private void setSizeAndPosition(final Shell shell) {
542 shell.setMinimumSize(400, 200);
580 shell.setBounds(x, y, w, h);
583 shell.addControlListener(new ControlListener() {
586 Rectangle controlBounds = shell.getBounds();
595 Rectangle controlBounds = shell.getBounds();
609 private void setExplorerSizeAndPosition(final Shell shell) {
610 shell.setMinimumSize(400, 200);
648 shell.setBounds(x, y, w, h);
651 shell.addControlListener(new ControlListener() {
654 Rectangle controlBounds = shell.getBounds();
663 Rectangle controlBounds = shell.getBounds();
675 private void setConfirmClose(final Shell shell) {
684 private void createMenus(final Shell shell) {
686 Menu menuBar = new Menu(shell, SWT.BAR);
716 StaticPortConfigDialog dlg = new StaticPortConfigDialog(shell);
728 PrefsDialog.run(shell);
732 AboutDialog dlg = new AboutDialog(shell);
746 shell.close();
829 ScreenShotDialog dlg = new ScreenShotDialog(shell);
854 dlg = new DeviceCommandDialog("ps -x", "ps-x.txt", shell);
866 "device-state.txt", shell);
878 dlg = new DeviceCommandDialog("dumpsys", "app-state.txt", shell);
893 "radio-state.txt", shell);
905 shell);
925 // tell the shell to use this menu
926 shell.setMenuBar(menuBar);
934 private void createWidgets(final Shell shell) {
935 Color darkGray = shell.getDisplay().getSystemColor(SWT.COLOR_DARK_GRAY);
940 shell.setLayout(new GridLayout(1, false));
943 final Composite panelArea = new Composite(shell, SWT.BORDER);
949 mStatusLine = new Label(shell, SWT.NONE);
1491 mExplorerShell = new Shell(mDisplay);