/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | FmActivityToLayoutMethod.java | 41 String activityName = args.get(0).toString(); in exec() local 43 if (activityName.isEmpty()) { in exec() 51 int suffixStart = activityName.lastIndexOf(ACTIVITY_NAME_SUFFIX.charAt(0)); in exec() 52 if (suffixStart != -1 && activityName.regionMatches(suffixStart, ACTIVITY_NAME_SUFFIX, 0, in exec() 53 activityName.length() - suffixStart)) { in exec() 54 activityName = activityName.substring(0, suffixStart); in exec() 56 assert !activityName.endsWith(ACTIVITY_NAME_SUFFIX) : activityName; in exec() 60 String name = LAYOUT_NAME_PREFIX + AdtUtils.camelCaseToUnderlines(activityName); in exec()
|
D | FmLayoutToActivityMethod.java | 57 String activityName = className + ACTIVITY_NAME_SUFFIX; in exec() local 59 return new SimpleScalar(activityName); in exec()
|
D | NewProjectWizardState.java | 48 public String activityName; field in NewProjectWizardState
|
D | NewProjectWizard.java | 161 activityValues.defaults.put("activityName", mValues.activityName); in getNextPage()
|
D | NewProjectPage.java | 528 mValues.activityName = extractClassName(name) + ACTIVITY_NAME_SUFFIX; in updateActivityNames()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
D | LaunchConfigDelegate.java | 247 String activityName = null; in doLaunch() local 251 activityName = getActivityName(configuration); in doLaunch() 264 } else if (activityName == null) { in doLaunch() 270 activityName = launcherActivity.getName(); in doLaunch() 274 if (activityName == null) { in doLaunch() 282 if (a != null && a.getName().equals(activityName)) { in doLaunch() 294 activityName = launcherActivity.getName(); in doLaunch() 304 activityName = launcherActivity.getName(); in doLaunch() 308 if (activityName == null) { in doLaunch() 314 if (config.mLaunchAction == ACTION_DO_NOTHING || activityName == null) { in doLaunch() [all …]
|
D | MainLaunchConfigTab.java | 355 String activityName = EMPTY_STRING; in initializeFrom() local 357 activityName = config.getAttribute(LaunchConfigDelegate.ATTR_ACTIVITY, EMPTY_STRING); in initializeFrom() 368 if (activityName == null || activityName.equals(EMPTY_STRING)) { in initializeFrom() 374 if (activityName.equals(mActivities.get(i).getName())) { in initializeFrom()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
D | ImportedProject.java | 107 String activityName = getActivityName(); in getProjectName() local 108 if (activityName == null || activityName.isEmpty()) { in getProjectName() 115 IStatus nameStatus = workspace.validateName(activityName, IResource.PROJECT); in getProjectName() 117 mProjectName = activityName; in getProjectName() 121 for (int i = 0, n = activityName.length(); i < n; i++) { in getProjectName() 122 char c = activityName.charAt(i); in getProjectName()
|
D | NewProjectWizardState.java | 92 public String activityName; field in NewProjectWizardState 240 activityName = newActivityName; in extractFromAndroidManifest() 262 activityName = ""; //$NON-NLS-1$ in extractFromAndroidManifest()
|
D | NewProjectCreator.java | 407 parameters.put(PARAM_ACTIVITY, mValues.activityName); in collectMainPageInfo() 1186 String activityName = (String) parameters.get(PARAM_ACTIVITY); in addSampleCode() local 1191 if (activityName != null) { in addSampleCode() 1197 int lastDotIndex = activityName.lastIndexOf('.'); in addSampleCode() 1207 if (activityName.startsWith(".")) { //$NON-NLS-1$ in addSampleCode() 1208 packageName += activityName.substring(0, lastDotIndex); in addSampleCode() 1210 packageName = activityName.substring(0, lastDotIndex); in addSampleCode() 1214 activityName = activityName.substring(lastDotIndex + 1); in addSampleCode() 1217 java_activity_parameters.put(PARAM_ACTIVITY, activityName); in addSampleCode() 1234 if (activityName != null) { in addSampleCode() [all …]
|
D | ApplicationInfoPage.java | 212 if (mValues.activityName != null) { in setVisible() 213 mActivityText.setText(mValues.activityName); in setVisible() 355 mValues.activityName = mActivityText.getText().trim(); in modifyText() 565 String osTarget = mValues.activityName; in validateSourceFolder() 692 return validateActivity(mValues.activityName); in validateActivity()
|
D | ProjectNamePage.java | 241 mValues.activityName = stripWhitespace(name) + ACTIVITY_NAME_SUFFIX; in onProjectFieldModified()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/ |
D | NdkGdbLaunchDelegate.java | 129 String activityName = getActivityToLaunch( in doLaunch() local 231 monitor.setTaskName(Messages.NdkGdbLaunchDelegate_Action_ActivityLaunch + activityName); in doLaunch() 233 activityName); in doLaunch() 466 String activityName; in getActivityNameInLaunchConfig() local 468 activityName = configuration.getAttribute(LaunchConfigDelegate.ATTR_ACTIVITY, empty); in getActivityNameInLaunchConfig() 473 return (activityName != empty) ? activityName : null; in getActivityNameInLaunchConfig()
|
/sdk/sdk_common/src/com/android/ide/common/xml/ |
D | AndroidManifestParser.java | 388 String activityName = getAttributeValue(attributes, AndroidManifest.ATTRIBUTE_NAME, in processActivityNode() local 390 if (activityName != null) { in processActivityNode() 391 activityName = AndroidManifest.combinePackageAndClassName(mManifestData.mPackage, in processActivityNode() 392 activityName); in processActivityNode() 399 mCurrentActivity = new Activity(activityName, exported); in processActivityNode() 403 mErrorHandler.checkClass(mLocator, activityName, SdkConstants.CLASS_ACTIVITY, in processActivityNode()
|
/sdk/sdkmanager/app/src/com/android/sdkmanager/ |
D | Main.java | 538 String activityName = null; in createProject() local 540 activityName = mSdkCommandLine.getParamProjectActivity(); in createProject() 551 if (activityName != null && in createProject() 552 !ProjectCreator.RE_ACTIVITY_NAME.matcher(activityName).matches()) { in createProject() 555 activityName, ProjectCreator.CHARS_ACTIVITY_NAME); in createProject() 572 activityName, in createProject() 617 String packageName, activityName; in createTestProject() local 626 activityName = xpath.evaluate("/manifest/application/activity[1]/@android:name", in createTestProject() 629 if (activityName == null || activityName.length() == 0) { in createTestProject() 630 activityName = null; in createTestProject() [all …]
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/project/ |
D | ProjectCreator.java | 1006 String activityName = ""; in extractPackageFromManifest() local 1008 activityName = activityNames.item(0).getNodeValue(); in extractPackageFromManifest() 1024 if (activityName.length() == 0) { in extractPackageFromManifest() 1029 outKeywords.put(PH_ACTIVITY_ENTRY_NAME, activityName); in extractPackageFromManifest() 1047 private String combinePackageActivityNames(String packageName, String activityName) { in combinePackageActivityNames() argument 1057 int pos = activityName.indexOf('.'); in combinePackageActivityNames() 1059 return packageName + activityName; in combinePackageActivityNames() 1061 return activityName; in combinePackageActivityNames() 1063 return packageName + "." + activityName; in combinePackageActivityNames()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/ |
D | SampleProjectTest.java | 113 state.activityName = name; in doTestSampleProject()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | AdtProjectTest.java | 239 state.activityName = name; in createProject()
|