Home
last modified time | relevance | path

Searched refs:nsPrefix (Results 1 – 4 of 4) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidContentAssist.java574 String nsPrefix = null; in addMatchingProposals() local
595 nsPrefix = nsUriMap.get(nsUri); in addMatchingProposals()
596 if (nsPrefix == null) { in addMatchingProposals()
597 nsPrefix = XmlUtils.lookupNamespacePrefix(currentNode, nsUri, false); in addMatchingProposals()
598 nsUriMap.put(nsUri, nsPrefix); in addMatchingProposals()
601 if (nsPrefix != null) { in addMatchingProposals()
602 nsPrefix += ":"; //$NON-NLS-1$ in addMatchingProposals()
626 String nsKeyword = nsPrefix == null ? keyword : (nsPrefix + keyword); in addMatchingProposals()
628 if (nameStartsWith(nsKeyword, wordPrefix, nsPrefix)) { in addMatchingProposals()
673 if (nsPrefix != null && in addMatchingProposals()
[all …]
DCompletionProposal.java85 String nsPrefix, String nsUri) { in CompletionProposal() argument
101 mNsPrefix = nsPrefix; in CompletionProposal()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiListAttributeNode.java141 String nsPrefix = ""; in getPossibleValues() local
143 nsPrefix = SdkConstants.ANDROID_NS_NAME + ':'; in getPossibleValues()
145 nsPrefix = SdkConstants.XMLNS_PREFIX; in getPossibleValues()
147 attr_name = nsPrefix + attr_name; in getPossibleValues()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java447 String nsPrefix = null; in getAndroidNamespacePrefix() local
455 nsPrefix = name; in getAndroidNamespacePrefix()
456 if (nsPrefix.startsWith(XMLNS_PREFIX)) { in getAndroidNamespacePrefix()
457 nsPrefix = in getAndroidNamespacePrefix()
458 nsPrefix.substring(XMLNS_PREFIX.length()); in getAndroidNamespacePrefix()
464 if (nsPrefix == null) { in getAndroidNamespacePrefix()
465 nsPrefix = ANDROID_NS_NAME; in getAndroidNamespacePrefix()
468 return nsPrefix; in getAndroidNamespacePrefix()