Home
last modified time | relevance | path

Searched refs:relativePath (Results 1 – 17 of 17) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/
DLibraryProperties.java86 String relativePath; field in LibraryProperties.ItemData
173 IPath relativePath = iProject.getLocation().makeRelativeTo( in LibraryProperties()
176 addItem(relativePath.toString(), iProject, -1); in LibraryProperties()
213 addItem(data.relativePath, data.project, index - 1); in LibraryProperties()
233 addItem(data.relativePath, data.project, index + 1); in LibraryProperties()
296 data.relativePath); in save()
336 private void addItem(String relativePath, IProject project, int index) { in addItem() argument
338 data.relativePath = relativePath; in addItem()
349 item.setText(0, data.relativePath); in addItem()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/
DDraw9PatchEditor.java91 IPath relativePath = null; in doSaveAs() local
92 if ((relativePath = showSaveAsDialog()) != null) { in doSaveAs()
94 .getFile(relativePath)); in doSaveAs()
124 IPath relativePath = null; in doSave() local
125 if ((relativePath = showSaveAsDialog()) != null) { in doSave()
127 .getRoot().getFile(relativePath)); in doSave()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateManager.java108 public static File getTemplateLocation(@NonNull File root, @NonNull String relativePath) { in getTemplateLocation() argument
114 + relativePath.replace('/', File.separatorChar)); in getTemplateLocation()
130 public static File getTemplateLocation(@NonNull String relativePath) { in getTemplateLocation() argument
134 relativePath.replace('/', File.separatorChar)); in getTemplateLocation()
DTemplateHandler.java404 public String readTemplateTextResource(@NonNull String relativePath) { in readTemplateTextResource() argument
407 relativePath.replace('/', File.separatorChar)), Charsets.UTF_8); in readTemplateTextResource()
432 public byte[] readTemplateResource(@NonNull String relativePath) { in readTemplateResource() argument
434 return Files.toByteArray(new File(mRootPath, relativePath)); in readTemplateResource()
632 String relativePath = attributes.getValue(ATTR_FILE); in execute()
633 if (relativePath != null && !relativePath.isEmpty()) { in execute()
634 mOpen.add(relativePath); in execute()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringTest.java221 protected ViewInfo createInfos(UiElementNode model, String relativePath) throws IOException { in createInfos() argument
222 String basename = relativePath.substring(0, relativePath.lastIndexOf('.') + 1); in createInfos()
266 protected TestContext setupTestContext(IFile file, String relativePath) throws Exception { in setupTestContext() argument
294 ViewInfo info = createInfos(model, relativePath); in setupTestContext()
DAdtProjectTest.java89 protected InputStream getTestResource(String relativePath, boolean expectExists) { in getTestResource() argument
90 String path = "testdata" + File.separator + relativePath; //$NON-NLS-1$ in getTestResource()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DProjectState.java75 private LibraryState(String relativePath) { in LibraryState() argument
76 mRelativePath = relativePath; in LibraryState()
100 private void setRelativePath(String relativePath) { in setRelativePath() argument
101 mRelativePath = relativePath; in setRelativePath()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DImportedProject.java59 ImportedProject(File location, String relativePath) { in ImportedProject() argument
62 mRelativePath = relativePath; in ImportedProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
DCreateAssetSetWizard.java104 String relativePath = entry.getKey(); in performFinish() local
105 IPath dest = new Path(relativePath); in performFinish()
DConfigureAssetSetPage.java1199 String relativePath = entry.getKey(); in generateIcons() local
1200 IPath dest = new Path(relativePath); in generateIcons()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DProjectSetupBuilder.java315 IPath relativePath = path.makeRelativeTo(root); in getGradlePath() local
316 String relativeString = relativePath.toOSString(); in getGradlePath()
DBuildFileCreator.java148 IPath relativePath = commonRoot.makeRelativeTo(workspaceLocation); in createBuildFiles() local
151 boolean rootInWorkspace = !relativePath.equals(commonRoot); in createBuildFiles()
154 rootInWorkspace = rootInWorkspace && relativePath.segmentCount() > 0; in createBuildFiles()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRefactoringTestBase.java264 String relativePath = ((String) data[i]).replace('/', File.separatorChar); in createTestDataDir() local
265 File to = new File(dir, relativePath); in createTestDataDir()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtUtils.java543 IPath relativePath = path.makeRelativeTo(workspacePath); in pathToIFile() local
544 IResource member = workspace.findMember(relativePath); in pathToIFile()
571 IPath relativePath = path.makeRelativeTo(workspacePath); in pathToResource() local
572 return workspace.findMember(relativePath); in pathToResource()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/
DAddSupportJarAction.java546 IPath relativePath = libraryProject.getLocation().makeRelativeTo( in addLibraryDependency()
551 relativePath.toString()); in addLibraryDependency()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutCanvas.java1165 IPath relativePath = filePath.makeRelativeTo(workspacePath); in showInclude() local
1166 xmlFile = (IFile) workspace.findMember(relativePath); in showInclude()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DEclipseLintClient.java473 public File findResource(@NonNull String relativePath) {
477 File file = new File(sdkFolder, relativePath);