/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/ |
D | Perspective.java | 38 public void createInitialLayout(IPageLayout layout) { in createInitialLayout() argument 42 layout.setEditorAreaVisible(false); in createInitialLayout() 44 String editorArea = layout.getEditorArea(); in createInitialLayout() 47 folder = layout.createFolder("logcat", IPageLayout.BOTTOM, 0.8f, //$NON-NLS-1$ in createInitialLayout() 52 folder = layout.createFolder("devices", IPageLayout.LEFT, 0.3f, //$NON-NLS-1$ in createInitialLayout() 57 folder = layout.createFolder("ddms-detail", IPageLayout.RIGHT, 0.5f, //$NON-NLS-1$ in createInitialLayout() 68 layout.addPerspectiveShortcut("org.eclipse.ui.resourcePerspective"); //$NON-NLS-1$ in createInitialLayout() 69 layout.addPerspectiveShortcut("org.eclipse.debug.ui.DebugPerspective"); //$NON-NLS-1$ in createInitialLayout() 70 layout.addPerspectiveShortcut("org.eclipse.jdt.ui.JavaPerspective"); //$NON-NLS-1$ in createInitialLayout() 72 layout.addShowViewShortcut(DeviceView.ID); in createInitialLayout() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/ |
D | TreeViewPerspective.java | 35 public void createInitialLayout(IPageLayout layout) { in createInitialLayout() argument 36 layout.setEditorAreaVisible(false); in createInitialLayout() 38 String editorArea = layout.getEditorArea(); in createInitialLayout() 41 … folder = layout.createFolder("properties", IPageLayout.LEFT, 0.10f, editorArea); //$NON-NLS-1$ in createInitialLayout() 45 …folder = layout.createFolder("main", IPageLayout.RIGHT, 0.24f, "properties"); //$NON-NLS-1$ //$NON… in createInitialLayout() 48 …folder = layout.createFolder("panel-top", IPageLayout.RIGHT, 0.7f, "main"); //$NON-NLS-1$ //$NON-N… in createInitialLayout() 52 …folder = layout.createFolder("panel-bottom", IPageLayout.BOTTOM, 0.5f, "panel-top"); //$NON-NLS-1$… in createInitialLayout() 55 layout.addShowViewShortcut(DeviceSelectorView.ID); in createInitialLayout() 56 layout.addShowViewShortcut(PropertyView.ID); in createInitialLayout() 57 layout.addShowViewShortcut(TreeOverviewView.ID); in createInitialLayout() [all …]
|
D | PixelPerfectPespective.java | 35 public void createInitialLayout(IPageLayout layout) { in createInitialLayout() argument 36 layout.setEditorAreaVisible(false); in createInitialLayout() 38 String editorArea = layout.getEditorArea(); in createInitialLayout() 41 folder = layout.createFolder("tree", IPageLayout.LEFT, 0.25f, editorArea); //$NON-NLS-1$ in createInitialLayout() 45 folder = layout.createFolder("overview", IPageLayout.RIGHT, 0.4f, editorArea); //$NON-NLS-1$ in createInitialLayout() 48 folder = layout.createFolder("main", IPageLayout.RIGHT, 0.35f, editorArea); //$NON-NLS-1$ in createInitialLayout() 52 layout.addShowViewShortcut(DeviceSelectorView.ID); in createInitialLayout() 53 layout.addShowViewShortcut(PixelPerfectTreeView.ID); in createInitialLayout() 54 layout.addShowViewShortcut(PixelPerfectLoupeView.ID); in createInitialLayout() 55 layout.addShowViewShortcut(PixelPerfectView.ID); in createInitialLayout() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/relative/ |
D | DeletionHandlerTest.java | 16 package com.android.ide.common.layout.relative; 22 import com.android.ide.common.layout.BaseViewRule; 23 import com.android.ide.common.layout.TestNode; 72 INode layout = button2.getParent(); in testSimple() local 75 assertSame(layout, targetNode); in testSimple() 76 layout.removeChild(button2); in testSimple() 78 DeletionHandler handler = new DeletionHandler(deletedNodes, movedNodes, layout); in testSimple() 204 INode layout = button7.getParent(); in testTransitive() local 207 assertSame(layout, targetNode); in testTransitive() 208 layout.removeChild(button7); in testTransitive() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | ExplodeRenderingHelperTest.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout; 42 MockXmlNode layout = createLinearLayout(true /*horizontal*/, in testSingleHorizontalLinearLayout() local 45 ExplodedRenderingHelper helper = new ExplodedRenderingHelper(layout, mLayoutNames); in testSingleHorizontalLinearLayout() 53 MockXmlNode layout = createLinearLayout(false /*horizontal*/, in testSingleVerticalLinearLayout() local 56 ExplodedRenderingHelper helper = new ExplodedRenderingHelper(layout, mLayoutNames); in testSingleVerticalLinearLayout() 69 MockXmlNode layout = createLinearLayout(false /*horizontal*/, in testEmbeddedLinearLayouts() local 77 ExplodedRenderingHelper helper = new ExplodedRenderingHelper(layout, mLayoutNames); in testEmbeddedLinearLayouts() 89 MockXmlNode layout = createRelativeLayout( in testSimpleRelativeLayoutWithOneLinearLayouts() local 95 ExplodedRenderingHelper helper = new ExplodedRenderingHelper(layout, mLayoutNames); in testSimpleRelativeLayoutWithOneLinearLayouts() 126 MockXmlNode layout = createRelativeLayout(new MockXmlNode[] { linear1, linear2 } ); in RelativeLayoutWithVerticalLinearLayouts() local [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | FragmentMenu.java | 16 package com.android.ide.eclipse.adt.internal.editors.layout.gle2; 23 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutMetadata.KEY_FRAGMENT_… 28 import com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditorDelegate; 29 import com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode; 143 String layout; in addMenuItems() local 147 layout = ANDROID_LAYOUT_RESOURCE_PREFIX + title; in addMenuItems() 149 layout = LAYOUT_RESOURCE_PREFIX + title; in addMenuItems() 152 layouts.add(Pair.of(title, layout)); in addMenuItems() 162 for (Pair<String, String> layout : layouts) { in addMenuItems() 163 action = new SetFragmentLayoutAction(layout.getFirst(), in addMenuItems() [all …]
|
D | LayoutMetadata.java | 16 package com.android.ide.eclipse.adt.internal.editors.layout.gle2; 35 import com.android.ide.eclipse.adt.internal.editors.layout.ProjectCallback; 36 import com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode; 285 private static String stripLayoutPrefix(String layout) { in stripLayoutPrefix() argument 286 if (layout.startsWith(ANDROID_LAYOUT_RESOURCE_PREFIX)) { in stripLayoutPrefix() 287 layout = layout.substring(ANDROID_LAYOUT_RESOURCE_PREFIX.length()); in stripLayoutPrefix() 288 } else if (layout.startsWith(LAYOUT_RESOURCE_PREFIX)) { in stripLayoutPrefix() 289 layout = layout.substring(LAYOUT_RESOURCE_PREFIX.length()); in stripLayoutPrefix() 292 return layout; in stripLayoutPrefix() 309 String layout = map.get(KEY_LV_ITEM); in getNodeBinding() local [all …]
|
D | ListViewTypeMenu.java | 16 package com.android.ide.eclipse.adt.internal.editors.layout.gle2; 19 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutMetadata.KEY_LV_FOOTER; 20 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutMetadata.KEY_LV_HEADER; 21 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutMetadata.KEY_LV_ITEM; 26 import com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditorDelegate; 27 import com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode; 137 public SetListTypeAction(String title, String layout, String selected) { in SetListTypeAction() argument 139 mLayout = layout; in SetListTypeAction() 141 if (layout.equals(selected)) { in SetListTypeAction() 187 String layout = null; in getSelectedLayout() local [all …]
|
D | AccordionControl.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.gle2; 35 import org.eclipse.swt.layout.GridData; 36 import org.eclipse.swt.layout.GridLayout; 37 import org.eclipse.swt.layout.RowLayout; 88 RowLayout layout = new RowLayout(SWT.HORIZONTAL); in createChildContainer() local 89 layout.center = true; in createChildContainer() 90 composite.setLayout(layout); in createChildContainer() 92 RowLayout layout = new RowLayout(SWT.VERTICAL); in createChildContainer() local 93 layout.spacing = ITEM_SPACING; in createChildContainer() 94 layout.marginHeight = 0; in createChildContainer() [all …]
|
D | LintTooltip.java | 16 package com.android.ide.eclipse.adt.internal.editors.layout.gle2; 20 import com.android.ide.common.layout.BaseLayoutRule; 21 import com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditorDelegate; 22 import com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode; 27 import org.eclipse.swt.layout.GridData; 28 import org.eclipse.swt.layout.GridLayout;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | ChangeLayoutRefactoring.java | 16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring; 47 import com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditorDelegate; 48 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 49 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo; 50 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities; 51 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutCanvas; 52 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.ViewHierarchy; 236 Element layout = getPrimaryElement(); in computeChanges() local 237 String oldName = layout.getNodeName(); in computeChanges() 249 String oldId = getId(layout); in computeChanges() [all …]
|
D | RelativeLayoutConversionHelper.java | 16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring; 53 import static com.android.ide.common.layout.GravityHelper.GRAVITY_BOTTOM; 54 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_HORIZ; 55 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_VERT; 56 import static com.android.ide.common.layout.GravityHelper.GRAVITY_FILL_HORIZ; 57 import static com.android.ide.common.layout.GravityHelper.GRAVITY_FILL_VERT; 58 import static com.android.ide.common.layout.GravityHelper.GRAVITY_LEFT; 59 import static com.android.ide.common.layout.GravityHelper.GRAVITY_RIGHT; 60 import static com.android.ide.common.layout.GravityHelper.GRAVITY_TOP; 61 import static com.android.ide.common.layout.GravityHelper.GRAVITY_VERT_MASK; [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
D | GravityHelperTest.java | 16 package com.android.ide.common.layout; 18 import static com.android.ide.common.layout.GravityHelper.GRAVITY_BOTTOM; 19 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_HORIZ; 20 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_VERT; 21 import static com.android.ide.common.layout.GravityHelper.GRAVITY_END; 22 import static com.android.ide.common.layout.GravityHelper.GRAVITY_FILL_HORIZ; 23 import static com.android.ide.common.layout.GravityHelper.GRAVITY_FILL_VERT; 24 import static com.android.ide.common.layout.GravityHelper.GRAVITY_LEFT; 25 import static com.android.ide.common.layout.GravityHelper.GRAVITY_RIGHT; 26 import static com.android.ide.common.layout.GravityHelper.GRAVITY_START; [all …]
|
D | FrameLayoutRuleTest.java | 17 package com.android.ide.common.layout; 28 INode layout = TestNode.create("android.widget.FrameLayout").id("@+id/FrameLayout01") in dragInto() local 39 super.dragInto(new FrameLayoutRule(), layout, dragBounds, dragPoint, null, in dragInto()
|
D | ZoomControlsRuleTest.java | 17 package com.android.ide.common.layout; 32 INode layout = TestNode.create("android.widget.ZoomControls").id("@+id/ZoomControls01") in testDoNothing() local 46 DropFeedback feedback = rule.onDropEnter(layout, null/*targetView*/, elements); in testDoNothing()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
D | GridMatch.java | 16 package com.android.ide.common.layout.grid; 18 import static com.android.ide.common.layout.grid.GridModel.UNDEFINED; 88 public String getDisplayName(INode layout) { in getDisplayName() argument 104 return String.format("Align left at x=%1$d", matchedLine - layout.getBounds().x); in getDisplayName() 109 return String.format("Align right at x=%1$d", matchedLine - layout.getBounds().x); in getDisplayName() 120 return String.format("Align top at y=%1d", matchedLine - layout.getBounds().y); in getDisplayName() 125 return String.format("Align bottom at y=%1d", matchedLine - layout.getBounds().y); in getDisplayName()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
D | GLTracePerspective.java | 33 public void createInitialLayout(IPageLayout layout) { in createInitialLayout() argument 40 IFolderLayout column2 = layout.createFolder(STATE_FOLDER_ID, IPageLayout.RIGHT, 0.65f, in createInitialLayout() 41 layout.getEditorArea()); in createInitialLayout() 45 IFolderLayout column3 = layout.createFolder(FB_FOLDER_ID, IPageLayout.RIGHT, 0.6f, in createInitialLayout() 50 IFolderLayout column3bottom = layout.createFolder(TEXTURE_VIEW_FOLDER_ID, in createInitialLayout()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/views/ |
D | TreeViewView.java | 34 import org.eclipse.swt.layout.FillLayout; 35 import org.eclipse.swt.layout.GridData; 36 import org.eclipse.swt.layout.GridLayout; 50 GridLayout layout = new GridLayout(); in createPartControl() local 51 layout.marginWidth = layout.marginHeight = 0; in createPartControl() 52 layout.horizontalSpacing = layout.verticalSpacing = 0; in createPartControl() 53 parent.setLayout(layout); in createPartControl()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | ResizeState.java | 17 package com.android.ide.common.layout; 42 public final INode layout; field in ResizeState 94 ResizeState(BaseLayoutRule rule, INode layout, Object layoutView, INode node) { in ResizeState() argument 97 this.layout = layout; in ResizeState()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | NodeFactory.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.gre; 20 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo; 21 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutCanvas; 22 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SwtUtils; 23 import com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ |
D | ProjectSelectionPage.java | 42 import org.eclipse.swt.layout.GridData; 43 import org.eclipse.swt.layout.GridLayout; 89 GridLayout layout = new GridLayout(); in createControl() local 90 layout.numColumns = 2; in createControl() 91 layout.marginWidth = 0; in createControl() 92 layout.makeColumnsEqualWidth = false; in createControl() 93 listComposite.setLayout(layout); in createControl() 139 GridLayout layout = new GridLayout(); in createSelectionButtons() local 140 layout.marginWidth = 0; in createSelectionButtons() 141 layout.marginHeight = 0; in createSelectionButtons() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
D | ConfigurationMenuListener.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.configuration; 19 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderPreviewMode.CUSTOM; 20 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderPreviewMode.DEFAULT; 21 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderPreviewMode.INCLUDES; 22 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderPreviewMode.LOCALES; 23 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderPreviewMode.NONE; 24 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderPreviewMode.SCREENS; 25 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderPreviewMode.VARIATIONS; 34 import com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditorDelegate; 35 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.IncludeFinder; [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
D | EmulatorConfigTab.java | 54 import org.eclipse.swt.layout.GridData; 55 import org.eclipse.swt.layout.GridLayout; 169 GridLayout layout; in createControl() local 176 layout = new GridLayout(); in createControl() 177 layout.numColumns = 1; in createControl() 178 targetModeGroup.setLayout(layout); in createControl() 190 layout = new GridLayout(1, false); in createControl() 191 layout.marginRight = layout.marginHeight = 0; in createControl() 192 layout.marginLeft = 30; in createControl() 193 deviceTypeOffsetComp.setLayout(layout); in createControl() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | MockNodeProxy.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.gre; 19 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 20 import com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
D | completionvalues2-expected-completion70.txt | 1 Code completion in completionvalues2.xml for <item name="main_layout4" type="layout">^</item>: 3 @layout/
|