Searched defs:activity (Results 1 - 25 of 380) 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/Contacts/src/com/android/contacts/compat/
H A DMultiWindowCompat.java23 * Returns true if the activity is currently in multi-window mode.
25 public static boolean isInMultiWindowMode(Activity activity) { argument
26 return CompatUtils.isNCompatible() ? activity.isInMultiWindowMode() : false;
/packages/apps/Contacts/src-bind/com/android/contactsbind/
H A DFeatureHighlightHelper.java26 public static boolean showHamburgerFeatureHighlight(final FragmentActivity activity) { argument
30 public static boolean tryRemoveHighlight(final FragmentActivity activity) { argument
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/DeskClock/src/com/android/deskclock/actionbarmenu/
H A DMenuItemProvider.java29 MenuItemController provide(Activity activity); argument
/packages/apps/Dialer/java/com/android/dialer/compat/
H A DActivityCompat.java26 public static boolean isInMultiWindowMode(Activity activity) { argument
27 return VERSION.SDK_INT >= VERSION_CODES.N && activity.isInMultiWindowMode();
/packages/apps/Email/src/com/android/email/activity/
H A DEventViewer.java17 package com.android.email.activity;
/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();
73 activity
[all...]
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DRequestImportVCardPermissionsActivity.java43 * to prompt the user for these permissions. Moreover, finish the current activity.
49 public static boolean startPermissionActivity(Activity activity, boolean isCallerSelf) { argument
50 return startPermissionActivity(activity, REQUIRED_PERMISSIONS, isCallerSelf,
H A DRequestDesiredPermissionsActivity.java48 * to prompt user for these permissions. After that calling activity is restarted
53 public static boolean startPermissionActivity(Activity activity) { argument
54 final Bundle extras = activity.getIntent().getExtras();
58 return startPermissionActivity(activity,
59 getPermissions(activity.getPackageManager()),
/packages/apps/Contacts/src/com/android/contacts/compat/telecom/
H A DTelecomManagerCompat.java33 * @param activity {@link Activity} used to start another activity for the given intent
37 public static void placeCall(@Nullable Activity activity, argument
39 if (activity == null || telecomManager == null || intent == null) {
46 activity.startActivityForResult(intent, 0);
/packages/apps/DeskClock/src/com/android/deskclock/controller/
H A DVoiceController.java32 * If the {@code activity} is currently hosting a voice interaction session, indicate the voice
35 * @param activity an Activity that may be hosting a voice interaction session
38 void notifyVoiceSuccess(Activity activity, String message) { argument
43 final VoiceInteractor voiceInteractor = activity.getVoiceInteractor();
51 * If the {@code activity} is currently hosting a voice interaction session, indicate the voice
54 * @param activity an Activity that may be hosting a voice interaction session
57 void notifyVoiceFailure(Activity activity, String message) { argument
62 final VoiceInteractor voiceInteractor = activity.getVoiceInteractor();
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
H A DDisplay.java31 public static float screenWidth(Activity activity) { argument
33 activity.getWindowManager().getDefaultDisplay().getSize(size);
/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/Settings/tests/robotests/src/com/android/settings/
H A DSetupChooseLockPatternTest.java85 private ChooseLockPatternFragment findFragment(Activity activity) { argument
87 activity.getFragmentManager().findFragmentById(R.id.main_content);
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DShadowDynamicIndexableContentMonitor.java20 public void register(Activity activity, int loaderId) { argument
/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/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);

Completed in 2176 milliseconds

1234567891011>>