Home
last modified time | relevance | path

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

/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/
DAbstractCheckTest.java95 for (String relativePath : relativePaths) { in lintFiles()
96 File file = getTestfile(targetDir, relativePath); in lintFiles()
165 for (String relativePath : relativePaths) { in getProjectDir()
166 File file = getTestfile(projectDir, relativePath); in getProjectDir()
250 private File getTestfile(File targetDir, String relativePath) throws IOException { in getTestfile() argument
256 String targetPath = relativePath; in getTestfile()
257 int replaceIndex = relativePath.indexOf("=>"); //$NON-NLS-1$ in getTestfile()
260 targetPath = relativePath.substring(replaceIndex + "=>".length()); in getTestfile()
261 relativePath = relativePath.substring(0, replaceIndex); in getTestfile()
264 String path = "data" + File.separator + relativePath; //$NON-NLS-1$ in getTestfile()
[all …]
/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/device_validator/dvlib/src/com/android/dvlib/
DDeviceSchema.java314 String relativePath = mStringAccumulator.toString().trim(); in endElement() local
315 File f = new File(mDirectory, relativePath); in endElement()
317 validationError(relativePath + " is not a valid path."); in endElement()
323 validationError(relativePath + " is not a valid file type."); in endElement()
/sdk/assetstudio/tests/src/com/android/assetstudiolib/
DGeneratorTest.java55 String relativePath = entry.getKey(); in checkGraphic() local
59 + relativePath; in checkGraphic()
67 + relativePath); in checkGraphic()
78 assertImageSimilar(relativePath, goldenImage, image, 5.0f); in checkGraphic()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateManager.java103 public static File getTemplateLocation(@NonNull File root, @NonNull String relativePath) { in getTemplateLocation() argument
109 + relativePath.replace('/', File.separatorChar)); in getTemplateLocation()
125 public static File getTemplateLocation(@NonNull String relativePath) { in getTemplateLocation() argument
129 relativePath.replace('/', File.separatorChar)); in getTemplateLocation()
DTemplateHandler.java355 public String readTemplateTextResource(@NonNull String relativePath) { in readTemplateTextResource() argument
358 relativePath.replace('/', File.separatorChar)), Charsets.UTF_8); in readTemplateTextResource()
383 public byte[] readTemplateResource(@NonNull String relativePath) { in readTemplateResource() argument
385 return Files.toByteArray(new File(mRootPath, relativePath)); in readTemplateResource()
574 String relativePath = attributes.getValue(ATTR_FILE); in execute()
575 if (relativePath != null && !relativePath.isEmpty()) { in execute()
576 mOpen.add(relativePath); in execute()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringTest.java217 protected ViewInfo createInfos(UiElementNode model, String relativePath) { in createInfos() argument
218 String basename = relativePath.substring(0, relativePath.lastIndexOf('.') + 1); in createInfos()
262 protected TestContext setupTestContext(IFile file, String relativePath) throws Exception { in setupTestContext() argument
290 ViewInfo info = createInfos(model, relativePath); in setupTestContext()
DAdtProjectTest.java493 protected String readTestFile(String relativePath, boolean expectExists) { in readTestFile() argument
494 String path = "testdata" + File.separator + relativePath; //$NON-NLS-1$ in readTestFile()
501 assertNotNull(relativePath + " does not exist", stream); in readTestFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DProjectState.java74 private LibraryState(String relativePath) { in LibraryState() argument
75 mRelativePath = relativePath; in LibraryState()
99 private void setRelativePath(String relativePath) { in setRelativePath() argument
100 mRelativePath = relativePath; in setRelativePath()
/sdk/assetstudio/src/com/android/assetstudiolib/
DGraphicGenerator.java204 public static BufferedImage getStencilImage(String relativePath) throws IOException { in getStencilImage() argument
205 InputStream is = GraphicGenerator.class.getResourceAsStream(relativePath); in getStencilImage()
/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.java1203 String relativePath = entry.getKey(); in generateIcons() local
1204 IPath dest = new Path(relativePath); in generateIcons()
/sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/
DLintClient.java329 public File findResource(@NonNull String relativePath) { in findResource() argument
337 File file = new File(top, relativePath); in findResource()
DDefaultConfiguration.java154 String relativePath = context.getProject().getRelativePath(file); in isIgnored() local
156 if (suppressedPath.equals(relativePath)) { in isIgnored()
DLintDriver.java1676 public File findResource(@NonNull String relativePath) { in findResource() argument
1677 return mDelegate.findResource(relativePath); in findResource()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtUtils.java485 IPath relativePath = path.makeRelativeTo(workspacePath); in pathToIFile() local
486 IResource member = workspace.findMember(relativePath); in pathToIFile()
513 IPath relativePath = path.makeRelativeTo(workspacePath); in pathToResource() local
514 return workspace.findMember(relativePath); in pathToResource()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/
DAddSupportJarAction.java453 IPath relativePath = libraryProject.getLocation().makeRelativeTo( in addLibraryDependency()
458 relativePath.toString()); in addLibraryDependency()
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/
DSdkManager.java1116 for (String relativePath : sPlatformContentList) { in checkPlatformContent()
1117 File f = new File(platform, relativePath); in checkPlatformContent()
1121 platform.getName(), relativePath); in checkPlatformContent()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DEclipseLintClient.java387 public File findResource(@NonNull String relativePath) { in findResource() argument
391 File file = new File(sdkFolder, relativePath); in findResource()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutCanvas.java1051 IPath relativePath = filePath.makeRelativeTo(workspacePath); in showInclude() local
1052 xmlFile = (IFile) workspace.findMember(relativePath); in showInclude()