/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactSelectionActivity.java | 97 public void onAttachFragment(Fragment fragment) { in onAttachFragment() argument 98 if (fragment instanceof ContactEntryListFragment<?>) { in onAttachFragment() 99 mListFragment = (ContactEntryListFragment<?>) fragment; in onAttachFragment() 287 ContactPickerFragment fragment = new ContactPickerFragment(); in configureListFragment() local 288 fragment.setEditMode(true); in configureListFragment() 289 fragment.setDirectorySearchMode(DirectoryListLoader.SEARCH_MODE_NONE); in configureListFragment() 290 fragment.setCreateContactEnabled(!mRequest.isSearchMode()); in configureListFragment() 291 mListFragment = fragment; in configureListFragment() 297 ContactPickerFragment fragment = new ContactPickerFragment(); in configureListFragment() local 298 fragment.setIncludeProfile(mRequest.shouldIncludeProfile()); in configureListFragment() [all …]
|
D | PeopleActivity.java | 198 public void onAttachFragment(Fragment fragment) { in onAttachFragment() argument 199 if (fragment instanceof ContactsUnavailableFragment) { in onAttachFragment() 200 mContactsUnavailableFragment = (ContactsUnavailableFragment)fragment; in onAttachFragment() 753 Fragment fragment = (Fragment) object; in setPrimaryItem() local 754 if (mCurrentPrimaryItem != fragment) { in setPrimaryItem() 758 if (fragment != null) { in setPrimaryItem() 759 fragment.setUserVisibleHint(true); in setPrimaryItem() 761 mCurrentPrimaryItem = fragment; in setPrimaryItem()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | DialogFragment.java | 60 Fragment fragment = getContentFragment(); in performEntryTransition() local 61 if (fragment instanceof ContentFragment) { in performEntryTransition() 62 ContentFragment cf = (ContentFragment) fragment; in performEntryTransition() 144 protected void setContentFragment(Fragment fragment) { in setContentFragment() argument 145 FragmentTransaction ft = getContentFragmentTransaction(fragment); in setContentFragment() 154 protected void setActionFragment(Fragment fragment) { in setActionFragment() argument 155 setActionFragment(fragment, true); in setActionFragment() 164 protected void setActionFragment(Fragment fragment, boolean addToBackStack) { in setActionFragment() argument 165 FragmentTransaction ft = addActionFragmentToTransaction(fragment, null, addToBackStack, in setActionFragment() 206 private FragmentTransaction getContentFragmentTransaction(Fragment fragment) { in getContentFragmentTransaction() argument [all …]
|
D | DialogActivity.java | 318 protected void setContentFragment(Fragment fragment) { in setContentFragment() argument 319 getDialogFragment().setContentFragment(fragment); in setContentFragment() 327 protected void setActionFragment(Fragment fragment) { in setActionFragment() argument 328 getDialogFragment().setActionFragment(fragment); in setActionFragment() 337 protected void setActionFragment(Fragment fragment, boolean addToBackStack) { in setActionFragment() argument 338 getDialogFragment().setActionFragment(fragment, addToBackStack); in setActionFragment() 370 protected void setDialogFragment(DialogFragment fragment) { in setDialogFragment() argument 371 setDialogFragment(fragment, true); in setDialogFragment() 374 protected void setDialogFragment(DialogFragment fragment, boolean addToBackStack) { in setDialogFragment() argument 375 mDialogFragment = fragment; in setDialogFragment() [all …]
|
D | ActionFragment.java | 40 ActionFragment fragment = new ActionFragment(); in newInstance() local 41 fragment.setArguments(BaseActionFragment.buildArgs(actions, name)); in newInstance() 42 return fragment; in newInstance() 46 ActionFragment fragment = new ActionFragment(); in newInstance() local 47 fragment.setArguments(BaseActionFragment.buildArgs(actions, index)); in newInstance() 48 return fragment; in newInstance() 52 ActionFragment fragment = new ActionFragment(); in newInstance() local 53 fragment.setArguments(BaseActionFragment.buildArgs(actions, name, index)); in newInstance() 54 return fragment; in newInstance()
|
D | ContentFragment.java | 60 ContentFragment fragment = new ContentFragment(); in newInstance() local 61 fragment.setArguments( in newInstance() 64 return fragment; in newInstance() 74 ContentFragment fragment = new ContentFragment(); in newInstance() local 75 fragment.setArguments( in newInstance() 78 return fragment; in newInstance() 83 ContentFragment fragment = new ContentFragment(); in newInstance() local 84 fragment.setArguments(BaseContentFragment.buildArgs(title, breadcrumb, description, in newInstance() 86 return fragment; in newInstance()
|
D | EditTextFragment.java | 46 EditTextFragment fragment = new EditTextFragment(); in newInstance() local 53 fragment.setArguments(args); in newInstance() 54 return fragment; in newInstance() 67 EditTextFragment fragment = new EditTextFragment(); in newInstance() local 72 fragment.setArguments(args); in newInstance() 73 return fragment; in newInstance()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | FragmentStatePagerAdapter2.java | 91 Fragment fragment = getItem(position); in instantiateItem() local 92 if (DEBUG) LogUtils.v(TAG, "Adding item #" + position + ": f=" + fragment); in instantiateItem() 96 fragment.setInitialSavedState(fss); in instantiateItem() 99 if (fragment != mCurrentPrimaryItem) { in instantiateItem() 100 setItemVisible(fragment, false); in instantiateItem() 102 mFragments.put(position, fragment); in instantiateItem() 103 mCurTransaction.add(container.getId(), fragment); in instantiateItem() local 105 return fragment; in instantiateItem() 110 Fragment fragment = (Fragment)object; in destroyItem() local 121 mSavedState.set(position, mFragmentManager.saveFragmentInstanceState(fragment)); in destroyItem() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | FragmentStatePagerAdapter2.java | 75 Fragment fragment = getItem(position); in instantiateItem() local 76 if (fragment != mCurrentPrimaryItem) { in instantiateItem() 77 setItemVisible(fragment, false); in instantiateItem() 79 mFragments.put(position, fragment); in instantiateItem() 80 mCurTransaction.add(container.getId(), fragment); in instantiateItem() local 82 return fragment; in instantiateItem() 87 Fragment fragment = (Fragment) object; in destroyItem() local 94 mCurTransaction.remove(fragment); in destroyItem() 99 Fragment fragment = (Fragment) object; in setPrimaryItem() local 100 if (fragment != mCurrentPrimaryItem) { in setPrimaryItem() [all …]
|
/packages/apps/Dialer/src/com/android/dialer/ |
D | DialtactsActivity.java | 542 public void onAttachFragment(Fragment fragment) { in onAttachFragment() argument 543 if (fragment instanceof DialpadFragment) { in onAttachFragment() 544 mDialpadFragment = (DialpadFragment) fragment; in onAttachFragment() 550 } else if (fragment instanceof SmartDialSearchFragment) { in onAttachFragment() 551 mSmartDialSearchFragment = (SmartDialSearchFragment) fragment; in onAttachFragment() 553 } else if (fragment instanceof SearchFragment) { in onAttachFragment() 554 mRegularSearchFragment = (RegularSearchFragment) fragment; in onAttachFragment() 556 } else if (fragment instanceof ListsFragment) { in onAttachFragment() 557 mListsFragment = (ListsFragment) fragment; in onAttachFragment() 742 SearchFragment fragment = null; in updateSearchFragmentPosition() local [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | FormPageDisplayer.java | 166 public void displayFragment(Fragment fragment, boolean forward) { in displayFragment() argument 173 transaction.replace(mContentViewId, fragment).commit(); in displayFragment() 181 Fragment fragment = SelectFromListWizardFragment.newInstance( in displayList() local 186 displayFragment(fragment, forward); in displayList() 203 return fragment; in displayList() 210 Fragment fragment = TextInputWizardFragment.newInstance( in displayTextInput() local 214 displayFragment(fragment, forward); in displayTextInput() 228 return fragment; in displayTextInput() 235 Fragment fragment = PasswordInputWizardFragment.newInstance( in displayPasswordInput() local 239 displayFragment(fragment, forward); in displayPasswordInput() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | ContactDeletionInteraction.java | 119 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/UnifiedEmail/src/com/android/mail/photo/ |
D | MailPhotoViewController.java | 256 public void onFragmentVisible(PhotoViewFragment fragment) { in onFragmentVisible() argument 257 super.onFragmentVisible(fragment); in onFragmentVisible() 266 public void onCursorChanged(PhotoViewFragment fragment, Cursor cursor) { in onCursorChanged() argument 267 super.onCursorChanged(fragment, cursor); in onCursorChanged() 268 updateProgressAndEmptyViews(fragment, new Attachment(cursor)); in onCursorChanged() 277 final PhotoViewFragment fragment, final Attachment attachment) { in updateProgressAndEmptyViews() argument 278 final ProgressBarWrapper progressBar = fragment.getPhotoProgressBar(); in updateProgressAndEmptyViews() 279 final TextView emptyText = fragment.getEmptyText(); in updateProgressAndEmptyViews() 280 final ImageView retryButton = fragment.getRetryButton(); in updateProgressAndEmptyViews() 287 } else if (fragment.isProgressBarNeeded()) { in updateProgressAndEmptyViews()
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/ui/settings/ |
D | GeneralPrefsFragmentTest.java | 60 final GeneralPrefsFragment fragment = activity.getGeneralPrefsFragment(); in setUp() local 61 fragment.mMailPrefs = new MailPrefs(activity, PREFS_NAME_TEST); in setUp() 68 final GeneralPrefsFragment fragment = activity.getGeneralPrefsFragment(); in testChangeAutoAdvance() local 69 final MailPrefs mailPrefs = fragment.mMailPrefs; in testChangeAutoAdvance() 70 final ListPreference autoAdvancePref = (ListPreference) fragment in testChangeAutoAdvance() 73 fragment.onPreferenceChange(autoAdvancePref, UIProvider.AUTO_ADVANCE_MODE_OLDER); in testChangeAutoAdvance() 76 fragment.onPreferenceChange(autoAdvancePref, UIProvider.AUTO_ADVANCE_MODE_NEWER); in testChangeAutoAdvance()
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
D | ListsFragment.java | 215 final Fragment fragment = in instantiateItem() local 217 if (fragment instanceof SpeedDialFragment) { in instantiateItem() 218 mSpeedDialFragment = (SpeedDialFragment) fragment; in instantiateItem() 219 } else if (fragment instanceof CallLogFragment) { in instantiateItem() 220 mRecentsFragment = (CallLogFragment) fragment; in instantiateItem() 221 } else if (fragment instanceof AllContactsFragment) { in instantiateItem() 222 mAllContactsFragment = (AllContactsFragment) fragment; in instantiateItem() 224 return fragment; in instantiateItem()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSetupFinal.java | 1115 final AccountSetupOptionsFragment fragment = (AccountSetupOptionsFragment) in initiateAccountCreation() local 1117 if (fragment == null) { in initiateAccountCreation() 1125 if (serviceInfo.offerAttachmentPreload && fragment.getBackgroundAttachmentsValue()) { in initiateAccountCreation() 1145 account.setSyncInterval(fragment.getCheckFrequencyValue()); in initiateAccountCreation() 1146 final Integer syncWindowValue = fragment.getAccountSyncWindowValue(); in initiateAccountCreation() 1161 final boolean syncEmail = fragment.getSyncEmailValue(); in initiateAccountCreation() 1162 final boolean syncCalendar = serviceInfo.syncCalendar && fragment.getSyncCalendarValue(); in initiateAccountCreation() 1163 final boolean syncContacts = serviceInfo.syncContacts && fragment.getSyncContactsValue(); in initiateAccountCreation() 1164 final boolean enableNotifications = fragment.getNotifyValue(); in initiateAccountCreation() 1282 AccountSetupNamesFragment fragment = (AccountSetupNamesFragment) getContentFragment(); in initiateAccountFinalize() local [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | AbstractActivityController.java | 588 final Fragment fragment = mFragmentManager.findFragmentByTag(TAG_CONVERSATION_LIST); in getConversationListFragment() local 589 if (isValidFragment(fragment)) { in getConversationListFragment() 590 return (ConversationListFragment) fragment; in getConversationListFragment() 608 final Fragment fragment = mFragmentManager.findFragmentByTag(drawerPulloutTag); in getFolderListFragment() local 609 if (isValidFragment(fragment)) { in getFolderListFragment() 610 return (FolderListFragment) fragment; in getFolderListFragment() 1439 final DialogFragment fragment = (DialogFragment) in onRestart() local 1441 if (fragment != null) { in onRestart() 1442 fragment.dismiss(); in onRestart() 1676 final EmptyFolderDialogFragment fragment = [all …]
|
D | MailboxSelectionActivity.java | 326 WaitFragment fragment = getWaitFragment(); in showWaitFragment() local 327 if (fragment != null) { in showWaitFragment() 328 fragment.updateAccount(account); in showWaitFragment() 351 private int replaceFragment(Fragment fragment, int transition, String tag) { in replaceFragment() argument 354 fragmentTransaction.replace(R.id.wait, fragment, tag); in replaceFragment()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationPagerAdapter.java | 275 final AbstractConversationViewFragment fragment = (AbstractConversationViewFragment) item; in getItemPosition() local 276 return getConversationPosition(fragment.getConversation()); in getItemPosition() 409 final AbstractConversationViewFragment fragment = in notifyDataSetChanged() local 412 if (fragment != null) { in notifyDataSetChanged() 413 fragment.onDetachedModeEntered(); in notifyDataSetChanged() 443 final AbstractConversationViewFragment fragment = (AbstractConversationViewFragment) item; in setItemVisible() local 444 fragment.setExtraUserVisibleHint(visible); in setItemVisible()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SubScreenFragment.java | 95 final SubScreenFragment fragment = SubScreenFragment.this; 96 final Context context = fragment.getActivity(); 97 if (context == null || fragment.getPreferenceScreen() == null) { 98 final String tag = fragment.getClass().getSimpleName(); 105 fragment.onSharedPreferenceChanged(prefs, key);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/ |
D | MailPreferenceActivity.java | 91 public void onAttachFragment(Fragment fragment) { in onAttachFragment() argument 92 super.onAttachFragment(fragment); in onAttachFragment() 93 if (fragment instanceof GeneralPrefsFragment) { in onAttachFragment() 95 new WeakReference<GeneralPrefsFragment>((GeneralPrefsFragment) fragment); in onAttachFragment() 122 header.fragment = account.settingsFragmentClass; in onBuildHeaders()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | DeskClock.java | 474 Fragment fragment = getFragmentManager().findFragmentByTag(name); in getItem() local 475 if (fragment == null) { in getItem() 477 fragment = Fragment.instantiate(mContext, info.clss.getName(), info.args); in getItem() 478 if (fragment instanceof TimerFragment) { in getItem() 479 ((TimerFragment) fragment).setFabAppearance(); in getItem() 480 ((TimerFragment) fragment).setLeftRightButtonAppearance(); in getItem() 483 return fragment; in getItem()
|
D | AlarmUtils.java | 59 public static void showTimeEditDialog(Fragment fragment, final Alarm alarm) { in showTimeEditDialog() argument 60 final FragmentManager manager = fragment.getFragmentManager(); in showTimeEditDialog() 68 timePickerFragment.setTargetFragment(fragment, 0); in showTimeEditDialog() 69 timePickerFragment.setOnTimeSetListener((TimePickerDialog.OnTimeSetListener) fragment); in showTimeEditDialog()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | CallLogActivity.java | 98 final CallLogFragment fragment = in instantiateItem() local 102 mAllCallsFragment = fragment; in instantiateItem() 105 mMissedCallsFragment = fragment; in instantiateItem() 108 mVoicemailFragment = fragment; in instantiateItem() 111 return fragment; in instantiateItem()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | WifiSetupActivity.java | 340 Fragment fragment = ConnectToWifiFragment.newInstance( in displayPage() local 343 displayFragment(fragment, forward); in displayPage() 346 Fragment fragment = TimedMessageWizardFragment.newInstance( in displayPage() local 348 displayFragment(fragment, forward); in displayPage() 352 Fragment fragment = displayPage(formPageType, mConfiguration.getPrintableSsid(), in displayPage() local 362 mNetworkListFragment = (SelectFromListWizardFragment) fragment; in displayPage()
|