Searched defs:activity (Results 1 - 25 of 298) sorted by relevance

1234567891011>>

/packages/apps/Email/provider_src/com/android/email/activity/setup/
H A DForwardingIntent.java17 package com.android.email.activity.setup;
26 public ForwardingIntent(Context activity, Class klass) { argument
27 super(activity, klass);
/packages/apps/Camera/tests/src/com/android/camera/activity/
H A DCameraActivityTest.java17 package com.android.camera.activity;
49 // Force the activity to finish.
/packages/apps/Camera2/tests_camera/src/com/android/camera/activity/
H A DCameraActivityTest.java17 package com.android.camera.activity;
48 // Force the activity to finish.
/packages/apps/Email/src/com/android/email/activity/
H A DEventViewer.java17 package com.android.email.activity;
H A DComposeActivityEmail.java17 package com.android.email.activity;
H A DInsertQuickResponseDialog.java17 package com.android.email.activity;
66 * the parent activity must implement {@link Callback}.
89 // If target not set, the parent activity MUST implement Callback. Fail-fast if not.
/packages/apps/ContactsCommon/src/com/android/contacts/common/activity/
H A DRequestImportVCardPermissionsActivity.java17 package com.android.contacts.common.activity;
46 * to prompt the user for these permissions. Moreover, finish the current activity.
50 public static boolean startPermissionActivity(Activity activity) { argument
51 return startPermissionActivity(activity, REQUIRED_PERMISSIONS,
H A DRequestPermissionsActivity.java17 package com.android.contacts.common.activity;
51 public static boolean startPermissionActivity(Activity activity) { argument
52 return startPermissionActivity(activity, REQUIRED_PERMISSIONS,
H A DRequestPermissionsActivityBase.java17 package com.android.contacts.common.activity;
63 // Only start a requestPermissions() flow when first starting this activity the first time.
73 * to prompt the user for these permissions. Moreover, finish the current activity.
77 protected static boolean startPermissionActivity(Activity activity, argument
79 if (!RequestPermissionsActivity.hasPermissions(activity, requiredPermissions)) {
80 final Intent intent = new Intent(activity, newActivityClass);
81 intent.putExtra(PREVIOUS_ACTIVITY_INTENT, activity.getIntent());
82 activity.startActivity(intent);
83 activity.finish();
91 AccountTypeManager.getInstance(activity);
[all...]
H A DTransactionSafeActivity.java17 package com.android.contacts.common.activity;
58 * Make sure that the current activity calls into
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastOptOutActivity.java27 * Container activity for CMAS opt-in/opt-out alert dialog.
35 Log.d(TAG, "created activity");
40 * Show the opt-out dialog. Uses the CellBroadcastAlertDialog activity unless the device is
45 static void showOptOutDialog(final Activity activity) { argument
46 AlertDialog.Builder builder = new AlertDialog.Builder(activity);
53 activity.finish();
61 Intent intent = new Intent(activity, CellBroadcastSettings.class);
62 activity.startActivity(intent);
63 activity.finish();
/packages/apps/Contacts/src/com/android/contactsbind/
H A DHelpUtils.java22 * Utility for starting help and feedback activity. This stub class is designed to be overwritten
36 public static void launchHelpAndFeedbackForMainScreen(Activity activity) { } argument
38 public static void launchHelpAndFeedbackForContactScreen(Activity activity) { } argument
/packages/apps/Email/src/com/android/email/activity/setup/
H A DGeneralPreferences.java17 package com.android.email.activity.setup;
H A DAccountSettingsEditQuickResponsesFragment.java17 package com.android.email.activity.setup;
20 import com.android.email.activity.UiUtilities;
46 * edit, and delete quick responses. Owning activity must:
70 public void onAttach(Activity activity) { argument
71 super.onAttach(activity);
/packages/apps/Messaging/src/com/android/messaging/util/
H A DBugleActivityUtil.java34 * Utility class including logic to verify requirements to run Bugle and other activity startup
35 * logic. Called from base Bugle activity classes.
45 * @param activity is used to launch an error Dialog if necessary
49 public static boolean onActivityResume(Context context, Activity activity) { argument
54 return checkHasSmsPermissionsForUser(context, activity);
61 * @param activity is the Activity used to launch an error Dialog if necessary
64 private static boolean checkHasSmsPermissionsForUser(Context context, Activity activity) { argument
71 new AlertDialog.Builder(activity)
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DControllerFactory.java31 public static ActivityController forActivity(MailActivity activity, ViewMode viewMode, argument
33 return isTabletDevice ? new TwoPaneController(activity, viewMode)
34 : new OnePaneController(activity, viewMode);
H A DConversationListHelper.java35 final Context context, final ControllableActivity activity, final Account account) {
42 conversationSyncDisabledTipView.bindAccount(account, activity);
47 conversationsInOutboxTipView.bind(account, activity.getFolderSelector());
60 nestedFolderTeaserView.bind(account, activity.getFolderSelector());
34 makeConversationListSpecialViews( final Context context, final ControllableActivity activity, final Account account) argument
/packages/apps/Calendar/src/com/android/calendar/
H A DQuickResponseSettings.java70 public void onAttach(Activity activity) { argument
71 super.onAttach(activity);
72 ((CalendarSettingsActivity) activity).hideMenuButtons();
78 CalendarSettingsActivity activity = (CalendarSettingsActivity) getActivity();
79 if (!activity.isMultiPane()) {
80 activity.setTitle(R.string.quick_response_settings_title);
/packages/apps/Camera/src/com/android/camera/ui/
H A DRotateTextToast.java35 public RotateTextToast(Activity activity, int textResourceId, int orientation) { argument
36 mLayoutRoot = (ViewGroup) activity.getWindow().getDecorView();
37 LayoutInflater inflater = activity.getLayoutInflater();
/packages/apps/Camera2/src/com/android/camera/
H A DFatalErrorHandlerImpl.java31 public FatalErrorHandlerImpl(Activity activity) { argument
32 mActivity = activity;
/packages/apps/Camera2/src_pd/com/android/camera/util/
H A DGoogleHelpHelper.java25 public GoogleHelpHelper(Activity activity) { argument
H A DReleaseHelper.java25 public static void showReleaseInfoDialogOnStart(Activity activity, argument
30 public static void showReleaseInfoDialog(Activity activity, Callback<Void> callback) { argument
/packages/apps/Contacts/src/com/android/contacts/
H A DNfcHandler.java38 * enabled when the activity is in the foreground and resumed.
51 public static void register(Activity activity, Uri contactUri) { argument
52 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity.getApplicationContext());
56 adapter.setNdefPushMessageCallback(new NfcHandler(activity, contactUri), activity);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DTimePickerFragment.java53 public void onAttach(Activity activity) { argument
54 super.onAttach(activity);
H A DVoice.java37 public static void notifySuccess(Activity activity, String message) { argument
39 sDelegate.notifySuccess(activity.getVoiceInteractor(), message);
43 public static void notifyFailure(Activity activity, String message) { argument
45 sDelegate.notifyFailure(activity.getVoiceInteractor(), message);

Completed in 614 milliseconds

1234567891011>>