Searched refs:activity (Results 101 - 125 of 227) sorted by relevance

12345678910

/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(
H A DPrinterRegistry.java54 public PrinterRegistry(Activity activity, Runnable readyCallback) { argument
55 mActivity = activity;
57 mHandler = new MyHandler(activity.getMainLooper());
58 activity.getLoaderManager().initLoader(LOADER_ID_PRINTERS_LOADER,
H A DPrintErrorFragment.java89 Activity activity = getActivity();
90 if (activity instanceof OnActionListener) {
/frameworks/base/core/java/android/app/
H A DLocalActivityManager.java55 Intent intent; // Which activity to run here.
56 ActivityInfo activityInfo; // Package manager info about activity.
57 Activity activity; // Currently instantiated activity. field in class:LocalActivityManager.LocalActivityRecord
60 int curState = RESTORED; // Current state the activity is in.
72 /** The containing activity that owns the activities we create. */
75 /** The activity that is currently resumed. */
84 /** True if only one activity can be resumed at a time */
103 * of one activity resumed
118 // Get the lastNonConfigurationInstance for the activity
[all...]
H A DFragmentHostCallback.java51 this(null /*activity*/, context, handler, windowAnimations);
54 FragmentHostCallback(Activity activity) { argument
55 this(activity, activity /*context*/, activity.mHandler, 0 /*windowAnimations*/);
58 FragmentHostCallback(Activity activity, Context context, Handler handler, argument
60 mActivity = activity;
109 * Invalidates the activity's options menu.
123 "Starting activity with a requestCode requires a FragmentActivity host");
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DSystemBarScrimViews.java37 public SystemBarScrimViews(Activity activity, RecentsConfiguration config) { argument
39 mStatusBarScrimView = activity.findViewById(R.id.status_bar_scrim);
40 mNavBarScrimView = activity.findViewById(R.id.nav_bar_scrim);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DThinPatchesActivity.java50 public PatchView(Activity activity) { argument
51 super(activity);
53 final Resources resources = activity.getResources();
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatDelegate.java112 * Create a {@link android.support.v7.app.AppCompatDelegate} to use with {@code activity}.
116 public static AppCompatDelegate create(Activity activity, AppCompatCallback callback) { argument
117 return create(activity, activity.getWindow(), callback);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DAbortReceiver.java17 package android.app.activity;
H A DRemoteReceiver.java17 package android.app.activity;
H A DSetTimeZonePermissionsTest.java17 package android.app.activity;
H A DTestedActivity.java17 package android.app.activity;
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
H A DEffectsVideoCapture.java78 private void verify(CameraEffectsRecordingSample activity, Uri uri) throws Exception { argument
82 retriever.setDataSource(activity, uri);
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbDebuggingSecondaryUserActivity.java60 public UsbDisconnectedReceiver(Activity activity) { argument
61 mActivity = activity;
/frameworks/base/services/core/java/com/android/server/pm/
H A DPersistentPreferredActivity.java41 PersistentPreferredActivity(IntentFilter filter, ComponentName activity) { argument
43 mComponent = activity;
52 "Bad activity name " + shortComponent +
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
H A DSamplesList.java36 static Map<String,?> makeSample(String name, Class<?> activity, int resourceId) { argument
39 ret.put(KEY_CLASS, activity);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/
H A DRecyclerViewTest.java34 final Activity activity = getActivity();
38 activity.setContentView(layoutId);
/frameworks/base/core/java/android/widget/
H A DShareActionProvider.java146 * not rely on the default behavior which is to launch the activity.
210 ResolveInfo activity = dataModel.getActivity(i);
211 subMenu.add(0, i, i, activity.loadLabel(packageManager))
212 .setIcon(activity.loadIcon(packageManager))
222 ResolveInfo activity = dataModel.getActivity(i);
223 expandedSubMenu.add(0, i, i, activity.loadLabel(packageManager))
224 .setIcon(activity.loadIcon(packageManager))
315 * Set the activity chooser policy of the model backed by the current
/frameworks/data-binding/library/src/main/java/android/databinding/
H A DDataBindingUtil.java266 * @param activity The Activity whose content View should change.
271 public static <T extends ViewDataBinding> T setContentView(Activity activity, int layoutId) { argument
272 return setContentView(activity, layoutId, sDefaultComponent);
280 * @param activity The Activity whose content View should change.
285 public static <T extends ViewDataBinding> T setContentView(Activity activity, int layoutId, argument
288 View decorView = activity.getWindow().getDecorView();
290 T binding = inflate(activity.getLayoutInflater(), layoutId, contentView, false,
292 activity.setContentView(binding.getRoot(), binding.getRoot().getLayoutParams());
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentHostCallback.java51 this(null /*activity*/, context, handler, windowAnimations);
54 FragmentHostCallback(FragmentActivity activity) { argument
55 this(activity, activity /*context*/, activity.mHandler, 0 /*windowAnimations*/);
58 FragmentHostCallback(Activity activity, Context context, Handler handler, argument
60 mActivity = activity;
102 * Invalidates the activity's options menu.
115 "Starting activity with a requestCode requires a FragmentActivity host");
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DShareActionProvider.java164 * not rely on the default behavior which is to launch the activity.
228 ResolveInfo activity = dataModel.getActivity(i);
229 subMenu.add(0, i, i, activity.loadLabel(packageManager))
230 .setIcon(activity.loadIcon(packageManager))
240 ResolveInfo activity = dataModel.getActivity(i);
241 expandedSubMenu.add(0, i, i, activity.loadLabel(packageManager))
242 .setIcon(activity.loadIcon(packageManager))
336 * Set the activity chooser policy of the model backed by the current
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java187 * be used to start the corresponding user interface activity.
873 * @param activity The {@link Activity} context to use for launching a new
883 * {@link #KEY_BOOLEAN_RESULT} if activity was specified and an account
884 * was removed or if active. If no activity was specified, the returned
887 * needs the activity launch. If an error occurred,
898 final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) {
900 return new AmsTask(activity, handler, callback) {
903 mService.removeAccount(mResponse, account, activity != null);
941 final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler,
947 return new AmsTask(activity, handle
897 removeAccount(final Account account, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
940 removeAccountAsUser(final Account account, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler, final UserHandle userHandle) argument
1261 getAuthToken( final Account account, final String authTokenType, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1497 addAccount(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1520 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
1685 confirmCredentials(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1699 confirmCredentialsAsUser(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler, UserHandle userHandle) argument
1762 updateCredentials(final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1817 editProperties(final String accountType, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1876 AmsTask(Activity activity, Handler handler, AccountManagerCallback<Bundle> callback) argument
2351 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/services/core/java/com/android/server/am/
H A DPendingIntentRecord.java58 final ActivityRecord activity; field in class:PendingIntentRecord.Key
76 activity = _a;
125 if (activity != other.activity) {
216 // Cannot start a child activity if the parent is not resumed.
286 if (key.activity.task.stack != null) {
287 key.activity.task.stack.sendActivityResultLocked(-1, key.activity,
359 if (key.activity != null || key.who != null) {
360 pw.print(prefix); pw.print("activity
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBackgroundManager.java357 * When the layer drawable is translucent (activity transition) then we can avoid the slow
591 public static BackgroundManager getInstance(Activity activity) { argument
592 if (activity instanceof FragmentActivity) {
593 return getSupportInstance((FragmentActivity) activity);
595 BackgroundFragment fragment = (BackgroundFragment) activity.getFragmentManager()
605 return new BackgroundManager(activity, false);
608 private static BackgroundManager getSupportInstance(FragmentActivity activity) { argument
609 BackgroundSupportFragment fragment = (BackgroundSupportFragment) activity
619 return new BackgroundManager(activity, true);
622 private BackgroundManager(Activity activity, boolea argument
658 createFragment(Activity activity) argument
675 createSupportFragment(FragmentActivity activity) argument
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DSaveFragment.java116 final DocumentsActivity activity = DocumentsActivity.get(SaveFragment.this);
118 activity.onSaveRequested(mReplaceTarget);
122 activity.onSaveRequested(mimeType, displayName);

Completed in 1029 milliseconds

12345678910