/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/ |
D | AbstractCheckTest.java | 95 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/ |
D | LibraryProperties.java | 86 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/ |
D | DeviceSchema.java | 314 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/ |
D | GeneratorTest.java | 55 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/ |
D | TemplateManager.java | 103 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()
|
D | TemplateHandler.java | 355 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/ |
D | RefactoringTest.java | 217 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()
|
D | AdtProjectTest.java | 493 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/ |
D | ProjectState.java | 74 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/ |
D | GraphicGenerator.java | 204 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/ |
D | CreateAssetSetWizard.java | 104 String relativePath = entry.getKey(); in performFinish() local 105 IPath dest = new Path(relativePath); in performFinish()
|
D | ConfigureAssetSetPage.java | 1203 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/ |
D | LintClient.java | 329 public File findResource(@NonNull String relativePath) { in findResource() argument 337 File file = new File(top, relativePath); in findResource()
|
D | DefaultConfiguration.java | 154 String relativePath = context.getProject().getRelativePath(file); in isIgnored() local 156 if (suppressedPath.equals(relativePath)) { in isIgnored()
|
D | LintDriver.java | 1676 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/ |
D | AdtUtils.java | 485 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/ |
D | AddSupportJarAction.java | 453 IPath relativePath = libraryProject.getLocation().makeRelativeTo( in addLibraryDependency() 458 relativePath.toString()); in addLibraryDependency()
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/ |
D | SdkManager.java | 1116 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/ |
D | EclipseLintClient.java | 387 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/ |
D | LayoutCanvas.java | 1051 IPath relativePath = filePath.makeRelativeTo(workspacePath); in showInclude() local 1052 xmlFile = (IFile) workspace.findMember(relativePath); in showInclude()
|