/frameworks/base/core/java/android/app/ |
H A D | DialogFragment.java | 33 * activity's window. This fragment contains a Dialog object, which it 104 * <p>The activity creating this fragment may have the following methods to 108 * activity} 220 * the activity. 331 * its activity). 355 public void onAttach(Activity activity) { argument 356 super.onAttach(activity); 450 // after the activity is paused. Worst case, when the user comes 451 // back to the activity they see the dialog again.
|
H A D | LoaderManager.java | 77 * activity's state is saved. See {@link FragmentManager#beginTransaction() 126 * already exist, one is created and (if the activity/fragment is currently 152 * and (if the activity/fragment is currently started) starts loading it. 532 LoaderManagerImpl(Activity activity, boolean started) { argument 533 mActivity = activity; 537 void updateActivity(Activity activity) { argument 538 mActivity = activity; 564 // The activity will start all existing loaders in it's onStart(),
|
H A D | SearchableInfo.java | 41 * Searchability meta-data for an activity. Only applications that search other applications 123 * Gets the component name of the searchable activity. 243 * Get the context for the searchable activity. 246 * @return Returns a context related to the searchable activity 254 * Creates a context for another activity. 256 private static Context createActivityContext(Context context, ComponentName activity) { argument 259 theirContext = context.createPackageContext(activity.getPackageName(), 0); 261 Log.e(LOG_TAG, "Package not found " + activity.getPackageName()); 263 Log.e(LOG_TAG, "Can't make context for " + activity.getPackageName(), e); 273 * @param activityContext If we can determine that the provider and the activity ar [all...] |
H A D | ApplicationPackageManager.java | 103 // First see if the package has an INFO activity; the existence of 104 // such an activity is implied to be the desired front-door for the 111 // Otherwise, try to find a main launcher activity. 759 if (wr != null) { // we have the activity 882 if (wr != null) { // we have the activity 1107 int match, ComponentName[] set, ComponentName activity) { 1109 mPM.addPreferredActivity(filter, match, set, activity); 1117 int match, ComponentName[] set, ComponentName activity) { 1119 mPM.replacePreferredActivity(filter, match, set, activity); 1106 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument 1116 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
|
H A D | Activity.java | 87 * An activity is a single, focused thing that the user can do. Almost all 93 * or embedded inside of another activity (using {@link ActivityGroup}). 98 * <li> {@link #onCreate} is where you initialize your activity. Most 105 * activity. Most importantly, any changes made by the user should at this 111 * activity classes must have a corresponding 112 * {@link android.R.styleable#AndroidManifestActivity <activity>} 152 * <p>Activities in the system are managed as an <em>activity stack</em>. 153 * When a new activity is started, it is placed on the top of the stack 154 * and becomes the running activity -- the previous activity alway 696 Object activity; field in class:Activity.NonConfigurationInstances 3445 startIntentSenderForResultInner(IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, Activity activity, Bundle options) argument [all...] |
/frameworks/base/core/java/android/test/ |
H A D | InstrumentationTestCase.java | 73 * Utility method for launching an activity. 81 * package hosting the activity to be launched, which is specified in the AndroidManifest.xml 84 * @param pkg The package hosting the activity to be launched. 85 * @param activityCls The activity class to launch. 86 * @param extras Optional extra stuff to pass to the activity. 87 * @return The activity, or null if non launched. 101 * Utility method for launching an activity with a specific Intent. 104 * package hosting the activity to be launched, which is specified in the AndroidManifest.xml 107 * @param pkg The package hosting the activity to be launched. 108 * @param activityCls The activity clas [all...] |
/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | ViewPropertyAnimatorTest.java | 140 final BasicAnimatorActivity activity = getActivity(); 141 Button button = (Button) activity.findViewById(R.id.animatingButton);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | DialogFragment.java | 117 * the activity. 228 * its activity). 252 public void onAttach(Activity activity) { argument 253 super.onAttach(activity); 347 // after the activity is paused. Worst case, when the user comes 348 // back to the activity they see the dialog again.
|
H A D | LoaderManager.java | 37 * <p>Your activity must derive from {@link FragmentActivity} to use this. 57 * activity's state is saved. See {@link FragmentManager#beginTransaction() 106 * already exist, one is created and (if the activity/fragment is currently 132 * and (if the activity/fragment is currently started) starts loading it. 475 LoaderManagerImpl(FragmentActivity activity, boolean started) { argument 476 mActivity = activity; 480 void updateActivity(FragmentActivity activity) { argument 481 mActivity = activity; 507 // The activity will start all existing loaders in it's onStart(),
|
H A D | FragmentActivity.java | 57 * <li> <p>Prior to Honeycomb (3.0), an activity's state was saved before pausing. 64 * if you change fragments between the state save and the activity being stopped. 65 * This means that in some cases if the activity is restored from its last saved 115 Object activity; field in class:FragmentActivity.NonConfigurationInstances 162 * Take care of popping the fragment back stack or finishing the activity 399 * fragments attached to the activity are <em>not</em> resumed. This means 485 nci.activity = null; 582 * Invalidate the activity's options menu. This will cause relevant presentations 601 * you run "adb shell dumpsys activity <activity_component_name>". 644 * Pre-HC, we didn't have a way to determine whether an activity wa [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | IPackageManager.aidl | 202 in ComponentName[] set, in ComponentName activity); 205 in ComponentName[] set, in ComponentName activity);
|
H A D | PackageManager.java | 93 * intent filters supported by the activity. 1166 * Return a "good" intent to launch a front-door activity in a package, 1169 * activity in the category {@link Intent#CATEGORY_INFO}, next for a 1170 * main activity in the category {@link Intent#CATEGORY_LAUNCHER}, or return 1179 * launch the main activity in the package, or null if the package does 1180 * not contain such an activity. 1295 * Retrieve all of the information we know about a particular activity 1298 * <p>Throws {@link NameNotFoundException} if an activity with the given 1308 * @return {@link ActivityInfo} containing information about the activity. 1658 * {@link Intent#resolveActivity} finds an activity i 2459 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument 2484 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | ActivityTestsBase.java | 17 package android.app.activity; 37 // Synchronization of activity result.
|
H A D | LocalProvider.java | 17 package android.app.activity;
|
H A D | MetaDataTest.java | 17 package android.app.activity;
|
H A D | TestedScreen.java | 17 package android.app.activity;
|
H A D | ServiceTest.java | 17 package android.app.activity; 41 "com.android.frameworks.coretests.activity.SERVICE_LOCAL"; 43 "com.android.frameworks.coretests.activity.SERVICE_LOCAL_GRANTED"; 45 "com.android.frameworks.coretests.activity.SERVICE_LOCAL_DENIED";
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | UsageStatsService.java | 932 String activity = ent.getKey(); 933 if (activity.startsWith(pkgName)) { 935 sb.append(activity.substring( 936 pkgName.length(), activity.length())); 938 sb.append(activity);
|
H A D | ActivityManagerService.java | 213 // How long we wait for a launched process to attach to the activity manager 217 // How long we wait for a launched process to attach to the activity manager 264 // Maximum amount of time for there to be no activity on a service before 289 * Description of a request to start a new activity, which has been held 386 * activity manager lock! 440 * the "home" activity. 445 * This is the process holding the activity the user last visited that 936 mContext, proc, (ActivityRecord)data.get("activity")); 1313 ServiceManager.addService("activity", m, true); 1613 // The activity manage 3195 appNotResponding(ProcessRecord app, ActivityRecord activity, ActivityRecord parent, final String annotation) argument 7667 makeAppNotRespondingLocked(ProcessRecord app, String activity, String shortMsg, String longMsg) argument 7690 generateProcessError(ProcessRecord app, int condition, String activity, String shortMsg, String longMsg, String stackTrace) argument 8178 addErrorToDropBox(String eventType, ProcessRecord process, String processName, ActivityRecord activity, ActivityRecord parent, String subject, final String report, final File logFile, final ApplicationErrorReport.CrashInfo crashInfo) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | MediaRouteChooserDialogFragment.java | 97 public void onAttach(Activity activity) { argument 98 super.onAttach(activity); 99 mRouter = (MediaRouter) activity.getSystemService(Context.MEDIA_ROUTER_SERVICE);
|
H A D | ActionBarImpl.java | 150 public ActionBarImpl(Activity activity) { argument 151 mActivity = activity; 152 Window window = activity.getWindow();
|
/frameworks/base/media/java/android/media/ |
H A D | RingtoneManager.java | 238 * @param activity The activity used to get a managed cursor. 240 public RingtoneManager(Activity activity) { argument 241 mContext = mActivity = activity; 352 * caller should manage the returned cursor through its activity's life
|
/frameworks/base/services/java/com/android/server/ |
H A D | Watchdog.java | 190 ActivityManagerService activity) { 195 mActivity = activity; 188 init(Context context, BatteryService battery, PowerManagerService power, AlarmManagerService alarm, ActivityManagerService activity) argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockPackageManager.java | 459 int match, ComponentName[] set, ComponentName activity) { 468 int match, ComponentName[] set, ComponentName activity) { 458 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument 467 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | ActivityTestMain.java | 17 package com.google.android.test.activity;
|