Home
last modified time | relevance | path

Searched refs:mRetainFragment (Results 1 – 2 of 2) sorted by relevance

/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
DImageCache.java57 final RetainFragment mRetainFragment = findOrCreateRetainFragment(fragmentManager); in getInstance() local
60 ImageCache imageCache = (ImageCache) mRetainFragment.getObject(); in getInstance()
65 mRetainFragment.setObject(imageCache); in getInstance()
177 RetainFragment mRetainFragment = (RetainFragment) fm.findFragmentByTag(TAG); in findOrCreateRetainFragment() local
180 if (mRetainFragment == null) { in findOrCreateRetainFragment()
181 mRetainFragment = new RetainFragment(); in findOrCreateRetainFragment()
182 fm.beginTransaction().add(mRetainFragment, TAG).commitAllowingStateLoss(); in findOrCreateRetainFragment()
185 return mRetainFragment; in findOrCreateRetainFragment()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageCache.java109 final RetainFragment mRetainFragment = findOrCreateRetainFragment(fragmentManager); in getInstance() local
112 ImageCache imageCache = (ImageCache) mRetainFragment.getObject(); in getInstance()
117 mRetainFragment.setObject(imageCache); in getInstance()
687 RetainFragment mRetainFragment = (RetainFragment) fm.findFragmentByTag(TAG); in findOrCreateRetainFragment() local
690 if (mRetainFragment == null) { in findOrCreateRetainFragment()
691 mRetainFragment = new RetainFragment(); in findOrCreateRetainFragment()
692 fm.beginTransaction().add(mRetainFragment, TAG).commitAllowingStateLoss(); in findOrCreateRetainFragment()
695 return mRetainFragment; in findOrCreateRetainFragment()