Searched refs:supportedOperations (Results 1 – 2 of 2) sorted by relevance
133 private void updateActionItemVisibilities(Menu menu, int supportedOperations) { in updateActionItemVisibilities() argument142 editItem.setVisible((supportedOperations & MediaObject.SUPPORT_EDIT) > 0); in updateActionItemVisibilities()143 deleteItem.setVisible((supportedOperations & MediaObject.SUPPORT_DELETE) > 0); in updateActionItemVisibilities()144 shareItem.setVisible((supportedOperations & MediaObject.SUPPORT_SHARE) > 0); in updateActionItemVisibilities()145 cropItem.setVisible((supportedOperations & MediaObject.SUPPORT_CROP) > 0); in updateActionItemVisibilities()146 trimItem.setVisible((supportedOperations & MediaObject.SUPPORT_TRIM) > 0); in updateActionItemVisibilities()147 muteItem.setVisible((supportedOperations & MediaObject.SUPPORT_MUTE) > 0); in updateActionItemVisibilities()148 setAsItem.setVisible((supportedOperations & MediaObject.SUPPORT_SETAS) > 0); in updateActionItemVisibilities()
774 int supportedOperations = mCurrentPhoto.getSupportedOperations(); in updateMenuOperations() local776 supportedOperations ^= MediaObject.SUPPORT_EDIT; in updateMenuOperations()779 supportedOperations &= MediaObject.SUPPORT_DELETE; in updateMenuOperations()783 supportedOperations &= ~MediaObject.SUPPORT_EDIT; in updateMenuOperations()786 MenuExecutor.updateMenuOperation(menu, supportedOperations); in updateMenuOperations()