Searched refs:activity (Results 151 - 171 of 171) sorted by relevance

1234567

/frameworks/base/core/java/android/app/
H A DActivity.java91 * An activity is a single, focused thing that the user can do. Almost all
97 * or embedded inside of another activity (using {@link ActivityGroup}).
102 * <li> {@link #onCreate} is where you initialize your activity. Most
109 * activity. Most importantly, any changes made by the user should at this
115 * activity classes must have a corresponding
116 * {@link android.R.styleable#AndroidManifestActivity &lt;activity&gt;}
156 * <p>Activities in the system are managed as an <em>activity stack</em>.
157 * When a new activity is started, it is placed on the top of the stack
158 * and becomes the running activity -- the previous activity alway
703 Object activity; field in class:Activity.NonConfigurationInstances
3549 startIntentSenderForResultInner(IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, Activity activity, Bundle options) argument
[all...]
H A DApplicationThreadNative.java484 final IBinder activity = data.readStrongBinder();
488 dumpActivity(fd.getFileDescriptor(), activity, prefix, args);
H A DFragmentManager.java74 * will be persisted across activity instances.
79 * representation of the entry that will persist across activity
131 * to an activity saving its state. If you try to commit a transaction
165 * activity; if no such fragment is found, then all fragments currently
175 * activity; if no such fragment is found, then all fragments currently
348 * Invalidate the attached activity's options menu as necessary.
398 * Container for fragments associated with an activity.
992 // The fragment's containing activity is
1049 throw new IllegalStateException("No activity");
1337 * @throws IllegalStateException if the activity ha
1835 attachActivity(Activity activity, FragmentContainer container, Fragment parent) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DTaskRecord.java40 Intent affinityIntent; // Intent of affinity-moved activity that started this task.
41 ComponentName origActivity; // The non-alias activity component of the intent.
42 ComponentName realActivity; // The actual activity component that started the task.
63 /** Launch the home activity when leaving this task. */
122 // task as having a true root activity.
162 /** Call after activity movement or finish to make sure that frontOfTask is set correctly */
172 // Set frontOfTask false for every following activity.
179 * Reorder the history stack so that the passed activity is brought to the front.
182 if (DEBUG_ADD_REMOVE) Slog.i(TAG, "Removing and adding activity " + newTop
205 // Only set this based on the first activity
[all...]
H A DActivityManagerService.java264 // How long we wait for a launched process to attach to the activity manager
268 // How long we wait for a launched process to attach to the activity manager
315 // How long to wait in getAssistContextExtras for the activity and foreground services
342 * Description of a request to start a new activity, which has been held
400 public final ActivityRecord activity; field in class:ActivityManagerService.PendingAssistExtras
404 activity = _activity;
408 Slog.w(TAG, "getAssistContextExtras failed: timeout retrieving from " + activity);
491 * activity manager lock!
558 * the "home" activity.
563 * This is the process holding the activity th
3961 appNotResponding(ProcessRecord app, ActivityRecord activity, ActivityRecord parent, boolean aboveSystem, final String annotation) argument
8586 inputDispatchingTimedOut(final ProcessRecord proc, final ActivityRecord activity, final ActivityRecord parent, final boolean aboveSystem, String reason) argument
9444 makeAppNotRespondingLocked(ProcessRecord app, String activity, String shortMsg, String longMsg) argument
9467 generateProcessError(ProcessRecord app, int condition, String activity, String shortMsg, String longMsg, String stackTrace) argument
9937 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...]
H A DUsageStatsService.java986 String activity = pus.mLaunchTimes.keyAt(i);
987 sb.append(activity);
1000 String activity = pus.mFullyDrawnTimes.keyAt(i);
1001 sb.append(activity);
H A DActiveServices.java95 // Maximum amount of time for there to be no activity on a service before
656 ActivityRecord activity = null;
658 activity = ActivityRecord.isInStackLocked(token);
659 if (activity == null) {
660 Slog.w(TAG, "Binding with unknown activity: " + token);
722 ConnectionRecord c = new ConnectionRecord(b, activity,
733 if (activity != null) {
734 if (activity.connections == null) {
735 activity.connections = new HashSet<ConnectionRecord>();
737 activity
[all...]
H A DActivityStackSupervisor.java96 /** How long we wait until giving up on the last activity telling us it is idle. */
124 /** Dismiss the keyguard after the next activity is displayed? */
140 /** The non-home stack currently receiving input or launching the next activity. If home is
154 /** List of activities that are waiting for a new activity to become visible before completing
158 /** List of processes waiting to find out about the next visible activity. */
162 /** List of processes waiting to find out about the next launched activity. */
166 /** List of activities that are ready to be stopped, but waiting for the next activity to
170 /** List of activities that are ready to be finished, but waiting for the previous activity to
184 /** Set to indicate whether to issue an onUserLeaving callback when a newly launched activity
193 * of launching an activity
2415 printThisActivity(PrintWriter pw, ActivityRecord activity, String dumpPackage, boolean needSep, String prefix) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentActivity.java53 * <p class="note"><strong>Note:</strong> If you want to implement an activity that includes
63 * <li> <p>Prior to Honeycomb (3.0), an activity's state was saved before pausing.
70 * if you change fragments between the state save and the activity being stopped.
71 * This means that in some cases if the activity is restored from its last saved
127 Object activity; field in class:FragmentActivity.NonConfigurationInstances
175 * Take care of popping the fragment back stack or finishing the activity
420 * is saved but the activity is not stopped, you could get an
434 * fragments attached to the activity are <em>not</em> resumed. This means
532 nci.activity = null;
640 * <p>Invalidate the activity'
[all...]
H A DFragmentManager.java58 * <p>Your activity must derive from {@link FragmentActivity} to use this. From such an activity,
72 * will be persisted across activity instances.
77 * representation of the entry that will persist across activity
129 * to an activity saving its state. If you try to commit a transaction
163 * activity; if no such fragment is found, then all fragments currently
173 * activity; if no such fragment is found, then all fragments currently
393 * Container for fragments associated with an activity.
1035 // The fragment's containing activity is
1091 throw new IllegalStateException("No activity");
1865 attachActivity(FragmentActivity activity, FragmentContainer container, Fragment parent) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarActivityDelegateBase.java81 ActionBarActivityDelegateBase(ActionBarActivity activity) { argument
82 super(activity);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DServiceTest.java17 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";
H A DBroadcastTest.java17 package android.app.activity;
40 "com.android.frameworks.coretests.activity.BROADCAST_REGISTERED";
42 "com.android.frameworks.coretests.activity.BROADCAST_LOCAL";
44 "com.android.frameworks.coretests.activity.BROADCAST_LOCAL_GRANTED";
46 "com.android.frameworks.coretests.activity.BROADCAST_LOCAL_DENIED";
48 "com.android.frameworks.coretests.activity.BROADCAST_REMOTE";
50 "com.android.frameworks.coretests.activity.BROADCAST_REMOTE_GRANTED";
52 "com.android.frameworks.coretests.activity.BROADCAST_REMOTE_DENIED";
54 "com.android.frameworks.coretests.activity.BROADCAST_ALL";
56 "com.android.frameworks.coretests.activity
[all...]
H A DLaunchpadActivity.java17 package android.app.activity;
74 public static final String LAUNCH = "com.android.frameworks.coretests.activity.LAUNCH";
77 "com.android.frameworks.coretests.activity.FORWARD_RESULT";
79 "com.android.frameworks.coretests.activity.RETURNED_RESULT";
82 "comcom.android.frameworks.coretests.activity.BAD_PARCELABLE";
88 "com.android.frameworks.coretests.activity.LIFECYCLE_BASIC";
90 "com.android.frameworks.coretests.activity.LIFECYCLE_SCREEN";
92 "com.android.frameworks.coretests.activity.LIFECYCLE_DIALOG";
94 "com.android.frameworks.coretests.activity.LIFECYCLE_FINISH_CREATE";
96 "com.android.frameworks.coretests.activity
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DActionBarImpl.java161 public ActionBarImpl(Activity activity) { argument
162 mActivity = activity;
163 Window window = activity.getWindow();
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DActivityTestMain.java17 package com.google.android.test.activity;
H A DArrayMapTests.java17 package com.google.android.test.activity;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDocumentsActivity.java127 setContentView(R.layout.activity);
462 getMenuInflater().inflate(R.menu.activity, menu);
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java2066 enforceCrossUserPermission(Binder.getCallingUid(), userId, false, "get activity info");
2644 IntentFilter filter, int match, ComponentName activity) {
2652 + " activity=" + activity);
2660 // Add the new activity as the last chosen for this filter
2661 addPreferredActivityInternal(filter, match, null, activity, false, userId);
2667 if (DEBUG_PREFERRED) Log.v(TAG, "Querying last chosen activity for " + intent);
2681 // If there is more than one activity with the same priority,
2689 // If the first activity has a higher priority, or a different
2696 // If we have saved a preference for a preferred activity fo
2643 setLastChosenActivity(Intent intent, String resolvedType, int flags, IntentFilter filter, int match, ComponentName activity) argument
10002 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument
10007 addPreferredActivityInternal(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, boolean always, int userId) argument
10038 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
[all...]
H A DSettings.java829 "Error in package manager settings: <preferred-activity> "
1875 ps.name, aii.activity.className), userId);
1941 // The initial preferences only specify the target activity
1944 // preferred activity entry.
2121 Slog.w(TAG, "No component found for default preferred activity " + cn);
2145 "Error in package manager settings: <preferred-activity> "
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java340 final Activity activity = p.activities.get(i);
341 if (activity.info.enabled
362 final Activity activity = p.receivers.get(i);
363 if (activity.info.enabled
2086 if (tagName.equals("activity")) {
2123 } else if (tagName.equals("activity-alias")) {
2276 mParseActivityArgs.tag = receiver ? "<receiver>" : "<activity>";
2503 Slog.w(TAG, "Unknown element under <activity>: " + parser.getName()
2513 outError[0] = "Bad element under <activity>: " + parser.getName();
2537 outError[0] = "<activity
4095 public final Activity activity; field in class:PackageParser.ActivityIntentInfo
[all...]

Completed in 1049 milliseconds

1234567