Home
last modified time | relevance | path

Searched refs:attributeName (Results 1 – 17 of 17) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactoring/changes/
DAndroidDocumentChange.java113 private Attr findAttribute(IDOMDocument xmlDoc, String element, String attributeName, in findAttribute() argument
120 Attr attribute = RefactoringUtil.findAndroidAttributes(attributes, attributeName); in findAttribute()
146 String attributeName, boolean useNamespace) { in getElementAttribute() argument
154 attribute = RefactoringUtil.findAndroidAttributes(attributes, attributeName); in getElementAttribute()
156 attribute = (Attr) attributes.getNamedItem(attributeName); in getElementAttribute()
253 protected TextEdit createTextEdit(String elementName, String attributeName, String oldValue, in createTextEdit() argument
255 return createTextEdit(elementName, attributeName, oldValue, newValue, true); in createTextEdit()
269 protected TextEdit createTextEdit(String elementName, String attributeName, String oldName, in createTextEdit() argument
273 Attr attr = findAttribute(xmlDoc, elementName, attributeName, oldName); in createTextEdit()
DAndroidLayoutChange.java258 private Attr findAttribute(IDOMDocument xmlDoc, String element, String attributeName, in findAttribute() argument
265 Attr attribute = RefactoringUtil.findAndroidAttributes(attributes, attributeName); in findAttribute()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestContentAssist.java52 String parentTagName, String attributeName, Node node, String wordPrefix, in computeAttributeValues() argument
54 if (attributeName.endsWith(ATTRIBUTE_MIN_SDK_VERSION) in computeAttributeValues()
55 || attributeName.endsWith(ATTRIBUTE_TARGET_SDK_VERSION)) { in computeAttributeValues()
85 super.computeAttributeValues(proposals, offset, parentTagName, attributeName, node, in computeAttributeValues()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/
DAnimationContentAssist.java74 String parentTagName, String attributeName, Node node, String wordPrefix, in computeAttributeValues() argument
79 if (attributeName.endsWith(INTERPOLATOR_PROPERTY_NAME)) { in computeAttributeValues()
98 super.computeAttributeValues(proposals, offset, parentTagName, attributeName, node, in computeAttributeValues()
101 && attributeName.endsWith(PROPERTY_NAME)) { in computeAttributeValues()
163 super.computeAttributeValues(proposals, offset, parentTagName, attributeName, node, in computeAttributeValues()
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DScrollViewChildDetector.java84 String attributeName = isHorizontal ? ATTR_LAYOUT_WIDTH : ATTR_LAYOUT_HEIGHT; in visitElement() local
86 Attr sizeNode = child.getAttributeNodeNS(ANDROID_URI, attributeName); in visitElement()
93 child.getTagName(), attributeName); in visitElement()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DSetScrollViewSizeFix.java57 String attributeName = isHorizontal ? ATTR_LAYOUT_WIDTH : ATTR_LAYOUT_HEIGHT; in apply() local
58 element.setAttributeNS(ANDROID_URI, attributeName, VALUE_WRAP_CONTENT); in apply()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DAndroidTargetData.java268 public String[] getAttributeValues(String elementName, String attributeName) { in getAttributeValues() argument
269 String key = String.format("(%1$s,%2$s)", elementName, attributeName); //$NON-NLS-1$ in getAttributeValues()
287 public String[] getAttributeValues(String elementName, String attributeName, in getAttributeValues() argument
291 greatGrandParentElementName, elementName, attributeName); in getAttributeValues()
298 return getAttributeValues(elementName, attributeName); in getAttributeValues()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java373 String attributeName = ""; //$NON-NLS-1$ in replaceIds() local
378 attributeName = region.getText(subRegion); in replaceIds()
381 if (!attributeName.startsWith(namePrefix)) { in replaceIds()
963 String attributePrefix, String attributeName, String attributeValue) { in setAttribute() argument
966 if (element.hasAttributeNS(attributeUri, attributeName)) { in setAttribute()
968 attributeUri, attributeName, attributeValue); in setAttribute()
970 addAttributeDeclaration(rootEdit, offset, attributePrefix, attributeName, in setAttribute()
977 String attributePrefix, String attributeName, String attributeValue) { in addAttributeDeclaration() argument
984 sb.append(attributeName).append('=').append('"'); in addAttributeDeclaration()
994 String attributeName, String attributeValue) { in replaceAttributeDeclaration() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/
DAndroidJUnitLaunchConfigDelegate.java261 private String getStringLaunchAttribute(String attributeName, in getStringLaunchAttribute() argument
264 String attrValue = configuration.getAttribute(attributeName, EMPTY_STRING); in getStringLaunchAttribute()
271 attributeName)); in getStringLaunchAttribute()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/
DValuesContentAssist.java74 String parentTagName, String attributeName, Node node, String wordPrefix, in computeAttributeValues() argument
76 super.computeAttributeValues(proposals, offset, parentTagName, attributeName, node, in computeAttributeValues()
79 if (parentTagName.equals(TAG_ITEM) && ATTR_NAME.equals(attributeName)) { in computeAttributeValues()
/sdk/sdk_common/src/com/android/ide/common/xml/
DAndroidManifestParser.java525 private String getAttributeValue(Attributes attributes, String attributeName, in getAttributeValue() argument
529 if (attributeName.equals(attributes.getLocalName(i)) && in getAttributeValue()
549 private Boolean getAttributeBooleanValue(Attributes attributes, String attributeName, in getAttributeBooleanValue() argument
553 if (attributeName.equals(attributes.getLocalName(i)) && in getAttributeBooleanValue()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DBaseLayoutRuleTest.java191 public String replace(String attributeUri, String attributeName, in testAddAttributes2()
193 if (attributeName.equals("hidden")) { in testAddAttributes2()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DElementDescriptor.java456 public boolean definesAttribute(String namespaceUri, String attributeName) { in definesAttribute() argument
458 if (desc.getXmlLocalName().equals(attributeName) && in definesAttribute()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DBaseLayoutRule.java156 String attributeName) { in createGravityAction() argument
163 IAttributeInfo info = first.getAttributeInfo(ANDROID_URI, attributeName); in createGravityAction()
177 attributeName), in createGravityAction()
179 first.getStringAttr(ANDROID_URI, attributeName), ICON_GRAVITY, in createGravityAction()
462 String replace(String attributeUri, String attributeName, String attributeValue); in replace() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
DGLState.java306 IGLProperty attributeName = new GLStringProperty(GLStateType.ATTRIBUTE_NAME, ""); in createProgramState() local
314 attributeName, attributeType, attributeSize, attributeValue); in createProgramState()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DHyperlinks.java343 String attributeName = attribute.getLocalName(); in isClassAttribute() local
344 return ATTR_CLASS.equals(attributeName) && (VIEW.equals(tag) || VIEW_FRAGMENT.equals(tag)) in isClassAttribute()
345 || ATTR_NAME.equals(attributeName) && VIEW_FRAGMENT.equals(tag); in isClassAttribute()
DAndroidContentAssist.java470 String parentTagName, String attributeName, Node node, String wordPrefix, in computeAttributeValues() argument