Home
last modified time | relevance | path

Searched refs:pkg (Results 1 – 16 of 16) sorted by relevance

/sdk/eclipse/scripts/
Dcollect_sources_for_sdk.py115 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/
DParameter.java369 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()
DTemplateManager.java79 for (File pkg : AdtUtils.listFiles(vendor)) { in getExtraTemplateRootFolders()
80 if (pkg.isDirectory()) { in getExtraTemplateRootFolders()
81 File folder = new File(pkg, FD_TEMPLATES); in getExtraTemplateRootFolders()
DNewProjectPage.java681 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()
DTemplateHandler.java911 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/
DAndroidPackageRenameParticipantTest.java238 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/
DActivityMenuListener.java107 String pkg = ManifestInfo.get(project).getPackage(); in show() local
108 List<String> preferred = ManifestInfo.guessActivities(project, layoutName, pkg); in show()
DConfigurationChooser.java1953 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/
DManifestInfo.java615 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/
DRenameResourceParticipant.java698 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()
DAndroidPackageRenameParticipant.java492 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/
DClientRulesEngine.java701 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/
DHyperlinks.java407 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/
DGraphicalEditorPart.java781 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/
DNewProjectCreator.java479 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/
DGridModel.java2276 String pkg = gridLayout.substring(0, gridLayout.length() - GRID_LAYOUT.length()); in addSpacer() local
2277 tag = pkg + SPACE; in addSpacer()