Searched refs:supportedOperations (Results 1 – 2 of 2) sorted by relevance
132 private void updateActionItemVisibilities(Menu menu, int supportedOperations) { in updateActionItemVisibilities() argument141 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()
815 int supportedOperations = mCurrentPhoto.getSupportedOperations(); in updateMenuOperations() local817 supportedOperations &= MediaObject.SUPPORT_DELETE; in updateMenuOperations()821 supportedOperations &= ~MediaObject.SUPPORT_EDIT; in updateMenuOperations()824 MenuExecutor.updateMenuOperation(menu, supportedOperations); in updateMenuOperations()