Home
last modified time | relevance | path

Searched refs:IPath (Results 1 – 25 of 80) sorted by relevance

1234

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DExtractIncludeRefactoringTest.java24 import org.eclipse.core.runtime.IPath;
72 Map<IPath, String> extraFiles = new HashMap<IPath, String>(); in testExtract4()
88 Map<IPath, String> extraFiles = new HashMap<IPath, String>(); in testExtract5()
105 Map<IPath, String> extraFiles = new HashMap<IPath, String>(); in testExtract6()
134 boolean replaceOccurrences, Map<IPath,String> extraFiles, in checkRefactoring() argument
151 Map<IPath,String> fileToGolden = new HashMap<IPath,String>(); in checkRefactoring()
152 IPath sourcePath = file.getProjectRelativePath(); in checkRefactoring()
154 IPath newPath = sourcePath.removeLastSegments(1).append(layoutName + DOT_XML); in checkRefactoring()
DExtractStyleRefactoringTest.java22 import org.eclipse.core.runtime.IPath;
215 Map<IPath,String> fileToGolden = new HashMap<IPath,String>(); in checkRefactoring()
216 IPath sourcePath = file.getProjectRelativePath(); in checkRefactoring()
218 IPath newPath = refactoring.getStyleFile(getProject()).getProjectRelativePath(); in checkRefactoring()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DAndroidClasspathContainer.java19 import org.eclipse.core.runtime.IPath;
30 private final IPath mContainerPath;
43 AndroidClasspathContainer(IClasspathEntry[] entries, IPath path, String name, int kind) { in AndroidClasspathContainer()
66 public IPath getPath() { in getPath()
DAndroidClasspathContainerInitializer.java36 import org.eclipse.core.runtime.IPath;
109 public void initialize(IPath containerPath, IJavaProject project) throws CoreException { in initialize()
277 public IPath getPath() { in allocateAndroidContainer()
407 IPath androidLib = new Path(paths[CACHE_INDEX_JAR]);
409 IPath androidSrc = null;
734 public boolean canUpdateClasspathContainer(IPath containerPath, IJavaProject project) {
739 public void requestClasspathContainerUpdate(IPath containerPath, IJavaProject project,
753 IPath android_lib = new Path(paths[CACHE_INDEX_JAR]);
758 IPath entryPath = entry.getPath();
762 IPath entrySrcPath = entry.getSourceAttachmentPath();
[all …]
DLibraryClasspathContainerInitializer.java41 import org.eclipse.core.runtime.IPath;
126 public void initialize(IPath containerPath, IJavaProject project) throws CoreException { in initialize()
231 IPath sourceAttachmentPath = null; in convertJarsToClasspathEntries()
367 List<IPath> srcs = BaseProjectHelper.getSourceClasspaths(libProject); in allocateDependencyContainer()
369 IPath sourceFolder = null; in allocateDependencyContainer()
370 for (IPath src : srcs) { in allocateDependencyContainer()
397 List<IClasspathEntry> entries, IPath id, String description) { in allocateContainer()
469 IPath location = member.getLocation(); in getJarListFromLibsFolder()
620 IPath path = e.getPath(); in handleClasspathLibrary()
DAndroidClasspathContainerPage.java24 import org.eclipse.core.runtime.IPath;
67 IPath path = new Path(AdtConstants.CONTAINER_FRAMEWORK); in getSelection()
84 final IPath path = cpentry == null ? null : cpentry.getPath(); in setSelection()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/build/
DNdkCommandLauncher.java25 import org.eclipse.core.runtime.IPath;
57 public Process execute(IPath commandPath, String[] args, String[] env, IPath changeToDirectory, in execute()
92 private boolean isWindowsExecutable(IPath commandPath) { in isWindowsExecutable()
106 private IPath appendExecutableExtension(IPath commandPath) { in appendExecutableExtension()
119 private String findWindowsExecutableExtension(IPath command) { in findWindowsExecutableExtension()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/discovery/
DNdkDiscoveredPathInfo.java28 import org.eclipse.core.runtime.IPath;
47 private IPath[] mIncludePaths;
50 private static final IPath ANDROID_MK = new Path("jni/Android.mk");
66 public IPath[] getIncludePaths() { in getIncludePaths()
80 mIncludePaths = new IPath[pathStrings.size()]; in setIncludePaths()
145 for (IPath include : mIncludePaths) { in save()
173 List<IPath> includes = new ArrayList<IPath>(); in load()
197 mIncludePaths = includes.toArray(new IPath[includes.size()]); in load()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DProjectSetupBuilder.java33 import org.eclipse.core.runtime.IPath;
64 private IPath mCommonRoot;
137 public IPath getCommonRoot() { in getCommonRoot()
294 private static IPath determineCommonRoot(Collection<GradleModule> modules) in determineCommonRoot()
296 IPath commonRoot = null; in determineCommonRoot()
314 private static String getGradlePath(IPath path, IPath root) { in getGradlePath()
315 IPath relativePath = path.makeRelativeTo(root); in getGradlePath()
325 private static IPath findCommonRoot(@NonNull IPath path1, @NonNull IPath path2) in findCommonRoot()
333 IPath result = path1.uptoSegment(0); in findCommonRoot()
398 IPath path = new Path(root); in getJavaProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DChangedFileSet.java22 import org.eclipse.core.runtime.IPath;
49 public boolean isInput(@NonNull String path, @NonNull IPath iPath) { in isInput()
59 public boolean isOutput(@NonNull String path, @NonNull IPath iPath) { in isOutput()
DJavaResChangedSet.java22 import org.eclipse.core.runtime.IPath;
40 public boolean isInput(@NonNull String path, @NonNull IPath iPath) { in isInput()
DChangedFileSetHelper.java27 import org.eclipse.core.runtime.IPath;
62 IPath projectPath = project.getFullPath(); in getJavaResCfs()
65 List<IPath> srcPaths = BaseProjectHelper.getSourceClasspaths(project); in getJavaResCfs()
69 for (IPath path : srcPaths) { in getJavaResCfs()
DPreCompilerDeltaVisitor.java41 import org.eclipse.core.runtime.IPath;
93 private final List<IPath> mSourceFolders;
101 public PreCompilerDeltaVisitor(BaseBuilder builder, List<IPath> sourceFolders, in PreCompilerDeltaVisitor()
179 IPath path = resource.getFullPath(); in visit()
370 for (IPath sourceFolderPath : mSourceFolders) { in visit()
408 private IFolder getFolder(IPath path) { in getFolder()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/
DNdkHelper.java28 import org.eclipse.core.runtime.IPath;
126 private static IPath getPathToMake() { in getPathToMake()
135 private static synchronized IPath getFullPathTo(String executable) { in getFullPathTo()
140 IPath ndkRoot = new Path(NdkManager.getNdkLocation()); in getFullPathTo()
141 IPath prebuilt = ndkRoot.append("prebuilt"); //$NON-NLS-1$ in getFullPathTo()
149 IPath exePath = prebuilt.append(p.getName()) in getFullPathTo()
DActivator.java20 import org.eclipse.core.runtime.IPath;
80 public static URL findFile(IPath path) { in findFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/
DBinaryXMLMultiPageEditorPart.java23 import org.eclipse.core.runtime.IPath;
59 IPath path = fragmentRoot.getPath(); in setInput()
65 IPath filePath = path.append(SdkConstants.FD_DATA).append( in setInput()
DFileStorage.java23 import org.eclipse.core.runtime.IPath;
74 public IPath getFullPath() { in getFullPath()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DSourceProcessor.java34 import org.eclipse.core.runtime.IPath;
245 List<IPath> sourceFolders, List<File> libraryProjectsOut, IProgressMonitor monitor) in compileFiles()
299 List<IPath> sourceFolders, List<IFile> notCompiledOut, in doCompileFiles()
335 protected IPath getSourceFolderFor(IFile file) { in getSourceFolderFor()
338 List<IPath> sourceFolders = BaseProjectHelper.getSourceClasspaths(getJavaProject()); in getSourceFolderFor()
341 for (IPath sourceFolderPath : sourceFolders) { in getSourceFolderFor()
368 List<IPath> sourceFolderPathList = BaseProjectHelper.getSourceClasspaths(mJavaProject); in buildSourceFileList()
370 for (IPath sourceFolderPath : sourceFolderPathList) { in buildSourceFileList()
DAidlProcessor.java40 import org.eclipse.core.runtime.IPath;
104 List<IPath> sourceFolders, List<IFile> notCompiledOut, List<File> libraryProjectsOut, in doCompileFiles()
115 for (IPath p : sourceFolders) { in doCompileFiles()
154 IPath sourceFolderPath = getSourceFolderFor(sourceFile); in doCompileFiles()
157 IPath relative = sourceFile.getFullPath().makeRelativeTo(sourceFolderPath); in doCompileFiles()
167 IPath sourcePath = sourceFile.getLocation(); in doCompileFiles()
376 IPath sourceFolderPath = getSourceFolderFor(sourceFile); in getAidlOutputFile()
382 IPath relative = sourceFile.getFullPath().makeRelativeTo(sourceFolderPath); in getAidlOutputFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/
DMocks.java38 import org.eclipse.core.runtime.IPath;
48 public static IJavaProject createProject(IClasspathEntry[] entries, IPath outputLocation) in createProject()
52 Capture<IPath> capturedOutput = new Capture<IPath>(); in createProject()
182 public static IClasspathEntry createClasspathEntry(IPath path, int kind) { in createClasspathEntry()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DCreateFileChange.java32 import org.eclipse.core.runtime.IPath;
48 private final IPath mPath;
51 CreateFileChange(@NonNull String name, @NonNull IPath workspacePath, File source) { in CreateFileChange()
DTemplateHandler.java63 import org.eclipse.core.runtime.IPath;
367 IPath srcDir = project.getFile(SdkConstants.SRC_FOLDER).getProjectRelativePath(); in addDirectoryParameters()
370 IPath resDir = project.getFile(SdkConstants.RES_FOLDER).getProjectRelativePath(); in addDirectoryParameters()
373 IPath manifestDir = project.getProjectRelativePath(); in addDirectoryParameters()
512 IPath to = getTargetPath(FD_NATIVE_LIBS +'/' + path.getName()); in processVariables()
614 IPath to = getTargetPath(toPath); in execute()
628 IPath to = getTargetPath(toPath); in execute()
659 IPath to = getTargetPath(FD_NATIVE_LIBS +'/' + path.getName()); in execute()
693 private IPath getTargetPath(@NonNull String relative) { in getTargetPath()
701 private IFile getTargetFile(@NonNull IPath path) { in getTargetFile()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DFileStoreAdapter.java23 import org.eclipse.core.runtime.IPath;
88 public IFileStore getChild(IPath path) { in getChild()
93 public IFileStore getFileStore(IPath path) { in getFileStore()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/
DDraw9PatchEditor.java29 import org.eclipse.core.runtime.IPath;
91 IPath relativePath = null; in doSaveAs()
124 IPath relativePath = null; in doSave()
210 private IPath showSaveAsDialog() { in showSaveAsDialog()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtUtils.java57 import org.eclipse.core.runtime.IPath;
452 public static IPath getAbsolutePath(@NonNull IResource resource) { in getAbsolutePath()
453 IPath location = resource.getRawLocation(); in getAbsolutePath()
459 IPath workspacePath = root.getLocation(); in getAbsolutePath()
471 public static File workspacePathToFile(@NonNull IPath path) { in workspacePathToFile()
475 IPath location = res.getLocation(); in workspacePathToFile()
502 IPath filePath = new Path(file.getPath()); in fileToIFile()
523 IPath filePath = new Path(file.getPath()); in fileToResource()
533 public static IFile pathToIFile(IPath path) { in pathToIFile()
541 IPath workspacePath = workspace.getLocation(); in pathToIFile()
[all …]

1234