Home
last modified time | relevance | path

Searched refs:NS_RESOURCES (Results 1 – 23 of 23) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/
DExplodeRenderingHelperTest.java116 linear1.addAttributes(SdkConstants.NS_RESOURCES, "id", "@+id/linear1"); in RelativeLayoutWithVerticalLinearLayouts()
120 linear2.addAttributes(SdkConstants.NS_RESOURCES, "id", "@+id/linear2"); in RelativeLayoutWithVerticalLinearLayouts()
123 linear2.addAttributes(SdkConstants.NS_RESOURCES, "layout_below", "@+id/linear1"); in RelativeLayoutWithVerticalLinearLayouts()
149 linear1.addAttributes(SdkConstants.NS_RESOURCES, "id", "@+id/linear1"); in RelativeLayoutWithVerticalLinearLayouts2()
153 linear2.addAttributes(SdkConstants.NS_RESOURCES, "id", "@+id/linear2"); in RelativeLayoutWithVerticalLinearLayouts2()
156 linear2.addAttributes(SdkConstants.NS_RESOURCES, "layout_above", "@+id/linear1"); in RelativeLayoutWithVerticalLinearLayouts2()
184 button1.addAttributes(SdkConstants.NS_RESOURCES, "id", "@+id/button1"); in ComplexRelativeLayout()
187 button2.addAttributes(SdkConstants.NS_RESOURCES, "id", "@+id/button2"); in ComplexRelativeLayout()
191 linear1.addAttributes(SdkConstants.NS_RESOURCES, "id", "@+id/linear1"); in ComplexRelativeLayout()
195 linear2.addAttributes(SdkConstants.NS_RESOURCES, "id", "@+id/linear2"); in ComplexRelativeLayout()
[all …]
DUiElementPullParserTest.java47 SdkConstants.NS_RESOURCES, in createTextAttrDesc()
111 button1.addAttributes(SdkConstants.NS_RESOURCES, "name", "button1"); in setUp()
112 button1.addAttributes(SdkConstants.NS_RESOURCES, "text", "button1text"); in setUp()
124 button2.addAttributes(SdkConstants.NS_RESOURCES, "name", "button2"); in setUp()
125 button2.addAttributes(SdkConstants.NS_RESOURCES, "text", "button2text"); in setUp()
133 text.addAttributes(SdkConstants.NS_RESOURCES, "name", "text1"); in setUp()
134 text.addAttributes(SdkConstants.NS_RESOURCES, "text", "text1text"); in setUp()
142 relative.addAttributes(SdkConstants.NS_RESOURCES, "orientation", "toto"); in setUp()
146 linear.addAttributes(SdkConstants.NS_RESOURCES, "orientation", "vertical"); in setUp()
152 root.setPrefix(SdkConstants.NS_RESOURCES, "android"); in setUp()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSimpleAttributeTest.java30 a = new SimpleAttribute(SdkConstants.NS_RESOURCES, "name", "value = with space "); in setUp()
34 assertEquals(SdkConstants.NS_RESOURCES, a.getUri()); in testSimpleAttribute()
40 assertEquals(SdkConstants.NS_RESOURCES, a.getUri()); in testGetUri()
53 "@name:" + SdkConstants.NS_RESOURCES + "=value = with space \n", in testToString()
58 String s = "@name:" + SdkConstants.NS_RESOURCES + "=value = with space \n"; in testParseString()
68 assertFalse(a.equals(new SimpleAttribute(SdkConstants.NS_RESOURCES, in testEqualsObject()
72 assertFalse(a.equals(new SimpleAttribute(SdkConstants.NS_RESOURCES, in testEqualsObject()
80 assertTrue(a.equals(new SimpleAttribute(SdkConstants.NS_RESOURCES, in testEqualsObject()
92 assertFalse(ah == new SimpleAttribute(SdkConstants.NS_RESOURCES, in testHashCode()
96 assertFalse(ah == new SimpleAttribute(SdkConstants.NS_RESOURCES, in testHashCode()
[all …]
/sdk/common/src/com/android/xml/
DAndroidXPathFactory.java67 return SdkConstants.NS_RESOURCES; in getNamespaceURI()
76 if (SdkConstants.NS_RESOURCES.equals(namespaceURI)) { in getPrefix()
85 if (SdkConstants.NS_RESOURCES.equals(namespaceURI)) { in getPrefixes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestInfo.java21 import static com.android.SdkConstants.NS_RESOURCES;
225 String theme = activity.getAttributeNS(NS_RESOURCES, ATTRIBUTE_THEME); in sync()
227 String name = activity.getAttributeNS(NS_RESOURCES, ATTRIBUTE_NAME); in sync()
240 if (application.hasAttributeNS(NS_RESOURCES, ATTRIBUTE_ICON)) { in sync()
241 mApplicationIcon = application.getAttributeNS(NS_RESOURCES, ATTRIBUTE_ICON); in sync()
243 if (application.hasAttributeNS(NS_RESOURCES, ATTRIBUTE_LABEL)) { in sync()
244 mApplicationLabel = application.getAttributeNS(NS_RESOURCES, ATTRIBUTE_LABEL); in sync()
247 String defaultTheme = application.getAttributeNS(NS_RESOURCES, ATTRIBUTE_THEME); in sync()
272 if (usesSdk.hasAttributeNS(NS_RESOURCES, attribute)) { in getApiVersion()
273 valueString = usesSdk.getAttributeNS(NS_RESOURCES, attribute); in getApiVersion()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiManifestElementNode.java85 SdkConstants.NS_RESOURCES, in getShortDescription()
89 SdkConstants.NS_RESOURCES, in getShortDescription()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DWidgetPullParser.java87 return SdkConstants.NS_RESOURCES; in getAttributeNamespace()
107 if (SdkConstants.NS_RESOURCES.equals(ns)) { in getAttributeValue()
DContextPullParser.java118 SdkConstants.NS_RESOURCES.equals(namespace)) { in getAttributeValue()
DExplodedRenderingHelper.java413 Node attribute = attributes.getNamedItemNS(SdkConstants.NS_RESOURCES, name); in getAttribute()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/
DAndroidManifestWriter.java76 Attr minSdkAttr = mDoc.createAttributeNS(SdkConstants.NS_RESOURCES, in setMinSdkVersion()
78 String prefix = mDoc.lookupPrefix(SdkConstants.NS_RESOURCES); in setMinSdkVersion()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/descriptors/
DOtherXmlDescriptors.java253 SdkConstants.NS_RESOURCES,
342 SdkConstants.NS_RESOURCES,
356 SdkConstants.NS_RESOURCES,
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DNewXmlFileCreationPage.java251 SdkConstants.NS_RESOURCES, // xmlns
326 SdkConstants.NS_RESOURCES, // xmlns
335 SdkConstants.NS_RESOURCES, // xmlns
344 SdkConstants.NS_RESOURCES, // xmlns
353 SdkConstants.NS_RESOURCES, // xmlns
371 SdkConstants.NS_RESOURCES, // xmlns
380 SdkConstants.NS_RESOURCES, // xmlns
389 SdkConstants.NS_RESOURCES, // xmlns
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactoring/core/
DRefactoringUtil.java93 if (SdkConstants.NS_RESOURCES.equals(namespace) in findAndroidAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DClipboardSupport.java19 import static com.android.SdkConstants.NS_RESOURCES;
343 uiNew.setAttributeValue(ANDROID_NS_NAME, XMLNS_URI, NS_RESOURCES, in pasteInEmptyDocument()
DLayoutCanvas.java1511 SdkConstants.NS_RESOURCES, in createDocumentRoot()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiListAttributeNode.java142 if (SdkConstants.NS_RESOURCES.equals(descriptor.getNamespaceUri())) { in getPossibleValues()
DUiElementNode.java247 SdkConstants.NS_RESOURCES, in getDescAttribute()
251 SdkConstants.NS_RESOURCES, in getDescAttribute()
258 SdkConstants.NS_RESOURCES, in getDescAttribute()
268 SdkConstants.NS_RESOURCES, in getDescAttribute()
/sdk/sdk_common/src/com/android/ide/common/xml/
DAndroidManifestParser.java531 SdkConstants.NS_RESOURCES.equals(attributes.getURI(i))) || in getAttributeValue()
555 SdkConstants.NS_RESOURCES.equals(attributes.getURI(i))) || in getAttributeBooleanValue()
/sdk/manifmerger/src/com/android/manifmerger/
DManifestMerger.java131 private String NS_URI = SdkConstants.NS_RESOURCES;
208 String prefix = XmlUtils.lookupNsPrefix(mainDoc, SdkConstants.NS_RESOURCES); in process()
243 String prefix = XmlUtils.lookupNsPrefix(mainDoc, SdkConstants.NS_RESOURCES); in process()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DBaseLayoutRule.java635 && SdkConstants.NS_RESOURCES.equals(namespace)) { in onResizeBegin()
639 && SdkConstants.NS_RESOURCES.equals(namespace)) { in onResizeBegin()
DLinearLayoutRule.java793 && SdkConstants.NS_RESOURCES.equals(namespace)) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/
DAndroidManifestDescriptors.java425 SdkConstants.NS_RESOURCES, in inflateElement()
/sdk/common/src/com/android/
DSdkConstants.java289 public static final String NS_RESOURCES = field in SdkConstants