Home
last modified time | relevance | path

Searched refs:mImageFetcher (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
DImageGridFragment.java64 private ImageFetcher mImageFetcher; field in ImageGridFragment
87 mImageFetcher = new ImageFetcher(getActivity(), mImageThumbSize); in onCreate()
88 mImageFetcher.setLoadingImage(R.drawable.empty_photo); in onCreate()
89 mImageFetcher.addImageCache(getActivity().getSupportFragmentManager(), cacheParams); in onCreate()
107 mImageFetcher.setPauseWork(true); in onCreateView()
110 mImageFetcher.setPauseWork(false); in onCreateView()
158 mImageFetcher.setExitTasksEarly(false); in onResume()
165 mImageFetcher.setPauseWork(false); in onPause()
166 mImageFetcher.setExitTasksEarly(true); in onPause()
167 mImageFetcher.flushCache(); in onPause()
[all …]
DImageDetailActivity.java49 private ImageFetcher mImageFetcher; field in ImageDetailActivity
80 mImageFetcher = new ImageFetcher(this, longest); in onCreate()
81 mImageFetcher.addImageCache(getSupportFragmentManager(), cacheParams); in onCreate()
82 mImageFetcher.setImageFadeIn(false); in onCreate()
131 mImageFetcher.setExitTasksEarly(false); in onResume()
137 mImageFetcher.setExitTasksEarly(true); in onPause()
138 mImageFetcher.flushCache(); in onPause()
144 mImageFetcher.closeCache(); in onDestroy()
154 mImageFetcher.clearCache(); in onOptionsItemSelected()
172 return mImageFetcher; in getImageFetcher()
DImageDetailFragment.java41 private ImageFetcher mImageFetcher; field in ImageDetailFragment
91 mImageFetcher = ((ImageDetailActivity) getActivity()).getImageFetcher(); in onActivityCreated()
92 mImageFetcher.loadImage(mImageUrl, mImageView, this); in onActivityCreated()