Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 25 of 40) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcompletion11-expected-completion73.txt1 Code completion in completion11.xml for ?android:attr/Textapp^:
2 ?android:attr/textAppearance : Base text color, typeface, size, and style.
3 ?android:attr/textAppearanceButton
4 ?android:attr/textAppearanceInverse
5 ?android:attr/textAppearanceLarge
6 ?android:attr/textAppearanceLargeInverse
7 ?android:attr/textAppearanceLargePopupMenu
8 ?android:attr/textAppearanceListItem
9 ?android:attr/textAppearanceListItemSmall
10 ?android:attr/textAppearanceMedium
[all …]
Dcompletion11-expected-applyCompletion46.diff1 Code completion in completion11.xml for ?android:attr/Textapp^ selecting ?android:attr/textAppearan…
3 - style="?android:attr/Textapp^"
4 + style="?android:attr/textAppearanceLargeInverse^"
Dcompletion11-expected-completion72.txt1 Code completion in completion11.xml for ?^android:attr/Textapp:
2 ?android:attr/
3 ?attr/
Dnavigation1-expected-navigate15.txt1 Go To Declaration in navigation1.xml for ?android:attr/alert^DialogStyle:
2 Open Declaration in values/attrs.xml : [?android:attr/alertDialogStyle]
7 <attr name="alertDialogStyle" format="reference" />^
Dcompletion11-expected-completion74.txt1 Code completion in completion11.xml for ?and^roid:attr/Textapp:
2 ?android:attr/
Dnavigation1-expected-navigate16.txt7 <attr name="alertDialogStyle" format="reference" />^
Dcompletion1-expected-completion6.txt6 @android:attr/
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiManifestElementNode.java84 String attr = _Element_getAttributeNS(elem, in getShortDescription() local
87 if (attr == null || attr.length() == 0) { in getShortDescription()
88 attr = _Element_getAttributeNS(elem, in getShortDescription()
92 if (attr != null && attr.length() > 0) { in getShortDescription()
95 if (attr.contains(name)) { in getShortDescription()
96 return attr; in getShortDescription()
98 return String.format("%1$s (%2$s)", attr, name); in getShortDescription()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiElementNode.java225 String attr = getDescAttribute(); in getShortDescription() local
226 if (attr != null) { in getShortDescription()
229 if (attr.contains(name)) { in getShortDescription()
230 return attr; in getShortDescription()
232 return String.format("%1$s (%2$s)", attr, name); in getShortDescription()
247 String attr = _Element_getAttributeNS(elem, in getDescAttribute() local
250 if (attr == null || attr.length() == 0) { in getDescAttribute()
251 attr = _Element_getAttributeNS(elem, in getDescAttribute()
255 attr = attr.substring(attr.lastIndexOf('.') + 1); in getDescAttribute()
257 if (attr == null || attr.length() == 0) { in getDescAttribute()
[all …]
/sdk/templates/docs/
Ddefault.js26 …$(this).attr('id', 'toc_' + sluggify_($(this).data('tocid') || $(this).data('toctitle') || $(this)…
28 smoothScrollToId($(this).attr('id'));
69 var tocId = $(this).attr('id');
80 .attr('id', navId)
93 id: $(this).attr('id').replace(/toc_/, 'nav_'),
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DSetPropertyFix.java87 Attr attr = null; in apply() local
89 attr = element.getAttributeNodeNS(ANDROID_URI, localAttribute); in apply()
91 attr = element.getAttributeNode(localAttribute); in apply()
93 if (attr instanceof IndexedRegion) { in apply()
94 IndexedRegion region = (IndexedRegion) attr; in apply()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DClipboardSupport.java347 for (IDragAttribute attr : pastedElement.getAttributes()) { in pasteInEmptyDocument()
349 attr.getName(), in pasteInEmptyDocument()
350 attr.getUri(), in pasteInEmptyDocument()
351 attr.getValue(), in pasteInEmptyDocument()
381 for (IDragAttribute attr : childElement.getAttributes()) { in pasteInEmptyDocument()
383 attr.getName(), in pasteInEmptyDocument()
384 attr.getUri(), in pasteInEmptyDocument()
385 attr.getValue(), in pasteInEmptyDocument()
DSimpleElement.java119 for (IDragAttribute attr : mAttributes) { in getAttribute()
120 if (attr.getUri().equals(uri) && attr.getName().equals(localName)) { in getAttribute()
121 return attr; in getAttribute()
136 public void addAttribute(SimpleAttribute attr) { in addAttribute() argument
138 mAttributes.add(attr); in addAttribute()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRefactoringUtil.java128 @NonNull Attr attr, in getAttributeValueRangeStart()
130 IndexedRegion region = (IndexedRegion) attr; in getAttributeValueRangeStart()
131 int potentialStart = attr.getName().length() + 2; // + 2: add =" in getAttributeValueRangeStart()
139 String value = attr.getValue(); in getAttributeValueRangeStart()
DRenameResourceParticipant.java569 Attr attr = (Attr) attributes.item(i); in addReplacements() local
570 String value = attr.getValue(); in addReplacements()
573 if (!mUpdateReferences && (!ATTR_ID.equals(attr.getLocalName()) || in addReplacements()
574 !ANDROID_URI.equals(attr.getNamespaceURI()))) { in addReplacements()
576 if (TOOLS_URI.equals(attr.getNamespaceURI()) && value.equals(mXmlMatch1)) { in addReplacements()
577 int start = RefactoringUtil.getAttributeValueRangeStart(attr, document); in addReplacements()
607 if (mNewName.isEmpty() && ATTR_ID.equals(attr.getLocalName()) && in addReplacements()
608 ANDROID_URI.equals(attr.getNamespaceURI())) { in addReplacements()
610 IndexedRegion region = (IndexedRegion) attr; in addReplacements()
615 int start = RefactoringUtil.getAttributeValueRangeStart(attr, document); in addReplacements()
DAndroidTypeMoveParticipant.java330 Attr attr = (Attr) attributes.item(i); in addManifestReplacements() local
331 if (!RefactoringUtil.isManifestClassAttribute(attr)) { in addManifestReplacements()
335 String value = attr.getValue(); in addManifestReplacements()
337 int start = RefactoringUtil.getAttributeValueRangeStart(attr, document); in addManifestReplacements()
345 int start = RefactoringUtil.getAttributeValueRangeStart(attr, document); in addManifestReplacements()
DAndroidTypeRenameParticipant.java500 Attr attr = (Attr) attributes.item(i); in addManifestReplacements() local
501 if (!RefactoringUtil.isManifestClassAttribute(attr)) { in addManifestReplacements()
505 String value = attr.getValue(); in addManifestReplacements()
507 int start = RefactoringUtil.getAttributeValueRangeStart(attr, document); in addManifestReplacements()
513 int start = RefactoringUtil.getAttributeValueRangeStart(attr, document); in addManifestReplacements()
DAndroidPackageRenameParticipant.java504 Attr attr = (Attr) attributes.item(i);
505 if (!RefactoringUtil.isManifestClassAttribute(attr)) {
509 String value = attr.getValue();
511 int start = RefactoringUtil.getAttributeValueRangeStart(attr, document);
520 int start = RefactoringUtil.getAttributeValueRangeStart(attr, document);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DNodeProxy.java338 UiAttributeNode attr = mNode.setAttributeValue(name, uri, value, true /* override */); in setAttribute() local
357 return attr != null; in setAttribute()
383 Node attr = nodeAttributes.getNamedItemNS(uri, attrName); in getStringAttr() local
384 if (attr != null) { in getStringAttr()
385 return attr.getNodeValue(); in getStringAttr()
451 Node attr = nodeAttributes.item(i); in getLiveAttributes() local
452 String uri = attr.getNamespaceURI(); in getLiveAttributes()
453 String name = attr.getLocalName(); in getLiveAttributes()
454 String value = attr.getNodeValue(); in getLiveAttributes()
DPaletteMetadataDescriptor.java110 SimpleAttribute attr = new SimpleAttribute(nameSpace, name, value); in initializeNew() local
111 simpleElement.addAttribute(attr); in initializeNew()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DXmlProperty.java192 Attr attr;
194 attr = element.getAttributeNodeNS(uri, name);
196 attr = element.getAttributeNode(name);
198 if (attr != null) {
199 return attr.getValue();
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DDescriptorsUtils.java141 TextAttributeDescriptor attr = null; in appendAttribute() local
191 attr = override.create(xmlLocalName, nsUri, info); in appendAttribute()
197 if (attr == null) { in appendAttribute()
200 attr = new ReferenceAttributeDescriptor( in appendAttribute()
203 attr = new ListAttributeDescriptor( in appendAttribute()
206 attr = new FlagAttributeDescriptor( in appendAttribute()
209 attr = new BooleanAttributeDescriptor( in appendAttribute()
212 attr = new ReferenceAttributeDescriptor( in appendAttribute()
219 if (attr == null) { in appendAttribute()
220 attr = new TextAttributeDescriptor(xmlLocalName, nsUri, info); in appendAttribute()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DExtractStyleRefactoringTest.java205 Attr attr = list.get(0); in checkRefactoring() local
206 if (selected.contains(attr)) { in checkRefactoring()
207 chosenAttributes.add(attr); in checkRefactoring()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestEditor.java405 for (UiAttributeNode attr : ui_node.getAllUiAttributes()) { in processMarker()
406 if (attr.getDescriptor().getXmlLocalName().equals( in processMarker()
408 if (attr.getCurrentValue().equals(className)) { in processMarker()
410 attr.setHasError(false); in processMarker()
412 attr.setHasError(true); in processMarker()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFix.java260 Attr attr = document.createAttributeNS(XMLNS_URI, XMLNS_ANDROID); in perform() local
261 attr.setValue(ANDROID_URI); in perform()
262 element.getAttributes().setNamedItemNS(attr); in perform()
263 return (IndexedRegion) attr; in perform()

12