Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/photos/
DMultiChoiceManager.java132 private void updateActionItemVisibilities(Menu menu, int supportedOperations) { in updateActionItemVisibilities() argument
141 editItem.setVisible((supportedOperations & MediaObject.SUPPORT_EDIT) > 0); in updateActionItemVisibilities()
142 deleteItem.setVisible((supportedOperations & MediaObject.SUPPORT_DELETE) > 0); in updateActionItemVisibilities()
143 shareItem.setVisible((supportedOperations & MediaObject.SUPPORT_SHARE) > 0); in updateActionItemVisibilities()
144 cropItem.setVisible((supportedOperations & MediaObject.SUPPORT_CROP) > 0); in updateActionItemVisibilities()
145 trimItem.setVisible((supportedOperations & MediaObject.SUPPORT_TRIM) > 0); in updateActionItemVisibilities()
146 muteItem.setVisible((supportedOperations & MediaObject.SUPPORT_MUTE) > 0); in updateActionItemVisibilities()
147 setAsItem.setVisible((supportedOperations & MediaObject.SUPPORT_SETAS) > 0); in updateActionItemVisibilities()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoPage.java815 int supportedOperations = mCurrentPhoto.getSupportedOperations(); in updateMenuOperations() local
817 supportedOperations &= MediaObject.SUPPORT_DELETE; in updateMenuOperations()
821 supportedOperations &= ~MediaObject.SUPPORT_EDIT; in updateMenuOperations()
824 MenuExecutor.updateMenuOperation(menu, supportedOperations); in updateMenuOperations()