Home
last modified time | relevance | path

Searched refs:getNodeType (Results 1 – 25 of 41) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiTextValueNode.java59 if (xml_child.getNodeType() == Node.TEXT_NODE) { in updateValue()
97 if (xml_child.getNodeType() == Node.TEXT_NODE) { in commit()
DUiElementNode.java975 if (previousNode != null && previousNode.getNodeType() == Node.TEXT_NODE) { in createXmlNode()
980 if (lastChild != null && lastChild.getNodeType() == Node.TEXT_NODE) { in createXmlNode()
1133 if (previousSibling != null && previousSibling.getNodeType() == Node.TEXT_NODE in deleteXmlNode()
1170 if (xmlChild.getNodeType() == Node.ELEMENT_NODE) { in updateElementList()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDomUtilities.java144 if (children.item(i).getNodeType() == Node.ELEMENT_NODE) { in hasElementChildren()
290 if (node.getNodeType() == Node.TEXT_NODE) { in getNodeContext()
406 if (beginNode.getNodeType() != Node.ELEMENT_NODE) { in getElementRange()
424 if (endNode.getNodeType() != Node.ELEMENT_NODE) { in getElementRange()
458 while (node != null && node.getNodeType() != Node.ELEMENT_NODE) { in getNextElement()
473 while (node != null && node.getNodeType() != Node.ELEMENT_NODE) { in getPreviousElement()
488 while (node != null && node.getNodeType() != Node.ELEMENT_NODE) { in getParentElement()
565 if (node.getNodeType() == Node.ELEMENT_NODE) { in getChildren()
703 children1.item(nextIndex1).getNodeType() != Node.ELEMENT_NODE) { in isEquivalent()
708 children2.item(nextIndex2).getNodeType() != Node.ELEMENT_NODE) { in isEquivalent()
[all …]
DLayoutMetadata.java115 if (child.getNodeType() == Node.COMMENT_NODE) { in clearLegacyComment()
121 if (previous != null && previous.getNodeType() == Node.TEXT_NODE) { in clearLegacyComment()
129 && first.getNodeType() == Node.TEXT_NODE) { in clearLegacyComment()
150 if (node.getNodeType() == Node.ELEMENT_NODE) { in getProperty()
180 if (node.getNodeType() == Node.ELEMENT_NODE) { in setProperty()
DViewHierarchy.java446 } else if (node.getNodeType() == Node.TEXT_NODE) { in findViewInfoFor()
448 } else if (node.getNodeType() == Node.ATTRIBUTE_NODE) { in findViewInfoFor()
450 } else if (node.getNodeType() == Node.DOCUMENT_NODE) { in findViewInfoFor()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DXmlStringFileHelper.java137 txtNode != null && txtNode.getNodeType() == Node.TEXT_NODE; in internalGetResIdsForFile()
177 if (lastChild.getNodeType() == Node.ELEMENT_NODE && in findChild()
DExtractStringProposal.java123 int type = parent.getNodeType(); in getAdditionalProposalInfo()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DJavaQuickAssistant.java64 if (coveringNode != null && coveringNode.getNodeType() == ASTNode.STRING_LITERAL in getAssists()
DChangeLayoutRefactoring.java203 if (node.getNodeType() == Node.ELEMENT_NODE) { in initElements()
367 if (node.getNodeType() == Node.ELEMENT_NODE) { in convertLinearToTable()
415 if (node.getNodeType() == Node.ELEMENT_NODE) { in convertLinearToRelative()
434 if (node.getNodeType() == Node.ELEMENT_NODE) { in convertLinearToRelative()
532 if (node.getNodeType() == Node.ELEMENT_NODE) { in removeUndefinedAttrs()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DConvertSwitchQuickFixProcessor.java73 if (coveringNode.getNodeType() == ASTNode.SIMPLE_NAME) { in getCorrections()
79 if (coveringNode.getNodeType() != ASTNode.QUALIFIED_NAME) { in getCorrections()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/
DAttrsXmlParser.java168 res.getNodeType() != Node.ELEMENT_NODE && in preload()
284 switch (node.getNodeType()) { in parseResources()
465 switch (node.getNodeType()) { in parseDeclaredStyleable()
586 if (child.getNodeType() == Node.ELEMENT_NODE && child.getNodeName().equals(filter)) { in parseEnumFlagValues()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidContentAssist.java168 if (currentNode == null || currentNode.getNodeType() == Node.TEXT_NODE) { in computeCompletionProposals()
173 } else if (currentNode.getNodeType() == Node.ELEMENT_NODE) { in computeCompletionProposals()
275 assert currentNode != null && currentNode.getNodeType() == Node.TEXT_NODE; in computeTextReplaceLength()
300 if (currentNode.getParentNode().getNodeType() == Node.ELEMENT_NODE) { in getChoicesForElement()
302 } else if (currentNode.getParentNode().getNodeType() == Node.DOCUMENT_NODE) { in getChoicesForElement()
526 if (parentNode.getNodeType() == Node.ELEMENT_NODE) { in getElementChoicesForTextNode()
541 } else if (parentNode.getNodeType() == Node.DOCUMENT_NODE) { in getElementChoicesForTextNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DTypographyFix.java65 if (child.getNodeType() == Node.TEXT_NODE) { in apply()
DAddSuppressAttribute.java164 while (node != null && node.getNodeType() != Node.ELEMENT_NODE) { in createFixes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceXmlTextAction.java246 if (node.getNodeType() == Node.TEXT_NODE) { in findItemDefinition()
249 if (node == null || node.getNodeType() != Node.ELEMENT_NODE) { in findItemDefinition()
DAndroidTypeMoveParticipant.java318 if (child.getNodeType() == Node.ELEMENT_NODE) { in addLayoutReplacements()
357 if (child.getNodeType() == Node.ELEMENT_NODE) { in addManifestReplacements()
DAndroidPackageRenameParticipant.java479 if (child.getNodeType() == Node.ELEMENT_NODE) {
542 if (child.getNodeType() == Node.ELEMENT_NODE) {
DAndroidTypeRenameParticipant.java466 if (child.getNodeType() == Node.ELEMENT_NODE) { in addLayoutReplacements()
524 if (child.getNodeType() == Node.ELEMENT_NODE) { in addManifestReplacements()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DEclipseXmlPrettyPrinter.java136 if (node.getNodeType() == Node.DOCUMENT_NODE && !xml.startsWith("<?")) { //$NON-NLS-1$ in prettyPrint()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DViewMetadataRepository.java225 if (node.getNodeType() == Node.ELEMENT_NODE) { in getCategories()
233 if (childNode.getNodeType() == Node.ELEMENT_NODE) { in getCategories()
299 if (variationNode.getNodeType() == Node.ELEMENT_NODE) { in createViewData()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/
DMockXmlNode.java170 public short getNodeType() { in getNodeType() method in MockXmlNode
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/
DApplicationToggle.java278 mUndoXmlNextElement.getNodeType() != Node.ELEMENT_NODE) { in removeApplicationNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutContentAssist.java78 if (currentNode.getParentNode().getNodeType() == Node.ELEMENT_NODE) { in getChoicesForElement()
DExplodedRenderingHelper.java126 short type = child.getNodeType(); in computePadding()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
DResourceHelper.java366 if (node.getNodeType() == Node.ELEMENT_NODE) { in createResource()
606 if (item.getNodeType() == Node.ELEMENT_NODE) { in findColorValue()

12