Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 66) sorted by relevance

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/
DManifestElementDescriptor.java48 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()
DAndroidManifestDescriptors.java372 AttributeDescriptor[] attributes = element.getAttributes(); in insertAttribute() local
373 for (AttributeDescriptor attr : attributes) { in insertAttribute()
379 AttributeDescriptor[] newArray = new AttributeDescriptor[attributes.length + 1]; in insertAttribute()
381 System.arraycopy(attributes, 0, newArray, 1, attributes.length); in insertAttribute()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DActionBarHandler.java53 ActivityAttributes attributes = getActivityAttributes(); in getSplitActionBarWhenNarrow() local
54 if (attributes != null) { in getSplitActionBarWhenNarrow()
55 return VALUE_SPLIT_ACTION_BAR_WHEN_NARROW.equals(attributes.getUiOptions()); in getSplitActionBarWhenNarrow()
74 ActivityAttributes attributes = getActivityAttributes(); in getHomeButtonStyle() local
75 if (attributes != null && attributes.getParentActivity() != null) { in getHomeButtonStyle()
DExplodedRenderingHelper.java288 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/common/resources/platform/
DViewClassInfo.java74 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()
DDeclareStyleableInfo.java41 public DeclareStyleableInfo(String styleName, AttributeInfo[] attributes) { in DeclareStyleableInfo() argument
43 mAttributes = attributes == null ? new AttributeInfo[0] : attributes; in DeclareStyleableInfo()
DAttrsXmlParser.java192 AttributeInfo[] attributes = style.getAttributes(); in loadViewAttributes() local
193 for (AttributeInfo attribute : attributes) { in loadViewAttributes()
198 info.setAttributes(attributes); in loadViewAttributes()
221 AttributeInfo[] attributes = style.getAttributes(); in loadLayoutParamsAttributes() local
222 for (AttributeInfo attribute : attributes) { in loadLayoutParamsAttributes()
227 info.setAttributes(attributes); in loadLayoutParamsAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTypedVariable.java31 public static Object parseGlobal(Attributes attributes) { in parseGlobal() argument
32 String value = attributes.getValue(TemplateHandler.ATTR_VALUE); in parseGlobal()
33 Type type = Type.get(attributes.getValue(TemplateHandler.ATTR_TYPE)); in parseGlobal()
DTemplateHandler.java474 Attributes attributes) in processVariables()
477 String id = attributes.getValue(ATTR_ID); in processVariables()
479 String value = attributes.getValue(ATTR_DEFAULT); in processVariables()
482 String type = attributes.getValue(ATTR_TYPE); in processVariables()
490 String id = attributes.getValue(ATTR_ID); in processVariables()
492 paramMap.put(id, TypedVariable.parseGlobal(attributes)); in processVariables()
496 String path = attributes.getValue(ATTR_FILE); in processVariables()
501 String path = attributes.getValue(ATTR_FILE); in processVariables()
506 String dependencyName = attributes.getValue(ATTR_NAME); in processVariables()
599 Attributes attributes) in execute()
[all …]
DTemplateMetadata.java370 NamedNodeMap attributes = thumb.getAttributes(); in getThumbnailPath() local
371 if (bestMatch == null && attributes.getLength() == 0) { in getThumbnailPath()
373 } else if (attributes.getLength() <= bestMatchCount) { in getThumbnailPath()
378 for (int j = 0, max = attributes.getLength(); j < max; j++) { in getThumbnailPath()
379 Attr attribute = (Attr) attributes.item(j); in getThumbnailPath()
395 bestMatchCount = attributes.getLength(); in getThumbnailPath()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DElementDescriptor.java83 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/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/
DViewElementDescriptor.java96 AttributeDescriptor[] attributes, AttributeDescriptor[] layoutAttributes, in ViewElementDescriptor() argument
98 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory); in ViewElementDescriptor()
142 public void setLayoutAttributes(AttributeDescriptor[] attributes) { in setLayoutAttributes() argument
143 assert attributes != null; in setLayoutAttributes()
144 mLayoutAttributes = attributes; in setLayoutAttributes()
DCustomViewDescriptorService.java201 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 …]
DLayoutDescriptors.java236 ArrayList<AttributeDescriptor> attributes = new ArrayList<AttributeDescriptor>(120); in convertView() local
243 DescriptorsUtils.appendAttribute(attributes, in convertView()
252 DescriptorsUtils.appendAttributes(attributes, in convertView()
270 DescriptorsUtils.appendAttributes(attributes, in convertView()
304 attributes.toArray(new AttributeDescriptor[attributes.size()]), in convertView()
323 ArrayList<AttributeDescriptor> attributes = new ArrayList<AttributeDescriptor>(); in insertInclude() local
331 attributes = new ArrayList<AttributeDescriptor>(viewAttributes.length + 1); in insertInclude()
338 DescriptorsUtils.appendAttribute(attributes, in insertInclude()
349 attributes.add(descriptor); in insertInclude()
359 attributes.toArray(new AttributeDescriptor[attributes.size()]), in insertInclude()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DObsoleteLayoutParamsFix.java56 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()
DConvertToDpFix.java63 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/editors/values/descriptors/
DItemElementDescriptor.java46 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/attribute_stats/
DREADME.txt5 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/
DOtherXmlDescriptors.java339 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/
DDebuggerConnector.java126 Map<?, ?> attributes = config.getAttributes(); in findConfig() local
128 String name = (String) attributes.get( in findConfig()
135 Map<?, ?> connectMap = (Map<?, ?>) attributes.get( in findConfig()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DChangeViewRefactoring.java235 List<Attr> attributes = findAttributes(element); in removeUndefinedAttrs() local
236 for (Attr attribute : attributes) { in removeUndefinedAttrs()
253 NamedNodeMap attributes = root.getAttributes(); in findAttributes() local
254 for (int i = 0, n = attributes.getLength(); i < n; i++) { in findAttributes()
255 Node attributeNode = attributes.item(i); in findAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcompletion1-expected-completion12.txt38 <SlidingDrawer ></SlidingDrawer> : SlidingDrawer specific attributes.
63 …GestureOverlayView ></android.gesture.GestureOverlayView> : GestureOverlayView specific attributes.
Dcompletion1-expected-completion11.txt38 <SlidingDrawer ></SlidingDrawer> : SlidingDrawer specific attributes.
63 …GestureOverlayView ></android.gesture.GestureOverlayView> : GestureOverlayView specific attributes.
Dcompletion9-expected-completion64.txt38 <SlidingDrawer ></SlidingDrawer> : SlidingDrawer specific attributes.
63 …GestureOverlayView ></android.gesture.GestureOverlayView> : GestureOverlayView specific attributes.
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DCompletionProposal.java203 NamedNodeMap attributes = root.getAttributes(); in apply() local
204 for (int i = 0, n = attributes.getLength(); i < n; i++) { in apply()
205 Attr attribute = (Attr) attributes.item(i); in apply()

123