Home
last modified time | relevance | path

Searched refs:fragment (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/Email/src/com/android/email/activity/
DUIControllerBase.java296 public final void onInstallFragment(Fragment fragment) { in onInstallFragment() argument
298 Log.d(Logging.LOG_TAG, this + " onInstallFragment fragment=" + fragment); in onInstallFragment()
300 if (fragment instanceof MailboxListFragment) { in onInstallFragment()
301 installMailboxListFragment((MailboxListFragment) fragment); in onInstallFragment()
302 } else if (fragment instanceof MessageListFragment) { in onInstallFragment()
303 installMessageListFragment((MessageListFragment) fragment); in onInstallFragment()
304 } else if (fragment instanceof MessageViewFragment) { in onInstallFragment()
305 installMessageViewFragment((MessageViewFragment) fragment); in onInstallFragment()
312 protected void installMailboxListFragment(MailboxListFragment fragment) { in installMailboxListFragment() argument
313 mMailboxListFragment = fragment; in installMailboxListFragment()
[all …]
DUiUtilities.java133 public static void installFragment(Fragment fragment) { in installFragment() argument
134 final Activity a = fragment.getActivity(); in installFragment()
136 ((FragmentInstallable) a).onInstallFragment(fragment); in installFragment()
145 public static void uninstallFragment(Fragment fragment) { in uninstallFragment() argument
146 final Activity a = fragment.getActivity(); in uninstallFragment()
148 ((FragmentInstallable) a).onUninstallFragment(fragment); in uninstallFragment()
DUIControllerOnePane.java412 private void showFragment(Fragment fragment) { in showFragment() argument
416 && (fragment instanceof MessageViewFragment)) { in showFragment()
423 + " -> " + fragment); in showFragment()
454 Log.d(Logging.LOG_TAG, this + " showFragment: replacing with " + fragment); in showFragment()
456 ft.replace(R.id.fragment_placeholder, fragment); in showFragment()
538 protected void installMailboxListFragment(MailboxListFragment fragment) { in installMailboxListFragment() argument
540 super.installMailboxListFragment(fragment); in installMailboxListFragment()
544 protected void installMessageListFragment(MessageListFragment fragment) { in installMessageListFragment() argument
546 super.installMessageListFragment(fragment); in installMessageListFragment()
DFragmentInstallable.java35 public void onInstallFragment(Fragment fragment); in onInstallFragment() argument
43 public void onUninstallFragment(Fragment fragment); in onUninstallFragment() argument
DUIControllerTwoPane.java108 MessageListFragment fragment = getMessageListFragment(); in onCreateOptionsMenu() local
109 MessageListContext context = fragment == null ? null : fragment.getListContext(); in onCreateOptionsMenu()
344 protected void installMessageListFragment(MessageListFragment fragment) { in installMessageListFragment() argument
345 super.installMessageListFragment(fragment); in installMessageListFragment()
348 getMailboxListFragment().setHighlightedMailbox(fragment.getMailboxId()); in installMessageListFragment()
355 protected void installMessageViewFragment(MessageViewFragment fragment) { in installMessageViewFragment() argument
356 super.installMessageViewFragment(fragment); in installMessageViewFragment()
359 getMessageListFragment().setSelectedMessage(fragment.getMessageId()); in installMessageViewFragment()
DEmailActivity.java238 public void onInstallFragment(Fragment fragment) { in onInstallFragment() argument
240 Log.d(Logging.LOG_TAG, this + " onInstallFragment fragment=" + fragment); in onInstallFragment()
242 mUIController.onInstallFragment(fragment); in onInstallFragment()
247 public void onUninstallFragment(Fragment fragment) { in onUninstallFragment() argument
249 Log.d(Logging.LOG_TAG, this + " onUninstallFragment fragment=" + fragment); in onUninstallFragment()
251 mUIController.onUninstallFragment(fragment); in onUninstallFragment()
DShortcutPickerFragment.java221 ShortcutPickerFragment fragment = MailboxShortcutPickerFragment.newInstance( in selectAccountCursor() local
224 transaction.replace(R.id.shortcut_list, fragment); in selectAccountCursor()
333 MailboxShortcutPickerFragment fragment = new MailboxShortcutPickerFragment(); in newInstance() local
337 fragment.setArguments(args); in newInstance()
338 return fragment; in newInstance()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactSelectionActivity.java97 public void onAttachFragment(Fragment fragment) { in onAttachFragment() argument
98 if (fragment instanceof ContactEntryListFragment<?>) { in onAttachFragment()
99 mListFragment = (ContactEntryListFragment<?>) fragment; in onAttachFragment()
314 ContactPickerFragment fragment = new ContactPickerFragment(); in configureListFragment() local
315 fragment.setEditMode(true); in configureListFragment()
316 fragment.setDirectorySearchMode(DirectoryListLoader.SEARCH_MODE_NONE); in configureListFragment()
317 mListFragment = fragment; in configureListFragment()
322 ContactPickerFragment fragment = new ContactPickerFragment(); in configureListFragment() local
323 fragment.setIncludeProfile(mRequest.shouldIncludeProfile()); in configureListFragment()
324 mListFragment = fragment; in configureListFragment()
[all …]
DNonPhoneActivity.java50 final NonPhoneDialogFragment fragment = new NonPhoneDialogFragment(); in onCreate() local
51 fragment.setArguments(Bundle.forPair("PHONE_NUMBER", phoneNumber)); in onCreate()
52 getFragmentManager().beginTransaction().add(fragment, "Fragment").commitAllowingStateLoss(); in onCreate()
DDialtactsActivity.java665 public void onAttachFragment(Fragment fragment) { in onAttachFragment() argument
670 if (fragment instanceof DialpadFragment) { in onAttachFragment()
671 mDialpadFragment = (DialpadFragment) fragment; in onAttachFragment()
672 } else if (fragment instanceof CallLogFragment) { in onAttachFragment()
673 mCallLogFragment = (CallLogFragment) fragment; in onAttachFragment()
674 } else if (fragment instanceof PhoneFavoriteFragment) { in onAttachFragment()
675 mPhoneFavoriteFragment = (PhoneFavoriteFragment) fragment; in onAttachFragment()
681 } else if (fragment instanceof PhoneNumberPickerFragment) { in onAttachFragment()
682 mSearchFragment = (PhoneNumberPickerFragment) fragment; in onAttachFragment()
1209 final Fragment fragment = getFragmentAt(position); in sendFragmentVisibilityChange() local
[all …]
DJoinContactActivity.java76 public void onAttachFragment(Fragment fragment) { in onAttachFragment() argument
77 if (fragment instanceof JoinContactListFragment) { in onAttachFragment()
78 mListFragment = (JoinContactListFragment) fragment; in onAttachFragment()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DContactDeletionInteraction.java119 ContactDeletionInteraction fragment = in startWithTestLoaderManager() local
121 if (fragment == null) { in startWithTestLoaderManager()
122 fragment = new ContactDeletionInteraction(); in startWithTestLoaderManager()
123 fragment.setTestLoaderManager(testLoaderManager); in startWithTestLoaderManager()
124 fragment.setContactUri(contactUri); in startWithTestLoaderManager()
125 fragment.setFinishActivityWhenDone(finishActivityWhenDone); in startWithTestLoaderManager()
126 fragmentManager.beginTransaction().add(fragment, FRAGMENT_TAG) in startWithTestLoaderManager()
129 fragment.setTestLoaderManager(testLoaderManager); in startWithTestLoaderManager()
130 fragment.setContactUri(contactUri); in startWithTestLoaderManager()
131 fragment.setFinishActivityWhenDone(finishActivityWhenDone); in startWithTestLoaderManager()
[all …]
DImportExportDialogFragment.java66 final ImportExportDialogFragment fragment = new ImportExportDialogFragment(); in show() local
69 fragment.setArguments(args); in show()
70 fragment.show(fragmentManager, ImportExportDialogFragment.TAG); in show()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/
DSearchSettingsActivity.java73 String fragment = target.get(i).fragment; in onHeadersBuilt() local
74 if (DBG) Log.d(TAG, "fragment " + i + ": " + fragment); in onHeadersBuilt()
75 if (shortcutsFragment.equals(fragment)) { in onHeadersBuilt()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodPreference.java82 public InputMethodPreference(SettingsPreferenceFragment fragment, Intent settingsIntent, in InputMethodPreference() argument
84 super(fragment.getActivity(), null, R.style.InputMethodPreferenceStyle); in InputMethodPreference()
87 mFragment = fragment; in InputMethodPreference()
93 imi, fragment.getActivity(), imiCount); in InputMethodPreference()
196 Fragment fragment, String fragmentClass, int requestCode, Bundle extras) { in startFragment() argument
197 if (fragment.getActivity() instanceof PreferenceActivity) { in startFragment()
198 PreferenceActivity preferenceActivity = (PreferenceActivity)fragment.getActivity(); in startFragment()
199 preferenceActivity.startPreferencePanel(fragmentClass, extras, 0, null, fragment, in startFragment()
DSingleSpellCheckerPreference.java60 public SingleSpellCheckerPreference(SpellCheckersSettings fragment, Intent settingsIntent, in SingleSpellCheckerPreference() argument
62 super(fragment.getActivity(), null, 0); in SingleSpellCheckerPreference()
63 mFragment = fragment; in SingleSpellCheckerPreference()
64 mRes = fragment.getActivity().getResources(); in SingleSpellCheckerPreference()
DCheckBoxAndSettingsPreference.java77 public void setFragmentIntent(SettingsPreferenceFragment fragment, Intent intent) { in setFragmentIntent() argument
78 mFragment = fragment; in setFragmentIntent()
/packages/apps/Launcher2/src/com/android/launcher2/
DWallpaperChooser.java43 DialogFragment fragment = WallpaperChooserDialogFragment.newInstance(); in onCreate() local
44 fragment.show(getFragmentManager(), "dialog"); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountFilterUtil.java133 Fragment fragment, int requestCode, ContactListFilter currentFilter) { in startAccountFilterActivityForResult() argument
134 final Activity activity = fragment.getActivity(); in startAccountFilterActivityForResult()
138 fragment.startActivityForResult(intent, requestCode); in startAccountFilterActivityForResult()
/packages/apps/Settings/src/com/android/settings/
DChooseLockSettingsHelper.java39 public ChooseLockSettingsHelper(Activity activity, Fragment fragment) { in ChooseLockSettingsHelper() argument
41 mFragment = fragment; in ChooseLockSettingsHelper()
DSettingsPreferenceFragment.java192 public SettingsDialogFragment(DialogCreatable fragment, int dialogId) { in SettingsDialogFragment() argument
194 if (!(fragment instanceof Fragment)) { in SettingsDialogFragment()
198 mParentFragment = (Fragment) fragment; in SettingsDialogFragment()
DSettings.java160 switchToParent(mParentHeader.fragment); in onCreate()
243 parentHeader.fragment = fragmentClass; in switchToParent()
251 mParentHeader.fragment in switchToParent()
332 header.fragment = fragmentClass; in onGetInitialHeader()
457 accHeader.fragment = AccountSyncSettings.class.getName(); in insertAccountsHeaders()
467 accHeader.fragment = ManageAccountsSettings.class.getName(); in insertAccountsHeaders()
515 mParentHeader.fragment = parentFragmentClass; in getMetaData()
555 if (header.fragment == null && header.intent == null) { in getHeaderType()
/packages/apps/Browser/src/com/android/browser/
DBrowserPreferencesPage.java56 debug.fragment = DebugPreferencesFragment.class.getName(); in onBuildHeaders()
68 if (fragName.equals(h.fragment)) { in onGetInitialHeader()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCheckSettingsFragment.java809 ErrorDialog fragment = new ErrorDialog(); in newInstance() local
813 fragment.setArguments(arguments); in newInstance()
814 fragment.setTargetFragment(target, 0); in newInstance()
815 return fragment; in newInstance()
892 SecurityRequiredDialog fragment = new SecurityRequiredDialog(); in newInstance() local
895 fragment.setArguments(arguments); in newInstance()
896 fragment.setTargetFragment(target, 0); in newInstance()
897 return fragment; in newInstance()
/packages/apps/Email/src/com/android/email/widget/
DWidgetConfiguration.java72 AccountShortcutPickerFragment fragment = new AccountShortcutPickerFragment(); in onCreate() local
73 getFragmentManager().beginTransaction().add(R.id.shortcut_list, fragment).commit(); in onCreate()

12