Home
last modified time | relevance | path

Searched refs:uri (Results 1 – 20 of 20) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DTestNode.java87 public TestNode set(String uri, String name, String value) { in set() argument
88 setAttribute(uri, name, value); in set()
130 public void putAttributeInfo(String uri, String attrName, IAttributeInfo info) { in putAttributeInfo() argument
131 mAttributeInfos.put(uri + attrName, info); in putAttributeInfo()
135 public IAttributeInfo getAttributeInfo(@Nullable String uri, @NonNull String attrName) { in getAttributeInfo() argument
136 return mAttributeInfos.get(uri + attrName); in getAttributeInfo()
180 public String getStringAttr(@Nullable String uri, @NonNull String attrName) { in getStringAttr() argument
181 IAttribute attr = mAttributes.get(uri + attrName); in getStringAttr()
210 public boolean setAttribute(@Nullable String uri, @NonNull String localName, in setAttribute() argument
212 mAttributes.put(uri + localName, new TestAttribute(uri, localName, value)); in setAttribute()
[all …]
DTestDragElement.java64 public TestDragElement set(String uri, String name, String value) { in set() argument
69 mAttributes.put(uri + name, new TestAttribute(uri, name, value)); in set()
106 public IDragAttribute getAttribute(@Nullable String uri, @NonNull String localName) { in getAttribute() argument
108 return new TestAttribute(uri, localName, ""); in getAttribute()
111 return mAttributes.get(uri + localName); in getAttribute()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DNodeProxy.java334 @Nullable String uri, in setAttribute()
338 UiAttributeNode attr = mNode.setAttributeValue(name, uri, value, true /* override */); in setAttribute()
340 if (uri == null) { in setAttribute()
341 uri = ""; //$NON-NLS-1$ in setAttribute()
349 map = mPendingAttributes.get(uri); in setAttribute()
353 mPendingAttributes.put(uri, map); in setAttribute()
361 public String getStringAttr(@Nullable String uri, @NonNull String attrName) { in getStringAttr() argument
369 Map<String, String> map = mPendingAttributes.get(uri == null ? "" : uri); //$NON-NLS-1$ in getStringAttr()
383 Node attr = nodeAttributes.getNamedItemNS(uri, attrName); in getStringAttr()
394 public IAttributeInfo getAttributeInfo(@Nullable String uri, @NonNull String attrName) { in getAttributeInfo() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSimpleAttribute.java51 public SimpleAttribute(String uri, String name, String value) { in SimpleAttribute() argument
52 mUri = uri == null ? "" : uri; in SimpleAttribute()
DSimpleElement.java118 public IDragAttribute getAttribute(@Nullable String uri, @NonNull String localName) { in getAttribute() argument
120 if (attr.getUri().equals(uri) && attr.getName().equals(localName)) { in getAttribute()
DLayoutCanvas.java1630 String uri = attribute.getUri(); in createDocumentRoot()
1633 uiNew.setAttributeValue(name, uri, value, false /*override*/); in createDocumentRoot()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DXmlProperty.java172 String uri = mDescriptor.getNamespaceUri();
173 if (uri != null) {
174 return element.hasAttributeNS(uri, name);
191 String uri = mDescriptor.getNamespaceUri();
193 if (uri != null) {
194 attr = element.getAttributeNodeNS(uri, name);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DBaseLayoutRule.java126 String uri = ANDROID_URI; in createMarginAction()
127 String all = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN); in createMarginAction()
128 String left = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_LEFT); in createMarginAction()
129 String right = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_RIGHT); in createMarginAction()
130 String top = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_TOP); in createMarginAction()
131 String bottom = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_BOTTOM); in createMarginAction()
137 child.setAttribute(uri, ATTR_LAYOUT_MARGIN, margins[0]); in createMarginAction()
138 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_LEFT, margins[1]); in createMarginAction()
139 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_RIGHT, margins[2]); in createMarginAction()
140 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_TOP, margins[3]); in createMarginAction()
[all …]
DPropertyCallback.java49 String uri, String attribute) { in PropertyCallback() argument
53 mUri = uri; in PropertyCallback()
DBaseViewRule.java213 String uri = ANDROID_URI; in addContextMenuActions()
230 uri = null; in addContextMenuActions()
235 uri = null; in addContextMenuActions()
251 n.setAttribute(uri, actionId, value); in addContextMenuActions()
282 n.setAttribute(uri, actionId, values); in addContextMenuActions()
289 n.setAttribute(uri, actionId, value); in addContextMenuActions()
294 n.setAttribute(uri, actionId, customValue); in addContextMenuActions()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DIdeScanningContext.java220 public boolean checkValue(@Nullable String uri, @NonNull String name, @NonNull String value) { in checkValue() argument
225 if (!needsFullAapt() && mAttributeMap != null && ANDROID_URI.equals(uri)) { in checkValue()
232 return super.checkValue(uri, name, value); in checkValue()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DOutlineLabelProvider.java110 private String getAttributeNS(Element e, String uri, String name) throws DOMException { in getAttributeNS() argument
112 return e.getAttributeNS(uri, name); in getAttributeNS()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRefactoringUtil.java202 @Nullable String uri, in isManifestClassAttribute() argument
219 return ANDROID_URI.equals(uri); in isManifestClassAttribute()
DRenameResourceParticipant.java235 String uri = (String) element; in initialize() local
236 if (uri.startsWith(PREFIX_RESOURCE_REF) && !uri.startsWith(ANDROID_PREFIX)) { in initialize()
243 assert uri.endsWith(mOldName) && uri.contains(mType.getName()) : uri; in initialize()
/sdk/eclipse/
Ddictionary.txt338 uri
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DProjectNamePage.java484 URI uri = URIUtil.toURI(path.toOSString()); in validateLocation() local
487 IStatus locationStatus = workspace.validateProjectLocationURI(handle, uri); in validateLocation()
DApplicationInfoPage.java517 URI uri = URIUtil.toURI(path.toOSString()); in validateTestProjectLocation() local
520 IStatus locationStatus = workspace.validateProjectLocationURI(handle, uri); in validateTestProjectLocation()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/resources/platform/
DAttributeInfoTest.java347 String uri = attribute.getNamespaceURI(); in checkElement() local
350 if (ANDROID_URI.equals(uri)) { in checkElement()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java1047 protected void removeAttribute(MultiTextEdit rootEdit, Element element, String uri, in removeAttribute() argument
1049 if (element.hasAttributeNS(uri, attributeName)) { in removeAttribute()
1050 Attr attribute = element.getAttributeNodeNS(uri, attributeName); in removeAttribute()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateHandler.java473 public void startElement(String uri, String localName, String name, in processVariables()
598 public void startElement(String uri, String localName, String name, in execute()