Home
last modified time | relevance | path

Searched refs:FilmstripItem (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemList.java47 if (!(o instanceof FilmstripItem)) { in equals()
50 return mUri.equals(((FilmstripItem) o).getData().getUri()); in equals()
55 private final LinkedList<FilmstripItem> mList = new LinkedList<FilmstripItem>();
56 private final HashMap<Uri, FilmstripItem> mUriMap = new HashMap<Uri, FilmstripItem>();
58 public FilmstripItem get(int index) { in get()
69 public synchronized FilmstripItem remove(int index) { in remove()
71 FilmstripItem removedItem = mList.remove(index); in remove()
80 public FilmstripItem get(Uri uri) { in get()
84 public void set(int pos, FilmstripItem data) { in set()
89 public void add(FilmstripItem data) { in add()
[all …]
DCameraFilmstripDataAdapter.java26 import com.android.camera.data.FilmstripItem.VideoClickedCallback;
58 private FilmstripItem mFilmstripItemToDelete;
114 public FilmstripItem getItemAt(int index) { in getItemAt()
127 public FilmstripItem getFilmstripItemAt(int index) { in getFilmstripItemAt()
144 FilmstripItem item = mFilmstripItems.get(index); in getView()
161 FilmstripItem d = mFilmstripItems.remove(index); in removeAt()
173 public boolean addOrUpdate(FilmstripItem item) { in addOrUpdate()
201 FilmstripItem d = mFilmstripItemToDelete; in undoDeletion()
231 FilmstripItem data = mFilmstripItems.get(pos); in refresh()
232 FilmstripItem refreshedData = data.refresh(); in refresh()
[all …]
DFixedFirstProxyAdapter.java24 import com.android.camera.data.FilmstripItem.VideoClickedCallback;
39 private FilmstripItem mFirstData;
53 FilmstripItem firstData) { in FixedFirstProxyAdapter()
62 public FilmstripItem getItemAt(int index) { in getItemAt()
86 public void updateItemAt(int pos, FilmstripItem item) { in updateItemAt()
131 public FilmstripItem getFilmstripItemAt(int index) { in getFilmstripItemAt()
183 public void onFilmstripItemInserted(int index, FilmstripItem item) { in onFilmstripItemInserted()
188 public void onFilmstripItemRemoved(int index, FilmstripItem item) { in onFilmstripItemRemoved()
DFixedLastProxyAdapter.java24 import com.android.camera.data.FilmstripItem.VideoClickedCallback;
33 private FilmstripItem mLastData;
46 FilmstripItem lastData) { in FixedLastProxyAdapter()
61 public FilmstripItem getItemAt(int index) { in getItemAt()
85 public void updateItemAt(final int pos, FilmstripItem item) { in updateItemAt()
140 public FilmstripItem getFilmstripItemAt(int index) { in getFilmstripItemAt()
DLocalFilmstripDataAdapter.java63 public FilmstripItem getItemAt(int index); in getItemAt()
79 public boolean addOrUpdate(FilmstripItem item); in addOrUpdate()
123 public void updateItemAt(int index, FilmstripItem item); in updateItemAt()
DNewestFirstComparator.java28 public class NewestFirstComparator implements Comparator<FilmstripItem> {
48 public int compare(FilmstripItem d1, FilmstripItem d2) { in compare()
DVideoRotationMetadataLoader.java29 static boolean isRotated(FilmstripItem filmstripItem) { in isRotated()
34 static boolean loadRotationMetadata(final FilmstripItem data) { in loadRotationMetadata()
DFilmstripItem.java32 public interface FilmstripItem { interface
127 public FilmstripItem refresh(); in refresh()
DFilmstripContentQueries.java37 public interface CursorToFilmstripItemFactory<I extends FilmstripItem> {
60 public static <I extends FilmstripItem> List<I> forCameraPath(ContentResolver contentResolver, in forCameraPath()
DPlaceholderItem.java35 public class PlaceholderItem implements FilmstripItem {
95 public FilmstripItem refresh() { in refresh()
DSessionItem.java41 public class SessionItem implements FilmstripItem {
143 public FilmstripItem refresh() { in refresh()
DMetadataLoader.java39 public static boolean loadMetadata(final Context context, final FilmstripItem data) { in loadMetadata()
DFilmstripDataAdapterProxy.java87 public boolean addOrUpdate(FilmstripItem item) { in addOrUpdate()
DFilmstripItemBase.java41 public abstract class FilmstripItemBase<T extends FilmstripItemData> implements FilmstripItem {
DVideoItem.java142 public FilmstripItem refresh() { in refresh()
DPhotoItem.java110 public FilmstripItem refresh() { in refresh()
/packages/apps/Camera2/src/com/android/camera/filmstrip/
DFilmstripDataAdapter.java21 import com.android.camera.data.FilmstripItem;
22 import com.android.camera.data.FilmstripItem.VideoClickedCallback;
67 public void onFilmstripItemInserted(int index, FilmstripItem item); in onFilmstripItemInserted()
75 public void onFilmstripItemRemoved(int index, FilmstripItem item); in onFilmstripItemRemoved()
105 public FilmstripItem getFilmstripItemAt(int index); in getFilmstripItemAt()
DFilmstripController.java22 import com.android.camera.data.FilmstripItem;
169 public boolean isVisible(FilmstripItem data); in isVisible()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java90 import com.android.camera.data.FilmstripItem;
334 final FilmstripItem data = getCurrentLocalData();
361 FilmstripItem data = getCurrentLocalData();
377 FilmstripItem data = getCurrentLocalData();
398 final FilmstripItem data = getCurrentLocalData();
425 private void share(FilmstripItem data) {
441 private FilmstripItem getCurrentLocalData() {
451 private Intent getShareIntentByData(final FilmstripItem item) {
497 FilmstripItem data = getCurrentLocalData();
596 final FilmstripItem filmstripItem = mDataAdapter.getItemAt(index); in fileNameFromAdapterAtIndex()
[all …]
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java43 import com.android.camera.data.FilmstripItem;
44 import com.android.camera.data.FilmstripItem.VideoClickedCallback;
163 private FilmstripItem mData;
179 public ViewItem(int index, View v, FilmstripItem data, FilmstripView filmstrip) { in ViewItem()
194 public FilmstripItem getData() { in getData()
198 public void setData(FilmstripItem item) { in setData()
759 FilmstripItem imageData = mDataAdapter.getFilmstripItemAt(index); in measureViewItem()
835 FilmstripItem data = mDataAdapter.getFilmstripItemAt(index); in buildViewItemAt()
887 FilmstripItem data = mDataAdapter.getFilmstripItemAt( in removeItem()
1501 final FilmstripItem data = mDataAdapter.getFilmstripItemAt(index); in updateInsertion()
[all …]
/packages/apps/Camera2/src_pd/com/android/camera/util/
DReleaseHelper.java21 import com.android.camera.data.FilmstripItem;
34 public static boolean shouldShowReleaseInfoDialogOnShare(FilmstripItem data) { in shouldShowReleaseInfoDialogOnShare()