/frameworks/opt/photoviewer/sample/ |
H A D | Android.mk | 18 photo_dir := ../res ../activity/res
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | DialogFragment.java | 129 * the activity. 241 * its activity). 265 public void onAttach(Activity activity) { argument 266 super.onAttach(activity); 368 // after the activity is paused. Worst case, when the user comes 369 // back to the activity they see the dialog again.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | MobileSignalController.java | 403 void setActivity(int activity) { argument 404 mCurrentState.activityIn = activity == TelephonyManager.DATA_ACTIVITY_INOUT 405 || activity == TelephonyManager.DATA_ACTIVITY_IN; 406 mCurrentState.activityOut = activity == TelephonyManager.DATA_ACTIVITY_INOUT 407 || activity == TelephonyManager.DATA_ACTIVITY_OUT;
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteButton.java | 72 * To use the media route button, the activity must be a subclass of 219 * @throws IllegalStateException if the activity is not a subclass of 229 throw new IllegalStateException("The activity must be a subclass of FragmentActivity"); 255 Activity activity = getActivity(); 256 if (activity instanceof FragmentActivity) { 257 return ((FragmentActivity)activity).getSupportFragmentManager();
|
/frameworks/base/core/java/android/app/ |
H A D | SearchableInfo.java | 44 * Searchability meta-data for an activity. Only applications that search other applications 126 * Gets the component name of the searchable activity. 246 * Get the context for the searchable activity. 249 * @return Returns a context related to the searchable activity 257 * Creates a context for another activity. 259 private static Context createActivityContext(Context context, ComponentName activity) { argument 262 theirContext = context.createPackageContext(activity.getPackageName(), 0); 264 Log.e(LOG_TAG, "Package not found " + activity.getPackageName()); 266 Log.e(LOG_TAG, "Can't make context for " + activity.getPackageName(), e); 276 * @param activityContext If we can determine that the provider and the activity ar [all...] |
H A D | Activity.java | 116 * An activity is a single, focused thing that the user can do. Almost all 122 * or embedded inside of another activity (using {@link ActivityGroup}). 127 * <li> {@link #onCreate} is where you initialize your activity. Most 134 * activity. Most importantly, any changes made by the user should at this 140 * activity classes must have a corresponding 141 * {@link android.R.styleable#AndroidManifestActivity <activity>} 181 * <p>Activities in the system are managed as an <em>activity stack</em>. 182 * When a new activity is started, it is placed on the top of the stack 183 * and becomes the running activity -- the previous activity alway 730 Object activity; field in class:Activity.NonConfigurationInstances 4122 startIntentSenderForResultInner(IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, Activity activity, Bundle options) argument [all...] |
H A D | ApplicationPackageManager.java | 160 // First see if the package has an INFO activity; the existence of 161 // such an activity is implied to be the desired front-door for the 168 // Otherwise, try to find a main launcher activity. 188 // Try to find a main leanback_launcher activity. 1135 if (wr != null) { // we have the activity 1252 if (wr != null) { // we have the activity 1786 int match, ComponentName[] set, ComponentName activity) { 1788 mPM.addPreferredActivity(filter, match, set, activity, mContext.getUserId()); 1796 ComponentName[] set, ComponentName activity, int userId) { 1798 mPM.addPreferredActivity(filter, match, set, activity, userI 1785 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument 1795 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument 1805 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument 1815 replacePreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) 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/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | DetailsOverviewRowPresenter.java | 53 * To participate in activity transition, call {@link #setSharedElementEnterTransition(Activity, 360 * Sets the enter transition of target activity to be 364 * It assumes shared element passed from calling activity is an ImageView; 371 public final void setSharedElementEnterTransition(Activity activity, argument 376 mSharedElementHelper.setSharedElementEnterTransition(activity, sharedElementName, 381 * Sets the enter transition of target activity to be 385 * It assumes shared element passed from calling activity is an ImageView; 392 public final void setSharedElementEnterTransition(Activity activity, argument 394 setSharedElementEnterTransition(activity, sharedElementName, DEFAULT_TIMEOUT);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcTrackerBase.java | 90 * Constants for the data connection activity: 660 void setActivity(DctConstants.Activity activity) { argument 661 log("setActivity = " + activity); 662 mActivity = activity; 1474 // To sync data activity icon in the case of switching data connection to send MMS. 1480 public void sendStartNetStatPoll(DctConstants.Activity activity) { argument 1483 msg.obj = activity; 1487 protected void handleStartNetStatPoll(DctConstants.Activity activity) { argument 1490 setActivity(activity); 1493 public void sendStopNetStatPoll(DctConstants.Activity activity) { argument 1500 handleStopNetStatPoll(DctConstants.Activity activity) argument [all...] |
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHost.java | 178 * Start receiving onAppWidgetChanged calls for your AppWidgets. Call this when your activity 199 * Stop receiving onAppWidgetChanged calls for your AppWidgets. Call this when your activity is 230 * Starts an app widget provider configure activity for result on behalf of the caller. 232 * an activity in another profile. You can optionally provide a request code that is 234 * an options bundle to be passed to the started activity. 239 * @param activity The activity from which to start the configure one. 240 * @param appWidgetId The bound app widget whose provider's config activity to start. 244 * @throws android.content.ActivityNotFoundException If the activity is not found. 248 public final void startAppWidgetConfigureActivityForResult(@NonNull Activity activity, argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | RingtoneManager.java | 240 * @param activity The activity used to get a managed cursor. 242 public RingtoneManager(Activity activity) { argument 243 mContext = mActivity = activity; 362 * caller should manage the returned cursor through its activity's life
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | CameraView.java | 134 public void resume(Activity activity) { argument 135 mActivity = activity;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ResolverActivity.java | 81 * This activity is displayed when the system attempts to start an Intent for 82 * which there is more than one matching activity, allowing the user to decide 162 // The resolver activity is set to be hidden from recent tasks. 163 // we don't want this attribute to be propagated to the next activity 419 * instead of the normal Activity.startActivity for launching the activity selected 422 * <p>This mode is set to true by default if the activity is initialized through 976 public boolean start(Activity activity, Bundle options) { argument 977 activity.startActivity(mResolvedIntent, options); 982 public boolean startAsCaller(Activity activity, Bundle options, int userId) { argument 983 activity 988 startAsUser(Activity activity, Bundle options, UserHandle user) argument 1023 start(Activity activity, Bundle options) argument 1034 startAsCaller(Activity activity, Bundle options, int userId) argument 1044 startAsUser(Activity activity, Bundle options, UserHandle user) argument [all...] |
H A D | ChooserActivity.java | 607 public boolean start(Activity activity, Bundle options) { argument 612 public boolean startAsCaller(Activity activity, Bundle options, int userId) { argument 619 activity.startActivityAsCaller(intent, options, true, userId); 624 public boolean startAsUser(Activity activity, Bundle options, UserHandle user) { argument 706 Log.w(TAG, "No activity found for " + ii);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | Watchdog.java | 246 public void init(Context context, ActivityManagerService activity) { argument 248 mActivity = activity; 455 Slog.i(TAG, "Reporting stuck state to activity controller");
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageManager.java | 132 * intent filters supported by the activity. 2052 * Returns a "good" intent to launch a front-door activity in a package. 2055 * activity in the category {@link Intent#CATEGORY_INFO}, and next for a 2056 * main activity in the category {@link Intent#CATEGORY_LAUNCHER}. Returns 2062 * main activity in the package. Returns <code>null</code> if the package 2063 * does not contain such an activity, or if <em>packageName</em> is not 2069 * Return a "good" intent to launch a front-door Leanback activity in a 2072 * activity in the category {@link Intent#CATEGORY_LEANBACK_LAUNCHER}, or 2080 * the main Leanback activity in the package, or null if the package 2081 * does not contain such an activity 4172 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument 4181 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument 4208 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument 4215 replacePreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_location_ActivityRecognitionHardware.cpp | 78 * Handle activity recognition events from HAL. 104 jfieldID activity_field = env->GetFieldID(event_class, "activity", "I"); 112 env->SetIntField(event_object, activity_field, event->activity); 241 * Enables a given activity event to be actively monitored. 257 * Disables a given activity event from being actively monitored.
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockPackageManager.java | 670 int match, ComponentName[] set, ComponentName activity) { 679 int match, ComponentName[] set, ComponentName activity) { 669 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument 678 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgePackageManager.java | 612 ComponentName activity) { 617 ComponentName activity) { 611 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument 616 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | TaskRecord.java | 73 private static final String TAG_ACTIVITY = "activity"; 108 Intent affinityIntent; // Intent of affinity-moved activity that started this task. 110 ComponentName origActivity; // The non-alias activity component of the intent. 111 ComponentName realActivity; // The actual activity component that started the task. 115 boolean isAvailable; // Is the activity available to be launched? 119 // recents when activity finishes 129 // the root activity. 132 private boolean mPrivileged; // The root activity application of this task holds 150 // This represents the last resolved activity values for this task 163 /** Takes on same value as first root activity */ [all...] |