Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 56) sorted by relevance

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DAndroidNature.java184 IProjectDescription desc = project.getDescription(); in configureResourceManagerBuilder() local
185 ICommand[] commands = desc.getBuildSpec(); in configureResourceManagerBuilder()
197 ICommand command = desc.newCommand(); in configureResourceManagerBuilder()
200 desc.setBuildSpec(newCommands); in configureResourceManagerBuilder()
201 project.setDescription(desc, null); in configureResourceManagerBuilder()
213 IProjectDescription desc = project.getDescription(); in configurePreBuilder() local
214 ICommand[] commands = desc.getBuildSpec(); in configurePreBuilder()
243 ICommand command = desc.newCommand(); in configurePreBuilder()
251 desc.setBuildSpec(newCommands); in configurePreBuilder()
252 project.setDescription(desc, null); in configurePreBuilder()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiModelTreeLabelProvider.java45 ElementDescriptor desc = null; in getImage() local
49 desc = (ElementDescriptor) element; in getImage()
52 desc = node.getDescriptor(); in getImage()
55 if (desc != null) { in getImage()
56 Image img = desc.getCustomizedIcon(); in getImage()
75 ElementDescriptor desc = (ElementDescriptor) element; in getText() local
76 return desc.getUiName(); in getText()
DNewItemSelectionDialog.java211 ElementDescriptor desc = (ElementDescriptor) objects[0]; in setLastUsedXmlName() local
212 sLastUsedXmlName.put(mLastUsedKey, desc.getXmlName()); in setLastUsedXmlName()
318 for (ElementDescriptor desc : getAllowedDescriptors(rootNode)) { in setInitialSelection()
319 if (!partial && desc.getXmlName().equals(name)) { in setInitialSelection()
320 initialElement = desc; in setInitialSelection()
323 String name2 = desc.getXmlLocalName().toLowerCase(Locale.US); in setInitialSelection()
325 initialElement = desc; in setInitialSelection()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/
DLayoutDescriptors.java141 ViewElementDescriptor desc = convertView(info, infoDescMap); in updateDescriptors() local
142 newViews.add(desc); in updateDescriptors()
143 mFqcnToDescriptor.put(desc.getFullClassName(), desc); in updateDescriptors() local
154 ViewElementDescriptor desc = convertView(info, infoDescMap); in updateDescriptors() local
155 newLayouts.add(desc); in updateDescriptors()
156 mFqcnToDescriptor.put(desc.getFullClassName(), desc); in updateDescriptors() local
298 ViewElementDescriptor desc = new ViewElementDescriptor( in convertView() local
308 desc.setAttributeSources(Collections.unmodifiableList(attributeSources)); in convertView()
309 infoDescMap.put(info, desc); in convertView()
310 return desc; in convertView()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSimpleXmlTransfer.java90 public static String getFqcn(ElementDescriptor desc) { in getFqcn() argument
91 if (desc instanceof ViewElementDescriptor) { in getFqcn()
92 return ((ViewElementDescriptor) desc).getFullClassName(); in getFqcn()
93 } else if (desc != null) { in getFqcn()
94 return desc.getXmlName(); in getFqcn()
DPaletteControl.java538 for (ViewElementDescriptor desc : list) { in reloadPalette()
539 createItem(parent, desc); in reloadPalette()
578 ViewElementDescriptor desc = service.getDescriptor(mEditor.getProject(), fqcn); in addCustomItems() local
579 if (desc == null) { in addCustomItems()
586 Control item = createItem(parent, desc); in addCustomItems()
613 private Control createItem(Composite parent, ViewElementDescriptor desc) { in createItem() argument
619 ImageDescriptor descriptor = mPreviewIconFactory.getImageDescriptor(desc); in createItem()
646 String toolTip = desc.getUiName(); in createItem()
657 item = new IconTextItem(parent, desc); in createItem()
666 item = new IconTextItem(parent, desc); in createItem()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/uimodel/
DUiViewElementNode.java98 ViewElementDescriptor desc = in getAttributeDescriptors() local
100 if (desc != null) { in getAttributeDescriptors()
101 layout_attrs = desc.getLayoutAttributes(); in getAttributeDescriptors()
128 AttributeDescriptor desc = new XmlnsAttributeDescriptor(ANDROID_NS_NAME, ANDROID_URI); in getAttributeDescriptors() local
129 mCachedAttributeDescriptors[direct_attrs.length + layout_attrs.length] = desc; in getAttributeDescriptors()
136 ElementDescriptor desc = getDescriptor(); in getIcon() local
137 if (desc != null) { in getIcon()
141 String uiName = desc.getUiName(); in getIcon()
169 img = desc.getGenericIcon(); in getIcon()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutEditorDelegate.java810 DocumentDescriptor desc; in delegateInitUiRootNode() local
812 desc = new DocumentDescriptor("temp", null /*children*/); in delegateInitUiRootNode()
814 desc = data.getLayoutDescriptors().getDescriptor(); in delegateInitUiRootNode()
818 mUiDocRootNode = (UiDocumentNode) desc.createUiNode(); in delegateInitUiRootNode()
850 ViewElementDescriptor desc = null; in createUnknownDescriptor() local
859 desc = CustomViewDescriptorService.getInstance().getDescriptor(project, in createUnknownDescriptor()
863 if (desc == null) { in createUnknownDescriptor()
879 desc = new ViewElementDescriptor( in createUnknownDescriptor()
889 desc.setSuperClass(viewDesc); in createUnknownDescriptor()
896 if (desc == null) { in createUnknownDescriptor()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/descriptors/
DDescriptorsUtilsTest.java138 ElementDescriptor desc = new ElementDescriptor("application"); in testFormatFormText() local
139 desc.setSdkUrl(DescriptorsUtils.MANIFEST_SDK_URL + "TagApplication"); in testFormatFormText()
141 …le=\"image\" value=\"image\"></li></form>", DescriptorsUtils.formatFormText("", desc, docBaseUrl)); in testFormatFormText()
146 desc, docBaseUrl)); in testFormatFormText()
151 desc, docBaseUrl)); in testFormatFormText()
156 desc, docBaseUrl)); in testFormatFormText()
161 desc, docBaseUrl)); in testFormatFormText()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DHyperlinksTest.java231 String desc = resourceFile.toString(); in checkXmlNavigation() local
232 desc = desc.replace('\\', '/'); in checkXmlNavigation()
234 int dataRes = desc.indexOf("data/res"); in checkXmlNavigation()
236 desc = desc.substring(dataRes); in checkXmlNavigation()
238 desc = removeSessionData(desc); in checkXmlNavigation()
239 sb.append(desc); in checkXmlNavigation()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/
DOtherXmlEditorDelegate.java109 DocumentDescriptor desc; in delegateInitUiRootNode() local
111 desc = new DocumentDescriptor("temp", null /*children*/); in delegateInitUiRootNode()
113 desc = data.getXmlDescriptors().getDescriptor(); in delegateInitUiRootNode()
116 setUiRootNode(desc.createUiNode()); in delegateInitUiRootNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiElementNode.java206 for (AttributeDescriptor desc : attrList) { in getInternalUiAttributes()
207 UiAttributeNode uiNode = desc.createUiNode(this); in getInternalUiAttributes()
209 mUiAttributes.put(desc, uiNode); in getInternalUiAttributes()
698 ElementDescriptor desc = mMap.get(xmlLocalName); in getUnknownDescriptorProvider()
700 if (desc == null) { in getUnknownDescriptorProvider()
701 desc = new ElementDescriptor(xmlLocalName); in getUnknownDescriptorProvider()
702 mMap.put(xmlLocalName, desc); in getUnknownDescriptorProvider()
705 return desc; in getUnknownDescriptorProvider()
1062 XmlnsAttributeDescriptor desc = (XmlnsAttributeDescriptor) attrDesc; in createXmlNode() local
1064 desc.getXmlNsName()); in createXmlNode()
[all …]
DUiTextAttributeNode.java65 TextAttributeDescriptor desc = (TextAttributeDescriptor) getDescriptor(); in createUiControl() local
67 desc.getUiName(), getCurrentValue(), in createUiControl()
68 DescriptorsUtils.formatTooltip(desc.getTooltip())); in createUiControl()
DUiListAttributeNode.java68 TextAttributeDescriptor desc = (TextAttributeDescriptor) getDescriptor(); in createUiControl() local
70 Label label = toolkit.createLabel(parent, desc.getUiName()); in createUiControl()
72 SectionHelper.addControlTooltip(label, DescriptorsUtils.formatTooltip(desc.getTooltip())); in createUiControl()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/
DOverviewInfoPart.java53 ElementDescriptor desc = manifestDescriptors.getManifestElement(); in getManifestUiNode() local
54 if (editor.getUiRootNode().getDescriptor() == desc) { in getManifestUiNode()
57 return editor.getUiRootNode().findUiChildNode(desc.getXmlName()); in getManifestUiNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/
DValuesContentAssist.java113 for (AttributeDescriptor desc : elementDesc.getAttributes()) { in computeAttributeValues()
114 if (desc instanceof SeparatorAttributeDescriptor) { in computeAttributeValues()
117 String name = desc.getXmlLocalName(); in computeAttributeValues()
119 matches.put(name, desc); in computeAttributeValues()
173 for (AttributeDescriptor desc : elementDesc.getAttributes()) { in computeTextValues()
174 if (desc.getXmlLocalName().equals(attrName)) { in computeTextValues()
186 UiAttributeNode currAttrNode = desc.createUiNode(uiParent); in computeTextValues()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/
DMenuEditorDelegate.java149 ElementDescriptor desc; in delegateInitUiRootNode() local
151 desc = new ElementDescriptor("temp", null /*children*/); in delegateInitUiRootNode()
153 desc = data.getMenuDescriptors().getDescriptor(); in delegateInitUiRootNode()
156 setUiRootNode(desc.createUiNode()); in delegateInitUiRootNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiManifestElementNode.java80 ElementDescriptor desc = getDescriptor(); in getShortDescription() local
81 if (desc != manifestDescriptors.getManifestElement() && in getShortDescription()
82 desc != manifestDescriptors.getApplicationElement()) { in getShortDescription()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/
DAnimationContentAssist.java123 for (AttributeDescriptor desc : elementDesc.getAttributes()) { in computeAttributeValues()
124 if (desc instanceof SeparatorAttributeDescriptor) { in computeAttributeValues()
127 String name = desc.getXmlLocalName(); in computeAttributeValues()
129 EnumSet<Format> formats = desc.getAttributeInfo().getFormats(); in computeAttributeValues()
137 matches.put(name, desc); in computeAttributeValues()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DMockNodeProxy.java63 ViewElementDescriptor desc = new ViewElementDescriptor(xmlName, fqcn); in makeUiViewNode() local
64 UiViewElementNode uiNode = new UiViewElementNode(desc); in makeUiViewNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/descriptors/
DOtherXmlDescriptors.java281 ElementDescriptor desc = convertPref(info);
282 newPrefs.add(desc);
291 ElementDescriptor desc = convertPref(info);
292 newGroups.add(desc);
295 topPreferences = desc;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DImportProjectWizard.java64 ImageDescriptor desc = AdtPlugin.getImageDescriptor(PROJECT_LOGO_LARGE); in init() local
65 setDefaultPageImageDescriptor(desc); in init()
DNewProjectWizard.java116 ImageDescriptor desc = AdtPlugin.getImageDescriptor(PROJECT_LOGO_LARGE); in init() local
117 setDefaultPageImageDescriptor(desc); in init()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DNodeProxy.java144 ElementDescriptor desc = mNode.getDescriptor(); in getFqcn() local
145 if (desc instanceof ViewElementDescriptor) { in getFqcn()
146 return ((ViewElementDescriptor) desc).getFullClassName(); in getFqcn()
401 for (AttributeDescriptor desc : uiNode.getAttributeDescriptors()) { in getAttributeInfo()
402 String dUri = desc.getNamespaceUri(); in getAttributeInfo()
403 String dName = desc.getXmlLocalName(); in getAttributeInfo()
406 return desc.getAttributeInfo(); in getAttributeInfo()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DAddSuppressAttribute.java174 String desc = String.format("Add ignore '%1$s\' to element", id); in createFixes() local
177 fixes.add(new AddSuppressAttribute(editor, id, marker, element, desc, null)); in createFixes()
230 String desc = String.format("Add ignore '%1$s\' to element", id); in createFixForAll() local
232 return new AddSuppressAttribute(editor, id, marker, element, desc, null); in createFixForAll()

123