Home
last modified time | relevance | path

Searched refs:targetSet (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumSetPage.java194 MediaSet targetSet = mAlbumSetDataAdapter.getMediaSet(slotIndex); in onSingleTapUp() local
195 if (targetSet == null) return; // Content is dirty, we shall reload soon in onSingleTapUp()
196 mSelectionManager.toggle(targetSet.getPath()); in onSingleTapUp()
240 MediaSet targetSet = mAlbumSetDataAdapter.getMediaSet(slotIndex); in pickAlbum()
241 if (targetSet == null) return; // Content is dirty, we shall reload soon in pickAlbum()
242 if (targetSet.getTotalMediaItemCount() == 0) { in pickAlbum()
248 String mediaPath = targetSet.getPath().toString(); in pickAlbum()
254 if (mGetAlbum && targetSet.isLeafAlbum()) { in pickAlbum()
257 .putExtra(AlbumPicker.KEY_ALBUM_PATH, targetSet.getPath().toString()); in pickAlbum()
260 } else if (targetSet.getSubMediaSetCount() > 0) { in pickAlbum()
[all …]
DManageCachePage.java158 MediaSet targetSet = mAlbumSetDataAdapter.getMediaSet(slotIndex); in onSingleTapUp() local
159 if (targetSet == null) return; // Content is dirty, we shall reload soon in onSingleTapUp()
163 if ((targetSet.getSupportedOperations() in onSingleTapUp()
169 Path path = targetSet.getPath(); in onSingleTapUp()
171 (targetSet.getCacheFlag() == MediaObject.CACHE_FLAG_FULL); in onSingleTapUp()
184 long sizeOfTarget = targetSet.getCacheSize(); in onSingleTapUp()