Home
last modified time | relevance | path

Searched refs:AttributeInfo (Results 1 – 21 of 21) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/
DViewClassInfo.java37 private AttributeInfo[] mAttributes;
47 private AttributeInfo[] mAttributes;
54 mAttributes = new AttributeInfo[0]; in LayoutParamsInfo()
70 public AttributeInfo[] getAttributes() { in getAttributes()
74 public void setAttributes(AttributeInfo[] attributes) { in setAttributes()
89 mAttributes = new AttributeInfo[0]; in ViewClassInfo()
118 public AttributeInfo[] getAttributes() { in getAttributes()
145 public void setAttributes(AttributeInfo[] attributes) { in setAttributes()
DDeclareStyleableInfo.java29 private final AttributeInfo[] mAttributes;
41 public DeclareStyleableInfo(String styleName, AttributeInfo[] attributes) { in DeclareStyleableInfo()
43 mAttributes = attributes == null ? new AttributeInfo[0] : attributes; in DeclareStyleableInfo()
64 AttributeInfo[] attrs = existing.getAttributes(); in DeclareStyleableInfo()
66 mAttributes = new AttributeInfo[0]; in DeclareStyleableInfo()
68 mAttributes = new AttributeInfo[attrs.length]; in DeclareStyleableInfo()
79 public AttributeInfo[] getAttributes() { in getAttributes()
DAttrsXmlParser.java58 private Map<String, AttributeInfo> mAttributeMap;
98 public Map<String, AttributeInfo> getAttributeMap() { in getAttributeMap()
192 AttributeInfo[] attributes = style.getAttributes(); in loadViewAttributes()
193 for (AttributeInfo attribute : attributes) { in loadViewAttributes()
221 AttributeInfo[] attributes = style.getAttributes(); in loadLayoutParamsAttributes()
222 for (AttributeInfo attribute : attributes) { in loadLayoutParamsAttributes()
329 DeclareStyleableInfo style = new DeclareStyleableInfo(name, (AttributeInfo[])null); in parseResources()
418 private AttributeInfo parseAttr(Node attrNode, Node lastComment) { in parseAttr()
419 AttributeInfo info = null; in parseAttr()
433 info = new AttributeInfo(info); in parseAttr()
[all …]
DAttributeInfo.java52 public class AttributeInfo implements IAttributeInfo { class
74 public AttributeInfo(@NonNull String name, @NonNull EnumSet<Format> formats) { in AttributeInfo() method in AttributeInfo
85 public AttributeInfo(@NonNull String name, @NonNull EnumSet<Format> formats, String javadoc) { in AttributeInfo() method in AttributeInfo
91 public AttributeInfo(AttributeInfo info) { in AttributeInfo() method in AttributeInfo
142 public AttributeInfo setEnumValues(String[] values) { in setEnumValues()
148 public AttributeInfo setFlagValues(String[] values) { in setFlagValues()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/resources/platform/
DAttributeInfoTest.java55 AttributeInfo info = new AttributeInfo("test", EnumSet.noneOf(Format.class)); in testSimple()
62 AttributeInfo info = new AttributeInfo("test", Format.STRING_SET); in testIsValidString()
69 AttributeInfo info = new AttributeInfo("test", Format.BOOLEAN_SET); in testIsValidBoolean()
80 AttributeInfo info = new AttributeInfo("test", Format.INTEGER_SET); in testIsValidInteger()
95 AttributeInfo info = new AttributeInfo("test", Format.FLOAT_SET); in testIsValidFloat()
115 AttributeInfo info = new AttributeInfo("test", Format.DIMENSION_SET); in testIsValidDimension()
133 AttributeInfo info = new AttributeInfo("test", Format.COLOR_SET); in testIsValidColor()
146 AttributeInfo info = new AttributeInfo("test", EnumSet.<Format>of(Format.FRACTION)); in testIsValidFraction()
158 AttributeInfo info = new AttributeInfo("test", Format.REFERENCE_SET); in testIsValidReference()
174 AttributeInfo info = new AttributeInfo("test", Format.ENUM_SET); in testIsValidEnum()
[all …]
DAttrsXmlParserTest.java65 AttributeInfo[] attrs = info.getAttributes(); in testLoadViewAttributes()
100 AttributeInfo[] attrs = dep.getAttributes(); in testDeprecated()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/descriptors/
DValuesDescriptors.java33 import com.android.ide.common.resources.platform.AttributeInfo;
83 AttributeInfo nameAttrInfo = new AttributeInfo(ATTR_NAME, Format.STRING_SET); in ValuesDescriptors()
131 new AttributeInfo(ATTR_TYPE, in ValuesDescriptors()
137 new AttributeInfo("format", in ValuesDescriptors()
204 new AttributeInfo("parent", //$NON-NLS-1$ in ValuesDescriptors()
276 new AttributeInfo("quantity", Format.ENUM_SET) in ValuesDescriptors()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/
DLayoutDescriptors.java34 import com.android.ide.common.resources.platform.AttributeInfo;
239 AttributeInfo styleInfo = new AttributeInfo( in convertView()
267 AttributeInfo[] attrList = link.getAttributes(); in convertView()
284 for (AttributeInfo attrInfo : layoutParams.getAttributes()) { in convertView()
341 new AttributeInfo( in insertInclude()
408 new AttributeInfo(ATTR_CLASS, Format.STRING_SET), in createFragment()
445 new AttributeInfo(ATTR_NAME, Format.STRING_SET), in createFragment()
452 new AttributeInfo(ATTR_TAG, Format.STRING_SET), in createFragment()
475 new AttributeInfo(ATTR_CLASS, Format.STRING_SET), in createViewTag()
DViewElementDescriptor.java25 import com.android.ide.common.resources.platform.AttributeInfo;
DCustomViewDescriptorService.java29 import com.android.ide.common.resources.platform.AttributeInfo;
395 AttributeInfo[] attributeInfos, String appResource) { in appendAttributes()
397 for (AttributeInfo info : attributeInfos) { in appendAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DReferenceAttributeDescriptor.java22 import com.android.ide.common.resources.platform.AttributeInfo;
54 new AttributeInfo(xmlLocalName, Format.REFERENCE_SET));
DDescriptorsUtils.java47 import com.android.ide.common.resources.platform.AttributeInfo;
107 String nsUri, AttributeInfo[] infos, in appendAttributes()
110 for (AttributeInfo info : infos) { in appendAttributes()
139 AttributeInfo info, boolean required, in appendAttribute()
244 AttributeInfo info) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/color/
DColorDescriptors.java22 import com.android.ide.common.resources.platform.AttributeInfo;
80 new AttributeInfo(ATTR_COLOR, Format.COLOR_SET)).setTooltip( in updateDescriptors()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DIdeScanningContext.java27 import com.android.ide.common.resources.platform.AttributeInfo;
60 private Map<String, AttributeInfo> mAttributeMap;
226 AttributeInfo info = mAttributeMap.get(name); in checkValue()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DAndroidTargetData.java24 import com.android.ide.common.resources.platform.AttributeInfo;
93 private Map<String, AttributeInfo> mAttributeMap;
107 public void setAttributeMap(@NonNull Map<String, AttributeInfo> attributeMap) { in setAttributeMap()
118 public Map<String, AttributeInfo> getAttributeMap() { in getAttributeMap()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/drawable/
DDrawableDescriptors.java22 import com.android.ide.common.resources.platform.AttributeInfo;
215 new AttributeInfo("drawable", Format.REFERENCE_SET)) in updateDescriptors()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/
DUiElementPullParserTest.java21 import com.android.ide.common.resources.platform.AttributeInfo;
48 new AttributeInfo(xmlName, Format.STRING_SET) in createTextAttrDesc()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/descriptors/
DOtherXmlDescriptors.java23 import com.android.ide.common.resources.platform.AttributeInfo;
350 AttributeInfo[] attrList = link.getAttributes();
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/
DAndroidManifestDescriptors.java22 import com.android.ide.common.resources.platform.AttributeInfo;
119 new AttributeInfo(PACKAGE_ATTR, Format.REFERENCE_SET)).setTooltip( in AndroidManifestDescriptors()
293 attrInfo = new AttributeInfo(xmlName, Format.STRING_SET ); in overrideClassName()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DNodeProxy.java26 import com.android.ide.common.resources.platform.AttributeInfo;
419 IAttributeInfo[] infos = new AttributeInfo[n]; in getDeclaredAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiElementNode.java28 import com.android.ide.common.resources.platform.AttributeInfo;
1501 new AttributeInfo(xmlAttrLocalName, Format.STRING_SET) in addUnknownAttribute()