Home
last modified time | relevance | path

Searched refs:factory (Results 1 – 22 of 22) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDomUtilitiesTest.java35 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); in testIsEquivalent() local
36 factory.setNamespaceAware(true); in testIsEquivalent()
37 factory.setValidating(false); in testIsEquivalent()
38 DocumentBuilder builder = factory.newDocumentBuilder(); in testIsEquivalent()
88 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); in testIsContiguous() local
89 factory.setNamespaceAware(true); in testIsContiguous()
90 factory.setValidating(false); in testIsContiguous()
91 DocumentBuilder builder = factory.newDocumentBuilder(); in testIsContiguous()
117 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); in testGetCommonAncestor() local
118 factory.setNamespaceAware(true); in testGetCommonAncestor()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
DResourceHelper.java126 IconFactory factory = IconFactory.getInstance();
127 sIconMap.put(CountryCodeQualifier.class, factory.getIcon("mcc")); //$NON-NLS-1$ in sIconMap.put()
128 sIconMap.put(NetworkCodeQualifier.class, factory.getIcon("mnc")); //$NON-NLS-1$ in sIconMap.put()
129 … sIconMap.put(LocaleQualifier.class, factory.getIcon("language")); //$NON-NLS-1$ in sIconMap.put()
130 sIconMap.put(LayoutDirectionQualifier.class, factory.getIcon("bidi")); //$NON-NLS-1$ in sIconMap.put()
131 sIconMap.put(ScreenSizeQualifier.class, factory.getIcon("size")); //$NON-NLS-1$ in sIconMap.put()
132 sIconMap.put(ScreenRatioQualifier.class, factory.getIcon("ratio")); //$NON-NLS-1$ in sIconMap.put()
133 … sIconMap.put(ScreenOrientationQualifier.class, factory.getIcon("orientation")); //$NON-NLS-1$ in sIconMap.put()
134 … sIconMap.put(UiModeQualifier.class, factory.getIcon("dockmode")); //$NON-NLS-1$ in sIconMap.put()
135 … sIconMap.put(NightModeQualifier.class, factory.getIcon("nightmode")); //$NON-NLS-1$ in sIconMap.put()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DMockNodeProxy.java44 public MockNodeProxy(String fqcn, Rectangle bounds, NodeFactory factory) { in MockNodeProxy() argument
45 super(makeUiViewNode(fqcn), bounds, factory); in MockNodeProxy() local
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DAttributeDescriptorLabelProvider.java45 IconFactory factory = IconFactory.getInstance(); in getImage() local
46 return factory.getIcon("warning"); //$NON-NLS-1$ in getImage()
DElementDescriptor.java253 IconFactory factory = IconFactory.getInstance(); in getCustomizedIcon() local
267 Image icon = factory.getIcon(name, color, shape); in getCustomizedIcon()
287 IconFactory factory = IconFactory.getInstance(); in getImageDescriptor() local
290 ImageDescriptor id = factory.getImageDescriptor(mXmlName, color, shape); in getImageDescriptor()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DViewMetadataRepository.java132 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); in getRenderingConfigDoc() local
137 factory.setNamespaceAware(true); in getRenderingConfigDoc()
138 factory.setValidating(false); in getRenderingConfigDoc()
139 factory.setIgnoringComments(true); in getRenderingConfigDoc()
140 DocumentBuilder builder = factory.newDocumentBuilder(); in getRenderingConfigDoc()
207 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); in getCategories() local
212 factory.setNamespaceAware(true); in getCategories()
213 factory.setValidating(false); in getCategories()
214 factory.setIgnoringComments(true); in getCategories()
215 DocumentBuilder builder = factory.newDocumentBuilder(); in getCategories()
DPaletteMetadataDescriptor.java67 IconFactory factory = IconFactory.getInstance(); in getGenericIcon() local
68 Image icon = factory.getIcon(mIconName); in getGenericIcon()
DNodeProxy.java81 /*package*/ NodeProxy(UiViewElementNode uiNode, Rectangle bounds, NodeFactory factory) { in NodeProxy() argument
83 mFactory = factory; in NodeProxy()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDomUtilities.java866 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); in createEmptyPlainDocument() local
867 factory.setNamespaceAware(true); in createEmptyPlainDocument()
868 factory.setValidating(false); in createEmptyPlainDocument()
869 factory.setIgnoringComments(true); in createEmptyPlainDocument()
872 builder = factory.newDocumentBuilder(); in createEmptyPlainDocument()
892 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); in parseDocument() local
894 factory.setNamespaceAware(true); in parseDocument()
895 factory.setValidating(false); in parseDocument()
897 DocumentBuilder builder = factory.newDocumentBuilder(); in parseDocument()
DLayoutCanvas.java1475 private void copyActionAttributes(Action action, ActionFactory factory) { in copyActionAttributes() argument
1476 IWorkbenchAction wa = factory.create( in copyActionAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DOutlineLabelProvider.java53 IconFactory factory = IconFactory.getInstance(); in getImage() local
54 Image img = factory.getIcon(tagName, null); in getImage()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/
DViewElementDescriptor.java186 IconFactory factory = IconFactory.getInstance(); in getGenericIcon() local
199 Image icon = factory.getIcon(name); in getGenericIcon()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiElementNodeTest.java264 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); in testCreateNameSpace() local
265 factory.setNamespaceAware(true); in testCreateNameSpace()
266 factory.setValidating(false); in testCreateNameSpace()
267 DocumentBuilder builder = factory.newDocumentBuilder(); in testCreateNameSpace()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/uimodel/
DUiViewElementNode.java146 IconFactory factory = icons; in getIcon() local
147 img = factory.getIcon("VerticalLinearLayout"); //$NON-NLS-1$ in getIcon()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiTreeBlock.java550 IconFactory factory = IconFactory.getInstance(); in doCreateMenuAction() local
555 manager.add(new Action("Add...", factory.getImageDescriptor("add")) { //$NON-NLS-1$ in doCreateMenuAction()
566 … manager.add(new Action("Remove", factory.getImageDescriptor("delete")) { //$NON-NLS-1$ in doCreateMenuAction()
576 manager.add(new Action("Up", factory.getImageDescriptor("up")) { //$NON-NLS-1$ in doCreateMenuAction()
583 manager.add(new Action("Down", factory.getImageDescriptor("down")) { //$NON-NLS-1$ in doCreateMenuAction()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DDeviceChooserDialog.java525 IconFactory factory = IconFactory.getInstance(); in loadImages() local
540 mMatchImage = factory.getIcon("match", //$NON-NLS-1$ in loadImages()
546 mNoMatchImage = factory.getIcon("error", //$NON-NLS-1$ in loadImages()
552 mWarningImage = factory.getIcon("warning", //$NON-NLS-1$ in loadImages()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DXmlProperty.java58 @NonNull PropertyFactory factory, in XmlProperty() argument
62 mFactory = factory; in XmlProperty()
DPropertySheetPage.java335 PropertyFactory factory = getPropertyFactory(); in refreshProperties() local
336 mPropertyTable.setInput(factory.getProperties(mSelection)); in refreshProperties()
/sdk/attribute_stats/src/
DAnalyzer.java199 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); in analyzeLayout() local
202 factory.setNamespaceAware(true); in analyzeLayout()
203 factory.setValidating(false); in analyzeLayout()
204 DocumentBuilder builder = factory.newDocumentBuilder(); in analyzeLayout()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/
DAttrsXmlParser.java255 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); in getDocument() local
256 factory.setIgnoringComments(false); in getDocument()
258 DocumentBuilder builder = factory.newDocumentBuilder(); in getDocument()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestInfo.java338 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); in sync() local
341 factory.setNamespaceAware(true); in sync()
342 factory.setValidating(false); in sync()
343 DocumentBuilder builder = factory.newDocumentBuilder(); in sync()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateHandler.java469 SAXParserFactory factory = SAXParserFactory.newInstance(); in processVariables() local
470 SAXParser saxParser = factory.newSAXParser(); in processVariables()
592 SAXParserFactory factory = SAXParserFactory.newInstance(); in execute() local
593 SAXParser saxParser = factory.newSAXParser(); in execute()