Searched defs:attributes (Results 1 - 23 of 23) sorted by relevance

/sdk/anttargetprint/src/com/android/anttargetprint/
H A DBuildXmlHandler.java35 public void startElement(String uri, String localName, String qName, Attributes attributes) argument
41 String name = attributes.getValue("name");
42 String depends = attributes.getValue("depends");
53 super.startElement(uri, localName, qName, attributes);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/
H A DManifestElementDescriptor.java26 * element name, its possible attributes, its possible child elements but also
40 * @param attributes The list of allowed attributes. Can be null or empty.
48 AttributeDescriptor[] attributes,
51 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory);
61 * @param attributes The list of allowed attributes. Can be null or empty.
69 AttributeDescriptor[] attributes,
72 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory);
82 * @param attributes Th
44 ManifestElementDescriptor(String xml_name, String ui_name, String tooltip, String sdk_url, AttributeDescriptor[] attributes, ElementDescriptor[] children, Mandatory mandatory) argument
65 ManifestElementDescriptor(String xml_name, String ui_name, String tooltip, String sdk_url, AttributeDescriptor[] attributes, ElementDescriptor[] children, boolean mandatory) argument
85 ManifestElementDescriptor(String xml_name, String ui_name, String tooltip, String sdk_url, AttributeDescriptor[] attributes, ElementDescriptor[] children) argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/descriptors/
H A DItemElementDescriptor.java32 * tooltip, SDK url, attributes list, children list and mandatory.
38 * @param attributes The list of allowed attributes. Can be null or empty.
46 String tooltip, String sdk_url, AttributeDescriptor[] attributes,
48 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory);
45 ItemElementDescriptor(String xml_name, String ui_name, String tooltip, String sdk_url, AttributeDescriptor[] attributes, ElementDescriptor[] children, boolean mandatory) argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/
H A DDeclareStyleableInfo.java39 * @param attributes The initial list of attributes. Can be null.
41 public DeclareStyleableInfo(String styleName, AttributeInfo[] attributes) { argument
43 mAttributes = attributes == null ? new AttributeInfo[0] : attributes;
47 * Creates a new {@link DeclareStyleableInfo} that has the same attributes
78 /** Returns the attributes for this view or view group. Maybe empty but not null. */
H A DViewClassInfo.java69 /** Returns the LayoutData attributes. Can be empty but not null. */
73 /** Sets the LayoutData attributes. Can be empty but not null. */
74 public void setAttributes(AttributeInfo[] attributes) { argument
75 mAttributes = attributes;
117 /** Returns the attributes for this view or view group. Maybe empty but not null. */
144 /** Sets the list of attributes for this View or ViewGroup. */
145 public void setAttributes(AttributeInfo[] attributes) { argument
146 mAttributes = attributes;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactoring/core/
H A DRefactoringUtil.java79 * @param attributes the attributes collection
84 public static Attr findAndroidAttributes(final NamedNodeMap attributes, argument
87 for (int j = 0; j < attributes.getLength(); j++) {
88 Node attNode = attributes.item(j);
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
H A DApiParser.java54 public void startElement(String uri, String localName, String qName, Attributes attributes) argument
66 String name = attributes.getValue(ATTR_NAME);
67 int since = Integer.parseInt(attributes.getValue(ATTR_SINCE));
72 String name = attributes.getValue(ATTR_NAME);
73 int since = getSince(attributes);
78 String name = attributes.getValue(ATTR_NAME);
79 int since = getSince(attributes);
84 String name = attributes.getValue(ATTR_NAME);
85 int since = getSince(attributes);
90 String name = attributes
112 getSince(Attributes attributes) argument
[all...]
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/location/
H A DKmlParser.java76 public void startElement(String uri, String localName, String name, Attributes attributes) argument
H A DGpxParser.java91 public void startElement(String uri, String localName, String name, Attributes attributes) argument
102 handleLocation(mCurrentWayPoint, attributes);
115 handleLocation(mCurrentTrackPoint, attributes);
230 * Handles the location attributes and store them into a {@link LocationPoint}.
232 * @param attributes the attributes from the XML node.
234 private void handleLocation(LocationPoint locationNode, Attributes attributes) { argument
236 double longitude = Double.parseDouble(attributes.getValue(ATTR_LONGITUDE));
237 double latitude = Double.parseDouble(attributes.getValue(ATTR_LATITUDE));
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/
H A DViewElementDescriptor.java63 /** The list of layout attributes. Can be empty but not null. */
69 /** List of attribute sources, classes that contribute attributes to {@link #mAttributes} */
74 * the canonical name of the class it represents, its tooltip, its SDK url, its attributes list,
83 * @param attributes The list of allowed attributes. Can be null or empty.
84 * @param layoutAttributes The list of layout attributes. Can be null or empty.
94 AttributeDescriptor[] attributes, AttributeDescriptor[] layoutAttributes,
96 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory);
127 /** Returns the list of layout attributes. Can be empty but not null.
129 * @return the list of layout attributes, neve
91 ViewElementDescriptor(String xml_name, String ui_name, String fullClassName, String tooltip, String sdk_url, AttributeDescriptor[] attributes, AttributeDescriptor[] layoutAttributes, ElementDescriptor[] children, boolean mandatory) argument
140 setLayoutAttributes(AttributeDescriptor[] attributes) argument
[all...]
H A DCustomViewDescriptorService.java102 * is modified (either the class itself or its attributes.xml)
137 * is modified (either the class itself or its attributes.xml)
201 AttributeDescriptor[] attributes =
204 attributes = join(attrList, attributes);
213 attributes,
244 @NonNull AttributeDescriptor[] attributes) {
248 attributes,
251 return attributes;
321 * attributes fo
242 join( @onNull List<AttributeDescriptor> attributeList, @NonNull AttributeDescriptor[] attributes) argument
394 appendAttributes(List<AttributeDescriptor> attributes, AttributeInfo[] attributeInfos, String appResource) argument
523 CustomViewDescriptor(String name, String fqcn, AttributeDescriptor[] attributes, AttributeDescriptor[] layoutAttributes, ElementDescriptor[] children, IProject project, Map<ResourceFile, Long> timestamps) argument
[all...]
/sdk/common/src/com/android/utils/
H A DPositionXmlParser.java310 // there is no SAX callback for individual attributes).
504 Attributes attributes) throws SAXException {
508 for (int i = 0; i < attributes.getLength(); i++) {
509 if (attributes.getURI(i) != null && attributes.getURI(i).length() > 0) {
510 Attr attr = mDocument.createAttributeNS(attributes.getURI(i),
511 attributes.getQName(i));
512 attr.setValue(attributes.getValue(i));
516 Attr attr = mDocument.createAttribute(attributes.getQName(i));
517 attr.setValue(attributes
503 startElement(String uri, String localName, String qName, Attributes attributes) argument
[all...]
/sdk/device_validator/dvlib/tests/src/com/android/dvlib/
H A DDeviceSchemaTest.java235 public void startElement(String uri, String localName, String name, Attributes attributes) { argument
237 for (int i = 0; i < attributes.getLength(); i++) {
238 element.setAttribute(attributes.getQName(i), attributes.getValue(i));
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
H A DDescriptorsUtils.java94 * @param attributes The list of {@link AttributeDescriptor} to append to
95 * @param elementXmlName Optional XML local name of the element to which attributes are
99 * @param infos The array of {@link AttributeInfo} to read and append to attributes
100 * @param requiredAttributes An optional set of attributes to mark as "required" (i.e. append
105 public static void appendAttributes(List<AttributeDescriptor> attributes, argument
119 appendAttribute(attributes, elementXmlName, nsUri, info, required, overrides);
126 * @param attributes The list of {@link AttributeDescriptor} to append to
127 * @param elementXmlName Optional XML local name of the element to which attributes are
129 * @param info The {@link AttributeInfo} to append to attributes
136 public static void appendAttribute(List<AttributeDescriptor> attributes, argument
242 containsAttribute(ArrayList<AttributeDescriptor> attributes, String nsUri, AttributeInfo info) argument
[all...]
H A DElementDescriptor.java37 * an attributes list and a children list.
50 /** The list of allowed attributes. */
69 * tooltip, SDK url, attributes list, children list and mandatory.
75 * @param attributes The list of allowed attributes. Can be null or empty.
83 AttributeDescriptor[] attributes,
91 setAttributes(attributes != null ? attributes : new AttributeDescriptor[]{});
97 * tooltip, SDK url, attributes list, children list and mandatory.
103 * @param attributes Th
82 ElementDescriptor(String xml_name, String ui_name, String tooltip, String sdk_url, AttributeDescriptor[] attributes, ElementDescriptor[] children, Mandatory mandatory) argument
110 ElementDescriptor(String xml_name, String ui_name, String tooltip, String sdk_url, AttributeDescriptor[] attributes, ElementDescriptor[] children, boolean mandatory) argument
300 setAttributes(AttributeDescriptor[] attributes) argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
H A DExplodedRenderingHelper.java288 NamedNodeMap attributes = node.getAttributes();
290 String viewId = getAttribute(node, "id", attributes); //$NON-NLS-1$
293 String toLeftOfRef = getAttribute(node, relativeTo, attributes);
405 * @param attributes the option {@link NamedNodeMap} object to use to read the attributes from.
407 private static String getAttribute(Node node, String name, NamedNodeMap attributes) { argument
408 if (attributes == null) {
409 attributes = node.getAttributes();
412 if (attributes != null) {
413 Node attribute = attributes
[all...]
/sdk/sdk_common/src/com/android/ide/common/resources/
H A DValueResourceParser.java89 public void startElement(String uri, String localName, String qName, Attributes attributes) argument
98 ResourceType type = getType(qName, attributes);
102 String name = attributes.getValue(ATTR_NAME);
106 String parent = attributes.getValue(ATTR_PARENT);
129 String name = attributes.getValue(ATTR_NAME);
158 String value = attributes.getValue(ATTR_VALUE);
172 String name = attributes.getValue(ATTR_NAME);
173 String value = attributes.getValue(ATTR_VALUE);
184 super.startElement(uri, localName, qName, attributes);
188 private ResourceType getType(String qName, Attributes attributes) { argument
[all...]
/sdk/sdk_common/src/com/android/ide/common/xml/
H A DAndroidManifestParser.java127 public void startElement(String uri, String localName, String name, Attributes attributes) argument
141 mManifestData.mPackage = getAttributeValue(attributes,
146 String tmp = getAttributeValue(attributes,
160 value = getAttributeValue(attributes,
167 value = getAttributeValue(attributes,
176 mManifestData.setMinSdkVersionString(getAttributeValue(attributes,
179 mManifestData.setTargetSdkVersionString(getAttributeValue(attributes,
183 processInstrumentationNode(attributes);
186 processSupportsScreensNode(attributes);
189 processUsesConfiguration(attributes);
386 processActivityNode(Attributes attributes) argument
425 processNode(Attributes attributes, String superClassName) argument
450 processInstrumentationNode(Attributes attributes) argument
474 processSupportsScreensNode(Attributes attributes) argument
497 processUsesConfiguration(Attributes attributes) argument
525 getAttributeValue(Attributes attributes, String attributeName, boolean hasNamespace) argument
549 getAttributeBooleanValue(Attributes attributes, String attributeName, boolean hasNamespace) argument
[all...]
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/devices/
H A DDeviceParser.java72 public void startElement(String uri, String localName, String name, Attributes attributes) argument
93 String defaultState = attributes.getValue(DeviceSchema.ATTR_DEFAULT);
97 mState.setName(attributes.getValue(DeviceSchema.ATTR_NAME).trim());
103 mUnit = Storage.Unit.getEnum(attributes.getValue(DeviceSchema.ATTR_UNIT));
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
H A DExtractStyleRefactoring.java96 * <li>Optionally look in other files in the project and attempt to set style attributes
97 * in other cases where the style attributes match?
119 /** Remove the attributes that were extracted? */
121 /** List of attributes chosen by the user to be extracted */
123 /** Remove all attributes that match the extracted attributes names, regardless of value */
127 /** The full list of available attributes in the refactoring */
222 void setChosenAttributes(List<Attr> attributes) { argument
223 mChosenAttributes = attributes;
246 * name, and a subset of these attributes tha
[all...]
/sdk/device_validator/dvlib/src/com/android/dvlib/
H A DDeviceSchema.java265 public void startElement(String uri, String localName, String name, Attributes attributes) argument
272 String val = attributes.getValue(ATTR_DEFAULT);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
H A DUiElementNode.java80 * Element nodes don't contain data per se. Their data is contained in their attributes
81 * as well as their children's attributes, see {@link UiAttributeNode}.
114 /** The list of <em>all</em> UI attributes, as declared in the {@link ElementDescriptor}.
116 * is always defined, even for attributes that do not exist in the XML model - that's because
117 * "missing" attributes in the XML model simply mean a default value is used. Also note that
124 /** A read-only view of the UI attributes collection. */
182 * Clears the internal list of attributes, the read-only cached version of it
199 * attributes for this node.
604 * Returns a collection containing all the known attributes as well as
605 * all the unknown ui attributes
1796 setInternalAttrValue( Collection<UiAttributeNode> attributes, String attrXmlName, String attrNsUri, String value, boolean override) argument
[all...]
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/
H A Dandroid-support-v7-gridlayout.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v7/ android/support/v7/widget/ ...

Completed in 324 milliseconds