Searched defs:activity (Results 101 - 125 of 151) sorted by relevance

1234567

/frameworks/support/v4/java/android/support/v4/media/
H A DTransportMediator.java151 public TransportMediator(Activity activity, TransportPerformer callbacks) { argument
152 this(activity, null, callbacks);
159 private TransportMediator(Activity activity, View view, TransportPerformer callbacks) { argument
160 mContext = activity != null ? activity : view.getContext();
163 mView = activity != null ? activity.getWindow().getDecorView() : view;
337 * will also be automatically cleaned up when your activity/view is detached from
/frameworks/testing/support/src/android/support/test/runner/
H A DMonitoringInstrumentation.java60 * <li>Allows tracking of activity lifecycle states.</li>
221 Log.i(LOG_TAG, "Unstopped activity count: " + currentActivityCount);
225 Log.i(LOG_TAG, "Abandoning activity wait due to interruption.", ie);
256 // However IF we've run a test method previously and that has launched an activity
258 // activity android will place our activity at the bottom of the stack and bring the
259 // previous external activity to the front of the screen.
262 // we tell android to CLEAR_TOP the very first activity we see, no matter what.
280 + "screen. Or the activity is doing network calls on creation? See the "
282 + "before your activity launc
335 callActivityOnDestroy(Activity activity) argument
341 callActivityOnRestart(Activity activity) argument
347 callActivityOnCreate(Activity activity, Bundle bundle) argument
358 callActivityOnStart(Activity activity) argument
370 callActivityOnStop(Activity activity) argument
380 callActivityOnResume(Activity activity) argument
386 callActivityOnPause(Activity activity) argument
[all...]
/frameworks/base/core/java/android/app/
H A DEnterTransitionCoordinator.java63 public EnterTransitionCoordinator(Activity activity, ResultReceiver resultReceiver, argument
65 super(activity.getWindow(), sharedElementNames,
66 getListener(activity, isReturning), isReturning);
67 mActivity = activity;
221 private static SharedElementCallback getListener(Activity activity, boolean isReturning) { argument
222 return isReturning ? activity.mExitTransitionListener : activity.mEnterTransitionListener;
H A DLoaderManager.java76 * activity's state is saved. See {@link FragmentManager#beginTransaction()
125 * already exist, one is created and (if the activity/fragment is currently
151 * and (if the activity/fragment is currently started) starts loading it.
533 LoaderManagerImpl(String who, Activity activity, boolean started) { argument
535 mActivity = activity;
539 void updateActivity(Activity activity) { argument
540 mActivity = activity;
566 // The activity will start all existing loaders in it's onStart(),
H A DActivityOptions.java155 * the activity is displayed.
160 * the incoming activity. Use 0 for no animation.
162 * the outgoing activity. Use 0 for no animation.
164 * supply these options as the options Bundle when starting an activity.
173 * the activity is displayed.
178 * the incoming activity. Use 0 for no animation.
180 * the outgoing activity. Use 0 for no animation.
187 * supply these options as the options Bundle when starting an activity.
229 * activity is scaled from a small originating area of the screen to
237 * @param source The View that the new activity i
429 makeSceneTransitionAnimation(Activity activity, View sharedElement, String sharedElementName) argument
453 makeSceneTransitionAnimation(Activity activity, Pair<View, String>... sharedElements) argument
492 makeSceneTransitionAnimation(Activity activity, ExitTransitionCoordinator exitCoordinator, ArrayList<String> sharedElementNames, int resultCode, Intent resultData) argument
[all...]
H A DSearchableInfo.java43 * Searchability meta-data for an activity. Only applications that search other applications
125 * Gets the component name of the searchable activity.
245 * Get the context for the searchable activity.
248 * @return Returns a context related to the searchable activity
256 * Creates a context for another activity.
258 private static Context createActivityContext(Context context, ComponentName activity) { argument
261 theirContext = context.createPackageContext(activity.getPackageName(), 0);
263 Log.e(LOG_TAG, "Package not found " + activity.getPackageName());
265 Log.e(LOG_TAG, "Can't make context for " + activity.getPackageName(), e);
275 * @param activityContext If we can determine that the provider and the activity ar
[all...]
/frameworks/base/media/java/android/media/
H A DRingtoneManager.java229 * @param activity The activity used to get a managed cursor.
231 public RingtoneManager(Activity activity) { argument
232 mContext = mActivity = activity;
351 * caller should manage the returned cursor through its activity's life
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintPreviewController.java64 public PrintPreviewController(PrintActivity activity, MutexFileProvider fileProvider) { argument
65 mActivity = activity;
66 mHandler = new MyHandler(activity.getMainLooper());
69 mPrintOptionsLayout = (PrintOptionsLayout) activity.findViewById(R.id.options_container);
70 mPageAdapter = new PageAdapter(activity, activity, this);
77 mRecyclerView = (RecyclerView) activity.findViewById(R.id.preview_content);
84 mContentView = (PrintContentView) activity.findViewById(R.id.options_content);
85 mEmbeddedContentContainer = (EmbeddedContentContainer) activity.findViewById(
/frameworks/base/services/core/java/com/android/server/
H A DWatchdog.java233 public void init(Context context, ActivityManagerService activity) { argument
235 mActivity = activity;
448 Slog.i(TAG, "Reporting stuck state to activity controller");
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DDetailsOverviewRowPresenter.java49 * To participate in activity transition, call {@link #setSharedElementEnterTransition(Activity,
329 * Set enter transition of target activity (typically a DetailActivity) to be
333 * It assumes shared element passed from calling activity is an ImageView;
340 public final void setSharedElementEnterTransition(Activity activity, argument
345 mSharedElementHelper.setSharedElementEnterTransition(activity, sharedElementName,
350 * Set enter transition of target activity (typically a DetailActivity) to be
354 * It assumes shared element passed from calling activity is an ImageView;
361 public final void setSharedElementEnterTransition(Activity activity, argument
363 setSharedElementEnterTransition(activity, sharedElementName, DEFAULT_TIMEOUT);
/frameworks/support/v4/java/android/support/v4/app/
H A DActionBarDrawerToggle.java106 Drawable getThemeUpIndicator(Activity activity); argument
107 Object setActionBarUpIndicator(Object info, Activity activity, argument
109 Object setActionBarDescription(Object info, Activity activity, int contentDescRes); argument
114 public Drawable getThemeUpIndicator(Activity activity) { argument
119 public Object setActionBarUpIndicator(Object info, Activity activity, argument
126 public Object setActionBarDescription(Object info, Activity activity, int contentDescRes) { argument
134 public Drawable getThemeUpIndicator(Activity activity) { argument
135 return ActionBarDrawerToggleHoneycomb.getThemeUpIndicator(activity);
139 public Object setActionBarUpIndicator(Object info, Activity activity, argument
141 return ActionBarDrawerToggleHoneycomb.setActionBarUpIndicator(info, activity,
146 setActionBarDescription(Object info, Activity activity, int contentDescRes) argument
155 getThemeUpIndicator(Activity activity) argument
160 setActionBarUpIndicator(Object info, Activity activity, Drawable themeImage, int contentDescRes) argument
167 setActionBarDescription(Object info, Activity activity, int contentDescRes) argument
226 ActionBarDrawerToggle(Activity activity, DrawerLayout drawerLayout, @DrawableRes int drawerImageRes, @StringRes int openDrawerContentDescRes, @StringRes int closeDrawerContentDescRes) argument
259 ActionBarDrawerToggle(Activity activity, DrawerLayout drawerLayout, boolean animate, @DrawableRes int drawerImageRes, @StringRes int openDrawerContentDescRes, @StringRes int closeDrawerContentDescRes) argument
[all...]
H A DLoaderManager.java37 * <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.
477 LoaderManagerImpl(String who, FragmentActivity activity, boolean started) { argument
479 mActivity = activity;
483 void updateActivity(FragmentActivity activity) { argument
484 mActivity = activity;
510 // The activity will start all existing loaders in it's onStart(),
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
133 Object activity; field in class:FragmentActivity.NonConfigurationInstances
172 * Take care of popping the fragment back stack or finishing the activity
398 * is saved but the activity is not stopped, you could get an
412 * fragments attached to the activity are <em>not</em> resumed. This means
510 nci.activity = null;
618 * <p>Invalidate the activity'
[all...]
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/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarActivityDelegate.java49 static ActionBarActivityDelegate createDelegate(ActionBarActivity activity) { argument
51 return new ActionBarActivityDelegateHC(activity);
53 return new ActionBarActivityDelegateBase(activity);
62 // true if this activity has an action bar.
64 // true if this activity's action bar overlays other activity content.
66 // true if this any action modes should overlay the activity content
68 // true if this activity is floating (e.g. Dialog)
111 ActionBarActivityDelegate(ActionBarActivity activity) { argument
112 mActivity = activity;
[all...]
H A DActionBarDrawerToggle.java140 * @param activity The Activity hosting the drawer. Should have an ActionBar.
147 public ActionBarDrawerToggle(Activity activity, DrawerLayout drawerLayout, argument
150 this(activity, null, drawerLayout, null, openDrawerContentDescRes,
168 * setting the Toolbar as the ActionBar of your activity.
170 * @param activity The Activity hosting the drawer.
178 public ActionBarDrawerToggle(Activity activity, DrawerLayout drawerLayout, argument
181 this(activity, toolbar, drawerLayout, null, openDrawerContentDescRes,
190 <T extends Drawable & DrawerToggle> ActionBarDrawerToggle(Activity activity, Toolbar toolbar, argument
206 } else if (activity instanceof DelegateProvider) { // Allow the Activity to provide an impl
207 mActivityImpl = ((DelegateProvider) activity)
468 DrawerArrowDrawableToggle(Activity activity, Context themedContext) argument
511 HoneycombDelegate(Activity activity) argument
554 JellybeanMr2Delegate(Activity activity) argument
640 DummyDelegate(Activity activity) argument
[all...]
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java61 * Intent to start an activity when a tag with NDEF payload is discovered.
68 * most specific intent filters possible to avoid the activity chooser dialog, which can
82 * Intent to start an activity when a tag is discovered and activities are registered for the
85 * <p>To receive this intent an activity must include an intent filter
89 * &lt;activity android:name=".nfc.TechFilter" android:label="NFC/TechFilter"&gt;
98 * &lt;/activity&gt;</pre>
107 * activity is considered a match is any single <code>tech-list</code> matches the tag that was
138 * Intent to start an activity when a tag is discovered.
147 * Broadcast to only the activity that handles ACTION_TAG_DISCOVERED
318 * A callback to be invoked when the system finds a tag while the foreground activity i
805 setBeamPushUris(Uri[] uris, Activity activity) argument
881 setBeamPushUrisCallback(CreateBeamUrisCallback callback, Activity activity) argument
959 setNdefPushMessage(NdefMessage message, Activity activity, Activity ... activities) argument
989 setNdefPushMessage(NdefMessage message, Activity activity, int flags) argument
1061 setNdefPushMessageCallback(CreateNdefMessageCallback callback, Activity activity, Activity ... activities) argument
1090 setNdefPushMessageCallback(CreateNdefMessageCallback callback, Activity activity, int flags) argument
1135 setOnNdefPushCompleteCallback(OnNdefPushCompleteCallback callback, Activity activity, Activity ... activities) argument
1194 enableForegroundDispatch(Activity activity, PendingIntent intent, IntentFilter[] filters, String[][] techLists) argument
1230 disableForegroundDispatch(Activity activity) argument
1243 disableForegroundDispatchInternal(Activity activity, boolean force) argument
1276 enableReaderMode(Activity activity, ReaderCallback callback, int flags, Bundle extras) argument
1288 disableReaderMode(Activity activity) argument
1316 invokeBeam(Activity activity) argument
1373 enableForegroundNdefPush(Activity activity, NdefMessage message) argument
1401 disableForegroundNdefPush(Activity activity) argument
1593 enforceResumed(Activity activity) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceManager.java119 * List of activity result listeners.
124 * List of activity stop listeners.
129 * List of activity destroy listeners.
144 public PreferenceManager(Activity activity, int firstRequestCode) { argument
145 mActivity = activity;
148 init(activity);
423 * be called by the application's main activity.
547 * Returns the activity that shows the preferences. This is useful for doing
554 * @return The activity that shows the preferences.
653 * Called by the {@link PreferenceManager} to dispatch the activity sto
[all...]
/frameworks/base/core/java/android/print/
H A DPrintManager.java78 * PrintAttributes)} from an activity which results in bringing up the system print
113 * The action for launching the print dialog activity.
380 * your activity is finished. The rationale is that once the activity that
382 * state as it may depend on the UI presented by the activity.
397 * activity has to be recreated and the old adapter may be invalid in this context,
398 * hence a new adapter instance is required. As a consequence, if your activity
400 * state that you were printing and call this method again when your activity
421 throw new IllegalStateException("Can print only from an activity");
444 Log.e(LOG_TAG, "Couldn't start print job config activity
522 PrintDocumentAdapterDelegate(Activity activity, PrintDocumentAdapter documentAdapter) argument
637 onActivityPaused(Activity activity) argument
642 onActivityCreated(Activity activity, Bundle savedInstanceState) argument
647 onActivityStarted(Activity activity) argument
652 onActivityResumed(Activity activity) argument
657 onActivityStopped(Activity activity) argument
662 onActivitySaveInstanceState(Activity activity, Bundle outState) argument
667 onActivityDestroyed(Activity activity) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DActivityChooserModel.java65 * For example, choosing a share activity can be implemented by a single backing
86 * // Set an intent to choose a an activity for.
133 * Listener for choosing an activity.
138 * Called when an activity has been chosen. The client can decide whether
139 * an activity can be chosen and if so the caller of
148 * @param intent The intent for launching the chosen activity.
177 * Attribute for the activity.
179 private static final String ATTRIBUTE_ACTIVITY = "activity";
203 * The amount with which to inflate a chosen activity when set as default.
264 * The intent for which a activity i
436 getActivityIndex(ResolveInfo activity) argument
787 public final ComponentName activity; field in class:ActivityChooserModel.HistoricalRecord
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
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/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActivityChooserModel.java62 * For example, choosing a share activity can be implemented by a single backing
83 * // Set an intent to choose a an activity for.
130 * Listener for choosing an activity.
135 * Called when an activity has been chosen. The client can decide whether
136 * an activity can be chosen and if so the caller of
145 * @param intent The intent for launching the chosen activity.
174 * Attribute for the activity.
176 private static final String ATTRIBUTE_ACTIVITY = "activity";
200 * The amount with which to inflate a chosen activity when set as default.
256 * The intent for which a activity i
427 getActivityIndex(ResolveInfo activity) argument
767 public final ComponentName activity; field in class:ActivityChooserModel.HistoricalRecord
[all...]
/frameworks/testing/espresso/libs/
H A Dtestrunner-1.1.jar ... testrunner.ActivityLifecycleMonitorImpl$ActivityStatus status android.app.Activity statusActivity android.app.Activity activity java.util ...
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java182 * be used to start the corresponding user interface activity.
1016 * @param activity The {@link Activity} context to use for launching a new
1046 final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) {
1054 return new AmsTask(activity, handler, callback) {
1251 * @param activity The {@link Activity} context to use for launching a new
1261 * these fields if activity was specified and an account was created:
1267 * If no activity was specified, the returned Bundle contains only
1284 final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) {
1292 return new AmsTask(activity, handler, callback) {
1295 requiredFeatures, activity !
1044 getAuthToken( final Account account, final String authTokenType, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1281 addAccount(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1304 addAccountAsUser(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler, final UserHandle userHandle) argument
1429 confirmCredentials(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1443 confirmCredentialsAsUser(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler, UserHandle userHandle) argument
1505 updateCredentials(final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1556 editProperties(final String accountType, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1615 AmsTask(Activity activity, Handler handler, AccountManagerCallback<Bundle> callback) argument
2089 getAuthTokenByFeatures( final String accountType, final String authTokenType, final String[] features, final Activity activity, final Bundle addAccountOptions, final Bundle getAuthTokenOptions, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
[all...]

Completed in 2798 milliseconds

1234567