Home
last modified time | relevance | path

Searched refs:selectedNode (Results 1 – 8 of 8) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DBaseViewRule.java127 final @NonNull INode selectedNode) { in addContextMenuActions() argument
129 String currentWidth = selectedNode.getStringAttr(ANDROID_URI, ATTR_LAYOUT_WIDTH); in addContextMenuActions()
142 String currentHeight = selectedNode.getStringAttr(ANDROID_URI, ATTR_LAYOUT_HEIGHT); in addContextMenuActions()
201 String key = getPropertyMapKey(selectedNode); in addContextMenuActions()
356 IAttributeInfo textAttribute = selectedNode.getAttributeInfo(ANDROID_URI, ATTR_TEXT); in addContextMenuActions()
362 String editIdLabel = selectedNode.getStringAttr(ANDROID_URI, ATTR_ID) != null ? in addContextMenuActions()
366 addCommonPropertyActions(actions, selectedNode, onChange, 21); in addContextMenuActions()
470 public String getDefaultActionId(@NonNull final INode selectedNode) { in getDefaultActionId() argument
471 IAttributeInfo textAttribute = selectedNode.getAttributeInfo(ANDROID_URI, ATTR_TEXT); in getDefaultActionId()
542 private void addCommonPropertyActions(List<RuleAction> actions, INode selectedNode, in addCommonPropertyActions() argument
[all …]
DEditTextRule.java64 final @NonNull INode selectedNode) { in addContextMenuActions() argument
65 super.addContextMenuActions(actions, selectedNode); in addContextMenuActions()
67 final boolean hasFocus = hasFocus(selectedNode); in addContextMenuActions()
77 selectedNode.editXml(label, new INodeHandler() { in addContextMenuActions()
DMergeRule.java34 final @NonNull INode selectedNode) { in addContextMenuActions() argument
DTableLayoutRule.java76 final @NonNull INode selectedNode) { in addContextMenuActions() argument
77 super.addContextMenuActions(actions, selectedNode); in addContextMenuActions()
86 final INode node = selectedNode; in addContextMenuActions()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSelectionHandles.java74 NodeProxy selectedNode = mItem.getNode(); in createHandles() local
75 Rect r = selectedNode.getBounds(); in createHandles()
DSelectionOverlay.java195 NodeProxy selectedNode = item.getNode(); in paintSelection() local
196 Rect r = selectedNode.getBounds(); in paintSelection()
203 Margins insets = mCanvas.getInsets(selectedNode.getFqcn()); in paintSelection()
DLayoutActionBar.java162 NodeProxy selectedNode = selectedNodes.get(0); in updateSelection() local
163 engine.callAddLayoutActions(itemActions, selectedNode, null); in updateSelection()
170 label = selectedNode.getStringAttr(ANDROID_URI, ATTR_ID); in updateSelection()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DRulesEngine.java161 public List<RuleAction> callGetContextMenu(NodeProxy selectedNode) { in callGetContextMenu() argument
163 IViewRule rule = loadRule(selectedNode.getNode()); in callGetContextMenu()
169 rule.addContextMenuActions(actions, selectedNode); in callGetContextMenu()
189 public String callGetDefaultActionId(@NonNull NodeProxy selectedNode) { in callGetDefaultActionId() argument
191 IViewRule rule = loadRule(selectedNode.getNode()); in callGetDefaultActionId()
196 return rule.getDefaultActionId(selectedNode); in callGetDefaultActionId()