Home
last modified time | relevance | path

Searched refs:AttributeDescriptor (Results 1 – 25 of 53) sorted by relevance

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/descriptors/
DValuesDescriptors.java34 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
90 new AttributeDescriptor[] { in ValuesDescriptors()
107 new AttributeDescriptor[] { in ValuesDescriptors()
124 new AttributeDescriptor[] { in ValuesDescriptors()
163 new AttributeDescriptor[] { in ValuesDescriptors()
180 new AttributeDescriptor[] { in ValuesDescriptors()
197 new AttributeDescriptor[] { in ValuesDescriptors()
214 new AttributeDescriptor[] { in ValuesDescriptors()
233 new AttributeDescriptor[] { in ValuesDescriptors()
245 new AttributeDescriptor[] { in ValuesDescriptors()
[all …]
DItemElementDescriptor.java19 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
46 String tooltip, String sdk_url, AttributeDescriptor[] attributes, in ItemElementDescriptor()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/
DLayoutDescriptors.java38 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
161 AttributeDescriptor[] frameLayoutAttrs = findViewLayoutAttributes( in updateDescriptors()
236 ArrayList<AttributeDescriptor> attributes = new ArrayList<AttributeDescriptor>(120); in convertView()
280 ArrayList<AttributeDescriptor> layoutAttributes = new ArrayList<AttributeDescriptor>(); in convertView()
304 attributes.toArray(new AttributeDescriptor[attributes.size()]), in convertView()
305 layoutAttributes.toArray(new AttributeDescriptor[layoutAttributes.size()]), in convertView()
323 ArrayList<AttributeDescriptor> attributes = new ArrayList<AttributeDescriptor>(); in insertInclude()
326 AttributeDescriptor[] viewLayoutAttribs; in insertInclude()
327 AttributeDescriptor[] viewAttributes = null; in insertInclude()
331 attributes = new ArrayList<AttributeDescriptor>(viewAttributes.length + 1); in insertInclude()
[all …]
DCustomViewDescriptorService.java36 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
196 List<AttributeDescriptor> attrList = new ArrayList<AttributeDescriptor>(); in getDescriptor()
197 List<AttributeDescriptor> paramList = new ArrayList<AttributeDescriptor>(); in getDescriptor()
201 AttributeDescriptor[] attributes = in getDescriptor()
206 AttributeDescriptor[] layoutAttributes = in getDescriptor()
242 private static AttributeDescriptor[] join( in join()
243 @NonNull List<AttributeDescriptor> attributeList, in join()
244 @NonNull AttributeDescriptor[] attributes) { in join()
247 attributeList.toArray(new AttributeDescriptor[attributeList.size()]), in join()
249 AttributeDescriptor.class); in join()
[all …]
DViewElementDescriptor.java28 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
66 private AttributeDescriptor[] mLayoutAttributes;
96 AttributeDescriptor[] attributes, AttributeDescriptor[] layoutAttributes, in ViewElementDescriptor()
100 … mLayoutAttributes = layoutAttributes != null ? layoutAttributes : new AttributeDescriptor[0]; in ViewElementDescriptor()
133 public AttributeDescriptor[] getLayoutAttributes() { in getLayoutAttributes()
142 public void setLayoutAttributes(AttributeDescriptor[] attributes) { in setLayoutAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/descriptors/
DOtherXmlDescriptors.java26 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
230 AttributeDescriptor extraAttribute,
246 AttributeDescriptor extraAttribute) {
247 ArrayList<AttributeDescriptor> descs = new ArrayList<AttributeDescriptor>();
264 element.setAttributes(descs.toArray(new AttributeDescriptor[descs.size()]));
314 AttributeDescriptor[] attrs = topPreferences.getAttributes();
315 AttributeDescriptor[] newAttrs = new AttributeDescriptor[attrs.length + 1];
339 ArrayList<AttributeDescriptor> attributes = new ArrayList<AttributeDescriptor>();
368 attributes.toArray(new AttributeDescriptor[attributes.size()]),
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiAttributeNode.java21 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
38 private AttributeDescriptor mDescriptor;
45 public UiAttributeNode(AttributeDescriptor attributeDescriptor, UiElementNode uiParent) { in UiAttributeNode()
51 public final AttributeDescriptor getDescriptor() { in getDescriptor()
DUiElementNode.java32 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
121 private HashMap<AttributeDescriptor, UiAttributeNode> mUiAttributes;
128 private Map<String, AttributeDescriptor> mCachedHiddenAttributes;
202 private HashMap<AttributeDescriptor, UiAttributeNode> getInternalUiAttributes() { in getInternalUiAttributes()
204 AttributeDescriptor[] attrList = getAttributeDescriptors(); in getInternalUiAttributes()
205 mUiAttributes = new HashMap<AttributeDescriptor, UiAttributeNode>(attrList.length); in getInternalUiAttributes()
206 for (AttributeDescriptor desc : attrList) { in getInternalUiAttributes()
442 public AttributeDescriptor[] getAttributeDescriptors() { in getAttributeDescriptors()
454 private Map<String, AttributeDescriptor> getHiddenAttributeDescriptors() { in getHiddenAttributeDescriptors()
456 mCachedHiddenAttributes = new HashMap<String, AttributeDescriptor>(); in getHiddenAttributeDescriptors()
[all …]
DUiAbstractTextAttributeNode.java19 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
43 public UiAbstractTextAttributeNode(AttributeDescriptor attributeDescriptor, in UiAbstractTextAttributeNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DAttributeDescriptor.java37 public abstract class AttributeDescriptor implements Comparable<AttributeDescriptor> { class
56 public AttributeDescriptor(String xmlLocalName, String nsUri, IAttributeInfo attrInfo) { in AttributeDescriptor() method in AttributeDescriptor
118 public int compareTo(AttributeDescriptor other) { in compareTo()
DElementDescriptor.java51 private AttributeDescriptor[] mAttributes;
83 AttributeDescriptor[] attributes, in ElementDescriptor()
91 setAttributes(attributes != null ? attributes : new AttributeDescriptor[]{}); in ElementDescriptor()
111 AttributeDescriptor[] attributes, in ElementDescriptor()
119 setAttributes(attributes != null ? attributes : new AttributeDescriptor[]{}); in ElementDescriptor()
295 public AttributeDescriptor[] getAttributes() { in getAttributes()
300 public void setAttributes(AttributeDescriptor[] attributes) { in setAttributes()
302 for (AttributeDescriptor attribute : attributes) { in setAttributes()
457 for (AttributeDescriptor desc : mAttributes) { in definesAttribute()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/
DManifestElementDescriptor.java19 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
48 AttributeDescriptor[] attributes, in ManifestElementDescriptor()
69 AttributeDescriptor[] attributes, in ManifestElementDescriptor()
89 AttributeDescriptor[] attributes, in ManifestElementDescriptor()
DAndroidManifestDescriptors.java26 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
371 private void insertAttribute(ElementDescriptor element, AttributeDescriptor newAttr) { in insertAttribute()
372 AttributeDescriptor[] attributes = element.getAttributes(); in insertAttribute()
373 for (AttributeDescriptor attr : attributes) { in insertAttribute()
379 AttributeDescriptor[] newArray = new AttributeDescriptor[attributes.length + 1]; in insertAttribute()
422 ArrayList<AttributeDescriptor> attrDescs = new ArrayList<AttributeDescriptor>(); in inflateElement()
430 elemDesc.setAttributes(attrDescs.toArray(new AttributeDescriptor[attrDescs.size()])); in inflateElement()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/descriptors/
DMenuDescriptors.java25 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
140 AttributeDescriptor extraAttribute, in createElement()
158 AttributeDescriptor extraAttribute) { in updateElement()
159 ArrayList<AttributeDescriptor> descs = new ArrayList<AttributeDescriptor>(); in updateElement()
176 element.setAttributes(descs.toArray(new AttributeDescriptor[descs.size()])); in updateElement()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/
DAnimationContentAssist.java28 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
120 Map<String, AttributeDescriptor> matches = in computeAttributeValues()
121 new HashMap<String, AttributeDescriptor>(180); in computeAttributeValues()
123 for (AttributeDescriptor desc : elementDesc.getAttributes()) { in computeAttributeValues()
143 List<AttributeDescriptor> sorted = in computeAttributeValues()
144 new ArrayList<AttributeDescriptor>(matches.size()); in computeAttributeValues()
152 for (AttributeDescriptor d : sorted) { in computeAttributeValues()
DAnimatorDescriptors.java22 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
141 AttributeDescriptor extraAttribute, in addElement()
151 ArrayList<AttributeDescriptor> descs = new ArrayList<AttributeDescriptor>(); in addElement()
177 element.setAttributes(descs.toArray(new AttributeDescriptor[descs.size()])); in addElement()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/uimodel/
DUiViewElementNode.java31 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
55 private AttributeDescriptor[] mCachedAttributeDescriptors;
68 public AttributeDescriptor[] getAttributeDescriptors() { in getAttributeDescriptors()
77 AttributeDescriptor[] direct_attrs = super.getAttributeDescriptors(); in getAttributeDescriptors()
81 AttributeDescriptor[] layout_attrs = null; in getAttributeDescriptors()
118 new AttributeDescriptor[direct_attrs.length + in getAttributeDescriptors()
128 AttributeDescriptor desc = new XmlnsAttributeDescriptor(ANDROID_NS_NAME, ANDROID_URI); in getAttributeDescriptors()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/
DValuesContentAssist.java26 import static com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor.ATTRIBUT…
32 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
110 Map<String, AttributeDescriptor> matches = in computeAttributeValues()
111 new HashMap<String, AttributeDescriptor>(180); in computeAttributeValues()
113 for (AttributeDescriptor desc : elementDesc.getAttributes()) { in computeAttributeValues()
124 List<AttributeDescriptor> sorted = in computeAttributeValues()
125 new ArrayList<AttributeDescriptor>(matches.size()); in computeAttributeValues()
173 for (AttributeDescriptor desc : elementDesc.getAttributes()) { in computeTextValues()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DPropertyValueCompleter.java21 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
38 protected AttributeDescriptor getDescriptor() { in getDescriptor()
DEnumXmlPropertyEditor.java19 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
50 AttributeDescriptor descriptor = xmlProperty.getDescriptor(); in getItems()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DValueCompleterTest.java26 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
132 private final AttributeDescriptor mDescriptor;
134 TestValueCompleter(AttributeDescriptor descriptor) { in TestValueCompleter()
147 protected AttributeDescriptor getDescriptor() { in getDescriptor()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/
DUiElementPullParserTest.java22 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
59 new AttributeDescriptor[] { in setUp()
66 new AttributeDescriptor[] { in setUp()
74 new AttributeDescriptor[] { in setUp()
81 new AttributeDescriptor[] { in setUp()
95 new AttributeDescriptor[] { }, a, false); in setUp()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/
DApplicationAttributesPart.java20 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
109 AttributeDescriptor[] attr_desc_list = uiElementNode.getAttributeDescriptors(); in createUiAttributes()
121 AttributeDescriptor attr_desc = attr_desc_list[i / 2 + (i & 1) * n2]; in createUiAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/
DUiElementPart.java20 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
212 AttributeDescriptor[] attr_desc_list = uiNode.getAttributeDescriptors(); in insertUiAttributes()
213 for (AttributeDescriptor attr_desc : attr_desc_list) { in insertUiAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/color/
DColorDescriptors.java25 import com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor;
47 new AttributeDescriptor[] {

123