/frameworks/base/core/java/com/android/internal/app/ |
H A D | WindowDecorActionBar.java | 165 public WindowDecorActionBar(Activity activity) { argument 166 mActivity = activity; 167 Window window = activity.getWindow();
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActiveServices.java | 109 // Maximum amount of time for there to be no activity on a service before 711 ActivityRecord activity = null; 713 activity = ActivityRecord.isInStackLocked(token); 714 if (activity == null) { 715 Slog.w(TAG, "Binding with unknown activity: " + token); 784 ConnectionRecord c = new ConnectionRecord(b, activity, 795 if (activity != null) { 796 if (activity.connections == null) { 797 activity.connections = new HashSet<ConnectionRecord>(); 799 activity [all...] |
H A D | ActivityStack.java | 108 // How long we wait until giving up on the last activity to pause. This 110 // next activity. 113 // How long we wait for the activity to tell us it has stopped before 118 // How long we wait until giving up on an activity telling us it has 126 // How long between activity launches that we consider safe to not warn 127 // the user about an unexpected activity being launched on top. 130 // Set to false to disable the preview that is shown while a new activity 179 * When we are in the process of pausing an activity, before starting the 180 * next one, this variable holds the activity that is currently being paused. 185 * This is the last activity tha [all...] |
H A D | ActivityManagerService.java | 316 // How long we wait for a launched process to attach to the activity manager 320 // How long we wait for a launched process to attach to the activity manager 371 // How long to wait in getAssistContextExtras for the activity and foreground services 442 * User id of the last activity mFocusedActivity was set to. 457 * For addAppTask: cached of the last activity component that was added. 462 * For addAppTask: cached of the last activity uid that was added. 482 public final ActivityRecord activity; field in class:ActivityManagerService.PendingAssistExtras 494 activity = _activity; 503 Slog.w(TAG, "getAssistContextExtras failed: timeout retrieving from " + activity); 587 * activity manage 4890 appNotResponding(ProcessRecord app, ActivityRecord activity, ActivityRecord parent, boolean aboveSystem, final String annotation) argument 10668 inputDispatchingTimedOut(final ProcessRecord proc, final ActivityRecord activity, final ActivityRecord parent, final boolean aboveSystem, String reason) argument 11870 makeAppNotRespondingLocked(ProcessRecord app, String activity, String shortMsg, String longMsg) argument 11893 generateProcessError(ProcessRecord app, int condition, String activity, String shortMsg, String longMsg, String stackTrace) argument 12388 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 D | ActivityRecord.java | 71 * An entry in the history stack, representing an activity. 95 final ApplicationInfo appInfo; // information about activity's app 96 final int launchedFromUid; // always the uid who started the activity. 97 final String launchedFromPackage; // always the package who started the activity. 108 final boolean noDisplay; // activity is not displayed? 110 final boolean rootVoiceInteraction; // was this the root activity of a voice interaction? 119 int icon; // resource identifier of activity's icon. 120 int logo; // resource identifier of activity's logo. 121 int theme; // resource identifier of activity's theme. 126 long displayStartTime; // when we started launching this activity 334 Token(ActivityRecord activity, ActivityManagerService service) argument [all...] |
H A D | ActivityStackSupervisor.java | 150 /** How long we wait until giving up on the last activity telling us it is idle. */ 190 /** Action restriction: launching the activity is not restricted. */ 192 /** Action restriction: launching the activity is restricted by a permission. */ 194 /** Action restriction: launching the activity is restricted by an app op. */ 230 /** The stack currently receiving input or launching the next activity. */ 233 /** If this is the same as mFocusedStack then the activity on the top of the focused stack has 238 /** List of activities that are waiting for a new activity to become visible before completing 242 /** List of processes waiting to find out about the next visible activity. */ 245 /** List of processes waiting to find out about the next launched activity. */ 248 /** List of activities that are ready to be stopped, but waiting for the next activity t 3537 printThisActivity(PrintWriter pw, ActivityRecord activity, String dumpPackage, boolean needSep, String prefix) argument [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewController.java | 56 * This class implements all the logic of the photo view activity. An activity should use this class 57 * calling through from relevant activity methods to the methods of the same name here. 59 * To customize the photo viewer activity, you should subclass this and implement your 71 * The activity itself must delegate all appropriate method calls into this class, to the 161 /** When {@code true}, restart the loader when the activity becomes active */ 163 /** Don't attempt operations that may trigger a fragment transaction when the activity is 166 /** Whether or not this activity is paused */ 190 // TODO Find a better way to do this. We basically want the activity to display the 193 // by the activity, bu 198 PhotoViewController(ActivityInterface activity) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/ |
H A D | WindowDecorActionBar.java | 171 public WindowDecorActionBar(Activity activity, boolean overlayMode) { argument 172 mActivity = activity; 173 Window window = activity.getWindow();
|
/frameworks/base/core/java/android/app/assist/ |
H A D | AssistStructure.java | 1328 public AssistStructure(Activity activity) { argument 1330 mActivityComponent = activity.getComponentName(); 1332 activity.getActivityToken()); 1430 * Return the activity this AssistStructure came from.
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | DirectoryFragment.java | 310 final Activity activity = getActivity(); 311 if (activity != null) { 312 activity.onBackPressed();
|
H A D | BaseActivity.java | 118 getMenuInflater().inflate(R.menu.activity, menu); 617 * Class providing toolbar with runtime access to useful activity data.
|
H A D | DocumentsActivity.java | 106 setContentView(R.layout.activity); 189 // In this case, we set the activity title in AsyncTask.onPostExecute(). To prevent
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | BroadcastTest.java | 17 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 D | LaunchpadActivity.java | 17 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/services/core/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 2988 enforceCrossUserPermission(Binder.getCallingUid(), userId, false, false, "get activity info"); 4177 IntentFilter filter, int match, ComponentName activity) { 4185 + " activity=" + activity); 4193 // Add the new activity as the last chosen for this filter 4194 addPreferredActivityInternal(filter, match, null, activity, false, userId, 4201 if (DEBUG_PREFERRED) Log.v(TAG, "Querying last chosen activity for " + intent); 4215 // If there is more than one activity with the same priority, 4223 // If the first activity has a higher priority, or a different 4230 // If we have saved a preference for a preferred activity fo 4176 setLastChosenActivity(Intent intent, String resolvedType, int flags, IntentFilter filter, int match, ComponentName activity) argument 13686 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument 13692 addPreferredActivityInternal(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, boolean always, int userId, String opname) argument 13726 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument 13968 addPersistentPreferredActivity(IntentFilter filter, ComponentName activity, int userId) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Fragment.java | 168 * activity: if the activity is stopped, no fragments inside of it can be 169 * started; when the activity is destroyed, all fragments will be destroyed. 205 * <p>Though a Fragment's lifecycle is tied to its owning activity, it has 206 * its own wrinkle on the standard activity lifecycle. It includes basic 207 * activity lifecycle methods such as {@link #onResume}, but also important 208 * are methods related to interactions with the activity and UI generation. 214 * <li> {@link #onAttach} called once the fragment is associated with its activity. 218 * <li> {@link #onActivityCreated} tells the fragment that its activity has 223 * containing activity bein 1367 onInflate(Activity activity, AttributeSet attrs, Bundle savedInstanceState) argument 1388 onAttach(Activity activity) argument [all...] |
H A D | ActivityManager.java | 93 * activity that shouldn't be displayed for all users. 99 * Result for IActivityManager.startActivity: trying to start an activity under voice 100 * control when that activity does not support the VOICE category. 114 * thing being started is not an activity. 121 * caller does not have permission to start the activity. 143 * given Intent could not be resolved to an activity. 149 * Result for IActivityManaqer.startActivity: the activity was started 163 * Result for IActivityManaqer.startActivity: activity wasn't really started, but 170 * Result for IActivityManaqer.startActivity: activity wasn't really started, but 171 * the given Intent was given to the existing top activity 1232 addAppTask(@onNull Activity activity, @NonNull Intent intent, @Nullable TaskDescription description, @NonNull Bitmap thumbnail) argument [all...] |
H A D | ApplicationThreadNative.java | 492 final IBinder activity = data.readStrongBinder(); 496 dumpActivity(fd.getFileDescriptor(), activity, prefix, args);
|
/frameworks/base/core/java/android/app/admin/ |
H A D | IDevicePolicyManager.aidl | 140 void addPersistentPreferredActivity(in ComponentName admin, in IntentFilter filter, in ComponentName activity);
|
H A D | DevicePolicyManager.java | 745 * Activity action: have the user enter a new password. This activity should 751 * constraints. Upon being resumed from this activity, you can check the new 763 * matching activity in the parent profile. 772 * matching activity in the managed profile. 1790 * maximum time for user activity until the device will lock. This limits 2041 * Activity action: begin the process of encrypting data on the device. This activity should 2043 * After resuming from this activity, use {@link #getStorageEncryption} 2044 * to check encryption status. However, on some devices this activity may never return, as 3155 * Called by a profile owner or device owner to add a default intent handler activity for 3156 * intents that match a certain intent filter. This activity wil 3171 addPersistentPreferredActivity(@onNull ComponentName admin, IntentFilter filter, @NonNull ComponentName activity) argument [all...] |
/frameworks/base/docs/html/guide/ |
H A D | guide_toc.cs | 162 <li><a href="<?cs var:toroot ?>guide/topics/manifest/activity-element.html"><activity></a></li> 163 <li><a href="<?cs var:toroot ?>guide/topics/manifest/activity-alias-element.html"><activity-alias></a></li>
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | Fragment.java | 162 * <li>Your activity must extend {@link FragmentActivity} 176 static final int ACTIVITY_CREATED = 2; // The activity has finished its creation. 217 // If set this fragment is being removed from its activity. 376 * activity's state. It is strongly recommended that subclasses do not 385 * is actually associated with its activity. Some applications may also 388 * the fragment is attached to its activity. 544 * be called before the fragment has been attached to its activity; that 679 * with this fragment's activity. Note that this will be non-null slightly 682 * attached to its activity. 720 * Return true if the fragment is currently added to its activity 1139 onInflate(Activity activity, AttributeSet attrs, Bundle savedInstanceState) argument 1162 onAttach(Activity activity) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageParser.java | 472 final Activity activity = p.activities.get(i); 473 if (activity.info.enabled 494 final Activity activity = p.receivers.get(i); 495 if (activity.info.enabled 2675 if (tagName.equals("activity")) { 2712 } else if (tagName.equals("activity-alias")) { 2828 Activity activity = activities.get(n); 2829 ArrayList<ActivityIntentInfo> filters = activity.intents; 2873 if (tagName.equals("activity")) { 2910 } else if (tagName.equals("activity 5043 public final Activity activity; field in class:PackageParser.ActivityIntentInfo [all...] |
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | ArrayMapTests.java | 17 package com.google.android.test.activity;
|
H A D | ActivityTestMain.java | 17 package com.google.android.test.activity; 421 // Start root activity.
|