Home
last modified time | relevance | path

Searched refs:activityName (Results 1 – 17 of 17) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DFmActivityToLayoutMethod.java41 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()
DFmLayoutToActivityMethod.java57 String activityName = className + ACTIVITY_NAME_SUFFIX; in exec() local
59 return new SimpleScalar(activityName); in exec()
DNewProjectWizardState.java48 public String activityName; field in NewProjectWizardState
DNewProjectWizard.java167 activityValues.defaults.put("activityName", mValues.activityName); in getNextPage()
DNewProjectPage.java528 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/
DLaunchConfigDelegate.java255 String activityName = null; in doLaunch() local
259 activityName = getActivityName(configuration); in doLaunch()
272 } else if (activityName == null) { in doLaunch()
278 activityName = launcherActivity.getName(); in doLaunch()
282 if (activityName == null) { in doLaunch()
290 if (a != null && a.getName().equals(activityName)) { in doLaunch()
302 activityName = launcherActivity.getName(); in doLaunch()
312 activityName = launcherActivity.getName(); in doLaunch()
316 if (activityName == null) { in doLaunch()
322 if (config.mLaunchAction == ACTION_DO_NOTHING || activityName == null) { in doLaunch()
[all …]
DMainLaunchConfigTab.java355 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/
DImportedProject.java128 String activityName = getActivityName(); in getProjectName() local
129 if (activityName == null || activityName.isEmpty()) { in getProjectName()
136 IStatus nameStatus = workspace.validateName(activityName, IResource.PROJECT); in getProjectName()
138 mProjectName = activityName; in getProjectName()
142 for (int i = 0, n = activityName.length(); i < n; i++) { in getProjectName()
143 char c = activityName.charAt(i); in getProjectName()
DNewProjectWizardState.java92 public String activityName; field in NewProjectWizardState
240 activityName = newActivityName; in extractFromAndroidManifest()
262 activityName = ""; //$NON-NLS-1$ in extractFromAndroidManifest()
DNewProjectCreator.java436 parameters.put(PARAM_ACTIVITY, mValues.activityName); in collectMainPageInfo()
1233 String activityName = (String) parameters.get(PARAM_ACTIVITY); in addSampleCode() local
1238 if (activityName != null) { in addSampleCode()
1244 int lastDotIndex = activityName.lastIndexOf('.'); in addSampleCode()
1254 if (activityName.startsWith(".")) { //$NON-NLS-1$ in addSampleCode()
1255 packageName += activityName.substring(0, lastDotIndex); in addSampleCode()
1257 packageName = activityName.substring(0, lastDotIndex); in addSampleCode()
1261 activityName = activityName.substring(lastDotIndex + 1); in addSampleCode()
1264 java_activity_parameters.put(PARAM_ACTIVITY, activityName); in addSampleCode()
1281 if (activityName != null) { in addSampleCode()
[all …]
DApplicationInfoPage.java212 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()
DProjectNamePage.java242 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/
DNdkGdbLaunchDelegate.java131 String activityName = getActivityToLaunch( in doLaunch() local
232 monitor.setTaskName(Messages.NdkGdbLaunchDelegate_Action_ActivityLaunch + activityName); in doLaunch()
234 activityName); in doLaunch()
485 String activityName; in getActivityNameInLaunchConfig() local
487 activityName = configuration.getAttribute(LaunchConfigDelegate.ATTR_ACTIVITY, empty); in getActivityNameInLaunchConfig()
492 return (activityName != empty) ? activityName : null; in getActivityNameInLaunchConfig()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateHandlerTest.java269 private void checkCreateActivityInProject(String activityName) throws Exception { in checkCreateActivityInProject() argument
272 File templateFile = findTemplate("activities", activityName); in checkCreateActivityInProject()
421 values.activityName = activity == null ? "Blank" : activity; in checkProjectWithActivity()
424 String projectNameBase = "MyProject_" + values.activityName; in checkProjectWithActivity()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/
DSampleProjectTest.java113 state.activityName = name; in doTestSampleProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DExportGradleTest.java277 state.activityName = name; in createJavaProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DAdtProjectTest.java290 state.activityName = name; in createProject()