Lines Matching refs:fragment
19 import android.app.Fragment;
244 public void onAttachFragment(Fragment fragment) {
245 if (fragment instanceof ContactDetailFragment) {
246 mContactDetailFragment = (ContactDetailFragment) fragment;
247 } else if (fragment instanceof ContactsUnavailableFragment) {
248 mContactsUnavailableFragment = (ContactsUnavailableFragment)fragment;
363 // the fragment manager, so first see if there're already the target fragments
405 // Only favorites tab with two panes has a separate frequent fragment
434 // Setting Properties after fragment is created
439 // For 2-pane in All and Groups but not in Favorites fragment, show the chevron
465 * (When {@link Fragment#onCreateView} is called is different in the former case and
479 // contact list fragment filter.
666 * Updates the fragment/view visibility according to the current mode, such as
724 // Note mContactDetailLoaderFragment is an invisible fragment, but we still have to show/
759 // fragment transaction does it implicitly. We don't have to call invalidateOptionsMenu
826 * In search mode, we always show the "all" fragment, and disable the swipe. We change the
837 private Fragment mCurrentPrimaryItem;
885 private Fragment getFragment(int position) {
890 Log.w(TAG, "Request fragment at position=" + position + ", eventhough we " +
911 Fragment f = getFragment(position);
924 mCurTransaction.hide((Fragment) object);
938 return ((Fragment) object).getView() == view;
943 Fragment fragment = (Fragment) object;
944 if (mCurrentPrimaryItem != fragment) {
948 if (fragment != null) {
949 fragment.setUserVisibleHint(true);
951 mCurrentPrimaryItem = fragment;
1321 // fragment
1327 // fragment
1333 // detail fragment
1651 // TODO move to the fragment
1696 // TODO move to the fragment
1719 // in order to avoid doing fragment transactions after it.