/sdk/eclipse/scripts/ |
D | collect_sources_for_sdk.py | 115 pkg = checkJavaFile(fp) 116 if pkg: 117 pkg = pkg.replace(".", os.path.sep) # e.g. android.view => android/view 118 copy(p, fp, f, pkg) 148 def copy(p, fp, f, pkg): argument 149 dstdir = os.path.join(p.DST, pkg)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | Parameter.java | 369 String pkg = null; in getValidator() 373 pkg = parameter.value.toString(); in getValidator() 375 pkg = ManifestInfo.get(project).getPackage(); in getValidator() 377 fqcn = pkg.isEmpty() ? newText : pkg + '.' + newText; in getValidator()
|
D | TemplateManager.java | 79 for (File pkg : AdtUtils.listFiles(vendor)) { in getExtraTemplateRootFolders() 80 if (pkg.isDirectory()) { in getExtraTemplateRootFolders() 81 File folder = new File(pkg, FD_TEMPLATES); in getExtraTemplateRootFolders()
|
D | NewProjectPage.java | 681 String pkg = sb.toString(); in suggestPackage() local 682 if (pkg.endsWith(".")) { //$NON-NLS-1$ in suggestPackage() 683 pkg = pkg.substring(0, pkg.length() - 1); in suggestPackage() 685 mValues.packageName = pkg; in suggestPackage()
|
D | TemplateHandler.java | 911 String pkg = fragmentRoot.getAttribute(ATTR_PACKAGE); in mergeManifest() local 912 if (pkg == null || pkg.isEmpty()) { in mergeManifest() 913 pkg = manifestRoot.getAttribute(ATTR_PACKAGE); in mergeManifest() 914 if (pkg != null && !pkg.isEmpty()) { in mergeManifest() 915 fragmentRoot.setAttribute(ATTR_PACKAGE, pkg); in mergeManifest()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | AndroidPackageRenameParticipantTest.java | 238 private static IPackageFragment getPackageFragment(IProject project, String pkg) in getPackageFragment() argument 246 if (pkg.equals(name)) { in getPackageFragment()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
D | ActivityMenuListener.java | 107 String pkg = ManifestInfo.get(project).getPackage(); in show() local 108 List<String> preferred = ManifestInfo.guessActivities(project, layoutName, pkg); in show()
|
D | ConfigurationChooser.java | 1953 String pkg = manifest.getPackage(); in getPreferredActivity() local 1954 if (!pkg.isEmpty()) { in getPreferredActivity() 1956 activity = pkg + activity; in getPreferredActivity() 1958 activity = activity + '.' + pkg; in getPreferredActivity() 1978 String pkg = manifest.getPackage(); in getPreferredActivity() local 1987 String activity = ManifestInfo.guessActivity(project, layoutName, pkg); in getPreferredActivity()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
D | ManifestInfo.java | 615 public static String guessActivity(IProject project, String layoutName, String pkg) { in guessActivity() argument 616 List<String> activities = guessActivities(project, layoutName, pkg); in guessActivity() 635 public static List<String> guessActivities(IProject project, String layoutName, String pkg) { in guessActivities() argument 666 if (pkg != null) { in guessActivities() 667 typeFqcn = pkg + '.' + typeFqcn; in guessActivities()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | RenameResourceParticipant.java | 698 String pkg = ManifestInfo.get(project).getPackage(); in getResourceField() local 700 IType t = javaProject.findType(pkg + '.' + R_CLASS + '.' + type.getName()); in getResourceField() 722 String pkg = manifestInfo.getPackage(); in disableExistingResourceFileChange() local 723 if (pkg != null) { in disableExistingResourceFileChange() 724 IFile rFile = genFolder.getFile(pkg.replace('.', '/') + '/' + FN_RESOURCE_CLASS); in disableExistingResourceFileChange()
|
D | AndroidPackageRenameParticipant.java | 492 Attr pkg = element.getAttributeNode(ATTR_PACKAGE); 493 if (pkg != null && pkg.getValue().equals(mOldPackage)) { 494 int start = RefactoringUtil.getAttributeValueRangeStart(pkg, document);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | ClientRulesEngine.java | 701 IPackageFragment pkg = manifestInfo.getPackageFragment(); 702 if (pkg != null) { 703 page.setPackageFragment(pkg, true /* canBeModified */); 727 IPackageFragment pkg = manifestInfo.getPackageFragment(); 728 if (pkg != null) { 729 page.setPackageFragment(pkg, true /* canBeModified */);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | Hyperlinks.java | 407 String pkg = info.getPackage(); in getClassFqcn() local 408 if (pkg != null) { in getClassFqcn() 409 value = pkg + value; in getClassFqcn() 514 String pkg = root.getAttribute(ATTRIBUTE_PACKAGE); in getActivityClassFqcn() local 517 sb.append(pkg); in getActivityClassFqcn() 523 sb.append(pkg); in getActivityClassFqcn()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | GraphicalEditorPart.java | 781 String pkg = manifest.getPackage(); in setActivity() local 782 if (activity.startsWith(pkg) && activity.length() > pkg.length() in setActivity() 783 && activity.charAt(pkg.length()) == '.') { in setActivity() 784 activity = activity.substring(pkg.length()); in setActivity()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
D | NewProjectCreator.java | 479 String pkg = in collectTestPageInfo() local 482 parameters.put(PARAM_PACKAGE, pkg); in collectTestPageInfo() 495 testedPkg = pkg; in collectTestPageInfo()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
D | GridModel.java | 2276 String pkg = gridLayout.substring(0, gridLayout.length() - GRID_LAYOUT.length()); in addSpacer() local 2277 tag = pkg + SPACE; in addSpacer()
|