Lines Matching refs:mDataAdapter
219 private LocalFilmstripDataAdapter mDataAdapter; field in CameraActivity
442 return mDataAdapter.getItemAt(getCurrentDataId());
596 final FilmstripItem filmstripItem = mDataAdapter.getItemAt(index); in fileNameFromAdapterAtIndex()
606 final FilmstripItem filmstripItem = mDataAdapter.getItemAt(index); in fileAgeFromAdapterAtIndex()
738 final FilmstripItem filmstripItem = mDataAdapter.getItemAt(adapterIndex);
896 mDataAdapter.addOrUpdate(newData.get());
903 mDataAdapter.refresh(uri);
911 mDataAdapter.refresh(sessionUri);
924 final int pos = mDataAdapter.findByContentUri(sessionUri);
928 mDataAdapter.addOrUpdate(newData);
933 FilmstripItem oldSessionData = mDataAdapter.getFilmstripItemAt(pos);
940 mDataAdapter.updateItemAt(pos, newData);
955 mDataAdapter.getItemAt(currentIndex).getData().getUri())) {
967 mDataAdapter.getItemAt(currentIndex).getData().getUri())) {
989 int failedIndex = mDataAdapter.findByContentUri(uri);
995 mDataAdapter.refresh(uri);
999 mDataAdapter.removeAt(failedIndex);
1006 int failedIndex = mDataAdapter.findByContentUri(uri);
1007 mDataAdapter.removeAt(failedIndex);
1289 mDataAdapter.addOrUpdate(data); in notifyNewMedia()
1337 mDataAdapter.removeAt(index); in removeItemAt()
1338 if (mDataAdapter.getTotalNumber() > 1) { in removeItemAt()
1915 if (mDataAdapter == null) { in preloadFilmstripItems()
1916 mDataAdapter = new CameraFilmstripDataAdapter(mAppContext, in preloadFilmstripItems()
1918 mDataAdapter.setLocalDataListener(mFilmstripItemListener); in preloadFilmstripItems()
1919 … mPreloader = new Preloader<Integer, AsyncTask>(FILMSTRIP_PRELOAD_AHEAD_ITEMS, mDataAdapter, in preloadFilmstripItems()
1920 mDataAdapter); in preloadFilmstripItems()
1922 mFilmstripController.setDataAdapter(mDataAdapter); in preloadFilmstripItems()
1924 mDataAdapter.requestLoad(new Callback<Void>() { in preloadFilmstripItems()
1947 mDataAdapter = new FixedLastProxyAdapter( in preloadFilmstripItems()
1949 mDataAdapter, in preloadFilmstripItems()
1956 mDataAdapter.clear(); in preloadFilmstripItems()
1957 mFilmstripController.setDataAdapter(mDataAdapter); in preloadFilmstripItems()
2041 FilmstripItem item = mDataAdapter.getItemAt( in resume()
2044 mDataAdapter.refresh(item.getData().getUri()); in resume()
2061 mDataAdapter.requestLoad(new Callback<Void>() { in resume()
2068 mDataAdapter.requestLoadNewPhotos(); in resume()
2079 mDataAdapter.requestLoadNewPhotos(); in resume()
2661 mDataAdapter.executeDeletion(); in performDeletion()
2678 mDataAdapter.undoDeletion(); in showUndoDeletionBar()
2862 FilmstripItem currentFilmstripItem = mDataAdapter.getItemAt(currentIndex); in startGallery()
2887 final FilmstripItem currentData = mDataAdapter.getItemAt(index); in updateUiByData()
2907 if (!mDataAdapter.isMetadataUpdatedAt(index)) { in updateUiByData()
2908 mDataAdapter.updateMetadataAt(index); in updateUiByData()
2972 final FilmstripItem data = mDataAdapter.getItemAt(index); in showDetailsDialog()