Home
last modified time | relevance | path

Searched refs:typeBits (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DDialogPicker.java30 int typeBits = GalleryUtils.determineTypeBits(this, getIntent()); in onCreate() local
31 setTitle(GalleryUtils.getSelectionModePrompt(typeBits)); in onCreate()
38 getDataManager().getTopSetPath(typeBits)); in onCreate()
DGallery.java119 int typeBits = GalleryUtils.determineTypeBits(this, intent); in startGetContent() local
120 data.putInt(KEY_TYPE_BITS, typeBits); in startGetContent()
122 getDataManager().getTopSetPath(typeBits)); in startGetContent()
173 int typeBits = GalleryUtils.determineTypeBits(this, intent); in startViewAction() local
174 data.putInt(KEY_TYPE_BITS, typeBits); in startViewAction()
176 getDataManager().getTopSetPath(typeBits)); in startViewAction()
DAlbumPage.java549 int typeBits = mData.getInt(Gallery.KEY_TYPE_BITS, in onCreateActionBar() local
551 actionBar.setTitle(GalleryUtils.getSelectionModePrompt(typeBits)); in onCreateActionBar()
DAlbumSetPage.java540 int typeBits = mData.getInt( in onCreateActionBar() local
542 mActionBar.setTitle(GalleryUtils.getSelectionModePrompt(typeBits)); in onCreateActionBar()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java334 int typeBits = 0; in determineTypeBits() local
338 typeBits = DataManager.INCLUDE_ALL; in determineTypeBits()
341 typeBits = DataManager.INCLUDE_IMAGE; in determineTypeBits()
344 typeBits = DataManager.INCLUDE_VIDEO; in determineTypeBits()
346 typeBits = DataManager.INCLUDE_ALL; in determineTypeBits()
351 typeBits |= DataManager.INCLUDE_LOCAL_ONLY; in determineTypeBits()
355 return typeBits; in determineTypeBits()
358 public static int getSelectionModePrompt(int typeBits) { in getSelectionModePrompt() argument
359 if ((typeBits & DataManager.INCLUDE_VIDEO) != 0) { in getSelectionModePrompt()
360 return (typeBits & DataManager.INCLUDE_IMAGE) == 0 in getSelectionModePrompt()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DBucketHelper.java157 int typeBits = 0; in loadBucketEntriesFromFilesTable() local
159 typeBits |= (1 << FileColumns.MEDIA_TYPE_IMAGE); in loadBucketEntriesFromFilesTable()
162 typeBits |= (1 << FileColumns.MEDIA_TYPE_VIDEO); in loadBucketEntriesFromFilesTable()
166 if ((typeBits & (1 << cursor.getInt(INDEX_MEDIA_TYPE))) != 0) { in loadBucketEntriesFromFilesTable()
DDataManager.java138 public String getTopSetPath(int typeBits) { in getTopSetPath() argument
140 switch (typeBits) { in getTopSetPath()