Home
last modified time | relevance | path

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

12

/packages/apps/Contacts/src/com/android/contacts/activities/
DContactSelectionActivity.java81 public void onAttachFragment(Fragment fragment) { in onAttachFragment() argument
82 if (fragment instanceof ContactEntryListFragment<?>) { in onAttachFragment()
83 mListFragment = (ContactEntryListFragment<?>) fragment; in onAttachFragment()
215 ContactPickerFragment fragment = new ContactPickerFragment(); in configureListFragment() local
216 fragment.setCreateContactEnabled(true); in configureListFragment()
217 fragment.setEditMode(true); in configureListFragment()
218 fragment.setDirectorySearchMode(DirectoryListLoader.SEARCH_MODE_NONE); in configureListFragment()
219 mListFragment = fragment; in configureListFragment()
224 ContactPickerFragment fragment = new ContactPickerFragment(); in configureListFragment() local
225 fragment.setSearchMode(mRequest.isSearchMode()); in configureListFragment()
[all …]
DNonPhoneActivity.java49 final NonPhoneDialogFragment fragment = new NonPhoneDialogFragment(); in onCreate() local
50 fragment.setArguments(Bundle.forPair("PHONE_NUMBER", phoneNumber)); in onCreate()
51 getFragmentManager().beginTransaction().add(fragment, "Fragment").commitAllowingStateLoss(); in onCreate()
DJoinContactActivity.java64 public void onAttachFragment(Fragment fragment) { in onAttachFragment() argument
65 if (fragment instanceof JoinContactListFragment) { in onAttachFragment()
66 mListFragment = (JoinContactListFragment) fragment; in onAttachFragment()
DDialtactsActivity.java482 public void onAttachFragment(Fragment fragment) { in onAttachFragment() argument
487 if (fragment instanceof DialpadFragment) { in onAttachFragment()
488 mDialpadFragment = (DialpadFragment) fragment; in onAttachFragment()
493 } else if (fragment instanceof CallLogFragment) { in onAttachFragment()
494 mCallLogFragment = (CallLogFragment) fragment; in onAttachFragment()
498 } else if (fragment instanceof PhoneFavoriteFragment) { in onAttachFragment()
499 mPhoneFavoriteFragment = (PhoneFavoriteFragment) fragment; in onAttachFragment()
505 } else if (fragment instanceof PhoneNumberPickerFragment) { in onAttachFragment()
506 mSearchFragment = (PhoneNumberPickerFragment) fragment; in onAttachFragment()
906 final Fragment fragment = getFragmentAt(position); in sendFragmentVisibilityChange() local
[all …]
/packages/apps/Email/src/com/android/email/activity/
DUIControllerBase.java292 public final void onInstallFragment(Fragment fragment) { in onInstallFragment() argument
294 Log.d(Logging.LOG_TAG, this + " onInstallFragment fragment=" + fragment); in onInstallFragment()
296 if (fragment instanceof MailboxListFragment) { in onInstallFragment()
297 installMailboxListFragment((MailboxListFragment) fragment); in onInstallFragment()
298 } else if (fragment instanceof MessageListFragment) { in onInstallFragment()
299 installMessageListFragment((MessageListFragment) fragment); in onInstallFragment()
300 } else if (fragment instanceof MessageViewFragment) { in onInstallFragment()
301 installMessageViewFragment((MessageViewFragment) fragment); in onInstallFragment()
308 protected void installMailboxListFragment(MailboxListFragment fragment) { in installMailboxListFragment() argument
309 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()
DFragmentInstallable.java35 public void onInstallFragment(Fragment fragment); in onInstallFragment() argument
43 public void onUninstallFragment(Fragment fragment); in onUninstallFragment() argument
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()
DEmailActivity.java214 public void onInstallFragment(Fragment fragment) { in onInstallFragment() argument
216 Log.d(Logging.LOG_TAG, this + " onInstallFragment fragment=" + fragment); in onInstallFragment()
218 mUIController.onInstallFragment(fragment); in onInstallFragment()
223 public void onUninstallFragment(Fragment fragment) { in onUninstallFragment() argument
225 Log.d(Logging.LOG_TAG, this + " onUninstallFragment fragment=" + fragment); in onUninstallFragment()
227 mUIController.onUninstallFragment(fragment); in onUninstallFragment()
DUIControllerTwoPane.java309 protected void installMessageListFragment(MessageListFragment fragment) { in installMessageListFragment() argument
310 super.installMessageListFragment(fragment); in installMessageListFragment()
313 getMailboxListFragment().setHighlightedMailbox(fragment.getMailboxId()); in installMessageListFragment()
318 protected void installMessageViewFragment(MessageViewFragment fragment) { in installMessageViewFragment() argument
319 super.installMessageViewFragment(fragment); in installMessageViewFragment()
322 getMessageListFragment().setSelectedMessage(fragment.getMessageId()); in installMessageViewFragment()
DShortcutPickerFragment.java215 ShortcutPickerFragment fragment = MailboxShortcutPickerFragment.newInstance( in selectAccountCursor() local
218 transaction.replace(R.id.shortcut_list, fragment); in selectAccountCursor()
326 MailboxShortcutPickerFragment fragment = new MailboxShortcutPickerFragment(); in newInstance() local
330 fragment.setArguments(args); in newInstance()
331 return fragment; in newInstance()
DShortcutPicker.java65 AccountShortcutPickerFragment fragment = new AccountShortcutPickerFragment(); in onCreate() local
66 getFragmentManager().beginTransaction().add(R.id.shortcut_list, fragment).commit(); in onCreate()
/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 …]
/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.java80 public InputMethodPreference(SettingsPreferenceFragment fragment, Intent settingsIntent, in InputMethodPreference() argument
82 super(fragment.getActivity(), null, R.style.InputMethodPreferenceStyle); in InputMethodPreference()
85 mFragment = fragment; in InputMethodPreference()
189 Fragment fragment, String fragmentClass, int requestCode, Bundle extras) { in startFragment() argument
190 if (fragment.getActivity() instanceof PreferenceActivity) { in startFragment()
191 PreferenceActivity preferenceActivity = (PreferenceActivity)fragment.getActivity(); in startFragment()
192 preferenceActivity.startPreferencePanel(fragmentClass, extras, 0, null, fragment, in startFragment()
DSingleSpellCheckerPreference.java58 public SingleSpellCheckerPreference(SpellCheckersSettings fragment, Intent settingsIntent, in SingleSpellCheckerPreference() argument
60 super(fragment.getActivity(), null, 0); in SingleSpellCheckerPreference()
61 mFragment = fragment; in SingleSpellCheckerPreference()
62 mRes = fragment.getActivity().getResources(); in SingleSpellCheckerPreference()
DCheckBoxAndSettingsPreference.java78 public void setFragmentIntent(SettingsPreferenceFragment fragment, Intent intent) { in setFragmentIntent() argument
79 mFragment = fragment; in setFragmentIntent()
/packages/apps/Launcher2/src/com/android/launcher2/
DWallpaperChooser.java42 DialogFragment fragment = WallpaperChooserDialogFragment.newInstance(); in onCreate() local
43 fragment.show(getFragmentManager(), "dialog"); in onCreate()
/packages/apps/Settings/src/com/android/settings/
DChooseLockSettingsHelper.java39 public ChooseLockSettingsHelper(Activity activity, Fragment fragment) { in ChooseLockSettingsHelper() argument
41 mFragment = fragment; in ChooseLockSettingsHelper()
DSettingsPreferenceFragment.java148 public SettingsDialogFragment(DialogCreatable fragment, int dialogId) { in SettingsDialogFragment() argument
150 if (!(fragment instanceof Fragment)) { in SettingsDialogFragment()
154 mParentFragment = (Fragment) fragment; in SettingsDialogFragment()
/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.java796 ErrorDialog fragment = new ErrorDialog(); in newInstance() local
800 fragment.setArguments(arguments); in newInstance()
801 fragment.setTargetFragment(target, 0); in newInstance()
802 return fragment; in newInstance()
876 SecurityRequiredDialog fragment = new SecurityRequiredDialog(); in newInstance() local
879 fragment.setArguments(arguments); in newInstance()
880 fragment.setTargetFragment(target, 0); in newInstance()
881 return fragment; in newInstance()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactBrowseListContextMenuAdapter.java49 public ContactBrowseListContextMenuAdapter(ContactBrowseListFragment fragment) { in ContactBrowseListContextMenuAdapter() argument
50 this.mContactListFragment = fragment; in ContactBrowseListContextMenuAdapter()
/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()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarSettingsActivity.java54 accountHeader.fragment = in onBuildHeaders()
68 tardisHeader.fragment = "com.android.calendar.OtherPreferences"; in onBuildHeaders()

12