Home
last modified time | relevance | path

Searched refs:finder (Results 1 – 11 of 11) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DIncludeFinderTest.java60 IncludeFinder finder = IncludeFinder.create(); in testUpdates() local
61 assertEquals(null, finder.getIncludedBy("foo")); in testUpdates()
63 finder.setIncluded("bar", Arrays.<String>asList("foo", "baz"), false); in testUpdates()
64 finder.setIncluded("baz", Arrays.<String>asList("foo"), false); in testUpdates()
65 assertEquals(Arrays.asList("bar", "baz"), finder.getIncludedBy("foo")); in testUpdates()
66 finder.setIncluded("bar", Collections.<String>emptyList(), false); in testUpdates()
67 assertEquals(Arrays.asList("baz"), finder.getIncludedBy("foo")); in testUpdates()
68 finder.setIncluded("baz", Collections.<String>emptyList(), false); in testUpdates()
69 assertEquals(Collections.emptyList(), finder.getIncludedBy("foo")); in testUpdates()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCustomViewFinder.java100 CustomViewFinder finder = null; in get() local
102 finder = (CustomViewFinder) project.getSessionProperty(CUSTOM_VIEW_FINDER); in get()
107 if (finder == null) { in get()
108 finder = new CustomViewFinder(project); in get()
110 project.setSessionProperty(CUSTOM_VIEW_FINDER, finder); in get()
116 return finder; in get()
189 CustomViewFinder finder = get(project); in findViews() local
191 return finder.findViews(layoutsOnly); in findViews()
DIncludeFinder.java129 IncludeFinder finder = null; in get() local
131 finder = (IncludeFinder) project.getSessionProperty(INCLUDE_FINDER); in get()
136 if (finder == null) { in get()
137 finder = new IncludeFinder(project); in get()
139 project.setSessionProperty(INCLUDE_FINDER, finder); in get()
145 return finder; in get()
733 IncludeFinder finder = get(project); in fileChanged() local
734 if (finder != null) { in fileChanged()
735 if (finder.updateFileIncludes(file, true)) { in fileChanged()
736 finder.saveSettings(); in fileChanged()
[all …]
DShowWithinMenu.java35 IncludeFinder finder = IncludeFinder.get(project); in addMenuItems() local
36 final List<Reference> includedBy = finder.getIncludedBy(file); in addMenuItems()
DPaletteControl.java514 CustomViewFinder finder = CustomViewFinder.get(mEditor.getProject()); in reloadPalette()
515 finder.refresh(new ViewFinderListener(composite)); in reloadPalette()
563 final CustomViewFinder finder = CustomViewFinder.get(mEditor.getProject()); in addCustomItems() local
564 Collection<String> allViews = finder.getAllViews(); in addCustomItems()
566 finder.refresh(new ViewFinderListener(parent)); in addCustomItems()
DGraphicalEditorPart.java2074 CustomViewFinder finder = CustomViewFinder.get(project); in getCustomViewClassNames() local
2075 Collection<String> views = finder.getAllViews(); in getCustomViewClassNames()
2077 finder.refresh(); in getCustomViewClassNames()
2078 views = finder.getAllViews(); in getCustomViewClassNames()
DRenderPreviewManager.java1046 IncludeFinder finder = IncludeFinder.get(project); in addIncludedInPreviews() local
1048 final List<Reference> includedBy = finder.getIncludedBy(chooser.getEditedFile()); in addIncludedInPreviews()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DTypoFix.java77 FindReplaceDocumentAdapter finder = new FindReplaceDocumentAdapter(document); in apply() local
78 IRegion forward = finder.find(start, typo, true /*forward*/, true, true, false); in apply()
79 IRegion backward = finder.find(start, typo, false /*forward*/, true, true, false); in apply()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutContentAssist.java132 CustomViewFinder finder = CustomViewFinder.get(project); in getCustomViews() local
133 Collection<String> views = finder.getAllViews(); in getCustomViews()
135 finder.refresh(); in getCustomViews()
136 views = finder.getAllViews(); in getCustomViews()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestInfo.java278 ManifestInfo finder = null; in get() local
280 finder = (ManifestInfo) project.getSessionProperty(MANIFEST_FINDER); in get()
285 if (finder == null) { in get()
286 finder = new ManifestInfo(project); in get()
288 project.setSessionProperty(MANIFEST_FINDER, finder); in get()
294 return finder; in get()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DConfigurationMenuListener.java185 IncludeFinder finder = IncludeFinder.get(project); in show() local
186 final List<Reference> includedBy = finder.getIncludedBy(chooser.getEditedFile()); in show()