/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | DialerFilterRule.java | 49 INode primary = node.appendChild(FQCN_EDIT_TEXT); in onCreate() local 50 primary.setAttribute(ANDROID_URI, ATTR_TEXT, "Primary"); in onCreate() 51 primary.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/primary"); //$NON-NLS-1$ in onCreate() 52 primary.setAttribute(ANDROID_URI, ATTR_LAYOUT_BELOW, in onCreate() 54 primary.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent); in onCreate()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | XmlPropertyComposite.java | 40 public XmlPropertyComposite(XmlProperty primary, XmlProperty[] properties) { in XmlPropertyComposite() argument 42 primary.getEditor(), in XmlPropertyComposite() 43 primary.getFactory(), in XmlPropertyComposite() 44 primary.getNode(), in XmlPropertyComposite() 45 primary.getDescriptor()); in XmlPropertyComposite()
|
D | XmlPropertyEditor.java | 397 NodeProxy primary = canvas.getNodeFactory().create(xmlProperty.getNode()); in openDialog() local 398 if (primary != null) { in openDialog() 399 RenameResult result = manager.performRename(primary, null); in openDialog()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | SelectionItem.java | 186 @Nullable SelectionItem primary) { in getAsElements() argument 189 if (primary != null) { in getAsElements() 190 CanvasViewInfo vi = primary.getViewInfo(); in getAsElements() 192 e.setSelectionItem(primary); in getAsElements() 197 if (cs == primary) { in getAsElements()
|
D | SelectionManager.java | 1131 NodeProxy primary = selections.get(0).getNode(); in performDefaultAction() local 1132 if (primary != null) { in performDefaultAction() 1134 final String id = rulesEngine.callGetDefaultActionId(primary); in performDefaultAction() 1138 final List<RuleAction> actions = rulesEngine.callGetContextMenu(primary); in performDefaultAction() 1186 NodeProxy primary = selections.get(0).getNode(); in performRename() local 1187 if (primary != null) { in performRename() 1188 performRename(primary, selections); in performRename() 1204 final @NonNull INode primary, in performRename() argument 1206 String id = primary.getStringAttr(ANDROID_URI, ATTR_ID); in performRename() 1218 String currentId = primary.getStringAttr(ANDROID_URI, ATTR_ID); in performRename() [all …]
|
D | GestureManager.java | 747 SelectionItem primary = null; in dragStart() local 755 primary = cs; in dragStart() 764 primary = selectionManager.selectSingle(vi); in dragStart() 785 } else if (cs == primary) { in dragStart() 786 primary = null; in dragStart() 797 primary = selectionManager.selectSingle(vi); in dragStart() 807 mDragElements = SelectionItem.getAsElements(mDragSelection, primary); in dragStart()
|
D | SimpleElement.java | 165 static SimpleElement findPrimary(SimpleElement[] elements, SelectionItem primary) { in findPrimary() argument 170 if (elements.length == 1 || primary == null) { in findPrimary() 175 if (element.getSelectionItem() == primary) { in findPrimary()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | WrapInRefactoring.java | 236 Element primary = getPrimaryElement(); in computeChanges() local 237 if (primary != null && getDomDocument().getDocumentElement() == primary) { in computeChanges() 240 List<Attr> declarations = findNamespaceAttributes(primary); in computeChanges() 332 if (primary != null) { in computeChanges() 333 List<Attr> layoutAttributes = findLayoutAttributes(primary); in computeChanges() 410 Element primary = getPrimaryElement(); in getOldType() local 411 if (primary != null) { in getOldType() 412 String oldType = primary.getTagName(); in getOldType()
|
D | ExtractIncludeRefactoring.java | 346 IFile sourceFile, int begin, int end, Document document, Element primary) { in handleIncludingFile() argument 355 String include = computeIncludeString(primary, mLayoutName, androidNsPrefix, referenceId); in handleIncludingFile() 361 if (referenceId != null && primary != null) { in handleIncludingFile() 362 String rootId = getId(primary); in handleIncludingFile() 428 Element primary = getPrimaryElement(); in getInitialName() local 429 if (primary != null) { in getInitialName() 430 String id = primary.getAttributeNS(ANDROID_URI, ATTR_ID); in getInitialName()
|
D | ChangeViewRefactoring.java | 269 for (Element primary : getElements()) { in getOldTypes() 270 String oldType = primary.getTagName(); in getOldTypes()
|
D | ChangeLayoutRefactoring.java | 633 Element primary = getPrimaryElement(); in getOldType() local 634 if (primary != null) { in getOldType() 635 String oldType = primary.getTagName(); in getOldType()
|
D | VisualRefactoring.java | 408 Element primary = getPrimaryElement(); in getRootId() local 409 if (primary != null) { in getRootId() 410 String oldId = primary.getAttributeNS(ANDROID_URI, ATTR_ID); in getRootId() 534 protected String stripTopLayoutAttributes(Element primary, int start, String xml) { in stripTopLayoutAttributes() argument 535 if (primary != null) { in stripTopLayoutAttributes() 538 NamedNodeMap attributes = primary.getAttributes(); in stripTopLayoutAttributes()
|