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

12345678910

/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DSubActivityTest.java17 package android.app.activity;
H A DActivityManagerTest.java17 package android.app.activity;
60 // TODO: Force an activity into an error state - then see if we can catch it here?
79 // TODO: Force an activity into an ANR state - then see if we can catch it here?
H A DLocalService.java17 package android.app.activity;
H A DSubActivityScreen.java17 package android.app.activity;
89 //System.out.println("Resuming sub-activity: mode=" + mMode);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DGuidedStepFragment.java455 Activity activity = getActivity();
456 if (mTheme == -1 && !isGuidedStepTheme(activity)) {
457 // Look up the guidedStepTheme in the activity's currently specified theme. If it
461 boolean found = activity.getTheme().resolveAttribute(resId, typedValue, true);
464 if (isGuidedStepTheme(new ContextThemeWrapper(activity, typedValue.resourceId))) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DMffContext.java42 * typically called when the application activity is paused and resumed. This will take care of
43 * halting any processing in the context, and releasing resources while the activity is paused.
445 // If we have an activity for this context we'll add the SurfaceView to it (as a 1x1 view
447 Activity activity = findActivityForContext(context);
448 if (activity != null) {
450 activity.addContentView(dummySurfaceView, params);
452 Log.w("MffContext", "Could not find activity for dummy surface! Consider specifying "
/frameworks/base/core/java/android/app/
H A DDialog.java236 * @param activity The Activity that owns this dialog.
238 public final void setOwnerActivity(Activity activity) { argument
239 mOwnerActivity = activity;
403 * the hosting activity was previously shut down, holds the result from
468 * Retrieve the current Window for the activity. This can be used to
472 * @return Window The current window, or null if the activity is not
671 * views inside of the activity. So, for example, if the trackball moves
895 * It is usually safe to proxy this call to the owner activity's
907 * It is usually safe to proxy this call to the owner activity's
1013 // associate search with owner activity
[all...]
H A DEnterTransitionCoordinator.java60 public EnterTransitionCoordinator(Activity activity, ResultReceiver resultReceiver, argument
62 super(activity.getWindow(), sharedElementNames,
63 getListener(activity, isReturning), isReturning);
64 mActivity = activity;
216 private static SharedElementCallback getListener(Activity activity, boolean isReturning) { argument
217 return isReturning ? activity.mExitTransitionListener : activity.mEnterTransitionListener;
H A DVoiceInteractor.java45 * to retrieve the interface, if the activity is currently involved in a voice interaction.
58 * if an activity is being restarted with retained state, it will retain the current
60 * {@link Request#getActivity() Request.getActivity} to get back to the activity of a
61 * request, rather than holding on to the activity instance yourself, either explicitly
244 * if the activity hosting it goes through a configuration change.
252 * if the activity is restarted such as through a configuration change.
267 * The request is now attached to an activity, or being re-attached to a new activity
270 public void onAttached(Activity activity) { argument
274 * The request is being detached from an activity
884 VoiceInteractor(IVoiceInteractor interactor, Context context, Activity activity, Looper looper) argument
914 attachActivity(Activity activity) argument
[all...]
H A DApplicationErrorReport.java203 * Return activity in receiverPackage that handles ACTION_APP_ERROR.
208 * @return activity component within receiverPackage which handles
437 public String activity; field in class:ApplicationErrorReport.AnrInfo
459 activity = in.readString();
468 dest.writeString(activity);
477 pw.println(prefix + "activity: " + activity);
H A DDialogFragment.java33 * 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.
340 * its activity).
364 public void onAttach(Activity activity) { argument
365 super.onAttach(activity);
459 // after the activity is paused. Worst case, when the user comes
460 // back to the activity they see the dialog again.
/frameworks/support/v4/java/android/support/v4/app/
H A DShareCompat.java43 * about the activity that invoked a social sharing action.
46 * intent that always includes data about the calling activity and app.
47 * This lets the called activity provide attribution for the app that shared
49 * To obtain an IntentBuilder with info about your calling activity, use the static
54 * used to launch an activity. You can also obtain a Drawable for the caller's
62 * When an activity is started using startActivityForResult this is redundant info.
72 * Intent extra that stores the {@link ComponentName} of the calling activity for
170 * @param calledActivity Current activity that was launched to share content
182 * Retrieve the ComponentName of the activity that launched calledActivity from a share intent.
190 * @param calledActivity Current activity tha
672 from(Activity activity) argument
676 IntentReader(Activity activity) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DActivityChooserView.java43 * This class is a view for choosing an activity for handling a given {@link Intent}.
48 * The left button is an immediate action and allows one click activity choosing.
51 * activity.
153 * Popup window for showing the activity overflow list.
163 * Flag whether a default activity currently being selected.
314 * Sets the background for the button that expands the activity
318 * as a clue about the action the chosen activity will perform. For
319 * example, if a share activity is to be chosen the drawable should
329 * Sets the content description for the button that expands the activity
333 * For example, if a share activity i
[all...]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DDatePickerDialog.java165 final Activity activity = getActivity();
166 activity.getWindow().setSoftInputMode(
223 final Activity activity = getActivity();
224 mDayPickerView = new SimpleDayPickerView(activity, this);
225 mYearPickerView = new YearPickerView(activity, this);
271 mHapticFeedbackController = new HapticFeedbackController(activity);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActivityChooserView.java46 * This class is a view for choosing an activity for handling a given {@link Intent}.
51 * The left button is an immediate action and allows one click activity choosing.
54 * activity.
157 * Popup window for showing the activity overflow list.
167 * Flag whether a default activity currently being selected.
291 * Sets the background for the button that expands the activity
295 * as a clue about the action the chosen activity will perform. For
296 * example, if a share activity is to be chosen the drawable should
306 * Sets the content description for the button that expands the activity
310 * For example, if a share activity i
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceManager.java120 * List of activity result listeners.
125 * List of activity stop listeners.
130 * List of activity destroy listeners.
145 public PreferenceManager(Activity activity, int firstRequestCode) { argument
146 mActivity = activity;
149 init(activity);
424 * be called by the application's main activity.
548 * Returns the activity that shows the preferences. This is useful for doing
555 * @return The activity that shows the preferences.
654 * Called by the {@link PreferenceManager} to dispatch the activity sto
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DSearchManagerTest.java19 import android.app.activity.LocalActivity;
43 "android.app.activity.SearchableActivity");
59 * confirm proper identification of "default" activity based on policy, not hardcoded contacts
62 * Maybe have to do with framework / unittest runner - need instrumented activity?
74 * Local copy of activity context
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsFragment.java179 BaseActivity activity = BaseActivity.get(RootsFragment.this);
180 activity.onRootPicked(((RootItem) item).root);
182 DocumentsActivity activity = DocumentsActivity.get(RootsFragment.this);
183 activity.onAppPicked(((AppItem) item).info);
/frameworks/base/docs/html/training/
H A Dtraining_toc.cs31 <li><a href="<?cs var:toroot ?>training/basics/firstapp/starting-activity.html">
93 <a href="<?cs var:toroot ?>training/basics/activity-lifecycle/index.html"
107 <li><a href="<?cs var:toroot ?>training/basics/activity-lifecycle/starting.html"
118 <li><a href="<?cs var:toroot ?>training/basics/activity-lifecycle/pausing.html"
129 <li><a href="<?cs var:toroot ?>training/basics/activity-lifecycle/stopping.html"
140 <li><a href="<?cs var:toroot ?>training/basics/activity-lifecycle/recreating.html"
1940 <div class="nav-section-header"><a href="<?cs var:toroot ?>training/activity-testing/index.html"
1945 <li><a href="<?cs var:toroot ?>training/activity-testing/preparing-activity-testing.html">
1949 <li><a href="<?cs var:toroot ?>training/activity
[all...]
/frameworks/base/core/java/android/content/pm/
H A DIPackageManager.aidl262 in IntentFilter filter, int match, in ComponentName activity);
265 in ComponentName[] set, in ComponentName activity, int userId);
268 in ComponentName[] set, in ComponentName activity, int userId);
275 void addPersistentPreferredActivity(in IntentFilter filter, in ComponentName activity, int userId);
295 * Report the set of 'Home' activity candidates, plus (if any) which of them
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java73 * 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 DViewPropertyAnimatorTest.java140 final BasicAnimatorActivity activity = getActivity();
141 Button button = (Button) activity.findViewById(R.id.animatingButton);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsResizeTaskDialog.java79 public RecentsResizeTaskDialog(FragmentManager mgr, RecentsActivity activity) { argument
81 mRecentsActivity = activity;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerWifiTest.java101 protected void setWifiActivity(int activity) { argument
103 mNetworkController.mWifiSignalController.setActivity(activity);
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorPickerDialog.java108 final Activity activity = getActivity();
119 mAlertDialog = new AlertDialog.Builder(activity)

Completed in 589 milliseconds

12345678910