Home
last modified time | relevance | path

Searched refs:getDescriptor (Results 1 – 25 of 80) sorted by relevance

1234

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiElementNodeTest.java78 assertSame(mManifestDesc, ui.getDescriptor()); in testInit()
97 assertSame(mAppDesc, ui.getUiChildren().get(0).getDescriptor()); in testMandatoryOrder()
98 assertSame(mUsesSdkDesc, ui.getUiChildren().get(1).getDescriptor()); in testMandatoryOrder()
111 assertSame(mUsesSdkDesc, ui.getUiChildren().get(0).getDescriptor()); in testMandatoryOrder()
113 assertSame(mAppDesc, ui.getUiChildren().get(1).getDescriptor()); in testMandatoryOrder()
139 assertEquals("manifest", ui.getDescriptor().getXmlName()); in testLoadFrom_NewTree_1_Node()
146 assertEquals("application", application.getDescriptor().getXmlName()); in testLoadFrom_NewTree_1_Node()
161 assertEquals("manifest", ui.getDescriptor().getXmlName()); in testLoadFrom_NewTree_2_Nodes()
168 assertEquals("application", application.getDescriptor().getXmlName()); in testLoadFrom_NewTree_2_Nodes()
175 assertEquals("permission", first_permission.getDescriptor().getXmlName()); in testLoadFrom_NewTree_2_Nodes()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiElementNode.java431 public ElementDescriptor getDescriptor() { in getDescriptor() method in UiElementNode
696 public ElementDescriptor getDescriptor(String xmlLocalName) { in getUnknownDescriptorProvider()
771 if (c.getDescriptor().getXmlName().equals(item)) { in findUiChildNode()
883 if (getDescriptor().getMandatory() != Mandatory.NOT_MANDATORY) { in prepareCommit()
939 String elementName = getDescriptor().getXmlName(); in createXmlNode()
1183 desc = service.getDescriptor(editor.getProject(), elementName); in updateElementList()
1190 desc = p.getDescriptor(elementName); in updateElementList()
1222 uiChild.getDescriptor().getMandatory() != in updateElementList()
1224 uiChild.getDescriptor().getXmlName().equals(elementName)) { in updateElementList()
1249 desc = service.getDescriptor(editor.getProject(), elementName); in updateElementList()
[all …]
DUiListAttributeNode.java68 TextAttributeDescriptor desc = (TextAttributeDescriptor) getDescriptor(); in createUiControl()
118 getDescriptor().getXmlLocalName()); in fillCombo()
134 AttributeDescriptor descriptor = getDescriptor(); in getPossibleValues()
138 String element_name = uiParent.getDescriptor().getXmlName(); in getPossibleValues()
173 greatGrandParentNode.getDescriptor().getXmlName(); in getPossibleValues()
DUiFlagAttributeNode.java85 TextAttributeDescriptor desc = (TextAttributeDescriptor) getDescriptor(); in createUiControl()
132 String attr_name = getDescriptor().getXmlLocalName(); in getPossibleValues()
133 String element_name = getUiParent().getDescriptor().getXmlName(); in getPossibleValues()
137 if (getDescriptor() instanceof FlagAttributeDescriptor && in getPossibleValues()
138 ((FlagAttributeDescriptor) getDescriptor()).getNames() != null) { in getPossibleValues()
140 values = ((FlagAttributeDescriptor) getDescriptor()).getNames(); in getPossibleValues()
230 ((FlagAttributeDescriptor) getDescriptor()).getUiName())); in createDialogArea()
DUiAttributeNode.java51 public final AttributeDescriptor getDescriptor() { in getDescriptor() method in UiAttributeNode
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DPropertyValueCompleter.java38 protected AttributeDescriptor getDescriptor() { in getDescriptor() method in PropertyValueCompleter
39 return mProperty.getDescriptor(); in getDescriptor()
DPropertyFactory.java177 ViewElementDescriptor viewDescriptor = (ViewElementDescriptor) node.getDescriptor(); in getProperties()
275 ViewElementDescriptor parent = (ViewElementDescriptor) properties.get(0).getDescriptor() in sortByOrigin()
287 AttributeDescriptor descriptor = property.getDescriptor(); in sortByOrigin()
328 oldProperty.getDescriptor()); in sortByOrigin()
454 AttributeDescriptor descriptor = property.getDescriptor(); in sortNatural()
511 && !property.getDescriptor().isDeprecated()) { in sortNatural()
531 if (next.getDescriptor().isDeprecated()) { in sortNatural()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiActions.java280 ElementDescriptor nodeDesc = uiNode.getDescriptor(); in doUpInternal()
302 if (uiPrev.getDescriptor().acceptChild(nodeDesc)) { in doUpInternal()
325 uiGrandParent == null ? null : uiGrandParent.getDescriptor(); in doUpInternal()
357 ElementDescriptor desc = uiNode.getDescriptor(); in matchDescFilter()
462 ElementDescriptor nodeDesc = uiNode.getDescriptor(); in doDownInternal()
486 if (uiNext.getDescriptor().acceptChild(nodeDesc)) { in doDownInternal()
513 uiGrandParent == null ? null : uiGrandParent.getDescriptor(); in doDownInternal()
579 if (uiChild.getDescriptor().getMandatory() == Mandatory.MANDATORY_LAST) { in addNewTreeElement()
DNewItemSelectionDialog.java97 if (ui_node.getDescriptor().hasChildren()) { in NewItemSelectionDialog()
225 String name = child.getDescriptor().getXmlName(); in getMostUsedXmlName()
412 return ui_node.getDescriptor().getChildren(); in getAllowedDescriptors()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiManifestElementNode.java70 String name = getDescriptor().getUiName(); in getShortDescription()
80 ElementDescriptor desc = getDescriptor(); in getShortDescription()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DIDescriptorProvider.java23 ElementDescriptor getDescriptor(); in getDescriptor() method
DIUnknownDescriptorProvider.java36 ElementDescriptor getDescriptor(String xmlLocalName); in getDescriptor() method
DAttributeDescriptorLabelProvider.java42 if (node.getDescriptor().isDeprecated()) { in getImage()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/color/
DColorEditorDelegate.java95 descriptor = new ColorDescriptors().getDescriptor(); in delegateInitUiRootNode()
97 descriptor = data.getColorDescriptors().getDescriptor(); in delegateInitUiRootNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/
DAnimDescriptors.java39 public ElementDescriptor getDescriptor() { in getDescriptor() method in AnimDescriptors
62 descriptor = getDescriptor(); in getElementDescriptor()
DAnimationEditorDelegate.java99 && !mRootTag.equals(getUiRootNode().getDescriptor().getXmlLocalName())) { in delegateXmlModelChanged()
121 if (getUiRootNode().getDescriptor() instanceof DocumentDescriptor) { in delegateXmlModelChanged()
DAnimatorDescriptors.java45 public ElementDescriptor getDescriptor() { in getDescriptor() method in AnimatorDescriptors
68 descriptor = getDescriptor(); in getElementDescriptor()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/descriptors/
DOtherXmlDescriptors.java63 public DocumentDescriptor getDescriptor() { in getDescriptor() method in OtherXmlDescriptors
90 public ElementDescriptor getDescriptor() { in getSearchableProvider()
104 public ElementDescriptor getDescriptor() {
118 public ElementDescriptor getDescriptor() {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/uimodel/
DUiViewElementNode.java69 if (!getDescriptor().syncAttributes()) { in getAttributeDescriptors()
110 ((ViewElementDescriptor) ui_parent.getDescriptor()).getLayoutAttributes(); in getAttributeDescriptors()
136 ElementDescriptor desc = getDescriptor(); in getIcon()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/
DMenuEditorDelegate.java107 ElementDescriptor root_desc = getUiRootNode().getDescriptor(); in delegateXmlModelChanged()
153 desc = data.getMenuDescriptors().getDescriptor(); in delegateInitUiRootNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/drawable/
DDrawableEditorDelegate.java95 && !mRootTag.equals(getUiRootNode().getDescriptor().getXmlLocalName())) { in delegateXmlModelChanged()
113 if (getUiRootNode().getDescriptor() instanceof DocumentDescriptor) { in delegateXmlModelChanged()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestEditor.java261 ElementDescriptor manifestDesc = mUiManifestNode.getDescriptor(); in getManifestXmlNode()
404 if (ui_node.getDescriptor().getXmlName().equals(nodeType)) { in processMarker()
406 if (attr.getDescriptor().getXmlLocalName().equals( in processMarker()
445 if (ui_node.getDescriptor() == element) { in initUiRootNode()
457 if (ui_node.getDescriptor() == element) { in initUiRootNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCanvasViewInfo.java460 return mUiViewNode != null && (mUiViewNode.getDescriptor().hasChildren() || in isInvisible()
515 String fqcn = SimpleXmlTransfer.getFqcn(uiNode.getDescriptor()); in toSimpleElement()
522 parentFqcn = SimpleXmlTransfer.getFqcn(uiParent.getDescriptor()); in toSimpleElement()
533 AttributeDescriptor attrDesc = attr.getDescriptor(); in toSimpleElement()
768 && VIEW_MERGE.equals(rootParent.getDescriptor().getXmlName())); in hasMergeParent()
912 ? uiViewNode.getDescriptor().getXmlLocalName() : ""; //$NON-NLS-1$ in createSubtree()
1081 String name = found.getDescriptor().getXmlLocalName(); in addMismatched()
1106 String name = node.getDescriptor().getXmlLocalName(); in addMismatched()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DUiElementPullParser.java169 String xml = node.getDescriptor().getXmlLocalName(); in push()
419 String name = getCurrentNode().getDescriptor().getXmlLocalName(); in getName()
440 return getCurrentNode().getDescriptor().getNamespace(); in getNamespace()
450 return doc.lookupPrefix(getCurrentNode().getDescriptor().getNamespace()); in getPrefix()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/uimodel/
DUiItemElementNode.java52 return String.format("%1$s (%2$s %3$s)", name, type, getDescriptor().getUiName()); in getShortDescription()

1234