Home
last modified time | relevance | path

Searched refs:project (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DChangedFileSetHelper.java22 import com.android.ide.eclipse.adt.internal.project.BaseProjectHelper;
59 static ChangedFileSet getJavaResCfs(@NonNull IProject project) { in getJavaResCfs() argument
62 IPath projectPath = project.getFullPath(); in getJavaResCfs()
65 List<IPath> srcPaths = BaseProjectHelper.getSourceClasspaths(project); in getJavaResCfs()
84 static ChangedFileSet getResCfs(@NonNull IProject project) { in getResCfs() argument
86 String path = getRelativeAndroidOut(project); in getResCfs()
106 static ChangedFileSet getMergedManifestCfs(@NonNull IProject project) { in getMergedManifestCfs() argument
108 String path = getRelativeAndroidOut(project); in getMergedManifestCfs()
122 static ChangedFileSet getTextSymbols(@NonNull IProject project) { in getTextSymbols() argument
124 String path = getRelativeAndroidOut(project); in getTextSymbols()
[all …]
DPostCompilerBuilder.java36 import com.android.ide.eclipse.adt.internal.project.ApkInstallManager;
37 import com.android.ide.eclipse.adt.internal.project.BaseProjectHelper;
38 import com.android.ide.eclipse.adt.internal.project.LibraryClasspathContainerInitializer;
39 import com.android.ide.eclipse.adt.internal.project.ProjectHelper;
139 IProject project = getProject(); in clean() local
142 AdtPlugin.log(IStatus.INFO, "%s CLEAN(POST)", project.getName()); in clean()
146 removeMarkersFromContainer(project, AdtConstants.MARKER_AAPT_PACKAGE); in clean()
147 removeMarkersFromContainer(project, AdtConstants.MARKER_PACKAGING); in clean()
150 IFolder javaOutput = BaseProjectHelper.getJavaOutputFolder(project); in clean()
151 IFolder androidOutput = BaseProjectHelper.getAndroidOutputFolder(project); in clean()
[all …]
DResourceManagerBuilder.java25 import com.android.ide.eclipse.adt.internal.project.BaseProjectHelper;
26 import com.android.ide.eclipse.adt.internal.project.ProjectHelper;
71 IProject project = getProject(); in clean() local
74 removeMarkersFromContainer(project, AdtConstants.MARKER_ADT); in clean()
83 final IProject project = getProject(); in build() local
84 IJavaProject javaProject = JavaCore.create(project); in build()
87 removeMarkersFromContainer(project, AdtConstants.MARKER_ADT); in build()
99 Pair<Integer, String> result = ProjectHelper.checkCompilerCompliance(project); in build()
123 IAndroidTarget target = currentSdk.getTarget(project.getProject()); in build()
129 ProjectState projectState = Sdk.getProjectState(project); in build()
[all …]
DPreCompilerBuilder.java35 import com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper;
36 import com.android.ide.eclipse.adt.internal.project.BaseProjectHelper;
37 import com.android.ide.eclipse.adt.internal.project.FixLaunchConfig;
38 import com.android.ide.eclipse.adt.internal.project.ProjectHelper;
39 import com.android.ide.eclipse.adt.internal.project.XmlErrorHandler.BasicXmlErrorListener;
59 import com.android.sdklib.internal.project.ProjectProperties;
251 IProject project = getProject(); in build() local
254 AdtPlugin.log(IStatus.INFO, "%s BUILD(PRE)", project.getName()); in build()
269 ProjectState projectState = Sdk.getProjectState(project); in build()
284 IJavaProject javaProject = JavaCore.create(project); in build()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DApkInstallManager.java17 package com.android.ide.eclipse.adt.internal.project;
54 public ApkInstall(IProject project, String packageName, IDevice device) { in ApkInstall() argument
55 this.project = project; in ApkInstall()
65 return (device == apkObj.device && project.equals(apkObj.project) && in equals()
74 return (device.getSerialNumber() + project.getName() + packageName).hashCode(); in hashCode()
77 final IProject project; field in ApkInstallManager.ApkInstall
122 public void registerInstallation(IProject project, String packageName, IDevice device) { in registerInstallation() argument
124 mInstallList.add(new ApkInstall(project, packageName, device)); in registerInstallation()
134 public boolean isApplicationInstalled(IProject project, String packageName, IDevice device) { in isApplicationInstalled() argument
138 if (project.equals(install.project) && packageName.equals(install.packageName) && in isApplicationInstalled()
[all …]
DAndroidNature.java17 package com.android.ide.eclipse.adt.internal.project;
111 public void setProject(IProject project) { in setProject() argument
112 mProject = project; in setProject()
125 public static synchronized void setupProjectNatures(IProject project, in setupProjectNatures() argument
127 if (project == null || !project.isOpen()) return; in setupProjectNatures()
135 addNatureToProjectDescription(project, JavaCore.NATURE_ID, monitor); in setupProjectNatures()
137 addNatureToProjectDescription(project, AdtConstants.NATURE_DEFAULT, monitor); in setupProjectNatures()
153 private static void addNatureToProjectDescription(IProject project, in addNatureToProjectDescription() argument
155 if (!project.hasNature(natureId)) { in addNatureToProjectDescription()
157 IProjectDescription description = project.getDescription(); in addNatureToProjectDescription()
[all …]
DBaseProjectHelper.java17 package com.android.ide.eclipse.adt.internal.project;
73 boolean accept(IProject project); in accept() argument
101 public static List<IPath> getSourceClasspaths(IProject project) { in getSourceClasspaths() argument
102 IJavaProject javaProject = JavaCore.create(project); in getSourceClasspaths()
206 public final static IMarker markProject(IProject project, String markerId, in markProject() argument
208 if (!project.isAccessible()) { in markProject()
212 IMarker marker = project.createMarker(markerId); in markProject()
220 project.refreshLocal(IResource.DEPTH_ZERO, new NullProgressMonitor()); in markProject()
338 public static IJavaProject getJavaProject(IProject project) throws CoreException { in getJavaProject() argument
339 if (project != null && project.hasNature(JavaCore.NATURE_ID)) { in getJavaProject()
[all …]
DProjectHelper.java17 package com.android.ide.eclipse.adt.internal.project;
266 public static boolean updateProject(IJavaProject project) { in updateProject() argument
267 return updateProjects(new IJavaProject[] { project}); in updateProject()
288 public static void fixProject(IProject project) throws JavaModelException { in fixProject() argument
290 AdtPlugin.printToConsole(project, "Unknown SDK Location, project not fixed."); in fixProject()
295 IJavaProject javaProject = JavaCore.create(project); in fixProject()
479 public static final Pair<Integer, String> checkCompilerCompliance(IProject project) { in checkCompilerCompliance() argument
481 IJavaProject javaProject = JavaCore.create(project); in checkCompilerCompliance()
493 public static final void checkAndFixCompilerCompliance(IProject project) { in checkAndFixCompilerCompliance() argument
498 IJavaProject javaProject = JavaCore.create(project); in checkAndFixCompilerCompliance()
[all …]
DSupportLibraryHelper.java17 package com.android.ide.eclipse.adt.internal.project;
72 public static String getTagFor(@NonNull IProject project, @NonNull String tag) { in getTagFor() argument
76 int minSdk = ManifestInfo.get(project).getMinSdkVersion(); in getTagFor()
84 ProjectState state = Sdk.getProjectState(project); in getTagFor()
118 project, in getTagFor()
125 project, in getTagFor()
164 IProject project = javaProject.getProject(); in findSupportProjectV7() local
165 ProjectState state = Sdk.getProjectState(project); in findSupportProjectV7()
167 ManifestInfo manifestInfo = ManifestInfo.get(project); in findSupportProjectV7()
169 return project; in findSupportProjectV7()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DResourceManager.java100 void fileChanged(IProject project, ResourceFile file, int eventType); in fileChanged() argument
107 void folderChanged(IProject project, ResourceFolder folder, int eventType); in folderChanged() argument
155 public ProjectResources getProjectResources(IProject project) { in getProjectResources() argument
157 ProjectResources resources = mMap.get(project); in getProjectResources()
160 resources = ProjectResources.create(project); in getProjectResources()
161 mMap.put(project, resources); in getProjectResources()
230 final IProject project = folder.getProject(); in updateFolder() local
233 if (project.hasNature(AdtConstants.NATURE_DEFAULT) == false) { in updateFolder()
251 resources = mMap.get(project); in updateFolder()
255 resources = ProjectResources.create(project); in updateFolder()
[all …]
DCompiledResourcesMonitor.java26 import com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper;
27 import com.android.ide.eclipse.adt.internal.project.ProjectHelper;
93 IProject project = file.getProject(); in fileChanged() local
97 String className = getRClassName(project); in fileChanged()
102 project.getName()); in fileChanged()
108 loadAndParseRClass(project, className); in fileChanged()
148 public void projectClosed(IProject project) { in projectClosed() argument
156 public void projectDeleted(IProject project) { in projectDeleted() argument
164 public void projectOpened(IProject project) { in projectOpened() argument
170 public void projectRenamed(IProject project, IPath from) { in projectRenamed() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DLaunchConfigDelegate.java25 import com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper;
26 import com.android.ide.eclipse.adt.internal.project.ProjectHelper;
125 IProject project = getProject(configuration); in launch() local
134 AdtPlugin.printErrorToConsole(project, "Wrong Launch Type!"); in launch()
145 if (project == null) { in launch()
155 ProjectHelper.doFullIncrementalDebugBuild(project, monitor); in launch()
158 if (ProjectHelper.hasError(project, true)) { in launch()
164 AdtPlugin.printToConsole(project, "------------------------------"); //$NON-NLS-1$ in launch()
165 AdtPlugin.printToConsole(project, "Android Launch!"); in launch()
169 if (checkAndroidProject(project) == false) { in launch()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/
DFixProjectAction.java20 import com.android.ide.eclipse.adt.internal.project.AndroidNature;
21 import com.android.ide.eclipse.adt.internal.project.ProjectHelper;
66 IProject project = null; in run() local
68 project = (IProject) element; in run()
70 project = (IProject) ((IAdaptable) element) in run()
73 if (project != null) { in run()
74 fixProject(project); in run()
85 private void fixProject(final IProject project) { in fixProject() argument
86 createFixProjectJob(project).schedule(); in fixProject()
96 public static Job createFixProjectJob(@NonNull final IProject project) { in createFixProjectJob() argument
[all …]
DDexDumpAction.java75 IProject project = null; in run() local
77 project = (IProject)element; in run()
79 project = (IProject)((IAdaptable)element).getAdapter(IProject.class); in run()
81 if (project != null) { in run()
82 dexDumpProject(project); in run()
98 private void dexDumpProject(final IProject project) { in dexDumpProject() argument
102 return runDexDump(project, monitor); in dexDumpProject()
115 private IStatus runDexDump(final IProject project, IProgressMonitor monitor) { in runDexDump() argument
120 monitor.beginTask(String.format("Dump dex of %1$s", project.getName()), 2); in runDexDump()
125 AdtPlugin.printErrorToConsole(project, in runDexDump()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/
DNdkGdbLaunchShortcut.java58 IProject project = r.getProject(); in launch() local
59 if (project == null) { in launch()
64 ProjectState state = Sdk.getProjectState(project); in launch()
70 if (!CoreModel.hasCCNature(project) && !CoreModel.hasCNature(project)) { in launch()
71 AdtPlugin.printErrorToConsole(project, in launch()
75 project.getName())); in launch()
79 debugProject(project, mode); in launch()
86 private void debugProject(IProject project, String mode) { in debugProject() argument
88 ILaunchConfiguration config = AndroidLaunchController.getLaunchConfig(project, in debugProject()
97 config = setNdkDefaults(config, project); in debugProject()
[all …]
DNdkGdbLaunchDelegate.java39 import com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper;
40 import com.android.ide.eclipse.adt.internal.project.ProjectHelper;
100 IProject project = null; in doLaunch() local
103 project = cProject.getProject(); in doLaunch()
106 if (project == null) { in doLaunch()
115 ProjectHelper.doFullIncrementalDebugBuild(project, monitor); in doLaunch()
118 if (ProjectHelper.hasError(project, true)) { in doLaunch()
119 AdtPlugin.printErrorToConsole(project, in doLaunch()
124 final ManifestData manifestData = AndroidManifestHelper.parseForData(project); in doLaunch()
125 final ManifestInfo manifestInfo = ManifestInfo.get(project); in doLaunch()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutReloadMonitor.java122 public void addListener(IProject project, ILayoutReloadListener listener) { in addListener() argument
124 List<ILayoutReloadListener> list = mListenerMap.get(project); in addListener()
127 mListenerMap.put(project, list); in addListener()
137 public void removeListener(IProject project, ILayoutReloadListener listener) { in removeListener() argument
139 List<ILayoutReloadListener> list = mListenerMap.get(project); in removeListener()
187 IProject project = file.getProject();
192 processFileChanged(file, project, extension);
195 IProject[] referencingProjects = project.getReferencingProjects();
217 private void processFileChanged(IFile file, IProject project, String extension) {
219 ChangeFlags changeFlags = mProjectFlags.get(project);
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DDebuggerConnector.java20 import com.android.ide.eclipse.adt.internal.project.ProjectHelper;
48 IProject project = ProjectHelper.findAndroidProjectByAppName(appName); in connectDebugger() local
49 if (project != null) { in connectDebugger()
50 AndroidLaunchController.debugRunningApp(project, appPort); in connectDebugger()
109 public void projectRenamed(IProject project, IPath from) { in projectRenamed() argument
118 public void projectOpenedWithWorkspace(IProject project) { in projectOpenedWithWorkspace() argument
129 public void projectOpened(IProject project) { in projectOpened() argument
138 public void projectDeleted(IProject project) { in projectDeleted() argument
140 projectClosed(project); in projectDeleted()
145 public void projectClosed(IProject project) { in projectClosed() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DTestTargetPage.java19 import com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper;
20 import com.android.ide.eclipse.adt.internal.project.ProjectChooserHelper;
104 for (IJavaProject project : androidProjects) { in initializeList()
105 if (project.getProject() == mValues.testedProject) { in initializeList()
106 mProjectList.setSelection(new Object[] { project }); in initializeList()
133 IProject project = getSelectedProject(); in setVisible() local
134 if (project != null) { in setVisible()
141 mValues.testedProject = project; in setVisible()
172 IProject project = getSelectedProject(); in widgetSelected() local
173 if (project != mValues.testedProject) { in widgetSelected()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DExportGradleTest.java18 import static com.android.sdklib.internal.project.ProjectProperties.PROPERTY_LIBRARY;
24 import com.android.ide.eclipse.adt.internal.project.BaseProjectHelper;
30 import com.android.sdklib.internal.project.ProjectPropertiesWorkingCopy;
65 IProject project = getProject("simple-app"); in testSimpleAndroidApp() local
66 final IJavaProject javaProject = BaseProjectHelper.getJavaProject(project); in testSimpleAndroidApp()
133 final IProject project = getProject("simple-library"); in testSimpleAndroidLib() local
134 ProjectState projectState = Sdk.getProjectState(project.getProject()); in testSimpleAndroidLib()
138 IResource projectProp = project.findMember(SdkConstants.FN_PROJECT_PROPERTIES); in testSimpleAndroidLib()
147 IJavaProject javaProject = BaseProjectHelper.getJavaProject(project); in testSimpleAndroidLib()
210 IProject project = getJavaProject("simple-java"); in testPlainJavaProject() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DProjectLintConfiguration.java43 ProjectLintConfiguration(LintClient client, Project project, in ProjectLintConfiguration() argument
45 super(client, project, parent); in ProjectLintConfiguration()
49 private static ProjectLintConfiguration create(LintClient client, IProject project, in create() argument
51 File dir = AdtUtils.getAbsolutePath(project).toFile(); in create()
56 public static ProjectLintConfiguration get(LintClient client, IProject project, in get() argument
61 return create(client, project, GlobalLintConfiguration.get(), true); in get()
66 Object value = project.getSessionProperty(CONFIGURATION_NAME); in get()
72 configuration = create(client, project, GlobalLintConfiguration.get(), false); in get()
74 project.setSessionProperty(CONFIGURATION_NAME, configuration); in get()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/
DExportAction.java20 import com.android.ide.eclipse.adt.internal.project.ExportHelper;
56 IProject project = null; in run() local
58 project = (IProject) element; in run()
60 project = (IProject) ((IAdaptable) element).getAdapter(IProject.class); in run()
64 if (project != null) { in run()
65 if (!EclipseLintRunner.runLintOnExport(mShell, project)) { in run()
69 ProjectState state = Sdk.getProjectState(project); in run()
74 ExportHelper.exportUnsignedReleaseApk(project); in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/
DRenamePackageAction.java21 import com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper;
93 IProject project = null; in run() local
95 project = (IProject) element; in run()
97 project = (IProject) ((IAdaptable) element).getAdapter(IProject.class); in run()
99 if (project != null) { in run()
106 promptNewName(project); in run()
116 private void promptNewName(final IProject project) { in promptNewName() argument
118 ManifestData manifestData = AndroidManifestHelper.parseForData(project); in promptNewName()
151 initiateAndroidPackageRefactoring(project, oldPackageName, newPackageName); in promptNewName()
157 final IProject project, in initiateAndroidPackageRefactoring() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DAndroidPackageRenameParticipantTest.java20 import com.android.ide.eclipse.adt.internal.project.BaseProjectHelper;
209 IProject project = createProject(testData); in renamePackage() local
211 EXPECTED_WARNINGS_TEMPLATE.replace("PROJECTNAME", project.getName()) : null; in renamePackage()
212 renamePackage(project, renameSubpackages, updateReferences, newName, expected, in renamePackage()
217 @NonNull IProject project, in renamePackage()
223 ManifestInfo info = ManifestInfo.get(project); in renamePackage()
227 IPackageFragment pkgFragment = getPackageFragment(project, currentPackage); in renamePackage()
238 private static IPackageFragment getPackageFragment(IProject project, String pkg) in getPackageFragment() argument
241 IJavaProject javaProject = BaseProjectHelper.getJavaProject(project); in getPackageFragment()
/sdk/testapps/libsTest/appTest/
Dproguard-project.txt1 # To enable ProGuard in your project, edit project.properties
4 # Add project specific ProGuard rules here.
8 # include property in project.properties.
13 # Add any project specific keep options here:
15 # If your project uses WebView with JS, uncomment the following

12345678910>>...13