Home
last modified time | relevance | path

Searched refs:childNodes (Results 1 – 25 of 28) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DTypographyFix.java62 NodeList childNodes = element.getChildNodes(); in apply() local
63 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in apply()
64 Node child = childNodes.item(i); in apply()
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DChildCountDetector.java115 NodeList childNodes = element.getChildNodes(); in getAccurateChildCount() local
117 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in getAccurateChildCount()
118 Node child = childNodes.item(i); in getAccurateChildCount()
DExtraTextDetector.java136 NodeList childNodes = node.getChildNodes(); in visitNode() local
137 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in visitNode()
138 Node child = childNodes.item(i); in visitNode()
DPxUsageDetector.java160 NodeList childNodes = item.getChildNodes(); in visitElement() local
161 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in visitElement()
162 Node child = childNodes.item(i); in visitElement()
DNamespaceDetector.java215 NodeList childNodes = node.getChildNodes(); in checkElement() local
216 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in checkElement()
217 checkElement(context, childNodes.item(i)); in checkElement()
DButtonDetector.java231 NodeList childNodes = element.getChildNodes(); in visitElement() local
232 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in visitElement()
233 Node child = childNodes.item(i); in visitElement()
386 NodeList childNodes = item.getChildNodes(); in foundResource() local
387 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in foundResource()
388 Node child = childNodes.item(i); in foundResource()
DTypographyDetector.java224 NodeList childNodes = element.getChildNodes(); in visitElement() local
225 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in visitElement()
226 Node child = childNodes.item(i); in visitElement()
DTranslationDetector.java526 NodeList childNodes = element.getChildNodes(); in allItemsAreReferences() local
527 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in allItemsAreReferences()
528 Node item = childNodes.item(i); in allItemsAreReferences()
DUnusedResourceDetector.java417 NodeList childNodes = item.getChildNodes(); in checkChildRefs() local
418 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in checkChildRefs()
419 Node child = childNodes.item(i); in checkChildRefs()
DApiDetector.java192 NodeList childNodes = element.getChildNodes(); in visitElement() local
193 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in visitElement()
194 Node textNode = childNodes.item(i); in visitElement()
DStringFormatDetector.java188 NodeList childNodes = element.getChildNodes(); in visitElement() local
189 if (childNodes.getLength() > 0) { in visitElement()
190 if (childNodes.getLength() == 1) { in visitElement()
191 Node child = childNodes.item(0); in visitElement()
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/
DLintUtils.java170 NodeList childNodes = node.getChildNodes(); in getChildren() local
171 List<Element> children = new ArrayList<Element>(childNodes.getLength()); in getChildren()
172 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in getChildren()
173 Node child = childNodes.item(i); in getChildren()
189 NodeList childNodes = node.getChildNodes(); in getChildCount() local
191 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in getChildCount()
192 Node child = childNodes.item(i); in getChildCount()
/sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/
DXmlVisitor.java205 NodeList childNodes = element.getChildNodes(); in visitElement() local
206 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in visitElement()
207 Node child = childNodes.item(i); in visitElement()
DDefaultConfiguration.java265 NodeList childNodes = element.getChildNodes(); in readConfig() local
266 if (childNodes.getLength() > 0) { in readConfig()
267 for (int j = 0, n = childNodes.getLength(); j < n; j++) { in readConfig()
268 Node child = childNodes.item(j); in readConfig()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DRelativeLayoutRule.java132 @NonNull List<? extends INode> childNodes, @Nullable Object view) { in paintSelectionFeedback() argument
133 super.paintSelectionFeedback(graphics, parentNode, childNodes, view); in paintSelectionFeedback()
137 childNodes = Arrays.asList(parentNode.getChildren()); in paintSelectionFeedback()
144 ConstraintPainter.paintSelectionFeedback(graphics, parentNode, childNodes, showDependents); in paintSelectionFeedback()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringTest.java250 List<UiElementNode> childNodes = node.getUiChildren(); in create() local
251 if (childNodes.size() > 0) { in create()
253 for (UiElementNode child : childNodes) { in create()
/sdk/rule_api/src/com/android/ide/common/api/
DIViewRule.java160 @NonNull List<? extends INode> childNodes, in paintSelectionFeedback() argument
DAbstractViewRule.java73 @NonNull List<? extends INode> childNodes, @Nullable Object view) { in paintSelectionFeedback() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DConstraintPainter.java112 List<? extends INode> childNodes, boolean showDependents) { in paintSelectionFeedback() argument
115 Set<INode> horizontalDeps = dependencyGraph.dependsOn(childNodes, false /* vertical */); in paintSelectionFeedback()
116 Set<INode> verticalDeps = dependencyGraph.dependsOn(childNodes, true /* vertical */); in paintSelectionFeedback()
124 if (childNodes.contains(node)) { in paintSelectionFeedback()
133 for (INode childNode : childNodes) { in paintSelectionFeedback()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DPreviewIconFactory.java259 NodeList childNodes = documentElement.getChildNodes(); in render() local
264 int height = childNodes.getLength() == 1 ? 400 : 1600; in render()
341 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in render()
342 Node node = childNodes.item(i); in render()
DDomUtilities.java113 NodeList childNodes = node.getChildNodes(); in addElements() local
114 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in addElements()
115 addElements(childNodes.item(i), elements); in addElements()
/sdk/attribute_stats/src/
DAnalyzer.java236 NodeList childNodes = element.getChildNodes(); in analyzeElement() local
237 for (int i = 0, n = childNodes.getLength(); i < n; i++) { in analyzeElement()
238 Node child = childNodes.item(i); in analyzeElement()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DViewMetadataRepository.java291 NodeList childNodes = child.getChildNodes(); in createViewData() local
292 for (int k = 0, kl = childNodes.getLength(); k < kl; k++) { in createViewData()
293 Node variationNode = childNodes.item(k); in createViewData()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
DResourceHelper.java392 NodeList childNodes = root.getChildNodes(); in createResource() local
394 for (int i = childNodes.getLength() - 1; i >= 0; i--) { in createResource()
395 Node node = childNodes.item(i); in createResource()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DNewTemplatePage.java443 NodeList childNodes = option.getChildNodes(); in createOptionCombo() local
444 assert childNodes.getLength() == 1 && in createOptionCombo()
445 childNodes.item(0).getNodeType() == Node.TEXT_NODE; in createOptionCombo()
446 String optionLabel = childNodes.item(0).getNodeValue().trim(); in createOptionCombo()

12