/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | SelectionManager.java | 52 public SelectionManager(AbstractGalleryActivity activity, boolean isAlbumSet) { argument 53 mDataManager = activity.getDataManager();
|
/packages/apps/UnifiedEmail/ |
H A D | Android.mk | 21 photo_dir := ../../../frameworks/opt/photoviewer/res ../../../frameworks/opt/photoviewer/activity/res
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | FolderWatcher.java | 63 * @param activity Upstream activity 66 public FolderWatcher(RestrictedActivity activity, BaseAdapter consumer) { argument 67 mActivity = activity;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | RecentFolderList.java | 128 * @param context the context for the activity 137 * Initialize the {@link RecentFolderList} with a controllable activity. 138 * @param activity the underlying activity 140 public void initialize(ControllableActivity activity){ argument 141 setCurrentAccount(mAccountObserver.initialize(activity.getAccountController()));
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | TabBar.java | 89 public TabBar(Activity activity, UiController controller, XLargeUi ui) { argument 90 super(activity); 91 mActivity = activity; 95 Resources res = activity.getResources(); 101 LayoutInflater factory = LayoutInflater.from(activity);
|
H A D | PieControl.java | 73 public PieControl(Activity activity, UiController controller, BaseUi ui) { argument 74 mActivity = activity; 76 mItemSize = (int) activity.getResources().getDimension(R.dimen.qc_item_size);
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
H A D | MonthByWeekFragment.java | 233 public void onAttach(Activity activity) { argument 234 super.onAttach(activity); 241 ViewConfiguration viewConfig = ViewConfiguration.get(activity); 243 Resources res = activity.getResources(); 244 mShowCalendarControls = Utils.getConfigBool(activity, R.bool.show_calendar_controls);
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
H A D | WifiP2pSettings.java | 180 final Activity activity = getActivity(); 183 mChannel = mWifiP2pManager.initialize(activity, getActivity().getMainLooper(), null); 556 Activity activity = getActivity(); 557 if (activity != null) activity.invalidateOptionsMenu();
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | SelectedConversationsActionMenu.java | 77 * Context of the activity. A dialog requires the context of an activity rather than the global 99 ControllableActivity activity, ConversationSelectionSet selectionSet, Folder folder) { 100 mActivity = activity; 101 mListController = activity.getListHandler(); 109 mAccount = mAccountObserver.initialize(activity.getAccountController()); 112 mUpdater = activity.getConversationUpdater(); 241 // the action mode is not refreshed when activity's options menu is invalidated. 98 SelectedConversationsActionMenu( ControllableActivity activity, ConversationSelectionSet selectionSet, Folder folder) argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
H A D | SettingsFragment.java | 271 final Activity activity = getActivity(); 272 if (activity == null) { 275 Log.w(TAG, "onSharedPreferenceChanged called before activity starts."); 278 (new BackupManager(activity)).dataChanged(); 496 final Activity activity = getActivity(); 497 final TreeSet<String> localeList = UserDictionaryList.getUserDictionaryLocalesSet(activity);
|
/packages/apps/Mms/src/com/android/mms/data/ |
H A D | WorkingMessage.java | 204 private WorkingMessage(ComposeMessageActivity activity) { argument 205 mActivity = activity; 207 mStatusListener = activity; 215 public static WorkingMessage createEmpty(ComposeMessageActivity activity) { argument 217 WorkingMessage msg = new WorkingMessage(activity); 225 public static WorkingMessage load(ComposeMessageActivity activity, Uri uri) { argument 228 PduPersister persister = PduPersister.getPduPersister(activity); 240 WorkingMessage msg = new WorkingMessage(activity); 294 public static WorkingMessage loadDraft(ComposeMessageActivity activity, argument 299 final WorkingMessage msg = createEmpty(activity); [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AccountSettings.java | 17 package com.android.email.activity.setup; 44 import com.android.email.activity.ActivityHelper; 63 * This activity uses the following fragments: 83 // Intent extras for our internal activity launch 351 // the activity title. 714 // Use startPreferenceFragment here because we need to keep this activity instance 731 // Use startPreferenceFragment here because we need to keep this activity instance 831 final AccountSettings activity = (AccountSettings) getActivity(); 835 return new AlertDialog.Builder(activity) 845 activity [all...] |
H A D | AccountSettingsFragment.java | 17 package com.android.email.activity.setup; 187 public void onAttach(Activity activity) { argument 188 super.onAttach(activity); 189 mContext = activity; 209 // If not, activity must call startLoadingAccount() directly 596 final Activity activity = getActivity(); 597 if (activity != null) { 598 activity.runOnUiThread(new Runnable() {
|
H A D | AccountSetupOptions.java | 17 package com.android.email.activity.setup; 41 import com.android.email.activity.ActivityHelper; 42 import com.android.email.activity.UiUtilities; 360 * This is called after the AccountSecurity activity completes.
|
H A D | AccountCheckSettingsFragment.java | 17 package com.android.email.activity.setup; 102 * Callback interface for any target or activity doing account check settings 146 * to a new activity. 187 * when the fragment is being propagated between activity instances. 205 * This is called right before the fragment is detached from its current activity instance. 216 * attached to an activity, update the progress immediately; If not, simply hold the 235 // 3. report OK back to target fragment or activity 273 // 3. report back to target fragment or activity 296 * Find the callback target, either a target fragment or the activity 303 Activity activity [all...] |
H A D | AccountSetupIncomingFragment.java | 17 package com.android.email.activity.setup; 39 import com.android.email.activity.UiUtilities; 595 final AccountSetupIncoming activity = (AccountSetupIncoming) getActivity(); 596 activity.onAutoDiscoverComplete(result, setupData);
|
H A D | EditQuickResponseDialog.java | 17 package com.android.email.activity.setup;
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | Utils.java | 778 * @param fromWhere Information about the activity the user was in 790 // Add the activity specific information parameter. 934 public static void sendFeedback(FeedbackEnabledActivity activity, Account account, argument 936 if (activity != null && account != null) { 937 sendFeedback(activity, account.sendFeedbackIntentUri, reportingProblem); 940 public static void sendFeedback(FeedbackEnabledActivity activity, Uri feedbackIntentUri, argument 942 if (activity != null && !isEmpty(feedbackIntentUri)) { 946 final Bitmap screenBitmap = getReducedSizeBitmap(activity); 951 openUrl(activity.getActivityContext(), feedbackIntentUri, optionalExtras); 956 public static Bitmap getReducedSizeBitmap(FeedbackEnabledActivity activity) { argument [all...] |
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
H A D | TinyPlanetFragment.java | 63 * An activity that provides an editor UI to create a TinyPlanet image from a 307 final CameraActivity activity = (CameraActivity) getActivity(); 308 MediaSaveService mediaSaveService = activity.getMediaSaveService(); 315 activity.notifyNewMedia(uri);
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
H A D | ContactLoaderFragment.java | 131 public void onAttach(Activity activity) { argument 132 super.onAttach(activity); 133 mContext = activity; 365 // Hold the parent activity of this fragment in case this fragment is destroyed
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactBrowseListFragment.java | 177 public void onAttach(Activity activity) { argument 178 super.onAttach(activity); 179 mPrefs = PreferenceManager.getDefaultSharedPreferences(activity);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
H A D | SearchActivityView.java | 310 * Dismiss the activity if BACK is pressed when the search box is empty. 314 SearchActivity activity = getActivity(); 315 if (activity != null && event.getKeyCode() == KeyEvent.KEYCODE_BACK 326 activity.onBackPressed();
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
H A D | KeyboardLayoutDialogFragment.java | 66 public void onAttach(Activity activity) { argument 67 super.onAttach(activity); 69 Context context = activity.getBaseContext();
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | ContactStatusLoader.java | 17 package com.android.email.activity;
|
H A D | InsertQuickResponseDialog.java | 17 package com.android.email.activity; 65 * the parent activity must implement {@link Callback}. 88 // If target not set, the parent activity MUST implement Callback. Fail-fast if not.
|