Searched refs:activity (Results 76 - 100 of 227) sorted by relevance

12345678910

/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
H A DSharedLibraryMain.java55 * The dialog is displayed as a DialogFragment in your activity if a newer
58 public static boolean ensureVersion(final Activity activity, int minVersion) { argument
59 final FragmentManager fm = activity.getFragmentManager();
63 if (getVersion(activity) >= minVersion) {
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DPickFragment.java81 final DocumentsActivity activity = DocumentsActivity.get(PickFragment.this);
82 activity.onPickRequested(mPickTarget);
89 final BaseActivity activity = BaseActivity.get(PickFragment.this);
90 activity.setResult(Activity.RESULT_CANCELED);
91 activity.finish();
H A DCreateDirectoryFragment.java77 final BaseActivity activity = (BaseActivity) getActivity();
78 final DocumentInfo cwd = activity.getCurrentDirectory();
80 new CreateDirectoryTask(activity, cwd, displayName).executeOnExecutor(
95 BaseActivity activity, DocumentInfo cwd, String displayName) {
96 mActivity = activity;
94 CreateDirectoryTask( BaseActivity activity, DocumentInfo cwd, String displayName) argument
/frameworks/base/core/java/android/app/
H A DActivityThread.java145 * broadcasts, and other operations on it as the activity
219 // NOTE: The activity and window managers need to call in to
221 // which means this lock gets held while the activity and window managers
222 // holds their own lock. Thus you MUST NEVER call back into the activity manager
287 Activity activity; field in class:ActivityThread.ActivityClientRecord
329 if (activity != null) {
330 return activity.getApplicationInfo().targetSdkVersion
627 // we use token to identify this activity without having to send the
628 // activity itself back to the activity manage
2183 registerOnActivityPausedListener(Activity activity, OnActivityPausedListener listener) argument
2195 unregisterOnActivityPausedListener(Activity activity, OnActivityPausedListener listener) argument
2425 createBaseContextForActivity(ActivityClientRecord r, final Activity activity) argument
3408 ActivityClientRecord activity; field in class:ActivityThread.StopInfo
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteDialogPresenter.java41 public static DialogFragment showDialogFragment(Activity activity, argument
43 final MediaRouter router = (MediaRouter)activity.getSystemService(
45 final FragmentManager fm = activity.getFragmentManager();
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DClearTop.java17 package android.app.activity;
H A DLaunchpadTabActivity.java17 package android.app.activity;
H A DLocalDeniedReceiver.java17 package android.app.activity;
H A DLocalGrantedReceiver.java17 package android.app.activity;
H A DRemoteDeniedReceiver.java17 package android.app.activity;
H A DRemoteGrantedReceiver.java17 package android.app.activity;
H A DRemoteSubActivityScreen.java1 /* //device/apps/AndroidTests/src/com.android.unit_tests/activity/TestedScreen.java
18 package android.app.activity;
35 // We are running in a remote process, so want to have the sub-activity
/frameworks/base/services/core/java/com/android/server/am/
H A DConnectionRecord.java30 final ActivityRecord activity; // If non-null, the owning activity. field in class:ConnectionRecord
40 if (activity != null) {
41 pw.println(prefix + "activity=" + activity);
51 activity = _activity;
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DIsolatedService.java17 package com.google.android.test.activity;
H A DServiceUserTarget.java17 package com.google.android.test.activity;
H A DSingleUserService.java17 package com.google.android.test.activity;
H A DTrackTimeReceiver.java17 package com.google.android.test.activity;
H A DUserTarget.java17 package com.google.android.test.activity;
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
H A DMyActivity.java13 setContentView(R.layout.activity);
28 // as you specify a parent activity in AndroidManifest.xml.
/frameworks/support/v4/java/android/support/v4/app/
H A DActivityOptionsCompat.java34 * activity is displayed.
39 * incoming activity. Use 0 for no animation.
41 * outgoing activity. Use 0 for no animation.
43 * these options as the options Bundle when starting an activity.
55 * Create an ActivityOptions specifying an animation where the new activity is
64 * @param source The View that the new activity is animating from. This
66 * @param startX The x starting location of the new activity, relative to
68 * @param startY The y starting location of the activity, relative to source.
69 * @param startWidth The initial width of the new activity.
70 * @param startHeight The initial height of the new activity
131 makeSceneTransitionAnimation(Activity activity, View sharedElement, String sharedElementName) argument
158 makeSceneTransitionAnimation(Activity activity, Pair<View, String>... sharedElements) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DActivityChooserModel.java66 * For example, choosing a share activity can be implemented by a single backing
87 * // Set an intent to choose a an activity for.
134 * Listener for choosing an activity.
139 * Called when an activity has been chosen. The client can decide whether
140 * an activity can be chosen and if so the caller of
149 * @param intent The intent for launching the chosen activity.
178 * Attribute for the activity.
180 private static final String ATTRIBUTE_ACTIVITY = "activity";
204 * The amount with which to inflate a chosen activity when set as default.
265 * The intent for which a activity i
437 getActivityIndex(ResolveInfo activity) argument
788 public final ComponentName activity; field in class:ActivityChooserModel.HistoricalRecord
[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
766 public final ComponentName activity; field in class:ActivityChooserModel.HistoricalRecord
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DBaselineAlignmentZeroWidthAndWeightTest.java40 final Activity activity = getActivity();
41 mShowButton = (Button) activity.findViewById(R.id.show);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPreferredActivity.java38 PreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, argument
41 mPref = new PreferredComponent(this, match, set, activity, always);
/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

Completed in 742 milliseconds

12345678910