Searched defs:activity (Results 76 - 100 of 116) sorted by relevance

12345

/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/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarActivityDelegate.java45 static ActionBarActivityDelegate createDelegate(ActionBarActivity activity) { argument
48 return new ActionBarActivityDelegateJB(activity);
50 return new ActionBarActivityDelegateICS(activity);
52 return new ActionBarActivityDelegateHC(activity);
54 return new ActionBarActivityDelegateBase(activity);
63 // true if this activity has an action bar.
65 // true if this activity's action bar overlays other activity content.
70 ActionBarActivityDelegate(ActionBarActivity activity) { argument
71 mActivity = activity;
[all...]
H A DActionBarActivityDelegateICS.java41 ActionBarActivityDelegateICS(ActionBarActivity activity) { argument
42 super(activity);
H A DActionBarActivityDelegateBase.java81 ActionBarActivityDelegateBase(ActionBarActivity activity) { argument
82 super(activity);
H A DActionBarImplICS.java40 public ActionBarImplICS(Activity activity, Callback callback) { argument
41 this(activity, callback, true);
44 ActionBarImplICS(Activity activity, Callback callback, boolean checkHomeAsUpOption) { argument
45 mActivity = activity;
47 mActionBar = activity.getActionBar();
/frameworks/base/core/java/android/app/
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 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...]
H A DDialog.java215 * @param activity The Activity that owns this dialog.
217 public final void setOwnerActivity(Activity activity) { argument
218 mOwnerActivity = activity;
370 * the hosting activity was previously shut down, holds the result from
435 * Retrieve the current Window for the activity. This can be used to
439 * @return Window The current window, or null if the activity is not
636 * views inside of the activity. So, for example, if the trackball moves
854 * It is usually safe to proxy this call to the owner activity's
866 * It is usually safe to proxy this call to the owner activity's
958 // associate search with owner activity
[all...]
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/media/java/android/media/
H A DRingtoneManager.java230 * @param activity The activity used to get a managed cursor.
232 public RingtoneManager(Activity activity) { argument
233 mContext = mActivity = activity;
352 * caller should manage the returned cursor through its activity's life
/frameworks/base/services/java/com/android/server/
H A DWatchdog.java239 ActivityManagerService activity) {
244 mActivity = activity;
442 Slog.i(TAG, "Reporting stuck state to activity controller");
237 init(Context context, BatteryService battery, PowerManagerService power, AlarmManagerService alarm, ActivityManagerService activity) argument
/frameworks/support/v4/java/android/support/v4/app/
H A DActionBarDrawerToggle.java94 Drawable getThemeUpIndicator(Activity activity); argument
95 Object setActionBarUpIndicator(Object info, Activity activity, argument
97 Object setActionBarDescription(Object info, Activity activity, int contentDescRes); argument
102 public Drawable getThemeUpIndicator(Activity activity) { argument
107 public Object setActionBarUpIndicator(Object info, Activity activity, argument
114 public Object setActionBarDescription(Object info, Activity activity, int contentDescRes) { argument
122 public Drawable getThemeUpIndicator(Activity activity) { argument
123 return ActionBarDrawerToggleHoneycomb.getThemeUpIndicator(activity);
127 public Object setActionBarUpIndicator(Object info, Activity activity, argument
129 return ActionBarDrawerToggleHoneycomb.setActionBarUpIndicator(info, activity,
134 setActionBarDescription(Object info, Activity activity, int contentDescRes) argument
190 ActionBarDrawerToggle(Activity activity, DrawerLayout drawerLayout, int drawerImageRes, int openDrawerContentDescRes, 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
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 DShareCompat.java42 * about the activity that invoked a social sharing action.
45 * intent that always includes data about the calling activity and app.
46 * This lets the called activity provide attribution for the app that shared
48 * To obtain an IntentBuilder with info about your calling activity, use the static
53 * used to launch an activity. You can also obtain a Drawable for the caller's
61 * When an activity is started using startActivityForResult this is redundant info.
71 * Intent extra that stores the {@link ComponentName} of the calling activity for
169 * @param calledActivity Current activity that was launched to share content
181 * Retrieve the ComponentName of the activity that launched calledActivity from a share intent.
189 * @param calledActivity Current activity tha
671 from(Activity activity) argument
675 IntentReader(Activity activity) argument
[all...]
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java60 * Intent to start an activity when a tag with NDEF payload is discovered.
67 * most specific intent filters possible to avoid the activity chooser dialog, which can
81 * Intent to start an activity when a tag is discovered and activities are registered for the
84 * <p>To receive this intent an activity must include an intent filter
88 * &lt;activity android:name=".nfc.TechFilter" android:label="NFC/TechFilter"&gt;
97 * &lt;/activity&gt;</pre>
106 * activity is considered a match is any single <code>tech-list</code> matches the tag that was
137 * Intent to start an activity when a tag is discovered.
146 * Broadcast to only the activity that handles ACTION_TAG_DISCOVERED
314 * A callback to be invoked when the system finds a tag while the foreground activity i
741 setBeamPushUris(Uri[] uris, Activity activity) argument
817 setBeamPushUrisCallback(CreateBeamUrisCallback callback, Activity activity) argument
895 setNdefPushMessage(NdefMessage message, Activity activity, Activity ... activities) argument
924 setNdefPushMessage(NdefMessage message, Activity activity, int flags) argument
996 setNdefPushMessageCallback(CreateNdefMessageCallback callback, Activity activity, Activity ... activities) argument
1025 setNdefPushMessageCallback(CreateNdefMessageCallback callback, Activity activity, int flags) argument
1070 setOnNdefPushCompleteCallback(OnNdefPushCompleteCallback callback, Activity activity, Activity ... activities) argument
1129 enableForegroundDispatch(Activity activity, PendingIntent intent, IntentFilter[] filters, String[][] techLists) argument
1165 disableForegroundDispatch(Activity activity) argument
1178 disableForegroundDispatchInternal(Activity activity, boolean force) argument
1211 enableReaderMode(Activity activity, ReaderCallback callback, int flags, Bundle extras) argument
1223 disableReaderMode(Activity activity) argument
1254 enableForegroundNdefPush(Activity activity, NdefMessage message) argument
1282 disableForegroundNdefPush(Activity activity) argument
1397 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.
651 * Called by the {@link PreferenceManager} to dispatch the activity sto
[all...]
/frameworks/base/core/java/android/print/
H A DPrintManager.java76 * PrintAttributes)} from an activity which results in bringing up the system print
111 * The action for launching the print dialog activity.
350 * your activity is finished. The rationale is that once the activity that
352 * state as it may depend on the UI presented by the activity.
376 throw new IllegalStateException("Can print only from an activity");
399 Log.e(LOG_TAG, "Couldn't start print job config activity.", sie);
478 public PrintDocumentAdapterDelegate(Activity activity, argument
480 mActivity = activity;
631 public void onActivityPaused(Activity activity) { argument
636 onActivityCreated(Activity activity, Bundle savedInstanceState) argument
641 onActivityStarted(Activity activity) argument
646 onActivityResumed(Activity activity) argument
651 onActivityStopped(Activity activity) argument
656 onActivitySaveInstanceState(Activity activity, Bundle outState) argument
661 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.java61 * For example, choosing a share activity can be implemented by a single backing
82 * // Set an intent to choose a an activity for.
129 * Listener for choosing an activity.
134 * Called when an activity has been chosen. The client can decide whether
135 * an activity can be chosen and if so the caller of
144 * @param intent The intent for launching the chosen activity.
173 * Attribute for the activity.
175 private static final String ATTRIBUTE_ACTIVITY = "activity";
199 * The amount with which to inflate a chosen activity when set as default.
255 * The intent for which a activity i
426 getActivityIndex(ResolveInfo activity) argument
779 public final ComponentName activity; field in class:ActivityChooserModel.HistoricalRecord
[all...]
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java180 * be used to start the corresponding user interface activity.
883 * @param activity The {@link Activity} context to use for launching a new
913 final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) {
921 return new AmsTask(activity, handler, callback) {
1118 * @param activity The {@link Activity} context to use for launching a new
1128 * these fields if activity was specified and an account was created:
1134 * If no activity was specified, the returned Bundle contains only
1150 final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) {
1158 return new AmsTask(activity, handler, callback) {
1161 requiredFeatures, activity !
911 getAuthToken( final Account account, final String authTokenType, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1147 addAccount(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1271 confirmCredentials(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1285 confirmCredentialsAsUser(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler, UserHandle userHandle) argument
1347 updateCredentials(final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1398 editProperties(final String accountType, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1457 AmsTask(Activity activity, Handler handler, AccountManagerCallback<Bundle> callback) argument
1926 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...]
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp162 void android_NativeActivity_finish(ANativeActivity* activity) { argument
163 NativeCode* code = static_cast<NativeCode*>(activity);
168 ANativeActivity* activity, int32_t format) {
169 NativeCode* code = static_cast<NativeCode*>(activity);
174 ANativeActivity* activity, int32_t values, int32_t mask) {
175 NativeCode* code = static_cast<NativeCode*>(activity);
180 ANativeActivity* activity, int32_t flags) {
181 NativeCode* code = static_cast<NativeCode*>(activity);
186 ANativeActivity* activity, int32_t flags) {
187 NativeCode* code = static_cast<NativeCode*>(activity);
167 android_NativeActivity_setWindowFormat( ANativeActivity* activity, int32_t format) argument
173 android_NativeActivity_setWindowFlags( ANativeActivity* activity, int32_t values, int32_t mask) argument
179 android_NativeActivity_showSoftInput( ANativeActivity* activity, int32_t flags) argument
185 android_NativeActivity_hideSoftInput( ANativeActivity* activity, int32_t flags) argument
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockPackageManager.java525 int match, ComponentName[] set, ComponentName activity) {
534 int match, ComponentName[] set, ComponentName activity) {
524 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
533 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument

Completed in 563 milliseconds

12345