/packages/apps/Email/src/com/android/email/activity/ |
H A D | UIControllerSearchTwoPane.java | 17 package com.android.email.activity; 25 public UIControllerSearchTwoPane(EmailActivity activity) { argument 26 super(activity);
|
H A D | FragmentInstallable.java | 17 package com.android.email.activity; 27 * Called when a {@link Fragment} wants to be installed to the host activity. 38 * Called when a {@link Fragment} wants to be uninstalled from the host activity.
|
H A D | ActivityHelper.java | 17 package com.android.email.activity; 30 import com.android.email.activity.setup.AccountSecurity; 55 * @param activity parent activity 62 public static boolean openUrlInMessage(Activity activity, String url, long senderAccountId) { argument 65 return MessageCompose.actionCompose(activity, url, senderAccountId); 72 intent.putExtra(Browser.EXTRA_APPLICATION_ID, activity.getPackageName()); 75 activity.startActivity(intent); 86 public static void openCalendar(Activity activity, long epochEventStartTime) { argument 92 activity 125 debugSetWindowFlags(Activity activity) argument [all...] |
H A D | NfcHandler.java | 17 package com.android.email.activity; 34 * enabled when the activity is in the foreground and resumed. 45 public static NfcHandler register(UIControllerBase controller, Activity activity) { argument 46 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity); 50 NfcHandler nfcHandler = new NfcHandler(controller, activity); 51 adapter.setNdefPushMessageCallback(nfcHandler, activity); 55 public NfcHandler(UIControllerBase controller, Activity activity) { argument 57 mActivity = activity;
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | MenuHelper.java | 80 private static void startCameraActivity(Activity activity, Intent intent, argument 84 intent.setClassName(activity.getPackageName(), className); 91 activity.startActivity(intent); 94 activity.startActivity(intent); 96 activity.overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out); 99 public static void gotoMode(int mode, Activity activity) { argument 118 startCameraActivity(activity, new Intent(action), className); 121 public static void gotoVideoMode(Activity activity, boolean resetEffect) { argument 124 startCameraActivity(activity, intent, VIDEO_CAMERA_CLASS); 127 public static void gotoCameraMode(Activity activity) { argument 132 gotoVideoMode(Activity activity, Intent intent) argument 136 gotoCameraMode(Activity activity, Intent intent) argument 140 gotoCameraImageGallery(Activity activity) argument 144 gotoCameraVideoGallery(Activity activity) argument 148 gotoGallery(Activity activity, int windowTitleId, int mediaTypes) argument [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
H A D | MonitoredActivity.java | 30 public void onActivityCreated(MonitoredActivity activity); argument 31 public void onActivityDestroyed(MonitoredActivity activity); argument 32 public void onActivityStarted(MonitoredActivity activity); argument 33 public void onActivityStopped(MonitoredActivity activity); argument 37 public void onActivityCreated(MonitoredActivity activity) { argument 40 public void onActivityDestroyed(MonitoredActivity activity) { argument 43 public void onActivityStarted(MonitoredActivity activity) { argument 46 public void onActivityStopped(MonitoredActivity activity) { argument
|
H A D | MenuHelper.java | 262 final Activity activity) { 282 Toast.makeText(activity, 296 activity.startActivity(new Intent( 315 Activity activity) { 343 setLatLngDetails(d, activity, exif); 368 final Activity activity) { 376 new AlertDialog.Builder(activity); 378 final View d = View.inflate(activity, R.layout.detailsview, 392 : Formatter.formatFileSize(activity, length); 419 activity 260 onShowMapClicked(MenuInvoker onInvoke, final Handler handler, final Activity activity) argument 314 showExifInformation(IImage image, View d, Activity activity) argument 366 onDetailsClicked(MenuInvoker onInvoke, final Handler handler, final Activity activity) argument 487 onCropClicked(MenuInvoker onInvoke, final Activity activity) argument 506 onSetAsClicked(MenuInvoker onInvoke, final Activity activity) argument 523 onImageShareClicked(MenuInvoker onInvoke, final Activity activity) argument 552 onViewPlayClicked(MenuInvoker onInvoke, final Activity activity) argument 566 onDeleteClicked(MenuInvoker onInvoke, final Activity activity, final Runnable onDelete) argument 577 addImageMenuItems( Menu menu, int inclusions, final Activity activity, final Handler handler, final Runnable onDelete, final MenuInvoker onInvoke) argument 762 deletePhoto(Activity activity, Runnable onDelete) argument 766 deleteImage( Activity activity, Runnable onDelete, IImage image) argument 771 deleteImpl( Activity activity, Runnable onDelete, boolean isImage) argument 821 addCapturePictureMenuItems(Menu menu, final Activity activity) argument 832 onCapturePictureClicked(Activity activity) argument 843 addCaptureVideoMenuItems(Menu menu, final Activity activity) argument 854 onCaptureVideoClicked(Activity activity) argument 865 addCaptureMenuItems(Menu menu, final Activity activity) argument 887 showStorageToast(Activity activity) argument 891 showStorageToast(Activity activity, int remaining) argument [all...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastOptOutActivity.java | 27 * 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/Calendar/extensions_src/com/android/calendar/extensions/ |
H A D | AboutPreferences.java | 35 final Activity activity = getActivity(); 38 activity.getPackageManager().getPackageInfo(activity.getPackageName(), 0);
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | QuickResponseSettings.java | 70 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/Contacts/src/com/android/contacts/util/ |
H A D | AccountPromptUtils.java | 95 public static void launchAccountPrompt(Activity activity) { argument 97 options.putCharSequence(KEY_INTRO_MESSAGE, activity.getString(R.string.no_account_prompt)); 99 AccountManager.get(activity).addAccount(GoogleAccountType.ACCOUNT_TYPE, null, null, options, 100 activity, getAccountManagerCallback(activity), null); 104 final Activity activity) { 110 activity.finish(); 116 AccountPromptUtils.neverShowAccountPromptAgain(activity); 103 getAccountManagerCallback( final Activity activity) argument
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
H A D | AndroidBeam.java | 47 Activity activity = getActivity(); 49 mActionBarSwitch = new Switch(activity); 51 if (activity instanceof PreferenceActivity) { 52 PreferenceActivity preferenceActivity = (PreferenceActivity) activity; 53 final int padding = activity.getResources().getDimensionPixelSize( 56 activity.getActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM, 58 activity.getActionBar().setCustomView(mActionBarSwitch, new ActionBar.LayoutParams( 64 activity.getActionBar().setTitle(R.string.android_beam_settings_title);
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
H A D | RecordUtils.java | 50 public Activity activity; field in class:RecordUtils.ClickInfo 53 public ClickInfo(Activity activity, Intent intent) { argument 54 this.activity = activity; 63 public static View getViewsForIntent(Activity activity, LayoutInflater inflater, argument 66 PackageManager pm = activity.getPackageManager(); 75 return buildActivityView(activity, activities.get(0), pm, inflater, parent, listener, 79 LinearLayout container = new LinearLayout(activity); 84 // Create an entry for each activity that can handle the URI 95 container.addView(buildActivityView(activity, resolveInf 105 buildActivityView(Activity activity, ResolveInfo resolveInfo, PackageManager pm, LayoutInflater inflater, ViewGroup parent, OnClickListener listener, Intent intent, String defaultText) argument [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
H A D | UserDictionaryList.java | 45 static TreeSet<String> getUserDictionaryLocalesSet(Activity activity) { argument 47 final Cursor cursor = activity.managedQuery(UserDictionary.Words.CONTENT_URI, 70 final Activity activity = getActivity(); 73 UserDictionaryList.getUserDictionaryLocalesSet(activity); 76 userDictGroup.addPreference(createUserDictionaryPreference(null, activity)); 79 userDictGroup.addPreference(createUserDictionaryPreference(locale, activity)); 89 protected Preference createUserDictionaryPreference(String locale, Activity activity) { argument
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | NfcHandler.java | 32 * when the activity is in the foreground and resumed. 45 public static void register(Activity activity, Controller controller) { argument 46 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity.getApplicationContext()); 55 adapter.setNdefPushMessageCallback(handler, activity); 58 public static void unregister(Activity activity) { argument 60 // the callback and release the ref to out activity. 61 register(activity, null);
|
H A D | DownloadHandler.java | 50 * @param activity Activity requesting the download. 58 public static void onDownloadStart(Activity activity, String url, argument 70 ResolveInfo info = activity.getPackageManager().resolveActivity(intent, 73 ComponentName myName = activity.getComponentName(); 83 activity.startActivity(intent); 87 Log.d(LOGTAG, "activity not found for " + mimetype 97 onDownloadStartNoStream(activity, url, userAgent, contentDisposition, 134 * @param activity Activity requesting the download. 142 /*package */ static void onDownloadStartNoStream(Activity activity, argument 157 msg = activity [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | ChooseLockSettingsHelper.java | 34 public ChooseLockSettingsHelper(Activity activity) { argument 35 mActivity = activity; 36 mLockPatternUtils = new LockPatternUtils(activity); 39 public ChooseLockSettingsHelper(Activity activity, Fragment fragment) { argument 40 this(activity); 52 * @return true if one exists and we launched an activity to confirm it 77 * @return true if we launched an activity to confirm pattern 99 * @return true if we launched an activity to confirm password
|
/packages/apps/Camera/tests/src/com/android/camera/functional/ |
H A D | CameraTest.java | 65 Activity activity = getInstrumentation().startActivitySync(intent); 66 refs.add(new WeakReference<Activity>(activity)); 67 activity.finish(); 69 activity = null; 78 // If applications are leaking activity, every reference is reachable.
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | GroupCreationDialogFragment.java | 93 Activity activity = getActivity(); 94 activity.startService(ContactSaveService.createNewGroupIntent(activity, 97 activity.getClass(), Intent.ACTION_EDIT));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
H A D | FeedbackFragment.java | 54 final Activity activity = FeedbackFragment.this.getActivity(); 55 activity.finish(); 65 final Activity activity = FeedbackFragment.this.getActivity(); 66 activity.finish();
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | RotateTextToast.java | 35 public RotateTextToast(Activity activity, int textResourceId, int orientation) { argument 36 mLayoutRoot = (ViewGroup) activity.getWindow().getDecorView(); 37 LayoutInflater inflater = activity.getLayoutInflater();
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
H A D | MessageFileViewTest.java | 17 package com.android.email.activity; 72 * Set up an EML file, and open it in the activity. 79 final MessageFileView activity = getActivity(); 84 MessageFileViewFragment f = activity.getFragment();
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | CacheStorageUsageInfo.java | 47 public CacheStorageUsageInfo(AbstractGalleryActivity activity) { argument 48 mActivity = activity; 49 mContext = activity.getAndroidContext();
|
H A D | PreparePageFadeoutTexture.java | 60 public static void prepareFadeOutTexture(AbstractGalleryActivity activity, argument 64 GLRoot root = activity.getGLRoot(); 77 activity.getTransitionStore().put(KEY_FADE_TEXTURE, texture);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | RotateTextToast.java | 35 public RotateTextToast(Activity activity, int textResourceId, int orientation) { argument 36 mLayoutRoot = (ViewGroup) activity.getWindow().getDecorView(); 37 LayoutInflater inflater = activity.getLayoutInflater();
|