/sdk/sdk_common/src/com/android/ide/common/xml/ |
D | AndroidManifestParser.java | 127 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 141 mManifestData.mPackage = getAttributeValue(attributes, in startElement() 146 String tmp = getAttributeValue(attributes, in startElement() 160 value = getAttributeValue(attributes, in startElement() 167 value = getAttributeValue(attributes, in startElement() 176 mManifestData.setMinSdkVersionString(getAttributeValue(attributes, in startElement() 179 … mManifestData.setTargetSdkVersionString(getAttributeValue(attributes, in startElement() 183 processInstrumentationNode(attributes); in startElement() 186 processSupportsScreensNode(attributes); in startElement() 189 processUsesConfiguration(attributes); in startElement() [all …]
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
D | ApiParser.java | 54 public void startElement(String uri, String localName, String qName, Attributes attributes) in startElement() argument 66 String name = attributes.getValue(ATTR_NAME); in startElement() 67 int since = Integer.parseInt(attributes.getValue(ATTR_SINCE)); in startElement() 72 String name = attributes.getValue(ATTR_NAME); in startElement() 73 int since = getSince(attributes); in startElement() 78 String name = attributes.getValue(ATTR_NAME); in startElement() 79 int since = getSince(attributes); in startElement() 84 String name = attributes.getValue(ATTR_NAME); in startElement() 85 int since = getSince(attributes); in startElement() 90 String name = attributes.getValue(ATTR_NAME); in startElement() [all …]
|
D | NamespaceDetector.java | 114 NamedNodeMap attributes = root.getAttributes(); in visitDocument() local 115 for (int i = 0, n = attributes.getLength(); i < n; i++) { in visitDocument() 116 Node item = attributes.item(i); in visitDocument() 190 NamedNodeMap attributes = ((Element) node).getAttributes(); in checkElement() local 191 for (int i = 0, n = attributes.getLength(); i < n; i++) { in checkElement() 192 Attr attribute = (Attr) attributes.item(i); in checkElement() 205 NamedNodeMap attributes = ((Element) node).getAttributes(); in checkElement() local 206 for (int i = 0, n = attributes.getLength(); i < n; i++) { in checkElement() 207 Attr attribute = (Attr) attributes.item(i); in checkElement()
|
D | StateListDetector.java | 92 NamedNodeMap attributes = child.getAttributes(); in visitDocument() local 93 Set<String> stateNames = new HashSet<String>(attributes.getLength()); in visitDocument() 96 for (int j = 0; j < attributes.getLength(); j++) { in visitDocument() 97 Attr attribute = (Attr) attributes.item(j); in visitDocument()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/ |
D | ManifestElementDescriptor.java | 48 AttributeDescriptor[] attributes, in ManifestElementDescriptor() argument 51 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory); in ManifestElementDescriptor() 69 AttributeDescriptor[] attributes, in ManifestElementDescriptor() argument 72 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory); in ManifestElementDescriptor() 89 AttributeDescriptor[] attributes, in ManifestElementDescriptor() argument 91 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, false); in ManifestElementDescriptor()
|
/sdk/sdk_common/src/com/android/ide/common/resources/ |
D | ValueResourceParser.java | 89 public void startElement(String uri, String localName, String qName, Attributes attributes) in startElement() argument 98 ResourceType type = getType(qName, attributes); in startElement() 102 String name = attributes.getValue(ATTR_NAME); in startElement() 106 String parent = attributes.getValue(ATTR_PARENT); in startElement() 129 String name = attributes.getValue(ATTR_NAME); in startElement() 158 String value = attributes.getValue(ATTR_VALUE); in startElement() 172 String name = attributes.getValue(ATTR_NAME); in startElement() 173 String value = attributes.getValue(ATTR_VALUE); in startElement() 184 super.startElement(uri, localName, qName, attributes); in startElement() 188 private ResourceType getType(String qName, Attributes attributes) { in getType() argument [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/ |
D | ViewClassInfo.java | 74 public void setAttributes(AttributeInfo[] attributes) { in setAttributes() argument 75 mAttributes = attributes; in setAttributes() 145 public void setAttributes(AttributeInfo[] attributes) { in setAttributes() argument 146 mAttributes = attributes; in setAttributes()
|
D | DeclareStyleableInfo.java | 41 public DeclareStyleableInfo(String styleName, AttributeInfo[] attributes) { in DeclareStyleableInfo() argument 43 mAttributes = attributes == null ? new AttributeInfo[0] : attributes; in DeclareStyleableInfo()
|
/sdk/uiautomatorviewer/src/com/android/uiautomator/tree/ |
D | UiHierarchyXmlLoader.java | 70 Attributes attributes) throws SAXException { in parseXml() 76 mWorkingNode = new RootWindowNode(attributes.getValue("windowName")); in parseXml() 80 for (int i = 0; i < attributes.getLength(); i++) { in parseXml() 81 tmpNode.addAtrribute(attributes.getQName(i), attributes.getValue(i)); in parseXml()
|
/sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/ |
D | XmlVisitor.java | 85 Collection<String> attributes = xmlDetector.getApplicableAttributes(); in XmlVisitor() local 86 if (attributes == XmlScanner.ALL) { in XmlVisitor() 88 } else if (attributes != null) { in XmlVisitor() 89 for (String attribute : attributes) { in XmlVisitor() 112 if ((attributes == null || (attributes.size() == 0 in XmlVisitor() 113 && attributes != XmlScanner.ALL)) in XmlVisitor() 181 NamedNodeMap attributes = element.getAttributes(); in visitElement() local 182 for (int i = 0, n = attributes.getLength(); i < n; i++) { in visitElement() 183 Attr attribute = (Attr) attributes.item(i); in visitElement()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/ |
D | ViewElementDescriptor.java | 94 AttributeDescriptor[] attributes, AttributeDescriptor[] layoutAttributes, in ViewElementDescriptor() argument 96 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory); in ViewElementDescriptor() 140 public void setLayoutAttributes(AttributeDescriptor[] attributes) { in setLayoutAttributes() argument 141 assert attributes != null; in setLayoutAttributes() 142 mLayoutAttributes = attributes; in setLayoutAttributes()
|
D | CustomViewDescriptorService.java | 201 AttributeDescriptor[] attributes = in getDescriptor() local 204 attributes = join(attrList, attributes); in getDescriptor() 213 attributes, in getDescriptor() 244 @NonNull AttributeDescriptor[] attributes) { in join() argument 248 attributes, in join() 251 return attributes; in join() 394 private static void appendAttributes(List<AttributeDescriptor> attributes, in appendAttributes() argument 406 DescriptorsUtils.appendAttribute(attributes, in appendAttributes() 523 public CustomViewDescriptor(String name, String fqcn, AttributeDescriptor[] attributes, in CustomViewDescriptor() argument 533 attributes, in CustomViewDescriptor() [all …]
|
D | LayoutDescriptors.java | 230 ArrayList<AttributeDescriptor> attributes = new ArrayList<AttributeDescriptor>(120); in convertView() local 237 DescriptorsUtils.appendAttribute(attributes, in convertView() 246 DescriptorsUtils.appendAttributes(attributes, in convertView() 264 DescriptorsUtils.appendAttributes(attributes, in convertView() 298 attributes.toArray(new AttributeDescriptor[attributes.size()]), in convertView() 317 ArrayList<AttributeDescriptor> attributes = new ArrayList<AttributeDescriptor>(); in insertInclude() local 320 DescriptorsUtils.appendAttribute(attributes, in insertInclude() 329 DescriptorsUtils.appendAttribute(attributes, in insertInclude() 348 attributes.toArray(new AttributeDescriptor[attributes.size()]), in insertInclude()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
D | ElementDescriptor.java | 83 AttributeDescriptor[] attributes, in ElementDescriptor() argument 91 setAttributes(attributes != null ? attributes : new AttributeDescriptor[]{}); in ElementDescriptor() 111 AttributeDescriptor[] attributes, in ElementDescriptor() argument 119 setAttributes(attributes != null ? attributes : new AttributeDescriptor[]{}); in ElementDescriptor() 300 public void setAttributes(AttributeDescriptor[] attributes) { in setAttributes() argument 301 mAttributes = attributes; in setAttributes() 302 for (AttributeDescriptor attribute : attributes) { in setAttributes()
|
/sdk/anttargetprint/src/com/android/anttargetprint/ |
D | BuildXmlHandler.java | 35 public void startElement(String uri, String localName, String qName, Attributes attributes) in startElement() argument 41 String name = attributes.getValue("name"); in startElement() 42 String depends = attributes.getValue("depends"); in startElement() 53 super.startElement(uri, localName, qName, attributes); in startElement()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | ExplodedRenderingHelper.java | 288 NamedNodeMap attributes = node.getAttributes(); in getBiggestMarginInDirection() local 290 String viewId = getAttribute(node, "id", attributes); //$NON-NLS-1$ in getBiggestMarginInDirection() 293 String toLeftOfRef = getAttribute(node, relativeTo, attributes); in getBiggestMarginInDirection() 407 private static String getAttribute(Node node, String name, NamedNodeMap attributes) { in getAttribute() argument 408 if (attributes == null) { in getAttribute() 409 attributes = node.getAttributes(); in getAttribute() 412 if (attributes != null) { in getAttribute() 413 Node attribute = attributes.getNamedItemNS(SdkConstants.NS_RESOURCES, name); in getAttribute()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | ObsoleteLayoutParamsFix.java | 56 NamedNodeMap attributes = element.getAttributes(); in apply() local 57 for (int i = 0, n = attributes.getLength(); i < n; i++) { in apply() 58 Attr attribute = (Attr) attributes.item(i); in apply()
|
D | ConvertToDpFix.java | 63 NamedNodeMap attributes = element.getAttributes(); in apply() local 64 for (int i = 0, n = attributes.getLength(); i < n; i++) { in apply() 65 Attr attribute = (Attr) attributes.item(i); in apply()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactoring/changes/ |
D | AndroidDocumentChange.java | 118 NamedNodeMap attributes = node.getAttributes(); in findAttribute() local 119 if (attributes != null) { in findAttribute() 120 Attr attribute = RefactoringUtil.findAndroidAttributes(attributes, attributeName); in findAttribute() 150 NamedNodeMap attributes = node.getAttributes(); in getElementAttribute() local 151 if (attributes != null) { in getElementAttribute() 154 attribute = RefactoringUtil.findAndroidAttributes(attributes, attributeName); in getElementAttribute() 156 attribute = (Attr) attributes.getNamedItem(attributeName); in getElementAttribute()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/descriptors/ |
D | ItemElementDescriptor.java | 46 String tooltip, String sdk_url, AttributeDescriptor[] attributes, in ItemElementDescriptor() argument 48 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory); in ItemElementDescriptor()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactoring/core/ |
D | RefactoringUtil.java | 84 public static Attr findAndroidAttributes(final NamedNodeMap attributes, in findAndroidAttributes() argument 87 for (int j = 0; j < attributes.getLength(); j++) { in findAndroidAttributes() 88 Node attNode = attributes.item(j); in findAndroidAttributes()
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/location/ |
D | GpxParser.java | 91 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 102 handleLocation(mCurrentWayPoint, attributes); in startElement() 115 handleLocation(mCurrentTrackPoint, attributes); in startElement() 234 private void handleLocation(LocationPoint locationNode, Attributes attributes) { in handleLocation() argument 236 double longitude = Double.parseDouble(attributes.getValue(ATTR_LONGITUDE)); in handleLocation() 237 double latitude = Double.parseDouble(attributes.getValue(ATTR_LATITUDE)); in handleLocation()
|
/sdk/attribute_stats/ |
D | README.txt | 5 files. This is how the "topAttrs" attributes listed in ADT's 6 extra-view-metadata.xml file (which drives the common attributes
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/descriptors/ |
D | OtherXmlDescriptors.java | 339 ArrayList<AttributeDescriptor> attributes = new ArrayList<AttributeDescriptor>(); 340 DescriptorsUtils.appendAttributes(attributes, 352 attributes.add(new SeparatorAttributeDescriptor( 354 DescriptorsUtils.appendAttributes(attributes, 368 attributes.toArray(new AttributeDescriptor[attributes.size()]),
|
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/ |
D | DebuggerConnector.java | 126 Map<?, ?> attributes = config.getAttributes(); in findConfig() local 128 String name = (String) attributes.get( in findConfig() 135 Map<?, ?> connectMap = (Map<?, ?>) attributes.get( in findConfig()
|