Home | History | Annotate | Download | only in camera

Lines Matching refs:mDataAdapter

219     private LocalFilmstripDataAdapter mDataAdapter;
442 return mDataAdapter.getItemAt(getCurrentDataId());
596 final FilmstripItem filmstripItem = mDataAdapter.getItemAt(index);
606 final FilmstripItem filmstripItem = mDataAdapter.getItemAt(index);
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);
1337 mDataAdapter.removeAt(index);
1338 if (mDataAdapter.getTotalNumber() > 1) {
1915 if (mDataAdapter == null) {
1916 mDataAdapter = new CameraFilmstripDataAdapter(mAppContext,
1918 mDataAdapter.setLocalDataListener(mFilmstripItemListener);
1919 mPreloader = new Preloader<Integer, AsyncTask>(FILMSTRIP_PRELOAD_AHEAD_ITEMS, mDataAdapter,
1920 mDataAdapter);
1922 mFilmstripController.setDataAdapter(mDataAdapter);
1924 mDataAdapter.requestLoad(new Callback<Void>() {
1947 mDataAdapter = new FixedLastProxyAdapter(
1949 mDataAdapter,
1956 mDataAdapter.clear();
1957 mFilmstripController.setDataAdapter(mDataAdapter);
2041 FilmstripItem item = mDataAdapter.getItemAt(
2044 mDataAdapter.refresh(item.getData().getUri());
2061 mDataAdapter.requestLoad(new Callback<Void>() {
2068 mDataAdapter.requestLoadNewPhotos();
2079 mDataAdapter.requestLoadNewPhotos();
2661 mDataAdapter.executeDeletion();
2678 mDataAdapter.undoDeletion();
2862 FilmstripItem currentFilmstripItem = mDataAdapter.getItemAt(currentIndex);
2887 final FilmstripItem currentData = mDataAdapter.getItemAt(index);
2907 if (!mDataAdapter.isMetadataUpdatedAt(index)) {
2908 mDataAdapter.updateMetadataAt(index);
2972 final FilmstripItem data = mDataAdapter.getItemAt(index);