Home
last modified time | relevance | path

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

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutEditor.java464 DocumentDescriptor desc; in initUiRootNode() local
466 desc = new DocumentDescriptor("temp", null /*children*/); in initUiRootNode()
468 desc = data.getLayoutDescriptors().getDescriptor(); in initUiRootNode()
472 mUiRootNode = (UiDocumentNode) desc.createUiNode(); in initUiRootNode()
479 ElementDescriptor desc = mUnknownDescriptorMap.get(xmlLocalName); in initUiRootNode()
481 if (desc == null) { in initUiRootNode()
482 desc = createUnknownDescriptor(xmlLocalName); in initUiRootNode()
483 mUnknownDescriptorMap.put(xmlLocalName, desc); in initUiRootNode()
486 return desc; in initUiRootNode()
505 ViewElementDescriptor desc = null; in createUnknownDescriptor() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiModelTreeLabelProvider.java44 ElementDescriptor desc = null; in getImage() local
48 desc = (ElementDescriptor) element; in getImage()
51 desc = node.getDescriptor(); in getImage()
54 if (desc != null) { in getImage()
55 Image img = desc.getCustomizedIcon(); in getImage()
74 ElementDescriptor desc = (ElementDescriptor) element; in getText() local
75 return desc.getUiName(); in getText()
DNewItemSelectionDialog.java207 ElementDescriptor desc = (ElementDescriptor) objects[0]; in setLastUsedXmlName() local
208 sLastUsedXmlName.put(mLastUsedKey, desc.getXmlName()); in setLastUsedXmlName()
305 for (ElementDescriptor desc : getAllowedDescriptors(rootNode)) { in setInitialSelection()
306 if (!partial && desc.getXmlName().equals(name)) { in setInitialSelection()
307 initialElement = desc; in setInitialSelection()
310 String name2 = desc.getXmlLocalName().toLowerCase(); in setInitialSelection()
312 initialElement = desc; in setInitialSelection()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DAndroidNature.java176 IProjectDescription desc = project.getDescription(); in configureResourceManagerBuilder() local
177 ICommand[] commands = desc.getBuildSpec(); in configureResourceManagerBuilder()
189 ICommand command = desc.newCommand(); in configureResourceManagerBuilder()
192 desc.setBuildSpec(newCommands); in configureResourceManagerBuilder()
193 project.setDescription(desc, null); in configureResourceManagerBuilder()
205 IProjectDescription desc = project.getDescription(); in configurePreBuilder() local
206 ICommand[] commands = desc.getBuildSpec(); in configurePreBuilder()
235 ICommand command = desc.newCommand(); in configurePreBuilder()
243 desc.setBuildSpec(newCommands); in configurePreBuilder()
244 project.setDescription(desc, null); in configurePreBuilder()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSimpleXmlTransfer.java91 public static String getFqcn(ElementDescriptor desc) { in getFqcn() argument
92 if (desc instanceof ViewElementDescriptor) { in getFqcn()
93 return ((ViewElementDescriptor) desc).getFullClassName(); in getFqcn()
94 } else if (desc != null) { in getFqcn()
95 return desc.getXmlName(); in getFqcn()
DPaletteControl.java523 for (ViewElementDescriptor desc : list) { in reloadPalette()
524 createItem(parent, desc); in reloadPalette()
563 ViewElementDescriptor desc = service.getDescriptor(mEditor.getProject(), fqcn); in addCustomItems() local
564 if (desc == null) { in addCustomItems()
571 Control item = createItem(parent, desc); in addCustomItems()
598 private Control createItem(Composite parent, ViewElementDescriptor desc) { in createItem() argument
604 ImageDescriptor descriptor = mPreviewIconFactory.getImageDescriptor(desc); in createItem()
630 String toolTip = desc.getUiName(); in createItem()
641 item = new IconTextItem(parent, desc); in createItem()
650 item = new IconTextItem(parent, desc); in createItem()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/descriptors/
DDescriptorsUtilsTest.java95 ElementDescriptor desc = new ElementDescriptor("application"); in testFormatFormText() local
96 desc.setSdkUrl(DescriptorsUtils.MANIFEST_SDK_URL + "TagApplication"); in testFormatFormText()
98 …le=\"image\" value=\"image\"></li></form>", DescriptorsUtils.formatFormText("", desc, docBaseUrl)); in testFormatFormText()
103 desc, docBaseUrl)); in testFormatFormText()
108 desc, docBaseUrl)); in testFormatFormText()
113 desc, docBaseUrl)); in testFormatFormText()
118 desc, docBaseUrl)); in testFormatFormText()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/
DLayoutDescriptors.java181 ViewElementDescriptor desc = convertView(info, infoDescMap); in updateDescriptors() local
182 newViews.add(desc); in updateDescriptors()
183 mFqcnToDescriptor.put(desc.getFullClassName(), desc); in updateDescriptors() local
194 ViewElementDescriptor desc = convertView(info, infoDescMap); in updateDescriptors() local
195 newLayouts.add(desc); in updateDescriptors()
196 mFqcnToDescriptor.put(desc.getFullClassName(), desc); in updateDescriptors() local
353 ViewElementDescriptor desc = new ViewElementDescriptor( in convertView() local
363 desc.setAttributeSources(Collections.unmodifiableList(attributeSources)); in convertView()
364 infoDescMap.put(info, desc); in convertView()
365 return desc; in convertView()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/uimodel/
DUiViewElementNode.java80 ViewElementDescriptor desc = in getAttributeDescriptors() local
82 if (desc != null) { in getAttributeDescriptors()
83 layout_attrs = desc.getLayoutAttributes(); in getAttributeDescriptors()
110 AttributeDescriptor desc = new XmlnsAttributeDescriptor( in getAttributeDescriptors() local
113 mCachedAttributeDescriptors[direct_attrs.length + layout_attrs.length] = desc; in getAttributeDescriptors()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/xml/
DXmlEditor.java106 DocumentDescriptor desc = data.getXmlDescriptors().getDescriptor(); in canHandleFile() local
107 for (ElementDescriptor elem : desc.getChildren()) { in canHandleFile()
196 DocumentDescriptor desc; in initUiRootNode() local
198 desc = new DocumentDescriptor("temp", null /*children*/); in initUiRootNode()
200 desc = data.getXmlDescriptors().getDescriptor(); in initUiRootNode()
203 mUiRootNode = (UiDocumentNode) desc.createUiNode(); in initUiRootNode()
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/log/
DEventLogParser.java170 EventValueDescription[] desc = in processTagLine() local
173 if (desc != null) { in processTagLine()
174 mValueDescriptionMap.put(value, desc); in processTagLine()
199 for (String desc : descriptions) { in processDescription()
200 Matcher m = PATTERN_DESCRIPTION.matcher(desc); in processDescription()
456 EventValueDescription[] desc = mValueDescriptionMap.get(tagValue); in parseTextData() local
458 if (desc == null) { in parseTextData()
463 if (desc.length == 1) { in parseTextData()
464 return getObjectFromString(data, desc[0].getEventValueType()); in parseTextData()
481 if (values.length != desc.length) { in parseTextData()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/resources/
DResourcesContentAssist.java109 for (AttributeDescriptor desc : elementDesc.getAttributes()) { in computeAttributeValues()
110 if (desc instanceof SeparatorAttributeDescriptor) { in computeAttributeValues()
113 String name = desc.getXmlLocalName(); in computeAttributeValues()
115 matches.put(name, desc); in computeAttributeValues()
167 for (AttributeDescriptor desc : elementDesc.getAttributes()) { in computeTextValues()
168 if (desc.getXmlLocalName().equals(attrName)) { in computeTextValues()
180 UiAttributeNode currAttrNode = desc.createUiNode(uiParent); in computeTextValues()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/xml/
DHyperlinksTest.java219 String desc = resourceFile.toString(); in checkXmlNavigation() local
220 desc = desc.replace('\\', '/'); in checkXmlNavigation()
222 int dataRes = desc.indexOf("data/res"); in checkXmlNavigation()
224 desc = desc.substring(dataRes); in checkXmlNavigation()
226 desc = removeSessionData(desc); in checkXmlNavigation()
227 sb.append(desc); in checkXmlNavigation()
/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/menu/
DMenuEditor.java171 ElementDescriptor desc; in initUiRootNode() local
173 desc = new ElementDescriptor("temp", null /*children*/); in initUiRootNode()
175 desc = data.getMenuDescriptors().getDescriptor(); in initUiRootNode()
178 mUiRootNode = desc.createUiNode(); in initUiRootNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/
DAnimationContentAssist.java121 for (AttributeDescriptor desc : elementDesc.getAttributes()) { in computeAttributeValues()
122 if (desc instanceof SeparatorAttributeDescriptor) { in computeAttributeValues()
125 String name = desc.getXmlLocalName(); in computeAttributeValues()
127 for (Format f : desc.getAttributeInfo().getFormats()) { in computeAttributeValues()
135 matches.put(name, desc); in computeAttributeValues()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiElementNode.java204 for (AttributeDescriptor desc : attrList) { in getInternalUiAttributes()
205 UiAttributeNode uiNode = desc.createUiNode(this); in getInternalUiAttributes()
207 mUiAttributes.put(desc, uiNode); in getInternalUiAttributes()
695 ElementDescriptor desc = mMap.get(xmlLocalName); in getUnknownDescriptorProvider()
697 if (desc == null) { in getUnknownDescriptorProvider()
698 desc = new ElementDescriptor(xmlLocalName); in getUnknownDescriptorProvider()
699 mMap.put(xmlLocalName, desc); in getUnknownDescriptorProvider()
702 return desc; in getUnknownDescriptorProvider()
1052 XmlnsAttributeDescriptor desc = (XmlnsAttributeDescriptor) attrDesc; in createXmlNode() local
1054 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()
/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/manifest/model/
DUiManifestElementNode.java81 ElementDescriptor desc = getDescriptor(); in getShortDescription() local
82 if (desc != manifestDescriptors.getManifestElement() && in getShortDescription()
83 desc != manifestDescriptors.getApplicationElement()) { in getShortDescription()
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/
DHardwarePropertyChooser.java110 String desc = "Unknown"; in processSelection() local
113 desc = mChosenProperty.getDescription(); in processSelection()
121 mDescriptionLabel.setText(desc); in processSelection()
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/
DEventDisplay.java381 for (ValueDisplayDescriptor desc : from.mValueDescriptors) { in clone()
382 ed.mValueDescriptors.add(new ValueDisplayDescriptor(desc)); in clone()
386 for (OccurrenceDisplayDescriptor desc : from.mOccurrenceDescriptors) { in clone()
387 ed.mOccurrenceDescriptors.add(new OccurrenceDisplayDescriptor(desc)); in clone()
802 OccurrenceDisplayDescriptor desc = new OccurrenceDisplayDescriptor(); in loadOccurrenceDescriptors() local
803 desc.loadFrom(value); in loadOccurrenceDescriptors()
804 mOccurrenceDescriptors.add(desc); in loadOccurrenceDescriptors()
816 ValueDisplayDescriptor desc = new ValueDisplayDescriptor(); in loadValueDescriptors() local
817 desc.loadFrom(value); in loadValueDescriptors()
818 mValueDescriptors.add(desc); in loadValueDescriptors()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DNodeProxy.java133 ElementDescriptor desc = mNode.getDescriptor(); in getFqcn() local
134 if (desc instanceof ViewElementDescriptor) { in getFqcn()
135 return ((ViewElementDescriptor) desc).getFullClassName(); in getFqcn()
365 for (AttributeDescriptor desc : uiNode.getAttributeDescriptors()) { in getAttributeInfo()
366 String dUri = desc.getNamespaceUri(); in getAttributeInfo()
367 String dName = desc.getXmlLocalName(); in getAttributeInfo()
370 return desc.getAttributeInfo(); in getAttributeInfo()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/xml/descriptors/
DXmlDescriptors.java273 ElementDescriptor desc = convertPref(info);
274 newPrefs.add(desc);
283 ElementDescriptor desc = convertPref(info);
284 newGroups.add(desc);
287 topPreferences = desc;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestEditor.java265 AndroidManifestDescriptors desc = getManifestDescriptors(); in updateFromExistingMarkers() local
266 if (desc != null) { in updateFromExistingMarkers()
267 ElementDescriptor appElement = desc.getApplicationElement(); in updateFromExistingMarkers()
387 ElementDescriptor desc = new ElementDescriptor("manifest", //$NON-NLS-1$ in initUiRootNode() local
391 mUiManifestNode = desc.createUiNode(); in initUiRootNode()

123