/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/util/ |
StatusTracker.java | 46 * Adds the status value for the given activityName into the Map. 48 * @param activityName 51 public void setStatus(String activityName, String status) { 52 mMethodList.add(activityName + "." + status + "()"); 53 if (mStatusMap.containsKey(activityName)) mStatusMap.remove(activityName); 54 mStatusMap.put(activityName, status); 58 * Gets the status value for the given activityName. 60 * @param activityName 63 public String getStatus(String activityName) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
FmActivityToLayoutMethod.java | 41 String activityName = args.get(0).toString(); 43 if (activityName.isEmpty()) { 51 int suffixStart = activityName.lastIndexOf(ACTIVITY_NAME_SUFFIX.charAt(0)); 52 if (suffixStart != -1 && activityName.regionMatches(suffixStart, ACTIVITY_NAME_SUFFIX, 0, 53 activityName.length() - suffixStart)) { 54 activityName = activityName.substring(0, suffixStart); 56 assert !activityName.endsWith(ACTIVITY_NAME_SUFFIX) : activityName; 60 String name = LAYOUT_NAME_PREFIX + AdtUtils.camelCaseToUnderlines(activityName); [all...] |
FmLayoutToActivityMethod.java | 57 String activityName = className + ACTIVITY_NAME_SUFFIX; 59 return new SimpleScalar(activityName);
|
NewProjectWizardState.java | 48 public String activityName;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
Help.java | 38 public void addHelpMenuItem(Menu menu, String activityName) { 39 addHelpMenuItem(menu, activityName, false); 42 public void addHelpMenuItem(Menu menu, String activityName, boolean showAsAction) { 43 Intent helpIntent = getHelpIntent(activityName); 55 private Intent getHelpIntent(String activityName) { 56 Uri helpUrl = mConfig.getHelpUrl(activityName);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowResolveInfo.java | 40 public static ResolveInfo newResolveInfo( String displayName, String packageName, String activityName ) { 45 actInfo.name = activityName;
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
ContactsMockPackageManager.java | 31 public Drawable getActivityLogo(ComponentName activityName) throws NameNotFoundException { 36 public Drawable getActivityIcon(ComponentName activityName) {
|
/packages/apps/Settings/src/com/android/settings/ |
HomeSettings.java | 99 mHomeComponentSet, newHome.activityName); 160 ComponentName activityName = new ComponentName(info.packageName, info.name); 161 mHomeComponentSet[i] = activityName; 165 HomeAppPreference pref = new HomeAppPreference(context, activityName, prefIndex, 170 if (activityName.equals(currentDefaultHome)) { 175 Log.v(TAG, "Problem dealing with activity " + activityName, e); 207 ComponentName activityName; 223 activityName = activity;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
LaunchConfigDelegate.java | 247 String activityName = null; 251 activityName = getActivityName(configuration); 264 } else if (activityName == null) { 270 activityName = launcherActivity.getName(); 274 if (activityName == null) { 282 if (a != null && a.getName().equals(activityName)) { 294 activityName = launcherActivity.getName(); 304 activityName = launcherActivity.getName(); 308 if (activityName == null) { 314 if (config.mLaunchAction == ACTION_DO_NOTHING || activityName == null) [all...] |
MainLaunchConfigTab.java | 355 String activityName = EMPTY_STRING; 357 activityName = config.getAttribute(LaunchConfigDelegate.ATTR_ACTIVITY, EMPTY_STRING); 360 // nothing to be done really. activityName will stay empty 368 if (activityName == null || activityName.equals(EMPTY_STRING)) { 374 if (activityName.equals(mActivities.get(i).getName())) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
ImportedProject.java | 128 String activityName = getActivityName(); 129 if (activityName == null || activityName.isEmpty()) { 136 IStatus nameStatus = workspace.validateName(activityName, IResource.PROJECT); 138 mProjectName = activityName; 142 for (int i = 0, n = activityName.length(); i < n; i++) { 143 char c = activityName.charAt(i);
|
NewProjectCreator.java | 436 parameters.put(PARAM_ACTIVITY, mValues.activityName); [all...] |
ApplicationInfoPage.java | 212 if (mValues.activityName != null) { 213 mActivityText.setText(mValues.activityName); 355 mValues.activityName = mActivityText.getText().trim(); 565 String osTarget = mValues.activityName; 692 return validateActivity(mValues.activityName);
|
NewProjectWizardState.java | 92 public String activityName; 240 activityName = newActivityName; 262 activityName = ""; //$NON-NLS-1$
|
/packages/apps/Browser/src/com/android/browser/search/ |
DefaultSearchEngine.java | 56 private CharSequence loadLabel(Context context, ComponentName activityName) { 59 ActivityInfo ai = pm.getActivityInfo(activityName, 0); 62 Log.e(TAG, "Web search activity not found: " + activityName);
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyGetAppFrameRateEvent.java | 56 public MonkeyGetAppFrameRateEvent(String status, String activityName, String testCaseName) { 59 sActivityName = activityName; 63 public MonkeyGetAppFrameRateEvent(String status, String activityName) { 66 sActivityName = activityName;
|
/cts/suite/pts/hostTests/uihost/control/src/com/android/pts/taskswitching/control/ |
TaskswitchingDeviceTest.java | 93 private void startActivity(String packageName, String activityName) { 98 intent.setComponent(new ComponentName(packageName, packageName + "." + activityName));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/ |
NdkGdbLaunchDelegate.java | 129 String activityName = getActivityToLaunch( 231 monitor.setTaskName(Messages.NdkGdbLaunchDelegate_Action_ActivityLaunch + activityName); 233 activityName); 466 String activityName; 468 activityName = configuration.getAttribute(LaunchConfigDelegate.ATTR_ACTIVITY, empty); 473 return (activityName != empty) ? activityName : null;
|
/packages/apps/Settings/src/com/android/settings/users/ |
AppRestrictionsFragment.java | 145 CharSequence activityName; 151 return packageName + ": appName=" + appName + "; activityName=" + activityName 507 info.activityName = app.activityInfo.loadLabel(pm); 508 if (info.activityName == null) info.activityName = info.appName; 576 info.activityName = info.appName; 612 info.activityName = info.appName; 627 String both = info.packageName + "+" + info.activityName; 629 && !TextUtils.isEmpty(info.activityName) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/ |
StubPackageManager.java | 186 @Override public Drawable getActivityIcon(ComponentName activityName) throws NameNotFoundException { 235 public Resources getResourcesForActivity(ComponentName activityName) throws NameNotFoundException {
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockPackageManager.java | 325 public Drawable getActivityIcon(ComponentName activityName) 351 public Drawable getActivityLogo(ComponentName activityName) throws NameNotFoundException { 387 public Resources getResourcesForActivity(ComponentName activityName)
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
Launcher.java | [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Launcher.java | [all...] |
/frameworks/base/core/java/android/app/ |
ApplicationPackageManager.java | 697 @Override public Drawable getActivityIcon(ComponentName activityName) 699 return getActivityInfo(activityName, 0).loadIcon(this); 732 public Drawable getActivityLogo(ComponentName activityName) 734 return getActivityInfo(activityName, 0).loadLogo(this); 765 ComponentName activityName) throws NameNotFoundException { 767 getActivityInfo(activityName, 0).applicationInfo); [all...] |
/frameworks/base/core/java/android/widget/ |
ActivityChooserModel.java | 794 * @param activityName The activity component name flattened to string. 798 public HistoricalRecord(String activityName, long time, float weight) { 799 this(ComponentName.unflattenFromString(activityName), time, weight); 805 * @param activityName The activity name. 809 public HistoricalRecord(ComponentName activityName, long time, float weight) { 810 this.activity = activityName; [all...] |