Home
last modified time | relevance | path

Searched refs:ATTR_ID (Results 1 – 25 of 48) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DTabHostRule.java20 import static com.android.SdkConstants.ATTR_ID;
52 node.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/tabhost"); //$NON-NLS-1$ in onCreate()
65 tab.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/tabs"); //$NON-NLS-1$ in onCreate()
70 frame.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/tabcontent"); //$NON-NLS-1$ in onCreate()
76 child.setAttribute(ANDROID_URI, ATTR_ID, in onCreate()
DDialerFilterRule.java20 import static com.android.SdkConstants.ATTR_ID;
46 hint.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/hint"); //$NON-NLS-1$ in onCreate()
51 primary.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/primary"); //$NON-NLS-1$ in onCreate()
DSlidingDrawerRule.java20 import static com.android.SdkConstants.ATTR_ID;
59 handle.setAttribute(ANDROID_URI, ATTR_ID, handleId); in onCreate()
63 content.setAttribute(ANDROID_URI, ATTR_ID, contentId); in onCreate()
DRadioGroupRule.java19 import static com.android.SdkConstants.ATTR_ID;
43 handle.setAttribute(ANDROID_URI, ATTR_ID, String.format("@+id/radio%d", i)); in onCreate()
DBaseViewRule.java22 import static com.android.SdkConstants.ATTR_ID;
189 } else if (fullActionId.equals(ATTR_ID)) { in addContextMenuActions()
197 editedProperty(ATTR_ID); in addContextMenuActions()
362 String editIdLabel = selectedNode.getStringAttr(ANDROID_URI, ATTR_ID) != null ? in addContextMenuActions()
364 actions.add(RuleAction.createAction(ATTR_ID, editIdLabel, onChange, null, 20, true)); in addContextMenuActions()
552 if (ATTR_TEXT.equals(attribute) || ATTR_ID.equals(attribute)) { in addCommonPropertyActions()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DMatch.java18 import static com.android.SdkConstants.ATTR_ID;
84 id = edge.node.getStringAttr(ANDROID_URI, ATTR_ID); in getConstraint()
87 edge.node.setAttribute(ANDROID_URI, ATTR_ID, id); in getConstraint()
DDeletionHandler.java19 import static com.android.SdkConstants.ATTR_ID;
73 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); in DeletionHandler()
81 String id = node.getStringAttr(ANDROID_URI, ATTR_ID); in DeletionHandler()
90 String id = node.getStringAttr(ANDROID_URI, ATTR_ID); in DeletionHandler()
DDependencyGraph.java18 import static com.android.SdkConstants.ATTR_ID;
66 String parentId = layout.getStringAttr(ANDROID_URI, ATTR_ID); in DependencyGraph()
81 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); in DependencyGraph()
131 IDragAttribute attribute = element.getAttribute(ANDROID_URI, ATTR_ID); in getView()
DResizeHandler.java26 import static com.android.SdkConstants.ATTR_ID;
96 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); in ResizeHandler()
103 addBounds(layout, layout.getStringAttr(ANDROID_URI, ATTR_ID), true, true); in ResizeHandler()
190 String childId = child.getStringAttr(ANDROID_URI, ATTR_ID); in updateResize()
DMoveHandler.java26 import static com.android.SdkConstants.ATTR_ID;
93 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); in MoveHandler()
108 String id = layout.getStringAttr(ANDROID_URI, ATTR_ID); in MoveHandler()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/relative/
DDeletionHandlerTest.java18 import static com.android.SdkConstants.ATTR_ID;
111 ATTR_ID)))); in testSimple()
291 ATTR_ID)))); in testTransitive()
353 ATTR_ID)))); in testCenter()
443 ATTR_ID)))); in testMove()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DLayoutTestBase.java20 import static com.android.SdkConstants.ATTR_ID;
73 .getChildren()[currentIndex].getStringAttr(ANDROID_URI, ATTR_ID); in dragInto()
140 ANDROID_URI, ATTR_ID); in dragInto()
146 childrenIds.add(child.getStringAttr(ANDROID_URI, ATTR_ID)); in dragInto()
DTestDragElement.java19 import static com.android.SdkConstants.ATTR_ID;
88 return set(ANDROID_URI, ATTR_ID, id); in id()
DTestNode.java20 import static com.android.SdkConstants.ATTR_ID;
84 return set(ANDROID_URI, ATTR_ID, id); in id()
218 String id = getStringAttr(ANDROID_URI, ATTR_ID); in toString()
312 String id = getStringAttr(ANDROID_URI, ATTR_ID); in findById()
DBaseLayoutRuleTest.java20 import static com.android.SdkConstants.ATTR_ID;
71 "android.widget.Button", new Rect(0, 0, 100, 80)).set("myuri", ATTR_ID, in testCollectIds2()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLintTooltip.java18 import static com.android.SdkConstants.ATTR_ID;
75 String id = BaseLayoutRule.stripIdPrefix(node.getAttributeValue(ATTR_ID)); in createContents()
DDomUtilities.java19 import static com.android.SdkConstants.ATTR_ID;
497 if (root.hasAttributeNS(ANDROID_URI, ATTR_ID)) { in addLowercaseIds()
498 String id = root.getAttributeNS(ANDROID_URI, ATTR_ID); in addLowercaseIds()
745 String id = element.getAttributeNS(ANDROID_URI, ATTR_ID); in findCorresponding()
764 String id = element.getAttributeNS(ANDROID_URI, ATTR_ID); in findCorresponding()
DSelectionManager.java19 import static com.android.SdkConstants.ATTR_ID;
1206 String id = primary.getStringAttr(ANDROID_URI, ATTR_ID); in performRename()
1218 String currentId = primary.getStringAttr(ANDROID_URI, ATTR_ID); in performRename()
1238 node.setAttribute(ANDROID_URI, ATTR_ID, newId); in performRename()
1242 primary.setAttribute(ANDROID_URI, ATTR_ID, newId); in performRename()
DLayoutActionBar.java19 import static com.android.SdkConstants.ATTR_ID;
170 label = selectedNode.getStringAttr(ANDROID_URI, ATTR_ID); in updateSelection()
255 String id = (String) item.getData(ATTR_ID); in updateActions()
401 item.setData(ATTR_ID, id); in addRadio()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DOutlineLabelProvider.java20 import static com.android.SdkConstants.ATTR_ID;
67 String id = getAttributeNS(e, ANDROID_URI, ATTR_ID); in getText()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutMetadataTest.java18 import static com.android.SdkConstants.ATTR_ID;
95 String id = node.getAttributeValue(ATTR_ID); in findById()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DSetAttributeFix.java22 import static com.android.SdkConstants.ATTR_ID;
65 return ATTR_ID; in getAttribute()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DViewMetadataRepository.java20 import static com.android.SdkConstants.ATTR_ID;
166 String id = element.getAttributeNS(ANDROID_URI, ATTR_ID); in getFullClassName()
173 String childId = child.getAttributeNS(ANDROID_URI, ATTR_ID); in getFullClassName()
574 return Collections.singletonList(ATTR_ID); in getTopAttributes()
578 topAttributes.add(ATTR_ID); in getTopAttributes()
712 return Collections.singletonList(ATTR_ID); in getTopAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DNewTemplatePage.java22 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_ID;
243 assert id != null && !id.isEmpty() : ATTR_ID; in onEnter()
436 String optionId = option.getAttribute(ATTR_ID); in createOptionCombo()
437 assert optionId != null && !optionId.isEmpty() : ATTR_ID; in createOptionCombo()
479 combo.setData(ATTR_ID, ids.toArray(new String[ids.size()])); in createOptionCombo()
753 String[] optionIds = (String[]) combo.getData(ATTR_ID); in widgetSelected()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DDescriptorsUtils.java20 import static com.android.SdkConstants.ATTR_ID;
732 ATTR_ID,
759 String id = previous.getAttributeValue(ATTR_ID);
892 String id = uiRoot.getAttributeValue(ATTR_ID);

12