/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ |
D | ChangedFileSetHelper.java | 69 for (IPath path : srcPaths) { in getJavaResCfs() 70 paths.add(path.makeRelativeTo(projectPath).toString() + "/**"); //$NON-NLS-1$ in getJavaResCfs() 86 String path = getRelativeAndroidOut(project); in getResCfs() local 92 path + '/' + AdtConstants.WS_BIN_RELATIVE_BC + "/**"); //$NON-NLS-1$ in getResCfs() 95 set.setOutput(path + '/' + AdtConstants.FN_RESOURCES_AP_); in getResCfs() 108 String path = getRelativeAndroidOut(project); in getMergedManifestCfs() local 112 path + '/' + SdkConstants.FN_ANDROID_MANIFEST_XML); in getMergedManifestCfs() 124 String path = getRelativeAndroidOut(project); in getTextSymbols() local 128 path + '/' + SdkConstants.FN_RESOURCE_TEXT); in getTextSymbols() 140 String path = getRelativeJavaCOut(project); in getByteCodeCfs() local [all …]
|
D | ChangedFileSet.java | 49 public boolean isInput(@NonNull String path, @NonNull IPath iPath) { in isInput() argument 51 if (SelectorUtils.matchPath(i, path)) { in isInput() 59 public boolean isOutput(@NonNull String path, @NonNull IPath iPath) { in isOutput() argument 61 return SelectorUtils.matchPath(mOutput, path); in isOutput()
|
D | PreCompilerDeltaVisitor.java | 179 IPath path = resource.getFullPath(); in visit() local 180 String[] segments = path.segments(); in visit() 372 if (sourceFolderPath.equals(path)) { in visit() 376 mIsGenSourceFolder = path.segmentCount() == 2 && in visit() 377 path.segment(1).equals(SdkConstants.FD_GEN_SOURCES); in visit() 382 int count = sourceFolderPath.matchingFirstSegments(path); in visit() 383 if (count == path.segmentCount()) { in visit() 408 private IFolder getFolder(IPath path) { in getFolder() argument 409 IResource resource = mRoot.findMember(path); in getFolder()
|
/sdk/eclipse/scripts/ |
D | collect_sources_for_sdk.py | 94 if not os.path.isdir(p.SRC): 96 elif not os.path.isdir(p.DST): 108 if not os.path.exists(srcdir): 113 fp = os.path.join(srcdir, f) 114 if f.endswith(".java") and os.path.isfile(fp): 117 pkg = pkg.replace(".", os.path.sep) # e.g. android.view => android/view 122 elif os.path.isdir(fp): 127 def checkJavaFile(path): argument 128 print "Process", path 133 f = file(path) [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ExportScreenshotAction.java | 52 String path = dialog.open(); in run() local 53 if (path != null) { in run() 54 if (!path.endsWith(DOT_PNG)) { in run() 55 path = path + DOT_PNG; in run() 57 File file = new File(path); in run() 62 path), in run()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | TemplateTestPage.java | 90 String path = mLocation.getText().trim(); in validatePage() local 91 if (path == null || path.length() == 0) { in validatePage() 95 mTemplate = new File(path); in validatePage() 97 error = String.format("%1$s does not exist", path); in validatePage() 100 sLocation = path; in validatePage() 105 path); in validatePage() 137 String path = mLocation.getText().trim(); in widgetSelected() local 138 if (path.length() > 0) { in widgetSelected() 139 dialog.setFilterPath(path); in widgetSelected()
|
D | TemplateHandler.java | 496 String path = attributes.getValue(ATTR_FILE); in processVariables() 497 if (path != null) { in processVariables() 498 processVariables(freemarker, path, paramMap); in processVariables() 501 String path = attributes.getValue(ATTR_FILE); in processVariables() 502 if (path != null) { in processVariables() 503 execute(freemarker, path, paramMap); in processVariables() 510 File path = AddSupportJarAction.getSupportJarFile(); in processVariables() 511 if (path != null) { in processVariables() 512 IPath to = getTargetPath(FD_NATIVE_LIBS +'/' + path.getName()); in processVariables() 514 copy(path, to); in processVariables() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/ |
D | AddSupportJarAction.java | 177 File path = getSupportJarFile(); in installSupport() local 178 if (path != null) { in installSupport() 179 assert path.exists(); // guaranteed by the getSupportJarFile call in installSupport() 182 return path; in installSupport() 211 File path = new File(result.getSecond(), FD_V4); in installSupport() local 212 final File jarPath = new File(path, ANDROID_SUPPORT_V4_JAR); in installSupport() 269 File path = installSupport(8); // GridLayout arrived in rev 7 and fixed in rev 8 in installGridLayoutLibrary() local 270 if (path == null) { in installGridLayoutLibrary() 273 assert path.equals(supportPath); in installGridLayoutLibrary() 279 File path = installSupport(-1); in installGridLayoutLibrary() local [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
D | CreateAssetSetWizardState.java | 172 BufferedImage getCachedImage(String path, boolean isPluginRelative) in getCachedImage() argument 174 BufferedImage image = mImageCache != null ? mImageCache.get(path) : null; in getCachedImage() 176 image = getImage(path, isPluginRelative); in getCachedImage() 180 mImageCache.put(path, image); in getCachedImage() 187 static BufferedImage getImage(@NonNull String path, boolean isPluginRelative) in getImage() argument 191 image = GraphicGenerator.getStencilImage(path); in getImage() 193 if (path.equals(DEFAULT_LAUNCHER_ICON)) { in getImage() 197 path = file.getPath(); in getImage() 203 File file = new File(path); in getImage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
D | DependencyGraph.java | 199 List<Constraint> path = getPathTo(start.node, view.node, vertical); in findBackwards() local 200 if (path != null) { in findBackwards() 203 System.out.println(Constraint.describePath(path, null, null)); in findBackwards() 217 List<Constraint> path = new ArrayList<Constraint>(); in getPathTo() local 220 return findForwards(view, visiting, path, vertical, to); in getPathTo() 227 List<Constraint> path, boolean vertical, INode target) { in findForwards() argument 238 path.add(constraint); in findForwards() 241 return new ArrayList<Constraint>(path); in findForwards() 251 List<Constraint> chain = findForwards(to, visiting, path, vertical, target); in findForwards() 256 path.remove(constraint); in findForwards() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/ |
D | WelcomeWizard.java | 114 final File path = mWelcomePage.getPath(); in performFinish() local 132 installSdk(path, apiLevels); in performFinish() 140 AdtPrefs.getPrefs().setSdkLocation(path); in performFinish() 154 private boolean installSdk(File path, Set<Integer> apiLevels) { in installSdk() argument 155 if (!path.isDirectory()) { in installSdk() 156 if (!path.mkdirs()) { in installSdk() 159 path.getAbsolutePath()); in installSdk() 185 path.getAbsolutePath()); in installSdk()
|
D | WelcomeWizardPage.java | 172 String path = mExistingDirText.getText().trim(); in widgetSelected() local 173 if (path.length() > 0) { in widgetSelected() 175 dialog.setFilterPath(path); in widgetSelected() 182 String path = mNewDirText.getText().trim(); in widgetSelected() local 183 if (path.length() > 0) { in widgetSelected() 184 dialog.setFilterPath(path); in widgetSelected() 221 String path = mNewDirText.getText().trim(); in validatePage() local 222 if (path.length() == 0) { in validatePage() 225 File file = new File(path); in validatePage() 254 String path = mExistingDirText.getText().trim(); in validatePage() local [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
D | SdkSelectionPage.java | 223 File path = entry.getKey(); in loadSamplesForTarget() local 228 if (path.getName().equals(SdkConstants.FD_SAMPLE)) { in loadSamplesForTarget() 230 path, path, name, target.getVersion(), mValues.samples); in loadSamplesForTarget() 235 path, path, name, target.getVersion(), mValues.samples); in loadSamplesForTarget() 354 String path = sampleDir.getPath(); in getSampleDisplayName() local 356 if (path.length() > n) { in getSampleDisplayName() 357 path = path.substring(n); in getSampleDisplayName() 358 if (path.charAt(0) == File.separatorChar) { in getSampleDisplayName() 359 path = path.substring(1); in getSampleDisplayName() 361 if (path.endsWith(File.separator)) { in getSampleDisplayName() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/ |
D | BinaryXMLMultiPageEditorPart.java | 59 IPath path = fragmentRoot.getPath(); in setInput() local 60 if (path == null) { in setInput() 64 path = path.removeLastSegments(1); in setInput() 65 IPath filePath = path.append(SdkConstants.FD_DATA).append( in setInput()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
D | ExportHelper.java | 196 for (String path : paths) { in exportReleaseApk() 197 if (path.startsWith(SDK_PROPERTY_REF)) { in exportReleaseApk() 198 path = AdtPrefs.getPrefs().getOsSdkFolder() + in exportReleaseApk() 199 path.substring(SDK_PROPERTY_REF.length()); in exportReleaseApk() 200 } else if (path.startsWith(HOME_PROPERTY_REF)) { in exportReleaseApk() 201 path = System.getProperty(HOME_PROPERTY) + in exportReleaseApk() 202 path.substring(HOME_PROPERTY_REF.length()); in exportReleaseApk() 204 File proguardConfigFile = new File(path); in exportReleaseApk() 206 proguardConfigFile = new File(project.getLocation().toFile(), path); in exportReleaseApk() 244 for (String path : paths) { in exportReleaseApk() [all …]
|
D | AndroidClasspathContainerPage.java | 67 IPath path = new Path(AdtConstants.CONTAINER_FRAMEWORK); in getSelection() local 75 path = path.append(selectedProjectName); in getSelection() 79 return JavaCore.newContainerEntry(path); in getSelection() 84 final IPath path = cpentry == null ? null : cpentry.getPath(); in setSelection() local 86 if (path == null || path.segmentCount() == 1) { in setSelection() 91 this.mLibsProjectName = path.segment(1); in setSelection()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
D | AdtTestData.java | 119 File path = new File(mOsRootDataPath, osRelativePath); in getTestFilePath() local 121 if (!path.exists()) { in getTestFilePath() 127 path = new File(mOsRootDataPath.replace(pkgAdt, pkgTests), osRelativePath); in getTestFilePath() 130 assert path.exists(); in getTestFilePath() 133 return path.getAbsolutePath(); in getTestFilePath()
|
/sdk/find_java/src/source/ |
D | find_java_lib.cpp | 85 static bool isJdkPath(const CPath &path) { in isJdkPath() argument 88 CPath pathBin(path); in isJdkPath() 92 CPath pathTools(path); in isJdkPath() 127 int findJavaInPath(const CPath &path, CPath *outJavaPath, bool isJdk, int minVersion) { in findJavaInPath() argument 131 CPath temp(path); in findJavaInPath() 337 CPath path; in getMaxJavaInRegistry() local 338 int version = exploreJavaRegistry(entry, access, *inOutVersion, &path); in getMaxJavaInRegistry() 340 *outJavaPath = path; in getMaxJavaInRegistry() 379 CPath path(programFilesPath); in checkProgramFiles() local 380 path.addPath("Java"); in checkProgramFiles() [all …]
|
/sdk/find_java2/src/ |
D | JavaPath.cpp | 27 CJavaPath::CJavaPath(int version, CPath path) : mVersion(version), mPath(path) { in CJavaPath() argument 40 void CJavaPath::set(int version, CPath path) { in set() argument 42 mPath = path; in set()
|
D | FindJava2Dlg.cpp | 124 CString path = fileDlg.GetPathName(); in OnBnClickedButtonAdd() local 127 if (!mJavaFinder->checkJavaPath(path, &javaPath)) { in OnBnClickedButtonAdd() 134 msg.Format(_T("No valid Java Version found for %s"), path); in OnBnClickedButtonAdd() 234 void CFindJava2Dlg::selectPath(int index, const CJavaPath *path) { in selectPath() argument 242 if (index < 0 && path != nullptr && p == *path) { in selectPath() 244 foundPath = path; in selectPath()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/build/ |
D | NdkEnvSupplier.java | 41 IBuildEnvironmentVariable path = new IBuildEnvironmentVariable() { in init() local 77 if (path.getValue() != null) in init() 78 mEnvVars.put(path.getName(), path); in init() local
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/ |
D | SaveImageAction.java | 50 String path = fd.open(); in run() local 51 if (path == null) { in run() 55 File f = new File(path); in run()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
D | TraceFileInfo.java | 24 public TraceFileInfo(String path, long size, long lastModified) { in TraceFileInfo() argument 25 mPath = path; in TraceFileInfo()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
D | ProjectState.java | 705 private String convertPath(String path) { in convertPath() argument 706 return path.replaceAll("/", Matcher.quoteReplacement(File.separator)); //$NON-NLS-1$ in convertPath() 712 private String normalizePath(String path) { in normalizePath() argument 713 path = convertPath(path); in normalizePath() 714 if (path.endsWith("/")) { //$NON-NLS-1$ in normalizePath() 715 path = path.substring(0, path.length() - 1); in normalizePath() 717 return path; in normalizePath()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/ |
D | SampleProjectTest.java | 73 String path = target.getPath(IAndroidTarget.SAMPLES); in doTestSamplesForTarget() local 74 File samples = new File(path); in doTestSamplesForTarget() 93 private void doTestSampleProject(String name, String path, IAndroidTarget target) in doTestSampleProject() argument 100 prepareProject(path, target); in doTestSampleProject() 115 state.chosenSample = new File(path); in doTestSampleProject() 136 private void prepareProject(String path, IAndroidTarget target) { in prepareProject() argument 139 final String manifestPath = path + File.separatorChar + in prepareProject()
|