Home
last modified time | relevance | path

Searched refs:AlbumSetLoader (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/photos/shims/
DMediaSetLoader.java34 import com.android.photos.data.AlbumSetLoader;
109 final MatrixCursor cursor = new MatrixCursor(AlbumSetLoader.PROJECTION); in loadInBackground()
110 final Object[] row = new Object[AlbumSetLoader.PROJECTION.length]; in loadInBackground()
116 row[AlbumSetLoader.INDEX_ID] = i; in loadInBackground()
117 row[AlbumSetLoader.INDEX_TITLE] = m.getName(); in loadInBackground()
118 row[AlbumSetLoader.INDEX_COUNT] = m.getMediaItemCount(); in loadInBackground()
119 row[AlbumSetLoader.INDEX_SUPPORTED_OPERATIONS] = m.getSupportedOperations(); in loadInBackground()
122 row[AlbumSetLoader.INDEX_TIMESTAMP] = coverItem.getDateInMs(); in loadInBackground()
141 int index = item.getInt(AlbumSetLoader.INDEX_ID); in drawableForItem()
152 int index = item.getInt(AlbumSetLoader.INDEX_ID); in uriForItem()
[all …]
/packages/apps/Gallery2/src/com/android/photos/adapters/
DAlbumSetCursorAdapter.java32 import com.android.photos.data.AlbumSetLoader;
53 titleTextView.setText(cursor.getString(AlbumSetLoader.INDEX_TITLE)); in bindView()
57 int count = cursor.getInt(AlbumSetLoader.INDEX_COUNT); in bindView()
/packages/apps/Gallery2/src/com/android/photos/
DAlbumSetFragment.java34 import com.android.photos.data.AlbumSetLoader;
102 item.getString(AlbumSetLoader.INDEX_TITLE)); in onGridItemClick()
113 return ((Cursor) item).getInt(AlbumSetLoader.INDEX_SUPPORTED_OPERATIONS); in getItemSupportedOperations()
/packages/apps/Gallery2/src/com/android/photos/data/
DAlbumSetLoader.java6 public class AlbumSetLoader { class